Skip to content

Commit

Permalink
Convert all @vanilla-extract deps and dev deps to use the `workspac…
Browse files Browse the repository at this point in the history
…e:` protocol (#1422)
  • Loading branch information
askoufis authored Jun 6, 2024
1 parent 65d62db commit e50a078
Show file tree
Hide file tree
Showing 28 changed files with 469 additions and 246 deletions.
4 changes: 2 additions & 2 deletions examples/next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
},
"devDependencies": {
"@types/react": "^18.2.55",
"@vanilla-extract/css": "^1.6.3",
"@vanilla-extract/next-plugin": "^2.0.0"
"@vanilla-extract/css": "workspace:^",
"@vanilla-extract/next-plugin": "workspace:^"
},
"browserslist": [
">0.3%",
Expand Down
6 changes: 3 additions & 3 deletions examples/webpack-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
"@babel/preset-env": "^7.23.9",
"@babel/preset-react": "^7.23.3",
"@babel/preset-typescript": "^7.23.3",
"@vanilla-extract/css": "1.15.2",
"@vanilla-extract/sprinkles": "^1.6.2",
"@vanilla-extract/webpack-plugin": "^2.3.9",
"@vanilla-extract/css": "workspace:^",
"@vanilla-extract/sprinkles": "workspace:^",
"@vanilla-extract/webpack-plugin": "workspace:^",
"babel-loader": "^9.1.3",
"css-loader": "^6.9.1",
"html-webpack-plugin": "^5.3.1",
Expand Down
4 changes: 2 additions & 2 deletions fixtures/features/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"author": "SEEK",
"private": true,
"dependencies": {
"@vanilla-extract/css": "1.15.2",
"@vanilla-extract/dynamic": "2.1.1"
"@vanilla-extract/css": "workspace:^",
"@vanilla-extract/dynamic": "workspace:^"
}
}
2 changes: 1 addition & 1 deletion fixtures/layers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
"author": "SEEK",
"private": true,
"dependencies": {
"@vanilla-extract/css": "1.15.2"
"@vanilla-extract/css": "workspace:^"
}
}
2 changes: 1 addition & 1 deletion fixtures/low-level/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
"author": "SEEK",
"private": true,
"dependencies": {
"@vanilla-extract/css": "1.15.2"
"@vanilla-extract/css": "workspace:^"
}
}
4 changes: 2 additions & 2 deletions fixtures/recipes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"author": "SEEK",
"private": true,
"dependencies": {
"@vanilla-extract/css": "1.15.2",
"@vanilla-extract/recipes": "0.5.3"
"@vanilla-extract/css": "workspace:^",
"@vanilla-extract/recipes": "workspace:^"
}
}
4 changes: 2 additions & 2 deletions fixtures/sprinkles/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"author": "SEEK",
"private": true,
"dependencies": {
"@vanilla-extract/css": "1.15.2",
"@vanilla-extract/sprinkles": "1.6.2"
"@vanilla-extract/css": "workspace:^",
"@vanilla-extract/sprinkles": "workspace:^"
}
}
2 changes: 1 addition & 1 deletion fixtures/template-string-paths/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
"author": "SEEK",
"private": true,
"dependencies": {
"@vanilla-extract/css": "1.15.2"
"@vanilla-extract/css": "workspace:^"
}
}
4 changes: 2 additions & 2 deletions fixtures/themed/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"author": "SEEK",
"private": true,
"dependencies": {
"@vanilla-extract/css": "1.15.2",
"@vanilla-extract/dynamic": "2.1.1"
"@vanilla-extract/css": "workspace:^",
"@vanilla-extract/dynamic": "workspace:^"
}
}
4 changes: 2 additions & 2 deletions fixtures/thirdparty/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"author": "SEEK",
"private": true,
"dependencies": {
"@fixtures/thirdparty-dep": "0.0.6",
"@vanilla-extract/css": "1.15.2"
"@fixtures/thirdparty-dep": "workspace:*",
"@vanilla-extract/css": "workspace:*"
}
}
4 changes: 2 additions & 2 deletions fixtures/thirdparty/thirdparty-dep/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"author": "SEEK",
"private": true,
"dependencies": {
"@fixtures/thirdparty-dep-dep": "0.0.6",
"@vanilla-extract/css": "1.15.2"
"@fixtures/thirdparty-dep-dep": "workspace:*",
"@vanilla-extract/css": "workspace:^"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
"author": "SEEK",
"private": true,
"dependencies": {
"@vanilla-extract/css": "1.15.2"
"@vanilla-extract/css": "workspace:^"
}
}
2 changes: 1 addition & 1 deletion fixtures/unused-modules/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
"author": "SEEK",
"private": true,
"dependencies": {
"@vanilla-extract/css": "1.15.2"
"@vanilla-extract/css": "workspace:^"
}
}
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@
"packages/*"
]
},
"manypkg": {
"workspaceProtocol": "require"
},
"packageManager": "pnpm@9.2.0",
"pnpm": {},
"volta": {
Expand Down
2 changes: 1 addition & 1 deletion packages/css/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
"license": "MIT",
"dependencies": {
"@emotion/hash": "^0.9.0",
"@vanilla-extract/private": "^1.0.5",
"@vanilla-extract/private": "workspace:^",
"css-what": "^6.1.0",
"cssesc": "^3.0.0",
"csstype": "^3.0.7",
Expand Down
4 changes: 2 additions & 2 deletions packages/dynamic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
"author": "SEEK",
"license": "MIT",
"dependencies": {
"@vanilla-extract/private": "^1.0.5"
"@vanilla-extract/private": "workspace:^"
},
"devDependencies": {
"@vanilla-extract/css": "workspace:*"
"@vanilla-extract/css": "workspace:^"
}
}
2 changes: 1 addition & 1 deletion packages/esbuild-plugin-next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"author": "SEEK",
"license": "MIT",
"dependencies": {
"@vanilla-extract/integration": "^7.1.5"
"@vanilla-extract/integration": "workspace:^"
},
"peerDependencies": {
"esbuild": ">=0.17.6"
Expand Down
2 changes: 1 addition & 1 deletion packages/esbuild-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"author": "SEEK",
"license": "MIT",
"dependencies": {
"@vanilla-extract/integration": "^7.1.5"
"@vanilla-extract/integration": "workspace:^"
},
"peerDependencies": {
"esbuild": ">=0.17.6"
Expand Down
4 changes: 2 additions & 2 deletions packages/integration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"dependencies": {
"@babel/core": "^7.23.9",
"@babel/plugin-syntax-typescript": "^7.23.3",
"@vanilla-extract/babel-plugin-debug-ids": "^1.0.6",
"@vanilla-extract/css": "^1.15.2",
"@vanilla-extract/babel-plugin-debug-ids": "workspace:^",
"@vanilla-extract/css": "workspace:^",
"dedent": "^1.5.3",
"esbuild": "npm:esbuild@~0.17.6 || ~0.18.0 || ~0.19.0",
"eval": "0.1.8",
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-transform/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"author": "SEEK",
"license": "MIT",
"dependencies": {
"@vanilla-extract/integration": "^7.1.5",
"@vanilla-extract/integration": "workspace:^",
"esbuild": "npm:esbuild@~0.17.6 || ~0.18.0 || ~0.19.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/next-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"author": "SEEK",
"license": "MIT",
"dependencies": {
"@vanilla-extract/webpack-plugin": "^2.3.9"
"@vanilla-extract/webpack-plugin": "workspace:^"
},
"peerDependencies": {
"next": ">=12.1.7"
Expand Down
2 changes: 1 addition & 1 deletion packages/parcel-transformer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
"license": "MIT",
"dependencies": {
"@parcel/plugin": "^2.7.0",
"@vanilla-extract/integration": "^7.1.5"
"@vanilla-extract/integration": "workspace:^"
}
}
2 changes: 1 addition & 1 deletion packages/recipes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@
"@vanilla-extract/css": "^1.0.0"
},
"devDependencies": {
"@vanilla-extract/css": "^1.15.2"
"@vanilla-extract/css": "workspace:^"
}
}
4 changes: 2 additions & 2 deletions packages/rollup-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
"author": "SEEK",
"license": "MIT",
"dependencies": {
"@vanilla-extract/integration": "^7.1.5"
"@vanilla-extract/integration": "workspace:^"
},
"devDependencies": {
"@fixtures/themed": "workspace:*",
"@rollup/plugin-json": "^4.1.0",
"@vanilla-extract/css": "^1.15.2",
"@vanilla-extract/css": "workspace:^",
"esbuild": "~0.19.12",
"rollup": "^2.7.0",
"rollup-plugin-esbuild": "^4.9.1"
Expand Down
2 changes: 1 addition & 1 deletion packages/sprinkles/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@
"@vanilla-extract/css": "^1.0.0"
},
"devDependencies": {
"@vanilla-extract/css": "^1.15.2"
"@vanilla-extract/css": "workspace:^"
}
}
2 changes: 1 addition & 1 deletion packages/vite-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"author": "SEEK",
"license": "MIT",
"dependencies": {
"@vanilla-extract/integration": "^7.1.5"
"@vanilla-extract/integration": "workspace:^"
},
"devDependencies": {
"vite": "^5.0.11"
Expand Down
2 changes: 1 addition & 1 deletion packages/webpack-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"webpack": "^4.30.0 || ^5.20.2"
},
"dependencies": {
"@vanilla-extract/integration": "^7.1.5",
"@vanilla-extract/integration": "workspace:^",
"debug": "^4.3.1",
"loader-utils": "^2.0.0",
"picocolors": "^1.0.0"
Expand Down
Loading

0 comments on commit e50a078

Please sign in to comment.