Skip to content

Commit

Permalink
task: migrate from npm to pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
cngJo committed May 6, 2023
1 parent 51ee733 commit fa36c7b
Show file tree
Hide file tree
Showing 10 changed files with 12,185 additions and 22,099 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,19 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 19
cache: 'npm'

- name: Install dependencies
run: npm clean-install
- uses: pnpm/action-setup@v2
with:
version: ^8.4
run_install: |
- recursive: true
args: [--frozen-lockfile, --strict-peer-dependencies]
- name: Lint
run: npm run lint
run: pnpm run lint

- name: Build
run: npm run build
run: pnpm run build

- name: Test
run: npm run test:ci
run: pnpm run test:ci
11 changes: 7 additions & 4 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,16 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 19
cache: 'npm'

- name: Install dependencies
run: npm clean-install
- uses: pnpm/action-setup@v2
with:
version: ^8.4
run_install: |
- recursive: true
args: [--frozen-lockfile, --strict-peer-dependencies]
- name: "Install playwright"
run: npx playwright install
run: pnpm dlx playwright install

- name: "Run application and playwright"
run: |
Expand Down
7 changes: 4 additions & 3 deletions apps/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,16 @@
},
"dependencies": {
"@nuxtjs/eslint-config-typescript": "^12.0.0",
"consola": "^3.1.0",
"nuxt": "^3.2.0",
"ui": "*"
"ui": "workspace:*"
},
"devDependencies": {
"@babel/core": "^7.0.0",
"@nuxt/devtools": "^0.1.2",
"@types/node": "^17.0.12",
"eslint-config-custom": "file:../eslint-config-custom",
"tsconfig": "*",
"eslint-config-custom": "workspace:*",
"tsconfig": "workspace:*",
"typescript": "^4.5.3"
}
}
6 changes: 3 additions & 3 deletions apps/storybook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"dependencies": {
"vue": "^3.2.47",
"ui": "*"
"ui": "workspace:*"
},
"devDependencies": {
"@rushstack/eslint-patch": "^1.2.0",
Expand Down Expand Up @@ -39,7 +39,7 @@
"typescript": "~5.0.4",
"vite": "^4.3.4",
"vue-tsc": "^1.6.4",
"eslint-config-custom": "file:../eslint-config-custom",
"tsconfig": "*"
"eslint-config-custom": "workspace:*",
"tsconfig": "workspace:*"
}
}
9 changes: 5 additions & 4 deletions apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,21 @@
"start": "nuxt start",
"lint": "eslint src",
"lint:write": "eslint src --fix",
"test:e2e": "playwright test tests/e2e"
"test:e2e": "playwright test tests/e2e"
},
"dependencies": {
"@nuxtjs/eslint-config-typescript": "^12.0.0",
"consola": "^3.1.0",
"nuxt": "^3.2.0",
"ui": "*"
"ui": "workspace:*"
},
"devDependencies": {
"@babel/core": "^7.0.0",
"@nuxt/devtools": "^0.1.2",
"@playwright/test": "^1.30.0",
"@types/node": "^17.0.12",
"eslint-config-custom": "file:../eslint-config-custom",
"tsconfig": "*",
"eslint-config-custom": "workspace:*",
"tsconfig": "workspace:*",
"typescript": "^4.5.3"
}
}
Loading

0 comments on commit fa36c7b

Please sign in to comment.