Skip to content

Commit

Permalink
feat: 2.0.0 (#46)
Browse files Browse the repository at this point in the history
* 💥  deprecate node14

* ⬆️  eslint-config

* 👷  pre-merget

* 📌  @aiou/generator-aiou@0.2.1

* 📝  changeset

* 📌  ts version

* ⬆️  vitest
  • Loading branch information
JiangWeixian authored Jun 25, 2023
1 parent 1e59457 commit 5128738
Show file tree
Hide file tree
Showing 16 changed files with 532 additions and 309 deletions.
5 changes: 5 additions & 0 deletions .changeset/fast-kangaroos-invite.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@aiou/rollup-template": patch
---

upgrade vitest
5 changes: 5 additions & 0 deletions .changeset/khaki-guests-sparkle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@aiou/rollup-template": major
---

deprecate node14
5 changes: 5 additions & 0 deletions .changeset/slow-camels-beg.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@aiou/rollup-template": patch
---

use current repo ts version
5 changes: 5 additions & 0 deletions .changeset/weak-chairs-beam.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@aiou/rollup-template": minor
---

upgrade eslint-config & add pre-merge
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: [14.x, 16.x]
node-version: [16.x, 18.x]

steps:
- name: checkout code repository
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: setup node.js
uses: actions/setup-node@v2
with:
node-version: 14
node-version: 16
- name: install pnpm
run: npm i pnpm@7.23.0 -g
- name: install dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/snapshot-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: setup node.js
uses: actions/setup-node@v2
with:
node-version: 14
node-version: 16
- name: install pnpm
run: npm i pnpm@7.23.0 -g
- name: install dependencies
Expand Down
11 changes: 11 additions & 0 deletions .husky/pre-merge
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

check_run() {
if [ $(git diff-tree -r --name-only --no-commit-id ORIG_HEAD HEAD | grep -c "package.json") -gt 0 ]
then
pnpm install
fi
}

check_run
2 changes: 1 addition & 1 deletion .neo/.neorc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"mario": "@aiou/generator-aiou"
"mario": "@aiou/generator-aiou@0.2.1"
}
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"typescript.tsdk": "node_modules/typescript/lib"
}
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
{
"name": "@aiou/rollup-template",
"version": "1.11.3",
"license": "MIT",
"packageManager": "pnpm@7.23.0",
"license": "MIT",
"engines": {
"node": ">=16"
},
"homepage": "https://github.com/neo-hack/rollup-template#readme",
"repository": {
"type": "git",
Expand Down Expand Up @@ -50,7 +53,7 @@
"functional-md": "^1.1.0"
},
"devDependencies": {
"@aiou/eslint-config": "0.7.8",
"@aiou/eslint-config": "0.11.0",
"@changesets/cli": "2.21.1",
"@rollup/plugin-alias": "4.0.3",
"@rollup/plugin-commonjs": "24.0.1",
Expand All @@ -74,9 +77,6 @@
"ttypescript": "1.5.13",
"typescript": "4.4.3",
"typescript-transform-paths": "3.3.1",
"vitest": "0.10.0"
},
"engines": {
"node": ">=14"
"vitest": "0.32.2"
}
}
Loading

0 comments on commit 5128738

Please sign in to comment.