Skip to content

Commit fde1843

Browse files
authored
feat: update magic-string (#4345)
1 parent ca6ea7e commit fde1843

File tree

11 files changed

+3281
-671
lines changed

11 files changed

+3281
-671
lines changed

docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"https-localhost": "^4.7.1",
3030
"unocss": "^0.53.4",
3131
"unplugin-vue-components": "^0.25.1",
32-
"vite": "^4.0.0",
32+
"vite": "^4.5.0",
3333
"vite-plugin-pwa": "^0.16.4",
3434
"vitepress": "1.0.0-beta.5",
3535
"workbox-window": "^7.0.0"

examples/react-storybook/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,10 @@
2020
"@storybook/addon-actions": "^6.5.5",
2121
"@storybook/addon-essentials": "^6.5.5",
2222
"@storybook/addon-links": "^6.5.5",
23+
"@storybook/addons": "^6.5.5",
2324
"@storybook/builder-vite": "^0.1.35",
25+
"@storybook/client-api": "^6.5.5",
26+
"@storybook/preview-web": "^6.5.5",
2427
"@storybook/react": "^6.5.5",
2528
"@storybook/testing-library": "^0.0.11",
2629
"@storybook/testing-react": "^1.3.0",

netlify.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
[build.environment]
2-
NPM_FLAGS = "--version"
3-
NODE_VERSION = "16"
2+
NODE_VERSION = "18"
3+
# don't need playwright for docs build
4+
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD = "1"
45

56
[build]
67
publish = "docs/.vitepress/dist"
7-
command = "npx pnpm@7.8.0 i --store=node_modules/.pnpm-store --no-frozen-lockfile && npm run docs:build"
8+
command = "pnpm docs:build"
89
ignore = "git diff --quiet $COMMIT_REF $CACHED_COMMIT_REF -- docs/ package.json pnpm-lock.yaml"
910

1011
[[redirects]]

package.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"type": "module",
44
"version": "1.0.0-beta.2",
55
"private": true,
6-
"packageManager": "pnpm@8.7.4",
6+
"packageManager": "pnpm@8.9.2",
77
"description": "Next generation testing framework powered by Vite",
88
"scripts": {
99
"ci": "ni && nr typecheck && nr lint && nr build && nr test:all",
@@ -56,12 +56,11 @@
5656
"fast-glob": "^3.3.0",
5757
"if-node-version": "^1.1.1",
5858
"lint-staged": "^13.2.3",
59-
"magic-string": "^0.30.1",
59+
"magic-string": "^0.30.5",
6060
"node-fetch-native": "^1.4.0",
6161
"npm-run-all": "^4.1.5",
6262
"ofetch": "^1.3.3",
6363
"pathe": "^1.1.1",
64-
"pnpm": "8.6.6",
6564
"rimraf": "^5.0.1",
6665
"rollup": "^3.29.4",
6766
"rollup-plugin-dts": "^6.0.2",
@@ -71,12 +70,12 @@
7170
"ts-node": "^10.9.1",
7271
"tsup": "^6.7.0",
7372
"typescript": "^5.1.6",
74-
"vite": "^4.2.1",
73+
"vite": "^4.5.0",
7574
"vitest": "workspace:*"
7675
},
7776
"pnpm": {
7877
"overrides": {
79-
"vite": "^4.4.10",
78+
"vite": "$vite",
8079
"vitest": "workspace:*"
8180
},
8281
"peerDependencyRules": {

packages/browser/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
},
4444
"dependencies": {
4545
"estree-walker": "^3.0.3",
46-
"magic-string": "^0.30.4",
46+
"magic-string": "^0.30.5",
4747
"sirv": "^2.0.3"
4848
},
4949
"devDependencies": {

packages/coverage-v8/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"istanbul-lib-report": "^3.0.1",
5252
"istanbul-lib-source-maps": "^4.0.1",
5353
"istanbul-reports": "^3.1.5",
54-
"magic-string": "^0.30.4",
54+
"magic-string": "^0.30.5",
5555
"picocolors": "^1.0.0",
5656
"std-env": "^3.3.3",
5757
"test-exclude": "^6.0.0",

packages/snapshot/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"prepublishOnly": "pnpm build"
4444
},
4545
"dependencies": {
46-
"magic-string": "^0.30.1",
46+
"magic-string": "^0.30.5",
4747
"pathe": "^1.1.1",
4848
"pretty-format": "^29.5.0"
4949
},

packages/ui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
"unocss": "^0.53.4",
8181
"unplugin-auto-import": "^0.16.4",
8282
"unplugin-vue-components": "^0.25.1",
83-
"vite": "^4.0.0",
83+
"vite": "^4.5.0",
8484
"vite-plugin-pages": "^0.31.0",
8585
"vue": "^3.3.4",
8686
"vue-router": "^4.2.2"

packages/vitest/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@
157157
"chai": "^4.3.10",
158158
"debug": "^4.3.4",
159159
"local-pkg": "^0.4.3",
160-
"magic-string": "^0.30.4",
160+
"magic-string": "^0.30.5",
161161
"pathe": "^1.1.1",
162162
"picocolors": "^1.0.0",
163163
"std-env": "^3.3.3",

0 commit comments

Comments
 (0)