Published by seek-oss-ci over 3 years ago
Add support for @vanilla-extract (#583)
Note: This is not yet intended for use in production.
Published by seek-oss-ci over 3 years ago
Published by seek-oss-ci over 3 years ago
Published by seek-oss-ci over 3 years ago
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.
Published by seek-oss-ci over 3 years ago
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)
Published by seek-oss-ci almost 4 years ago
Published by seek-oss-ci almost 4 years ago
sku serve
for multi-language apps (#562)Published by seek-oss-ci almost 4 years ago
Published by seek-oss-ci almost 4 years ago
Add multi-language support for server rendered applications (#556)
Upgrade Vocab to v0.0.8 with new .vocab folder (#558)
useTranslation
renamed to useTranslations
addLanguageChunk
render parameter<VocabProvider>
translation.json
Add generated Vocab files to ignore patterns (#559)
Published by seek-oss-ci almost 4 years ago
Published by seek-oss-ci almost 4 years ago
.ssl
directory when httpsDevServer
is enabled (#552)Published by seek-oss-ci almost 4 years ago
Published by seek-oss-ci almost 4 years ago
Published by seek-oss-ci about 4 years ago
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.
Published by seek-oss-ci about 4 years ago
Published by seek-oss-ci about 4 years ago
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(),
};
}
Published by seek-oss-ci about 4 years ago
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' },
],
},
],
};
Published by seek-oss-ci about 4 years ago
Published by seek-oss-ci about 4 years ago
Published by seek-oss-ci about 4 years ago