Skip to content

Commit

Permalink
Update to latest sewing-kit
Browse files Browse the repository at this point in the history
Update a few dependencies that we want to keep in sync with sewing-kit

Use `sewing-kit optimize` to optimize svgs instead of maintaining our
own script which does the same thing.
  • Loading branch information
BPScott committed Apr 24, 2019
1 parent a9668a3 commit 4707009
Show file tree
Hide file tree
Showing 3 changed files with 969 additions and 862 deletions.
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"check:ci": "npm-run-all lint ts test:ci",
"clean": "rimraf build esnext styles types docs \"build-intermediate\" \"index.*\" \"./src/styles/polaris-tokens\" \"styles.{css,scss}\"",
"clean:build": "rimraf \"build/!(cache|coverage|storybook)\" esnext styles types docs \"build-intermediate\" \"index.*\" \"./src/styles/polaris-tokens\" \"styles.{css,scss}\"",
"optimize": "node ./scripts/optimize.js",
"optimize": "sewing-kit optimize",
"prebuild": "npm-run-all clean:build optimize copy-polaris-tokens",
"build": "node ./scripts/build.js",
"prebuild-consumer": "yarn run build",
Expand Down Expand Up @@ -91,11 +91,11 @@
"ios >= 9"
],
"devDependencies": {
"@babel/core": "^7.1.6",
"@babel/core": "^7.4.3",
"@percy/storybook": "^3.0.1",
"@shopify/jest-dom-mocks": "^2.1.1",
"@shopify/js-uploader": "github:shopify/js-uploader",
"@shopify/sewing-kit": "0.69.0",
"@shopify/sewing-kit": "0.81.0",
"@storybook/addon-a11y": "^5.0.6",
"@storybook/addon-actions": "^5.0.6",
"@storybook/addon-backgrounds": "^5.0.6",
Expand All @@ -112,7 +112,7 @@
"aws-sdk": "^2.58.0",
"babel-core": "7.0.0-bridge.0",
"babel-loader": "^8.0.4",
"babel-preset-shopify": "^17.0.1",
"babel-preset-shopify": "^18.1.0",
"chalk": "^2.4.1",
"change-case": "^3.0.1",
"codecov": "^3.0.4",
Expand All @@ -138,7 +138,7 @@
"postcss-modules-parser": "^1.1.1",
"postcss-modules-scope": "^2.0.1",
"postcss-modules-values": "^2.0.0",
"postcss-shopify": "^2.2.0",
"postcss-shopify": "^2.2.1",
"puppeteer": "^1.5.0",
"react": "^16.4.0",
"react-dom": "^16.4.0",
Expand All @@ -154,9 +154,9 @@
"serve": "^11.0.0",
"shelljs": "^0.7.7",
"shx": "^0.2.2",
"svgo": "^0.7.2",
"svgo": "^1.1.1",
"typescript": "~3.1.6",
"yargs": "^12.0.1"
"yargs": "^12.0.2"
},
"peerDependencies": {
"react": "^16.3.1",
Expand All @@ -178,7 +178,7 @@
"dependencies": {
"@babel/runtime": "^7.1.6",
"@shopify/app-bridge": "^1.1.2",
"@shopify/images": "^1.1.0",
"@shopify/images": "^1.1.4",
"@shopify/javascript-utilities": "^2.2.1",
"@shopify/polaris-icons": "^3.3.0",
"@shopify/polaris-tokens": "^2.5.0",
Expand Down
37 changes: 0 additions & 37 deletions scripts/optimize.js

This file was deleted.

Loading

0 comments on commit 4707009

Please sign in to comment.