sku

Front-end development toolkit

MIT License

Downloads
17.3K
Stars
479
Committers
41
sku - [email protected]

Published by seek-oss-ci 9 months ago

Patch Changes

  • Report braid-design-system version via telemetry (#913)
sku - [email protected]

Published by seek-oss-ci 9 months ago

Patch Changes

  • Fix running lint-staged when package.json files are staged (#918)
sku - [email protected]

Published by seek-oss-ci 11 months ago

Patch Changes

  • Fixes a bug where .cjs and .mjs files were not being transpiled for browser targets (#906)
sku - [email protected]

Published by seek-oss-ci 11 months ago

Patch Changes

  • Fix package manager detection in non-monorepos (#907)
sku - [email protected]

Published by seek-oss-ci 11 months ago

Patch Changes

  • Bump some dependencies (#904)
sku - [email protected]

Published by seek-oss-ci 11 months ago

Patch Changes

  • Remove node-emoji dependency (#902)
sku - [email protected]

Published by seek-oss-ci 11 months ago

Patch Changes

  • Asynchronously import node-emoji to fix ESM require issue (#900)
sku - [email protected]

Published by seek-oss-ci about 1 year ago

Patch Changes

sku - [email protected]

Published by seek-oss-ci about 1 year ago

Patch Changes

  • Update eslint-config-seek to version 12, which includes the major bump to ESLint 7 and typescript-eslint 6. (#892)
    You can view the specific changes over in eslint-config-seek.

    The majority of changes should automatically fix when running sku format.

sku - [email protected]

Published by seek-oss-ci about 1 year ago

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 the sku 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 alongside sku storybook (#878)

    Now that sku supports Storybook configuration via the .storybook directory, this feature is unnecessary.
    Storybook middleware can be configured by creating a middleware.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 and sku 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 and webpack-dev-server dependencies. Remove unused dependencies. (#885)

  • Adds support for pnpm when suggesting commands (#876)

  • Disable Storybook telemetry (#878)

sku - [email protected]

Published by seek-oss-ci about 1 year ago

Patch Changes

  • Revert storybook config to CJS (#873)

    Fixes a bug where newer storybook versions (>=7.1.0) could not load sku's storybook config

sku - [email protected]

Published by seek-oss-ci about 1 year ago

Patch Changes

  • Fixes a bug where .cjs and .mjs files where not being transformed by babel in jest tests (#868)
sku - [email protected]

Published by seek-oss-ci about 1 year ago

Patch Changes

  • Remove external CSS imports when running Jest (#865)
sku - [email protected]

Published by seek-oss-ci about 1 year ago

Minor Changes

  • Allow importing external CSS from node_modules. (#861)

    CSS from third-party dependencies can be loaded using a side-effect import, e.g.

    import { SomeComponent } from 'some-package';
    
    import 'some-package/dist/styles.css';
    
    export const MyComponent = () => {
      return <SomeComponent>{/* ... */}</SomeComponent>;
    };
    
sku - [email protected]

Published by seek-oss-ci over 1 year ago

Minor Changes

  • Export internal Jest configuration as a preset under sku/config/jest. This allows consumers to debug tests in their IDE by specifying the preset in their jest.config.js: (#850)

    /** @type {import('jest').Config} */
    module.exports = {
      preset: 'sku/config/jest',
    };
    
  • srcPaths no longer affects tsconfig.json#include. Instead, you can use the dangerouslySetTSConfig option to have more control over which files are included in the type checking process. (#848)

    Previously, sku managed the include field in tsconfig.json, but this was problematic for projects that wanted more fine grained control over what was included and/or excluded from compilation.

    Note: If you were previously using srcPaths for this purpose, you should remove the paths which are not source files.

  • Update tsconfig.json options to match the latest version of the TypeScript compiler. (#844)

Patch Changes

  • Upgrade to TypeScript 5.1 (#844)

  • Update dependency eslint-config-seek. (#844)

    This reverts the autofix for a Cypress rule and improves the performance of linting TypeScript files.

  • The presence of a sku.config.js file previously had an effect on what was included in the tsconfig.json#include array. With the removal of the default include array, this is no longer the case and you might see a TypeScript error like this: (#848)

    error TS18003: No inputs were found in config file '/path/to/project/tsconfig.json'. Specified 'include' paths were '["**/*"]' and 'exclude' paths were '[]'.
    

    If your project contains only JavaScript files and you see the above error, you should rename sku.config.js to sku.config.ts and the error will go away.

sku - [email protected]

Published by seek-oss-ci over 1 year ago

Patch Changes

  • Don't use .git folder to find root, only glob PNPM virtual store if PNPM is detected as the package manager (#845)
sku - [email protected]

Published by seek-oss-ci over 1 year ago

Patch Changes

  • Improve compile package detection in PNPM apps (#840)

  • Makes some more of the array types in the sku config type into readonly versions. (#843)
    This allows for arrays that have been declared with as const to be passed in.

    Affected fields are sites, sites[].routes, site[].languages, routes, and routes[].languages.

sku - [email protected]

Published by seek-oss-ci over 1 year ago

Minor Changes

  • Remove babel-plugin-dynamic-import-node dependency (#835)

    This plugin was used to transform dynamic imports into deferred requires within jest tests.
    However, dynamic imports are well supported in Node, so this plugin is no longer required.

Patch Changes

  • Surface unhandled ESLint errors (#838)

  • Update less-loader and node-emoji dependencies (#835)

sku - [email protected]

Published by seek-oss-ci over 1 year ago

Patch Changes

  • Fix sku init on Windows (#833)
sku - [email protected]

Published by seek-oss-ci over 1 year ago

Patch Changes

  • Bump eslint-config-seek to 11.2.0 (#830)
Package Rankings
Top 2.92% on Npmjs.org
Badges
Extracted from project README
npm
Related Projects