This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to master, this PR will be updated.
Releases
@kosko/require@5.0.0
Major Changes
#1202d5d8ca Thanks @tommy351! - - isESMSupported function is removed because all supported Node.js version supports ESM dynamic import (import() function) now.
resolveESM function is removed.
The behavior of resolve function has been changed. Now it only supports file or directory resolution, Node.js modules resolution is removed.
Minor Changes
69729f8 Thanks @tommy351! - Support TypeScript nodenext module resolution.
#120f8861b5 Thanks @tommy351! - Add support for ESM format. Output format is CommonJS (cjs) on Node.js and ESM (esm) on other platforms by default. You can provide format option to override the default value.
#1208f4d82f Thanks @tommy351! - node-fetch is an optional dependency now. Node.js provides global fetch API since v18.0.0. You can also provide your own fetch polyfill (e.g. isomorphic-fetch, cross-fetch) instead. If global.fetch is undefined, node-fetch will be used automatically.
69729f8 Thanks @tommy351! - Support TypeScript nodenext module resolution.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to master, this PR will be updated.
Releases
@kosko/require@5.0.0
Major Changes
2d5d8ca
Thanks @tommy351! - -isESMSupported
function is removed because all supported Node.js version supports ESM dynamic import (import()
function) now.resolveESM
function is removed.resolve
function has been changed. Now it only supports file or directory resolution, Node.js modules resolution is removed.Minor Changes
69729f8
Thanks @tommy351! - Support TypeScriptnodenext
module resolution.Patch Changes
9923210
,69729f8
]:@kosko/aggregate-error@0.3.0
Minor Changes
#118
9923210
Thanks @tommy351! - Build bundles with Rollup.69729f8
Thanks @tommy351! - Support TypeScriptnodenext
module resolution.@kosko/cli@3.1.0
Minor Changes
#120
9341c64
Thanks @tommy351! - Add--esm
option tokosko migrate
command. This option is disabled on Node.js and always enabled on other platforms.#118
9923210
Thanks @tommy351! - Build bundles with Rollup.69729f8
Thanks @tommy351! - Support TypeScriptnodenext
module resolution.Patch Changes
3e29eea
,9923210
,a2385ca
,f8861b5
,e95b118
,2d5d8ca
,69729f8
]:@kosko/common-utils@0.2.0
Minor Changes
#118
9923210
Thanks @tommy351! - Build bundles with Rollup.69729f8
Thanks @tommy351! - Support TypeScriptnodenext
module resolution.@kosko/config@3.1.0
Minor Changes
#118
9923210
Thanks @tommy351! - Build bundles with Rollup.69729f8
Thanks @tommy351! - Support TypeScriptnodenext
module resolution.Patch Changes
9923210
,69729f8
]:@kosko/env@4.1.0
Minor Changes
#118
9923210
Thanks @tommy351! - Build bundles with Rollup.#121
e95b118
Thanks @tommy351! - Add support for JSON module in ESM environment.69729f8
Thanks @tommy351! - Support TypeScriptnodenext
module resolution.Patch Changes
9923210
,2d5d8ca
,69729f8
]:@kosko/exec-utils@1.1.0
Minor Changes
#118
9923210
Thanks @tommy351! - Build bundles with Rollup.69729f8
Thanks @tommy351! - Support TypeScriptnodenext
module resolution.@kosko/generate@3.1.0
Minor Changes
3e29eea
Thanks @tommy351! - Runresolve
function in parallel.#118
9923210
Thanks @tommy351! - Build bundles with Rollup.#122
a2385ca
Thanks @tommy351! - Ignore empty folders or folders without an index file.#121
e95b118
Thanks @tommy351! - Add support for JSON module in ESM environment.69729f8
Thanks @tommy351! - Support TypeScriptnodenext
module resolution.Patch Changes
9923210
,2d5d8ca
,69729f8
]:@kosko/helm@3.1.0
Minor Changes
#118
9923210
Thanks @tommy351! - Build bundles with Rollup.69729f8
Thanks @tommy351! - Support TypeScriptnodenext
module resolution.Patch Changes
9923210
,8f4d82f
,69729f8
]:@kosko/kustomize@1.1.0
Minor Changes
#118
9923210
Thanks @tommy351! - Build bundles with Rollup.69729f8
Thanks @tommy351! - Support TypeScriptnodenext
module resolution.Patch Changes
9923210
,8f4d82f
,69729f8
]:@kosko/log@1.1.0
Minor Changes
#118
9923210
Thanks @tommy351! - Build bundles with Rollup.69729f8
Thanks @tommy351! - Support TypeScriptnodenext
module resolution.Patch Changes
9923210
,69729f8
]:@kosko/migrate@4.1.0
Minor Changes
#118
9923210
Thanks @tommy351! - Build bundles with Rollup.#120
f8861b5
Thanks @tommy351! - Add support for ESM format. Output format is CommonJS (cjs
) on Node.js and ESM (esm
) on other platforms by default. You can provideformat
option to override the default value.69729f8
Thanks @tommy351! - Support TypeScriptnodenext
module resolution.Patch Changes
9923210
,8f4d82f
,69729f8
]:@kosko/template@3.1.0
Minor Changes
#118
9923210
Thanks @tommy351! - Build bundles with Rollup.69729f8
Thanks @tommy351! - Support TypeScriptnodenext
module resolution.Patch Changes
9923210
,69729f8
]:@kosko/template-deployed-service@3.1.0
Minor Changes
#120
b14f05f
Thanks @tommy351! - Add--esm
option. This option is disabled on Node.js and enabled on other platforms by default.#118
9923210
Thanks @tommy351! - Build bundles with Rollup.69729f8
Thanks @tommy351! - Support TypeScriptnodenext
module resolution.Patch Changes
9923210
,69729f8
]:@kosko/template-environment@3.1.0
Minor Changes
#120
b14f05f
Thanks @tommy351! - Add--esm
option. This option is disabled on Node.js and enabled on other platforms by default.#118
9923210
Thanks @tommy351! - Build bundles with Rollup.69729f8
Thanks @tommy351! - Support TypeScriptnodenext
module resolution.Patch Changes
9923210
,69729f8
]:@kosko/yaml@3.2.0
Minor Changes
#118
9923210
Thanks @tommy351! - Build bundles with Rollup.#120
8f4d82f
Thanks @tommy351! -node-fetch
is an optional dependency now. Node.js provides globalfetch
API since v18.0.0. You can also provide your own fetch polyfill (e.g.isomorphic-fetch
,cross-fetch
) instead. Ifglobal.fetch
is undefined,node-fetch
will be used automatically.69729f8
Thanks @tommy351! - Support TypeScriptnodenext
module resolution.Patch Changes
9923210
,69729f8
]:kosko@3.1.0
Patch Changes
9341c64
,9923210
,69729f8
]: