Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,15 @@ jobs:
strategy:
matrix:
node-version:
- 16
- 20
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Enable pnpm
run: corepack enable pnpm
- name: Install dependencies
run: yarn
run: pnpm install --frozen-lockfile
- name: Run tests
run: yarn run test
run: pnpm run test
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ node_modules

# logs
npm-debug.log
yarn-error.log
pnpm-debug.log

# coverage
coverage
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"npmClient": "yarn",
"npmClient": "pnpm",
"useWorkspaces": true,
"packages": [
"packages/*"
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"private": true,
"packageManager": "pnpm@10.33.0+sha512.10568bb4a6afb58c9eb3630da90cc9516417abebd3fabbe6739f0ae795728da1491e9db5a544c76ad8eb7570f5c4bb3d6c637b2cb41bfdcdb47fa823c8649319",
"workspaces": [
"packages/*",
"test"
Expand All @@ -8,7 +9,7 @@
"prepublish": "lerna run prepublish",
"publish-canary": "lerna version prerelease --preid canary --force-publish && release --pre",
"publish-stable": "lerna version --force-publish",
"test": "cd test && yarn run test"
"test": "pnpm --dir test run test"
},
"license": "MIT",
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/micro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
},
"scripts": {
"build": "tsc",
"prepublishOnly": "yarn run build",
"prepublishOnly": "pnpm run build",
"eslint-check": "eslint --max-warnings=0 .",
"prettier-check": "prettier --check .",
"type-check": "tsc --noEmit"
Expand Down
9,750 changes: 9,750 additions & 0 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
packages:
- "packages/*"
- "test"

minimumReleaseAge: 2880

onlyBuiltDependencies:
- core-js-pure
2 changes: 1 addition & 1 deletion test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"tap": "16.3.0",
"ts-node": "10.9.1",
"typescript": "4.7.4",
"micro": "*"
"micro": "workspace:*"
},
"prettier": "@vercel/style-guide/prettier"
}
Loading
Loading