Skip to content

Commit

Permalink
build: pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
TheChristophe committed Aug 6, 2024
1 parent caac35e commit 64e07d9
Show file tree
Hide file tree
Showing 5 changed files with 5,124 additions and 3,998 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 20.9.0
cache: 'yarn'
cache-dependency-path: 'yarn.lock'
cache: 'pnpm'
cache-dependency-path: 'pnpm-lock.yaml'

- name: yarn install
run: yarn install --immutable
- name: pnpm install
run: pnpm install --frozen-lockfile

- name: Run tests
run: yarn run lint:export
run: pnpm run lint:export
continue-on-error: true

- name: Annotate Code Linting Results
Expand All @@ -67,14 +67,14 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 20.9.0
cache: 'yarn'
cache-dependency-path: 'yarn.lock'
cache: 'pnpm'
cache-dependency-path: 'pnpm-lock.yaml'

- name: yarn install
run: yarn install --immutable
- name: pnpm install
run: pnpm install --frozen-lockfile

- name: Run tests
run: yarn run lint:formatting
run: pnpm run lint:formatting

typecheck:
name: Type Checking
Expand All @@ -87,11 +87,11 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 20.9.0
cache: 'yarn'
cache-dependency-path: 'yarn.lock'
cache: 'pnpm'
cache-dependency-path: 'pnpm-lock.yaml'

- name: yarn install
run: yarn install --immutable
- name: pnpm install
run: pnpm install --frozen-lockfile

- name: Run tests
run: yarn run type-check
run: pnpm run type-check
25 changes: 13 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,21 +27,21 @@
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.6",
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@types/node": "^20.10.8",
"@typescript-eslint/eslint-plugin": "^6.9.1",
"@typescript-eslint/parser": "^6.9.1",
"commit-and-tag-version": "^12.2.0",
"eslint": "^8.56.0",
"@types/node": "^20.14.14",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"commit-and-tag-version": "^12.4.1",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-github": "^4.10.1",
"eslint-plugin-github": "^4.10.2",
"eslint-plugin-import": "^2.29.1",
"prettier": "^3.1.1",
"rimraf": "^5.0.1",
"rollup": "^4.9.4",
"rollup-plugin-dts": "^6.1.0",
"prettier": "^3.3.3",
"rimraf": "^5.0.10",
"rollup": "^4.20.0",
"rollup-plugin-dts": "^6.1.1",
"rollup-plugin-peer-deps-external": "^2.2.4",
"typescript": "^5.3.3"
"typescript": "^5.5.4"
},
"files": [
"dist/",
Expand All @@ -57,5 +57,6 @@
}
},
"module": "./dist/index.js",
"typings": "./dist/index.d.ts"
"typings": "./dist/index.d.ts",
"packageManager": "[email protected]+sha512.38dc6fba8dba35b39340b9700112c2fe1e12f10b17134715a4aa98ccf7bb035e76fd981cf0bb384dfa98f8d6af5481c2bef2f4266a24bfa20c34eb7147ce0b5e"
}
Loading

0 comments on commit 64e07d9

Please sign in to comment.