sku

Front-end development toolkit

MIT License

Downloads
17.3K
Stars
479
Committers
41
sku - https://github.com/seek-oss/sku/releases/tag/v10.12.0

Published by seek-oss-ci over 3 years ago

Minor Changes

  • Add support for @vanilla-extract (#583)

    Note: This is not yet intended for use in production.

sku - https://github.com/seek-oss/sku/releases/tag/v10.11.0

Published by seek-oss-ci over 3 years ago

Minor Changes

  • Add the ability to limit languages to render by route (#581)
sku - https://github.com/seek-oss/sku/releases/tag/v10.10.1

Published by seek-oss-ci over 3 years ago

Patch Changes

  • Fix errors initializing repo after kopy dependency upgrade (#578)
sku - https://github.com/seek-oss/sku/releases/tag/v10.10.0

Published by seek-oss-ci over 3 years ago

Minor Changes

  • Stable support for multi-language functionality (#576)

    With Vocab now released v1.0.0 we now offer stable support for using the new multi-language functionality.

    See multi-language support guide for how to get started.

Patch Changes

  • Fix unable to find language in URLs that contain query parameters (#573)
sku - https://github.com/seek-oss/sku/releases/tag/v10.9.5

Published by seek-oss-ci over 3 years ago

Patch Changes

  • Upgrade to v0.0.9 Vocab supporting direct usage (#571)

  • Replace all instances of \$language in a route not just the first (#572)

  • Replace \$language in route when using dev server (#572)

    When implementing renderApp for statically rendered applications previously route could contain $language inside the URL.

    Now route will have any $language value replaced with the current language being rendered.

    const skuRender: Render<RenderContext> = {
      renderApp: ({ SkuProvider, route, language }) => {
        // e.g. language === "en"
    
        // previous behaviour
        // route === "/$language/home"
    
        // new behaviour
        // route === "/en/home"
      },
      ...
    }
    
  • Upgrade multiple dependencies (#565)

sku - https://github.com/seek-oss/sku/releases/tag/[email protected]

Published by seek-oss-ci almost 4 years ago

Patch Changes

  • Upgrade Vocab depenedency (#566)
sku - https://github.com/seek-oss/sku/releases/tag/[email protected]

Published by seek-oss-ci almost 4 years ago

Patch Changes

  • Fix sku serve for multi-language apps (#562)
sku - https://github.com/seek-oss/sku/releases/tag/[email protected]

Published by seek-oss-ci almost 4 years ago

Patch Changes

  • Compile vocab files before lint and test commands (#560)
sku - https://github.com/seek-oss/sku/releases/tag/[email protected]

Published by seek-oss-ci almost 4 years ago

Patch Changes

  • Add multi-language support for server rendered applications (#556)

  • Upgrade Vocab to v0.0.8 with new .vocab folder (#558)

    • useTranslation renamed to useTranslations
    • Support for server-rendered apps with new addLanguageChunk render parameter
    • Support for custom format locales in <VocabProvider>
    • Improved validation for translation.json
  • Add generated Vocab files to ignore patterns (#559)

sku - https://github.com/seek-oss/sku/releases/tag/[email protected]

Published by seek-oss-ci almost 4 years ago

Minor Changes

  • Experimental support for multi-language builds using Vocab (#554)

    Not available for SSR applications at this stage.

sku - https://github.com/seek-oss/sku/releases/tag/[email protected]

Published by seek-oss-ci almost 4 years ago

Patch Changes

  • Only generate .ssl directory when httpsDevServer is enabled (#552)
sku - https://github.com/seek-oss/sku/releases/tag/[email protected]

Published by seek-oss-ci almost 4 years ago

Patch Changes

  • Fix _addChunk (#549)
sku - https://github.com/seek-oss/sku/releases/tag/[email protected]

Published by seek-oss-ci almost 4 years ago

Patch Changes

  • Expose _addChunks function in renderApp (#547)
sku - https://github.com/seek-oss/sku/releases/tag/[email protected]

Published by seek-oss-ci about 4 years ago

Minor Changes

  • Add rootResolution config option and disable for compile packages (#543)

    By default, sku allows you to import modules from the root folder of your repo. e.g. import something from 'src/modules/something'. Unfortunately, these kinds of imports only work for apps. In packages, the imports will work locally, but fail when consumed from node_modules.

    Adding "skuCompilePackage": true to your package.json will now disable this behaviour by default. You can also toggle the behaviour by setting rootResolution in your sku config.

sku - https://github.com/seek-oss/sku/releases/tag/[email protected]

Published by seek-oss-ci about 4 years ago

Patch Changes

  • Automatically detect compile packages with @seek scope (#541)
sku - https://github.com/seek-oss/sku/releases/tag/[email protected]

Published by seek-oss-ci about 4 years ago

Minor Changes

  • Playroom: Update to v0.22.0, add playroomScope option (#539)

    You can now use Playroom's new custom scope feature by providing a playroomScope file.

    EXAMPLE USAGE

    sku.config.js:

    module.exports = {
      playroomScope: './playroom/useScope.ts',
    };
    

    useScope.ts:

    import { useToast } from 'braid-design-system';
    
    export default function useScope() {
      return {
        showToast: useToast(),
      };
    }
    
sku - https://github.com/seek-oss/sku/releases/tag/[email protected]

Published by seek-oss-ci about 4 years ago

Minor Changes

  • Support site specific routes (#537)

    Configured sites can now contain routes which are specific that site. This is useful for cross-brand applications that have different URLs.

    // sku.config.js
    module.exports = {
      sites: [
        {
          name: 'alpha',
          host: 'dev.alpha.com.au',
          routes: [
            { route: '/', name: 'home' },
            { route: '/details', name: 'details' },
          ],
        },
        {
          name: 'beta',
          host: 'dev.beta.com.au',
          routes: [
            { route: '/home', name: 'home' },
            { route: '/my-details', name: 'details' },
          ],
        },
      ],
    };
    
sku - https://github.com/seek-oss/sku/releases/tag/[email protected]

Published by seek-oss-ci about 4 years ago

Patch Changes

  • Update to TypeScript 4 and ESLint 7 (#535)
sku - https://github.com/seek-oss/sku/releases/tag/[email protected]

Published by seek-oss-ci about 4 years ago

Patch Changes

  • Allow force exiting build script (#533)
sku - https://github.com/seek-oss/sku/releases/tag/[email protected]

Published by seek-oss-ci about 4 years ago

Patch Changes

  • Add tracking for CSS file types (#531)
Package Rankings
Top 2.92% on Npmjs.org
Badges
Extracted from project README
npm
Related Projects