Skip to content

Releases: seek-oss/sku

sku@11.9.0

18 Apr 04:34
8b6d285
Compare
Choose a tag to compare

Minor Changes

  • Re-export Meta and StoryObj types from @storybook/react (#773)

    The Meta and StoryObj types are now re-exported under sku/@storybook/react.

    These types are useful for typing CSF 3 stories which are the new recommended way of writing stories.

    EXAMPLE USAGE:

    import type { Meta } from 'sku/@storybook/react';
    
    import { MyComponent } from './MyComponent';
    
    const meta: Meta<typeof MyComponent> = {
      title: 'Path/To/MyComponent',
      component: MyComponent,
    };
    export default meta;
    
    type Story = StoryObj<typeof MyComponent>;
    
    export const Basic: Story = {};
    
    export const WithProp: Story = {
      render: () => <MyComponent prop="value" />,
    };

Patch Changes

  • Remove dependency on fs-extra (#770)

  • Update dependencies (#768)

sku@11.8.2

13 Apr 00:26
2123165
Compare
Choose a tag to compare

Patch Changes

  • start-ssr: Enable devServerMiddleware to serve static assets (#765)

    Apply devServerMiddleware before sku static asset middleware, to support consumers serving custom static assets.

sku@11.8.1

31 Mar 01:02
bd4ee2d
Compare
Choose a tag to compare

Patch Changes

  • Re-add @types/jest as a dependency (#757)

sku@11.8.0

30 Mar 22:17
3b624d2
Compare
Choose a tag to compare

Minor Changes

  • Add libraryFile configuration option (#755)

    This option allows the file name of the library to be specified in the sku configuration.
    If this option is not specified then the libraryName option will be used for this purpose instead (note that this is the previously existing behaviour).

    EXAMPLE USAGE:

    // sku.config.ts
    import type { SkuConfig } from 'sku';
    
    const skuConfig: SkuConfig = {
      libraryEntry: 'src/library.js',
      renderEntry: 'src/render.js',
      libraryName: 'MyAwesomeLibrary',
      libraryFile: 'my-awesome-library',
    };
    
    export default skuConfig;

v11.7.2

27 Feb 04:39
07344e8
Compare
Choose a tag to compare

Patch Changes

  • Fix a bug that broke root resolution within .css.ts files during tests (#741)

v11.7.1

16 Feb 03:42
f1c41a1
Compare
Choose a tag to compare

Patch Changes

  • Update dependencies (#724)

v11.7.0

13 Dec 00:00
993ac08
Compare
Choose a tag to compare

Minor Changes

  • Add package.json configuration flags that enable you to skip sku configuration and peer dep validation (#727)

    NOTE: These settings disable critical functionality of sku, so you likely
    don't want to use them unless you know what you're doing

    • skuSkipConfigure: Skip generation of config files. E.g. .prettierrc, tsconfig.json, etc.
    • skuSkipValidatePeerDeps: Skip checking for multiple copies of the same package. You likely want to try and fix the warnings found by this check rather than disabling it.

    EXAMPLE USAGE:

    // package.json
    {
      "skuSkipConfigure": true,
      "skuSkipValidatePeerDeps": true
    }

v11.6.2

03 Nov 22:20
2e8a088
Compare
Choose a tag to compare

Patch Changes

  • deps: @pmmmwh/react-refresh-webpack-plugin@0.5.8 (#716)

  • Update to eslint-config-seek v10.1.1. Read the following release notes for all the changes: (#718)

    • v10.1.0 brings improved TypeScript support
    • v10.1.1 re-enables the no-undef rule for JavaScript files

v11.6.1

23 Oct 23:40
770a830
Compare
Choose a tag to compare

Patch Changes

  • Fix transpilation of typescript-specific class keywords (#714)

v11.6.0

12 Oct 02:45
0ea1978
Compare
Choose a tag to compare

It is highly encouraged that you run npx yarn-deduplicate after updating to sku 11.6.0 in order to hopefully prevent duplicate packages being in your lock file.

Minor Changes

  • Update to eslint-config-seek v10 (#709)

    This update involves a few major version jumps, so be sure to read the following release notes for all the breaking changes:

    You should be able to automatically fix most lint warnings/errors by running yarn sku format.

  • Upgrade from jest v27 to v29 (#709)

    Please take a look at the following upgrade guides as there may be breaking changes that affect your tests:

    Likely the most significant change is the new default snapshot format:

    - Expected: \\"a\\"
    + Expected: "a"
    
    - Object {
    -   Array []
    - }
    + {
    +   []
    + }

    This may require you to update your snapshots.

  • Drop support for Node v12 (#709)

    Sku now only supports Node v14.15 and above.
    Although sku itself does not depend on any Node v14 APIs, Node v12 is no longer officially supported, and many of sku's dependencies no longer support it either.
    Please ensure you are using a supported version of Node both locally (e.g. via a .nvmrc file) and in CI (check your Docker images).

  • Update typescript dependency (#709)

    Sku now has a typescript dependency of ^4.5.0.
    Previously the version was restricted due to a type issue with braid-design-system and typescript@4.5.0.
    Please take a look at the release notes for recent typescript versions as there may be breaking changes that need to be addressed.

Patch Changes

  • Close sku start dev server properly on SIGINT (#706)

  • Update deps (#706)