Skip to content

Releases: monots/monots

[email protected]

30 May 10:09
dbf8051
Compare
Choose a tag to compare

0.2.0

2022-05-30

Minor Changes

  • 04ba7ca: BREAKING: Rename lookupFilesToRoot option to disableUpwardLookup. The default is now for loadEsmConfig to search upward until it reaches the root directory. You can set this option to true to only search the provided working directory (cwd).

    BREAKING: Rename interface LoadEsmConfig to LoadEsmConfigOptions.

    Other changes:

    • Improved the readme for better npm documentation.
    • Refactored the code to be more readable.

Patch Changes

[email protected]

30 May 10:08
dbf8051
Compare
Choose a tag to compare

0.11.0

2022-05-30

Minor Changes

  • ecbcdf7: Regression: Don't bundle dependencies and export the cli as an ESM module.
  • ecbcdf7: Replace @swc/core with esbuild.

Patch Changes

@monots/[email protected]

30 May 10:07
dbf8051
Compare
Choose a tag to compare

0.5.0

2022-05-30

Minor Changes

  • ecbcdf7: Add hasDefaultExport() and matchAll() functions to exports. Also re-export @sindresorhus/is and tiny-invariant

@monots/[email protected]

30 May 11:57
e97e720
Compare
Choose a tag to compare

0.13.1

2022-05-30

Patch Changes

  • 1cd22e9: Fix the binary path for @monots/cli.

@monots/[email protected]

30 May 10:09
dbf8051
Compare
Choose a tag to compare

0.13.0

2022-05-30

Minor Changes

  • ecbcdf7: Regression: Don't bundle dependencies and export the cli as an ESM module.
  • ecbcdf7: Replace @swc/core with esbuild.

Patch Changes

[email protected]

27 May 20:23
39820e1
Compare
Choose a tag to compare

2022-05-27

Patch Changes

[email protected]

27 May 20:23
39820e1
Compare
Choose a tag to compare

2022-05-27

Patch Changes

  • b807c2f: Update packages and refactor some internal code.

[email protected]

27 May 20:23
39820e1
Compare
Choose a tag to compare

2022-05-27

Minor Changes

  • b807c2f: Add new package load-esm-config for loading a configuration written in TypeScript / JavaScript with support for both CommonJS and ESModule packages.

    import { loadEsmConfig } from 'load-esm-config';
    
    // Load the configuration file and the absolute path to the config file.
    const { config, path } = loadEsmConfig({ name: 'something' });

    By default it supports these extensions: ['.ts', '.mts', '.cts', '.js', '.mjs', '.cjs']. It is also possible to limit support for extensions by passing the extensions property.

    Another feature allows you to load from custom configuration folders. By default ./ (current) and .config/ folders will be searched for matching configuration files. In the example above both something.config.ts and .config/something.config.mjs are valid configuration locations. This optionality should help remove configuration file overload in top level Further configuration folders can be added via the dirs property.

Patch Changes

[email protected]

27 May 20:23
39820e1
Compare
Choose a tag to compare

2022-05-27

Patch Changes

  • b807c2f: Update packages and refactor some internal code.

[email protected]

27 May 20:23
39820e1
Compare
Choose a tag to compare

2022-05-27

Minor Changes

  • b807c2f: Add a new rust template and update dependencies.