Skip to content

Commit

Permalink
chore: pnpmをv10に更新 (#2528)
Browse files Browse the repository at this point in the history
  • Loading branch information
sevenc-nanashi authored Feb 12, 2025
1 parent 0654686 commit f44a29b
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,19 @@
"volta": {
"node": "22.14.0"
},
"packageManager": "pnpm@9.15.4",
"packageManager": "pnpm@10.3.0",
"scripts": {
"// --- lint ---": "",
"lint": "eslint --ext .js,.vue,.ts,.mts *.config.* src tests build .storybook",
"fmt": "eslint --ext .js,.vue,.ts,.mts *.config.* src tests build .storybook --fix",
"markdownlint": "markdownlint --ignore node_modules/ --ignore dist/ --ignore dist_electron/ --ignore dist_preview/ ./",
"typecheck": "vue-tsc --noEmit",
"typos": "cross-env ./vendored/typos/typos",

"// --- tools ---": "",
"license:generate": "tsx tools/generateLicenses.mts",
"license:merge": "tsx tools/mergeLicenses.mts",
"check-suspicious-imports": "tsx tools/checkSuspiciousImports.mts",

"// --- test ---": "",
"test:unit": "vitest --run",
"test-watch:unit": "vitest --watch",
"test-ui:unit": "vitest --ui",
Expand All @@ -33,14 +34,14 @@
"test:storybook-vrt": "cross-env TARGET=storybook playwright test",
"test-watch:storybook-vrt": "cross-env TARGET=storybook PWTEST_WATCH=1 playwright test",
"test-ui:storybook-vrt": "cross-env TARGET=storybook playwright test --ui",

"// --- build ---": "",
"electron:serve": "cross-env VITE_TARGET=electron vite",
"electron:build": "cross-env VITE_TARGET=electron NODE_ENV=production vite build && electron-builder --config electron-builder.config.js --publish never",
"browser:serve": "cross-env VITE_TARGET=browser vite",
"browser:build": "cross-env VITE_TARGET=browser NODE_ENV=production vite build",
"storybook": "storybook dev --port 6006",
"storybook:build": "storybook build",

"// --- lifecycle ---": "",
"preinstall": "npx -y only-allow pnpm",
"postinstall": "pnpm run postinstall:packages && pnpm run postinstall:download-scripts",
"postinstall:packages": "electron-builder install-app-deps && playwright install chromium",
Expand Down Expand Up @@ -146,5 +147,15 @@
"vue-component-type-helpers": "2.1.6",
"vue-tsc": "2.1.10",
"yargs": "17.2.1"
},
"pnpm": {
"onlyBuiltDependencies": [
"@nestjs/core",
"@openapitools/openapi-generator-cli",
"electron",
"esbuild",
"msw",
"vue-demi"
]
}
}

0 comments on commit f44a29b

Please sign in to comment.