sku

Front-end development toolkit

MIT License

Downloads
17.3K
Stars
479
Committers
41
sku - v7.1.0

Published by seek-oss-ci almost 6 years ago

7.1.0 (2018-12-04)

Features

  • Improved config validation messaging (#234) (9914926)
sku - v7.0.1

Published by seek-oss-ci almost 6 years ago

7.0.1 (2018-12-03)

Bug Fixes

  • init: Don't run postinstall when running through npx (#232) (7b54a47)
sku - v7.0.0

Published by seek-oss-ci almost 6 years ago

7.0.0 (2018-12-03)

Migration guide

Bug Fixes

Features

  • test: Support test framework setup via ‘setupTests’ script (#216) (2c5465b)
  • Add supportedBrowsers option and default to seek config (#222) (90bbeb2)
  • Generate ESLint config files (#214) (9fc55ae)
  • Introduce new render API (#215) (3e000f4)
  • Support source maps for local development (#215) (3e000f4)
  • Support library builds (#211) (d981e05)
  • Transform ‘compilePackages’ code in tests (#213) (2a4c683)

BREAKING CHANGES

  • entry config object has been removed in favour of specific entry values
  • entry config object has been removed in favour of specific entry values
  • locales config has been removed in favour of sites.
  • env is deprecated and considered harmful, apps should move to the new environments config.
  • Render entry API has changed.
  • Relying on the existence of styles.css or main.js is no longer valid.
  • Build output structure has changed and could break current deployment strategies.
  • braid-design-system is no longer auto-mocked in tests
  • Removed support for monorepos.
  • Update SSR port config.
sku - v6.2.3

Published by seek-oss-ci almost 6 years ago

6.2.3 (2018-11-30)

Bug Fixes

  • configure: Always use POSIX compliant paths in ignores (#227) (e8760e0)
sku - v6.2.2

Published by seek-oss-ci almost 6 years ago

6.2.2 (2018-11-26)

Bug Fixes

sku - v6.2.1

Published by seek-oss-ci almost 6 years ago

6.2.1 (2018-11-20)

Bug Fixes

  • chromatic: Fix Chromatic PR build messaging (#208) (578e561)
sku - v6.2.0

Published by seek-oss-ci almost 6 years ago

6.2.0 (2018-11-20)

Features

sku - v6.1.1

Published by seek-oss-ci almost 6 years ago

6.1.1 (2018-11-15)

Bug Fixes

sku - v6.1.0

Published by seek-oss-ci almost 6 years ago

6.1.0 (2018-11-14)

Features

  • chromatic: Add initial, undocumented Chromatic script (#207) (fab749e)
sku - v6.0.6

Published by seek-oss-ci almost 6 years ago

6.0.6 (2018-11-12)

Bug Fixes

  • storybook: Add TypeScript module resolution to Storybook (#206) (ce9bac7)
sku - v6.0.5

Published by seek-oss-ci almost 6 years ago

6.0.5 (2018-11-06)

Bug Fixes

  • configure: Handle array of target directories (#202) (ee886d1)
sku - v6.0.4

Published by seek-oss-ci almost 6 years ago

6.0.4 (2018-11-05)

Bug Fixes

  • prettier: Use prettier config directly in scripts (#201) (fd3257c)
sku - v6.0.3

Published by seek-oss-ci almost 6 years ago

6.0.3 (2018-11-05)

Bug Fixes

  • start-ssr: Reinstate hot reloading support (245a142)
sku - v6.0.2

Published by seek-oss-ci almost 6 years ago

6.0.2 (2018-11-01)

Bug Fixes

  • postinstall: Centralise handling of cwd to support postinstall (#198) (7350482)
sku - v6.0.1

Published by seek-oss-ci almost 6 years ago

6.0.1 (2018-11-01)

Bug Fixes

  • configure: Fix cwd during npm postinstall (#197) (9580e27)
sku - v6.0.0

Published by seek-oss-ci almost 6 years ago

6.0.0 (2018-11-01)

Features

  • configure: Control gitignoring of sku-created config files (#193) (c4cb532)
  • lint: Add TSLint to lint script (#194) (1ac5126)
  • typescript: Add support for TypeScript (#192) (16e06b9)
  • Support ignore files and control config in project root (#195) (26e925b)

Performance Improvements

  • Switch to fast-glob and ignore node_modules in TS check (7107749)

BREAKING CHANGES

  • The introduction of controlled configuration files in the project root means consumers may need to take manual action to remove custom configuration files from version control. See the migration guide below for more information.

Migration Guide

New configure step

sku now has the concept of “controlled configurations”, which refers to configuration files that are dynamically generated in the project root, but managed by sku. Adding these files improves editor integration for tools such as prettier and TypeScript, while adding them to .gitignore keeps them a platform concern rather than that of a project.

The configure step will run as a post-install and will re-organise the .gitignore file in your project using ensure-gitignore. All sku controlled ignores will now appear in a block, eg:

my_project_specific_ignore/

# managed by sku
...
ignores_controlled_by_sku/
...
# end managed by sku

Any changes made within the bounds of the comment block will be re-written on the next run of configure (i.e. every npm install).

Please assert that the changes in this file make sense.

Prettier improvements

If you have previously added .prettierrc to your project it is recommended you remove it from version control. sku will now generate a controlled config file for you, ensuring it’s always consistent with the sku format/sku lint commands.

In addition, previously there was no way to control what files Prettier ran on. The format and lint commands now run on all supported file formats (eg. js,ts,tsx,md,less and css), not just the files in your src folder.

If you want to opt out of any specific patterns you can do so by adding them to a .prettierignore file in the root of your project.

$ git rm .prettierrc
$ npm run format

# then stage & commit the change
sku - v5.12.3

Published by seek-oss-ci about 6 years ago

5.12.3 (2018-10-19)

Bug Fixes

  • test: No longer default to watch mode outside of CI (#191) (5882f4f)
sku - v5.12.2

Published by seek-oss-ci about 6 years ago

5.12.2 (2018-10-18)

Bug Fixes

  • Clean render.js from output directory after build (#189) (d8b1cf4)
sku - v5.12.1

Published by seek-oss-ci about 6 years ago

5.12.1 (2018-10-18)

Bug Fixes

  • deps: Upgrade less to v3 (d398237)
sku - v5.12.0

Published by seek-oss-ci about 6 years ago

5.12.0 (2018-10-16)

Features

Migration Guide

Babel Polyfill

If you're using babel-polyfill, please ensure you upgrade to @babel/polyfill

Update your package.json
"dependencies": {
  ...
-  "babel-polyfill": "^6.26.3"
+  "@babel/polyfill": "^7.0.0"
  ...
}
Update your consuming code (if managing via sku.config.js)
polyfills: [
  ...
-  'babel-polyfill'
+  '@babel/polyfill'
  ...
]
Update your consuming code (if managing directly)
-require("babel-polyfill");
+require("@babel/polyfill");
Package Rankings
Top 2.92% on Npmjs.org
Badges
Extracted from project README
npm
Related Projects