Skip to content

Commit f77c0a8

Browse files
Upgrade to vite 5 (#1530)
* Upgrade to vite 5 * set allowAny for vite deps, as some of the ecosystem is behind * lint:fix
1 parent 8e24991 commit f77c0a8

File tree

5 files changed

+299
-43
lines changed

5 files changed

+299
-43
lines changed

benchmark/benchmarks/krausest/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"devDependencies": {
1717
"@types/node": "^20.9.4",
1818
"eslint": "^8.52.0",
19-
"vite": "^4.3.9"
19+
"vite": "^5.0.10"
2020
},
2121
"engines": {
2222
"node": ">=18.0.0"

package.json

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,17 @@
22
"name": "glimmer-engine",
33
"version": "0.85.13",
44
"private": true,
5+
"license": "MIT",
56
"description": "Glimmer compiles Handlebars templates into document fragments rather than string buffers",
67
"repository": {
78
"type": "git",
89
"url": "https://github.com/glimmerjs/glimmer-vm.git"
910
},
10-
"license": "MIT",
1111
"author": "Tilde, Inc.",
12+
"publishConfig": {
13+
"registry": "https://registry.npmjs.org"
14+
},
1215
"scripts": {
13-
"clean": "node ./bin/clean.mjs",
1416
"benchmark:build": "node benchmark/bin/build.js",
1517
"benchmark:control": "node benchmark/bin/control.js",
1618
"benchmark:experiment": "node benchmark/bin/experiment.js",
@@ -20,36 +22,41 @@
2022
"build": "dotenv -- turbo build",
2123
"build:control": "rollup -c rollup.config.mjs",
2224
"build:flags": "RETAIN_FLAGS=true ember build --env production --suppress-sizes",
25+
"clean": "node ./bin/clean.mjs",
2326
"link:all": "esyes ./bin/link-all.mts",
2427
"lint": "npm-run-all lint:*",
25-
"lint:format": "prettier -c .",
2628
"lint:files": "turbo lint",
29+
"lint:format": "prettier -c .",
2730
"lint:types": "tsc -b",
2831
"lintfix": "pnpm turbo test:lint -- --fix && prettier -w .",
2932
"start": "ember serve --port=7357",
3033
"test": "node bin/run-tests.mjs",
34+
"test:babel-plugins": "yarn workspace @glimmer/vm-babel-plugins test",
3135
"test:browserstack": "ember test --test-port=7774 --host 127.0.0.1 --config-file=testem-browserstack.js",
3236
"test:node": "node bin/run-node-tests.mjs",
33-
"test:babel-plugins": "yarn workspace @glimmer/vm-babel-plugins test",
3437
"test:smoke": "SMOKE_TESTS=true ember test",
3538
"test:types": "node bin/run-types-tests.mjs",
3639
"unlink:all": "esyes ./bin/unlink-all.mts"
3740
},
3841
"pnpm": {
3942
"overrides": {
40-
"typescript": "$typescript",
4143
"@rollup/pluginutils": "^5.0.2",
42-
"@types/node": "$@types/node"
44+
"@types/node": "$@types/node",
45+
"typescript": "$typescript"
46+
},
47+
"patchedDependencies": {
48+
"@release-it-plugins/[email protected]": "patches/@[email protected]"
4349
},
4450
"peerDependencyRules": {
51+
"allowAny": [
52+
"vite-plugin-babel",
53+
"vite"
54+
],
4555
"allowedVersions": {
46-
"typescript": "5",
4756
"@rollup/pluginutils": "5",
48-
"rollup": "3"
57+
"rollup": "3",
58+
"typescript": "5"
4959
}
50-
},
51-
"patchedDependencies": {
52-
"@release-it-plugins/[email protected]": "patches/@[email protected]"
5360
}
5461
},
5562
"devDependencies": {
@@ -118,12 +125,9 @@
118125
"ts-node": "^10.9.1",
119126
"turbo": "^1.9.3",
120127
"typescript": "^5.0.4",
121-
"vite": "^4.3.9",
128+
"vite": "^5.0.10",
122129
"xo": "^0.54.2"
123130
},
124-
"publishConfig": {
125-
"registry": "https://registry.npmjs.org"
126-
},
127131
"release-it": {
128132
"plugins": {
129133
"@release-it-plugins/workspaces": {

packages/@glimmer-workspace/build/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"rollup-plugin-postcss": "^4.0.2",
3232
"rollup-plugin-ts": "^3.4.5",
3333
"unplugin-fonts": "^1.0.3",
34-
"vite": "4.3.9"
34+
"vite": "^5.0.10"
3535
},
3636
"devDependencies": {
3737
"@types/node": "^20.9.4",

packages/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
"private": true,
33
"dependencies": {
44
"@types/qunit": "^2.19.9",
5-
"vite": "^4.3.9"
5+
"vite": "^5.0.10"
66
}
77
}

0 commit comments

Comments
 (0)