sku@12.4.0
Minor Changes
-
Enable caching for ESLint and Prettier (#881)
-
Add
--packageManagerflag (#884)Sku detects package managers in the following order:
yarn->pnpm->npm.
The--packageManagerflag can be used to override the package manager used for thesku initscript.
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
.storybookdirectory (#878)sku now supports the standard
.storybookconfiguration directory, as documented in Storybook's configuration documentation.
Please read sku's storybook documentation for more info. -
Drop support for running
devServerMiddlewarealongsidesku storybook(#878)Now that sku supports Storybook configuration via the
.storybookdirectory, this feature is unnecessary.
Storybook middleware can be configured by creating amiddleware.jsfile in the.storybookdirectory.
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
minorrelease. -
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.jsonscripts before suggesting its own commands (#876) -
Remove
lodashdependency (#883) -
Propagate
--configargument to Storybook process (#879)Fixes a bug where
sku storybookandsku build-storybookwould not honour a custom sku config specified via the--configflag -
Fixes a bug where
pnpmwas not detected correctly when detecting compile packages (#876) -
Bump
@pmmmwh/react-refresh-webpack-pluginandwebpack-dev-serverdependencies. Remove unused dependencies. (#885) -
Adds support for
pnpmwhen suggesting commands (#876) -
Disable Storybook telemetry (#878)