Skip to content
Draft

pnpm #188

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
7 changes: 4 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,13 @@ jobs:
steps:
- uses: actions/checkout@v5
- uses: actions/configure-pages@v5
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v6
with:
node-version: 24
cache: npm
- run: npm ci
- run: npm run build --workspaces --if-present
cache: pnpm
- run: pnpm install --lockfile-only
- run: pnpm run --recursive build
- run: rm -rf node_modules
- uses: actions/upload-pages-artifact@v4
with:
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@ jobs:

steps:
- uses: actions/checkout@v5
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v6
with:
node-version: 24
cache: npm
- run: npm install
- run: npm run build
- run: npm run check --workspaces --if-present
cache: pnpm
- run: pnpm install --lockfile-only
- run: pnpm run build
- run: pnpm run --recursive check
3 changes: 2 additions & 1 deletion .github/workflows/size.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@ jobs:

steps:
- uses: actions/checkout@v5
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v6
with:
node-version: 24
cache: npm
cache: pnpm
- uses: preactjs/compressed-size-action@v2
with:
compression: brotli
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,16 @@ jobs:

steps:
- uses: actions/checkout@v5
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v6
with:
node-version: 24
cache: npm
- run: npm ci
- run: npm run build
cache: pnpm
- run: pnpm install --lockfile-only
- run: pnpm run build
- name: Disable AppArmor for chromium
run: echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns || true
- run: npm run test
- run: pnpm run test
- if: always()
uses: coverallsapp/github-action@v2
with:
Expand Down
1 change: 0 additions & 1 deletion .npmrc

This file was deleted.

4 changes: 2 additions & 2 deletions examples/calculator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
"check": "tsc"
},
"devDependencies": {
"typescript": "~5.8.3"
"typescript": "catalog:"
},
"dependencies": {
"optionalDependencies": {
"dhtml": "file:../../dist"
}
}
8 changes: 5 additions & 3 deletions examples/kanban/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,16 @@
"preview": "vite preview"
},
"devDependencies": {
"typescript": "~5.8.3",
"typescript": "catalog:",
"vite": "^6.3.5"
},
"dependencies": {
"@tombl/router": "npm:@jsr/tombl__router@^0.1.2",
"dhtml": "file:../../dist",
"@tombl/router": "jsr:^0.1.3",
"sqlocal": "^0.14.1"
},
"optionalDependencies": {
"dhtml": "file:../../dist"
},
"imports": {
"#app": "./src/app.ts",
"#db": "./src/db/index.ts",
Expand Down
2 changes: 1 addition & 1 deletion examples/signals/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"imports": {
"dhtml": "../../dist/index.js",
"dhtml/client": "../../dist/client.js",
"alien-signals": "../../node_modules/alien-signals/esm/index.mjs"
"alien-signals": "./node_modules/alien-signals/esm/index.mjs"
}
}
</script>
Expand Down
6 changes: 4 additions & 2 deletions examples/signals/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@
"check": "tsc"
},
"devDependencies": {
"typescript": "~5.8.3"
"typescript": "catalog:"
},
"dependencies": {
"alien-signals": "^2.0.7",
"alien-signals": "^2.0.7"
},
"optionalDependencies": {
"dhtml": "file:../../dist"
}
}
6 changes: 4 additions & 2 deletions examples/ssr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@
"check": "tsc"
},
"devDependencies": {
"typescript": "~5.8.3"
"typescript": "catalog:"
},
"dependencies": {
"@hono/node-server": "^1.15.0",
"amaro": "^1.1.0",
"dhtml": "file:../../dist",
"hono": "^4.8.3"
},
"optionalDependencies": {
"dhtml": "file:../../dist"
}
}
4 changes: 2 additions & 2 deletions examples/todomvc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
"check": "tsc"
},
"devDependencies": {
"typescript": "~5.8.3"
"typescript": "catalog:"
},
"dependencies": {
"optionalDependencies": {
"dhtml": "file:../../dist"
}
}
4 changes: 2 additions & 2 deletions examples/uibench/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
"check": "tsc"
},
"devDependencies": {
"typescript": "~5.8.3"
"typescript": "catalog:"
},
"dependencies": {
"optionalDependencies": {
"dhtml": "file:../../dist"
}
}
Loading
Loading