Minor Changes
-
Enable caching for ESLint and Prettier (#881)
-
Add
--packageManager
flag (#884)Sku detects package managers in the following order:
yarn
->pnpm
->npm
.
The--packageManager
flag can be used to override the package manager used for thesku init
script.
This affects what package manager is used to install dependencies, as well as the scripts present in the initialized app template.$ pnpm dlx sku init --packageManager pnpm my-app
-
Adds support for Storybook configuration via the
.storybook
directory (#878)sku now supports the standard
.storybook
configuration directory, as documented in Storybook's configuration documentation.
Please read sku's storybook documentation for more info. -
Drop support for running
devServerMiddleware
alongsidesku storybook
(#878)Now that sku supports Storybook configuration via the
.storybook
directory, this feature is unnecessary.
Storybook middleware can be configured by creating amiddleware.js
file in the.storybook
directory.
See the sku docs for more info.NOTE: While this is technically a breaking change, it does not affect app builds, therefore it has been downgraded to a
minor
release. -
Update TypeScript to 5.2 (#886)
This release includes breaking changes. See the TypeScript 5.2 announcement for more information.
Patch Changes
-
Fixes a bug where sku would fail to suggest existing
package.json
scripts before suggesting its own commands (#876) -
Remove
lodash
dependency (#883) -
Propagate
--config
argument to Storybook process (#879)Fixes a bug where
sku storybook
andsku build-storybook
would not honour a custom sku config specified via the--config
flag -
Fixes a bug where
pnpm
was not detected correctly when detecting compile packages (#876) -
Bump
@pmmmwh/react-refresh-webpack-plugin
andwebpack-dev-server
dependencies. Remove unused dependencies. (#885) -
Adds support for
pnpm
when suggesting commands (#876) -
Disable Storybook telemetry (#878)