Skip to content

Commit

Permalink
feat: pnpm@7 (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
JiangWeixian authored May 2, 2022
1 parent db412bb commit f8f30d6
Show file tree
Hide file tree
Showing 7 changed files with 1,032 additions and 228 deletions.
5 changes: 5 additions & 0 deletions .changeset/swift-phones-tap.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@aiou/rollup-template": patch
---

use pnpm@v7
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

strategy:
matrix:
node-version: [12.x, 14.x, 16.x]
node-version: [14.x, 16.x]

steps:
- name: checkout code repository
Expand Down
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

pnpx lint-staged
pnpm lint-staged
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# @aiou/rollup-template
*rollup-template for single lib with condition exports*



[![npm](https://img.shields.io/npm/v/@aiou/rollup-template)](https://github.com/neo-hack/rollup-template) [![GitHub](https://img.shields.io/npm/l/@aiou/rollup-template)](https://github.com/neo-hack/rollup-template) [![stackblitz](https://img.shields.io/badge/%E2%9A%A1%EF%B8%8Fstackblitz-online-blue)](https://stackblitz.com/github/neo-hack/rollup-template)

[Edit on StackBlitz ⚡️](https://stackblitz.com/github/neo-hack/rollup-template)
Expand Down
17 changes: 8 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@
"pretest": "pnpm run build",
"prepare": "husky install",
"release": "pnpm run build && np --no-cleanup --yolo --no-publish --any-branch",
"ci:version": "pnpx changeset version",
"ci:publish": "pnpx changeset publish",
"ci:snapshot": "pnpx changeset version --snapshot beta",
"ci:prerelease": "pnpm run build && pnpx changeset publish --tag beta",
"ci:version": "pnpm changeset version",
"ci:publish": "pnpm changeset publish",
"ci:snapshot": "pnpm changeset version --snapshot beta",
"ci:prerelease": "pnpm run build && pnpm changeset publish --tag beta",
"lint:fix": "eslint . --fix"
},
"lint-staged": {
Expand All @@ -64,15 +64,14 @@
"lint-staged": "^11.2.6",
"prettier": "2.4.1",
"rimraf": "3.0.2",
"rollup": "2.58.0",
"rollup-plugin-bundle-size": "^1.0.3",
"rollup": "2.71.1",
"rollup-plugin-condition-exports": "^1.3.1",
"rollup-plugin-filesize": "^9.1.2",
"rollup-plugin-node-externals": "^4.0.0",
"rollup-plugin-size": "^0.2.2",
"rollup-plugin-typescript2": "0.30.0",
"rollup-plugin-typescript2": "0.31.2",
"ts-jest": "27.0.5",
"ts-node": "10.2.1",
"tslib": "2.3.1",
"tslib": "2.4.0",
"typescript": "4.4.3"
},
"config": {
Expand Down
Loading

0 comments on commit f8f30d6

Please sign in to comment.