Skip to content

Commit

Permalink
chore: use pnpm catalogs
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Dec 3, 2024
1 parent d1516f4 commit 2738ed7
Show file tree
Hide file tree
Showing 7 changed files with 287 additions and 134 deletions.
20 changes: 10 additions & 10 deletions examples/multiple-pages-pwa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@
"serve": "vite preview"
},
"dependencies": {
"@unhead/vue": "^1.11.13",
"vue": "^3.5.13"
"@unhead/vue": "catalog:",
"vue": "catalog:"
},
"devDependencies": {
"@vitejs/plugin-vue": "^5.2.1",
"cross-env": "^7.0.3",
"typescript": "5.6.3",
"unplugin-vue-markdown": "^0.27.1",
"vite": "^6.0.2",
"vite-plugin-pages": "^0.32.4",
"vite-plugin-pwa": "^0.21.1",
"@vitejs/plugin-vue": "catalog:",
"cross-env": "catalog:",
"typescript": "catalog:",
"unplugin-vue-markdown": "catalog:",
"vite": "catalog:",
"vite-plugin-pages": "catalog:",
"vite-plugin-pwa": "catalog:",
"vite-ssg": "workspace:*",
"vue-router": "^4.5.0"
"vue-router": "catalog:"
}
}
24 changes: 12 additions & 12 deletions examples/multiple-pages-with-store/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,20 @@
"serve": "vite preview"
},
"dependencies": {
"@unhead/vue": "^1.11.13",
"pinia": "^2.2.8",
"vue": "^3.5.13"
"@unhead/vue": "catalog:",
"pinia": "catalog:",
"vue": "catalog:"
},
"devDependencies": {
"@nuxt/devalue": "^2.0.2",
"@vitejs/plugin-vue": "^5.2.1",
"cross-env": "^7.0.3",
"typescript": "5.6.3",
"unplugin-vue-components": "^0.27.5",
"unplugin-vue-markdown": "^0.27.1",
"vite": "^6.0.2",
"vite-plugin-pages": "^0.32.4",
"@nuxt/devalue": "catalog:",
"@vitejs/plugin-vue": "catalog:",
"cross-env": "catalog:",
"typescript": "catalog:",
"unplugin-vue-components": "catalog:",
"unplugin-vue-markdown": "catalog:",
"vite": "catalog:",
"vite-plugin-pages": "catalog:",
"vite-ssg": "workspace:*",
"vue-router": "^4.5.0"
"vue-router": "catalog:"
}
}
20 changes: 10 additions & 10 deletions examples/multiple-pages/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@
"serve": "vite preview --base /ssg-base/"
},
"dependencies": {
"@unhead/vue": "^1.11.13",
"vue": "^3.5.13"
"@unhead/vue": "catalog:",
"vue": "catalog:"
},
"devDependencies": {
"@vitejs/plugin-vue": "^5.2.1",
"cross-env": "^7.0.3",
"typescript": "5.6.3",
"unplugin-vue-components": "^0.27.5",
"unplugin-vue-markdown": "^0.27.1",
"vite": "^6.0.2",
"vite-plugin-pages": "^0.32.4",
"@vitejs/plugin-vue": "catalog:",
"cross-env": "catalog:",
"typescript": "catalog:",
"unplugin-vue-components": "catalog:",
"unplugin-vue-markdown": "catalog:",
"vite": "catalog:",
"vite-plugin-pages": "catalog:",
"vite-ssg": "workspace:*",
"vue-router": "^4.5.0"
"vue-router": "catalog:"
}
}
12 changes: 6 additions & 6 deletions examples/single-page/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@
"serve": "vite preview"
},
"dependencies": {
"pinia": "^2.2.8",
"vue": "^3.5.13"
"pinia": "catalog:",
"vue": "catalog:"
},
"devDependencies": {
"@vitejs/plugin-vue": "^5.2.1",
"cross-env": "^7.0.3",
"typescript": "5.6.3",
"vite": "^6.0.2",
"@vitejs/plugin-vue": "catalog:",
"cross-env": "catalog:",
"typescript": "catalog:",
"vite": "catalog:",
"vite-ssg": "workspace:*"
}
}
64 changes: 32 additions & 32 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
"build": "unbuild",
"prepublishOnly": "npm run build",
"typecheck": "vue-tsc --noEmit",
"release": "bumpp && npm publish"
"release": "bumpp && pnpm publish"
},
"peerDependencies": {
"beasties": "^0.1.0",
Expand All @@ -98,39 +98,39 @@
}
},
"dependencies": {
"@unhead/dom": "^1.11.13",
"@unhead/vue": "^1.11.13",
"fs-extra": "^11.2.0",
"html-minifier-terser": "^7.2.0",
"html5parser": "^2.0.2",
"jsdom": "^25.0.1",
"kolorist": "^1.8.0",
"prettier": "^3.4.1",
"yargs": "^17.7.2"
"@unhead/dom": "catalog:",
"@unhead/vue": "catalog:",
"fs-extra": "catalog:",
"html-minifier-terser": "catalog:",
"html5parser": "catalog:",
"jsdom": "catalog:",
"kolorist": "catalog:",
"prettier": "catalog:",
"yargs": "catalog:"
},
"devDependencies": {
"@antfu/eslint-config": "^3.11.2",
"@types/fs-extra": "^11.0.4",
"@types/html-minifier-terser": "^7.0.2",
"@types/jsdom": "^21.1.7",
"@types/yargs": "^17.0.33",
"beasties": "^0.1.0",
"bumpp": "^9.8.1",
"critters": "^0.0.25",
"eslint": "^9.16.0",
"esno": "^4.8.0",
"fast-glob": "^3.3.2",
"p-queue": "^8.0.1",
"rollup": "^4.28.0",
"tsup": "^8.3.5",
"typescript": "5.6.3",
"unbuild": "^2.0.0",
"vite": "^6.0.2",
"vite-plugin-pwa": "^0.21.1",
"vitest": "^2.1.8",
"vue": "^3.5.13",
"vue-router": "^4.5.0",
"vue-tsc": "^2.1.10"
"@antfu/eslint-config": "catalog:",
"@types/fs-extra": "catalog:",
"@types/html-minifier-terser": "catalog:",
"@types/jsdom": "catalog:",
"@types/yargs": "catalog:",
"beasties": "catalog:",
"bumpp": "catalog:",
"critters": "catalog:",
"eslint": "catalog:",
"esno": "catalog:",
"fast-glob": "catalog:",
"p-queue": "catalog:",
"rollup": "catalog:",
"tsup": "catalog:",
"typescript": "catalog:",
"unbuild": "catalog:",
"vite": "catalog:",
"vite-plugin-pwa": "catalog:",
"vitest": "catalog:",
"vue": "catalog:",
"vue-router": "catalog:",
"vue-tsc": "catalog:"
},
"resolutions": {
"vite": "^6.0.2"
Expand Down
Loading

0 comments on commit 2738ed7

Please sign in to comment.