Skip to content

Releases: seek-oss/sku

sku@12.3.3

15 Aug 23:59
e108d06
Compare
Choose a tag to compare

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@12.3.2

07 Aug 23:37
0bede78
Compare
Choose a tag to compare

Patch Changes

  • Fixes a bug where .cjs and .mjs files where not being transformed by babel in jest tests (#868)

sku@12.3.1

25 Jul 03:32
8ae8824
Compare
Choose a tag to compare

Patch Changes

  • Remove external CSS imports when running Jest (#865)

sku@12.3.0

25 Jul 00:46
2f69bb0
Compare
Choose a tag to compare

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@12.2.0

12 Jul 02:34
232ec67
Compare
Choose a tag to compare

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@12.1.2

27 Jun 06:37
a9a6de8
Compare
Choose a tag to compare

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@12.1.1

23 Jun 05:57
4c2da76
Compare
Choose a tag to compare

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@12.1.0

19 Jun 05:47
4186967
Compare
Choose a tag to compare

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@12.0.5

09 Jun 04:02
4e8bb1b
Compare
Choose a tag to compare

Patch Changes

  • Fix sku init on Windows (#833)

sku@12.0.4

06 Jun 05:23
77fcf34
Compare
Choose a tag to compare

Patch Changes

  • Bump eslint-config-seek to 11.2.0 (#830)