Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
cache: yarn

- run: yarn --frozen-lockfile
- run: yarn run validate-tokens
- run: yarn run type-check && yarn run build
- run: yarn run lint
- run: yarn run test
Expand Down
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,6 @@
"{build,build-internal}/": true,
"examples/*/build": true
},
"typescript.tsdk": "./node_modules/typescript/lib"
"typescript.tsdk": "./node_modules/typescript/lib",
"cSpell.words": ["semibold"]
}
4 changes: 4 additions & 0 deletions loom.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import {stylelint} from '@shopify/loom-plugin-stylelint';
import {prettier} from '@shopify/loom-plugin-prettier';
import replace from '@rollup/plugin-replace';
import image from '@rollup/plugin-image';
import json from '@rollup/plugin-json';

import packageJSON from './package.json';
import {styles} from './config/rollup/plugin-styles';
Expand Down Expand Up @@ -138,6 +139,9 @@ function rollupAdjustPluginsPlugin() {
delimiters: ['', ''],
}),
image(),
json({
compact: true,
}),
styles(stylesConfig),
];
});
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@
"readme-update-version": "node ./scripts/readme-update-version",
"version": "yarn run readme-update-version",
"storybook": "start-storybook -p 6006 --quiet",
"storybook:build": "build-storybook -o build-internal/storybook/static"
"storybook:build": "build-storybook -o build-internal/storybook/static",
"validate-tokens": "ajv validate -s tokens/schemas/token-group.json -d 'tokens/*.json'"
},
"dependencies": {
"@shopify/polaris-icons": "^4.10.0",
Expand All @@ -85,6 +86,7 @@
"@babel/core": "^7.15.0",
"@babel/node": "^7.14.9",
"@rollup/plugin-image": "^2.0.5",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-replace": "^2.3.3",
"@rollup/pluginutils": "^3.1.0",
"@shopify/babel-preset": "^24.1.2",
Expand All @@ -111,6 +113,7 @@
"@storybook/react": "^6.3.7",
"@types/lodash": "^4.14.138",
"@types/node": "^16.11.11",
"ajv-cli": "^5.0.0",
"babel-core": "7.0.0-bridge.0",
"babel-loader": "^8.1.0",
"chalk": "^2.4.2",
Expand Down
Binary file added src/styles/polaris-tokens/Polaris.ase
Binary file not shown.
Binary file added src/styles/polaris-tokens/Polaris.clr
Binary file not shown.
Loading