Skip to content

Commit

Permalink
fix: migrate ecosystem-ci scripts to pnpm (quasarframework#17003)
Browse files Browse the repository at this point in the history
There's no `pnpm workspace` command. Instead, pnpm uses the `--filter`
option to run a command in a specific workspace.

Note there will always be a "ELIFECYCLE Command failed." message at the
end of the vite-plugin test.
But that's from the vite preview server being stopped after a successful
test run. It's not a real error and doesn't affect the test result or
the exit code.
  • Loading branch information
sodatea committed Mar 14, 2024
1 parent e0b7b13 commit 53c2364
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
"lint:root": "eslint .eslintrc.cjs --report-unused-disable-directives --fix",
"lint": "pnpm lint:root && pnpm --recursive run lint",
"test": "pnpm vite-ecosystem-ci:build && pnpm vite-ecosystem-ci:test && pnpm vue-ecosystem-ci:test",
"vite-ecosystem-ci:build": "pnpm workspace @quasar/vite-plugin build && pnpm workspace quasar test:build",
"vite-ecosystem-ci:test": "pnpm workspace @quasar/vite-plugin test",
"vite-ecosystem-ci:build": "pnpm --filter @quasar/vite-plugin build && pnpm --filter quasar test:build",
"vite-ecosystem-ci:test": "pnpm --filter @quasar/vite-plugin test",
"vue-ecosystem-ci:build": "pnpm vite-ecosystem-ci:build",
"vue-ecosystem-ci:test": "pnpm workspace quasar test:component:run && pnpm workspace @quasar/vite-plugin test:e2e:ci"
"vue-ecosystem-ci:test": "pnpm --filter quasar test:component:run && pnpm --filter @quasar/vite-plugin test:e2e:ci"
},
"devDependencies": {
"eslint": "^8.57.0",
Expand Down

0 comments on commit 53c2364

Please sign in to comment.