Skip to content

Commit ad6928e

Browse files
sam-b-rosekyledurand
authored andcommitted
Use workspace version of @shopify/polaris (#10088)
1 parent 7b5f331 commit ad6928e

File tree

3 files changed

+54
-2
lines changed

3 files changed

+54
-2
lines changed

polaris-codemods/package.json

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
{
2+
"name": "@shopify/polaris-codemods",
3+
"description": "Codemods for Polaris design system",
4+
"version": "0.1.12",
5+
"private": false,
6+
"license": "MIT",
7+
"author": "Shopify <dev@shopify.com>",
8+
"repository": "https://github.com/Shopify/polaris",
9+
"bugs": {
10+
"url": "https://github.com/Shopify/polaris/issues"
11+
},
12+
"publishConfig": {
13+
"access": "public",
14+
"@shopify:registry": "https://registry.npmjs.org"
15+
},
16+
"files": [
17+
"dist"
18+
],
19+
"keywords": [
20+
"shopify",
21+
"polaris",
22+
"codemods"
23+
],
24+
"main": "codeshift.config.js",
25+
"scripts": {
26+
"build": "tsc --build",
27+
"lint": "TIMING=1 eslint --cache .",
28+
"test": "jest",
29+
"clean": "rm -f .turbo node_modules dist *.tsbuildinfo",
30+
"generate": "plop"
31+
},
32+
"dependencies": {
33+
"@shopify/polaris-tokens": "^7.5.3",
34+
"@shopify/stylelint-polaris": "^14.0.0",
35+
"postcss": "^8.4.21",
36+
"postcss-scss": "^4.0.6",
37+
"postcss-value-parser": "^4.2.0",
38+
"stylelint": "^14.15.0"
39+
},
40+
"peerDependencies": {
41+
"jscodeshift": "^0.13.1"
42+
},
43+
"devDependencies": {
44+
"@shopify/polaris": "^12.0.0-beta.0",
45+
"@types/jscodeshift": "^0.11.6",
46+
"jscodeshift": "^0.13.1",
47+
"plop": "^3.1.2",
48+
"plop-dir": "^0.1.0",
49+
"prettier": "^2.8.4",
50+
"typescript": "^4.3.5"
51+
}
52+
}

polaris-migrator/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"@rollup/plugin-commonjs": "^22.0.2",
5656
"@rollup/plugin-json": "^4.1.0",
5757
"@rollup/plugin-node-resolve": "^13.3.0",
58-
"@shopify/polaris": "^11.12.0",
58+
"@shopify/polaris": "^12.0.0-beta.0",
5959
"plop": "^3.1.1",
6060
"plop-dir": "^0.0.5",
6161
"prettier": "^2.7.1",

polaris.shopify.com/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"@floating-ui/react-dom-interactions": "^0.10.1",
2727
"@headlessui/react": "^1.6.5",
2828
"@radix-ui/react-polymorphic": "^0.0.14",
29-
"@shopify/polaris": "^11.12.0",
29+
"@shopify/polaris": "^12.0.0-beta.0",
3030
"@shopify/polaris-icons": "^7.8.1",
3131
"@shopify/polaris-tokens": "^7.5.3",
3232
"@types/react-syntax-highlighter": "^15.5.6",

0 commit comments

Comments
 (0)