Skip to content

Commit 07aa329

Browse files
authored
Merge pull request #89 from internetstandards/501
Move to pnpm for dependency management for speedups and better qol, also to fix a terrible spontaneous dependency error
2 parents 974db61 + 9210dc0 commit 07aa329

38 files changed

+5517
-131
lines changed

*.dt.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
declare module 'vue' {
2-
import { CompatVue } from '@vue/runtime-dom'
2+
import { CompatVue } from 'vue'
33
const Vue: CompatVue
44
export default Vue
55
export * from '@vue/runtime-dom'

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Build container to serve static content
2-
FROM node AS build
2+
FROM node:20 AS build
3+
4+
RUN corepack enable
35

46
RUN mkdir /src
57
WORKDIR /src

Makefile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,28 +5,28 @@ all: lint audit test
55
setup: vue-cli
66

77
lint:
8-
npm run lint
8+
pnpm run lint
99

1010
audit:
11-
npm audit
11+
pnpm audit
1212

1313
test:
1414
# TODO
1515

1616
vue-cli=node_modules/.bin/vue-cli-service
1717
$(vue-cli):
18-
npm install
18+
pnpm install
1919
vue-cli: | $(vue-cli)
2020

2121
run: vue-cli
22-
npm run dev
22+
pnpm run dev
2323

2424
# This option takes the env.deploy file and applies it during build.
2525
build: vue-cli
26-
npm run build -- --mode deploy
26+
pnpm run build -- --mode deploy
2727

2828
build-local: vue-cli
29-
npm run build -- --mode development
29+
pnpm run build -- --mode development
3030

3131
pull_image:
3232
# optimize build by caching previously build image

package.json

Lines changed: 29 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -14,51 +14,52 @@
1414
"format": "prettier --write src/"
1515
},
1616
"dependencies": {
17-
"axios": "^1.7.7",
18-
"bootstrap": "^5.3.3",
17+
"axios": "^1.13.2",
18+
"bootstrap": "^5.3.8",
1919
"bootstrap-vue": "^2.23.1",
2020
"bootstrap-vue-next": "^0.25.15",
21-
"chart.js": "^4.4.6",
21+
"chart.js": "^4.5.1",
2222
"chartjs-plugin-datalabels": "^2.2.0",
2323
"date-fns": "^4.1.0",
2424
"debounce": "^2.2.0",
25-
"fslightbox-vue": "^2.1.3",
25+
"fslightbox-vue": "^2.2.1",
2626
"headroom.js": "^0.12.0",
27-
"pinia": "^2.2.6",
28-
"pinia-plugin-persistedstate": "^4.1.3",
29-
"vue": "^3.5.12",
30-
"vue-chartjs": "^5.3.2",
27+
"pinia": "^2.3.1",
28+
"pinia-plugin-persistedstate": "^4.7.1",
29+
"pnpm": "^10.22.0",
30+
"vue": "^3.5.24",
31+
"vue-chartjs": "^5.3.3",
3132
"vue-easy-lightbox": "^1.19.0",
32-
"vue-i18n": "^10.0.4",
33+
"vue-i18n": "^10.0.8",
3334
"vue-matomo": "^4.2.0",
34-
"vue-router": "^4.4.5",
35-
"vue-select": "^4.0.0-beta.6",
35+
"vue-router": "^4.6.3",
36+
"vue-select": "4.0.0-beta.6",
3637
"vue2-dropzone-vue3": "^1.1.0",
3738
"vue3-virtual-scroll-list": "^0.2.1"
3839
},
3940
"devDependencies": {
40-
"@iconify-json/bi": "^1.2.1",
41-
"@tsconfig/node22": "^22.0.0",
41+
"@iconify-json/bi": "^1.2.6",
42+
"@tsconfig/node22": "^22.0.5",
4243
"@types/jsdom": "^21.1.7",
43-
"@types/node": "^22.9.0",
44-
"@vitejs/plugin-vue": "^5.1.4",
44+
"@types/node": "^22.19.1",
45+
"@vitejs/plugin-vue": "^5.2.4",
4546
"@vitest/eslint-plugin": "1.1.7",
46-
"@vue/eslint-config-prettier": "^10.1.0",
47-
"@vue/eslint-config-typescript": "^14.1.3",
47+
"@vue/eslint-config-prettier": "^10.2.0",
48+
"@vue/eslint-config-typescript": "^14.6.0",
4849
"@vue/test-utils": "^2.4.6",
4950
"@vue/tsconfig": "^0.5.1",
50-
"eslint": "^9.14.0",
51-
"eslint-plugin-vue": "^9.30.0",
51+
"eslint": "^9.39.1",
52+
"eslint-plugin-vue": "^9.33.0",
5253
"jsdom": "^25.0.1",
53-
"npm-run-all2": "^7.0.1",
54-
"prettier": "^3.3.3",
55-
"sass-embedded": "^1.80.7",
54+
"npm-run-all2": "^7.0.2",
55+
"prettier": "^3.6.2",
56+
"sass-embedded": "^1.93.3",
5657
"typescript": "~5.6.3",
57-
"unplugin-icons": "^0.20.1",
58-
"unplugin-vue-components": "^0.27.4",
59-
"vite": "^5.4.10",
60-
"vite-plugin-vue-devtools": "^7.5.4",
61-
"vitest": "^2.1.4",
62-
"vue-tsc": "^2.1.10"
58+
"unplugin-icons": "^0.20.2",
59+
"unplugin-vue-components": "^0.27.5",
60+
"vite": "^5.4.21",
61+
"vite-plugin-vue-devtools": "^7.7.9",
62+
"vitest": "^2.1.9",
63+
"vue-tsc": "^2.2.12"
6364
}
6465
}

0 commit comments

Comments
 (0)