Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
>= 13.0.0 < 14
->>= 13.0.0 < 15
13.4.1
->14.0.2
Release Notes
seek-oss/sku (sku)
v14.0.2
Compare Source
Patch Changes
v14.0.1
Compare Source
Patch Changes
v14.0.0
Compare Source
Migrating
sku
to ESM from commonjs (#1156)BREAKING CHANGE:
Most of
sku
s API entrypoints are now ESM. Consumers that use the following API entrypoints may need to convert some of their configuration files to ESM:sku/webpack-plugin
is now an ES module and has to be imported as such.If you are using
require()
to importsku/webpack-plugin
you will have to change it toimport
.sku/config/eslint
is a new entrypoint that exposessku
's flat ESLint configuration. It now only supports ESM.Update
eslint-config-seek
to v14 (#1156)Alongside the migration to ESLint v9,
eslint-config-seek
has been updated to v14 which supports the new flat config format.Some lint rules have been changed or renamed, so consumers should run
sku format
to automatically update their code to conform to the new rules. You may still need to manually review and adjust your code after runningsku format
as not all issues are auto-fixable.Additionally,
eslint-plugin-import
has been replaced witheslint-plugin-import-x
. You should replace any references toeslint-plugin-import
witheslint-plugin-import-x
and anyimport/
rules withimport-x/
.See the [
eslint-config-seek
release notes][eslint-config-seek release notes] for more information.Change the CLI to commander.js. (#1156)
BREAKING CHANGE
sku
now uses commander.js for its CLI. The CLI options and commands are now more narrowly defined and scoped. Some combinations of options that were previously possible may no longer work.The new
-h, --help
flag now shows the help output generated by commander.js and shows the available commands and options.The following option flags are now available in their respective scope
Global options
-e, --environment
option-c, --config
option-d, --debug
option-h, --help
option-v, --version
optionScoped options
the
build
,build-ssr
,start
, andstart-ssr
commands have the following options-s, --stats
optionthe
serve
command now has the following options--port
option--site
optionthe
translation compile
command now has the following options-w, --watch
optionthe
translation push
command now has the following option--delete-unused-keys
optionthe
init
command now has the following options-p, --package-manager
option. This has changed from--packageManager
preferringkebab-case
overcamelCase
for option flags.--verbose
optionUpdate to ESLint v9 (#1156)
ESLint v9 defaults to the new flat config format. As such,
sku
's ESLint config has been migrated to this new format, and consumers will need to migrate any custom overrides set viadangerouslySetESLintConfig
to the new format as well.For example, if you are overriding an ESLint rule, you can migrate to the new config format like so:
More complicated overrides such as the use of plugins or modification of parser options may require a more involved migration. Please refer to the migration guide for more information.
Additionally, the
.eslintignore
file is no longer used by ESLint. Instead, ignore patterns are now configured directly in your ESLint config file. Sincesku
controls your ESLint config, you can configure any custom ignore patterns in your sku config via the neweslintIgnore
option.For example:
Drop support for Node.js versions below 20.18.2 (#1156)
BREAKING CHANGE:
The minimum supported Node.js version is now 20.18.2. Consumers must upgrade to Node.js v20.18.2 or later.
Drop support for React 17.x (#1156)
BREAKING CHANGE
React 17 is no longer supported. Consumers will need to upgrade to React 18. Consumers still on v17 should follow the How to Upgrade to React 18 guide. Additionally, ensure any dependencies that rely on React are compatible with React 18.
Minor Changes
Expose
sku
's ESLint config undersku/config/eslint
entrypoint (#1156)This entrypoint is used by sku to configure ESLint. Most consumers will not need to use this entrypoint directly.
Add support for
.mjs
sku configuration files (#1156)In addition to
sku.config.ts
andsku.config.js
, sku will now also look for asku.config.mjs
file when attempting to resolve your application's configuration file.Patch Changes
sku init
: Ensure latest React 18 version is installed in new projects as React 19 is not yet supported (#1156)Configuration
📅 Schedule: Branch creation - "after 3:00 am and before 6:00 am every weekday" in timezone Australia/Melbourne, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.