Package Exports
- @gov.au/pancake
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@gov.au/pancake) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Pancake
A tool to help the Gov.au UI-KIT installation through the npm ecosystem. Checking peerDependencies, writing compiled files and discovering new modules
Content
What's inside?
This tool comes with three commands:
Batter will check the peerDependencies of all installed modules that have the tag uikit-module and error out with a meaningful error message if it
encounters a conflict.
Syrup will generate Sass import files that include each module you have installed to a path you can specify in your own package.json.
Cream will return a radio list of all modules that can be selected and installed automatically.
Batter
batter
Type: <command>
Default value: path to one level below cwd
To make sure all peerDependencies are resolved without conflicts this tool goes through your node_modules folder and reads each package.json in search for
a Gov.au UI-Kit module. If it finds one, identified by the tag uikit-module and org scope gov.au, it will record it's peerDependencies and cross check
against all other installed modules.
pandcake batterYou can also pass it a path to the node_modules folder and overwrite the default:
pandcake batter /Path/to/folder/of/your/package.jsonSyrup
Cream
Taste / Tests
Release History
- v0.1.0 - First pancake
- v0.0.X - Pre-releases of unstable, undercooked pancakes
License
Copyright (c) Commonwealth of Australia. Licensed under the MIT.