Skip to content

Commit

Permalink
chore(create-tnf): update build and release scripts with @umijs/tools
Browse files Browse the repository at this point in the history
  • Loading branch information
sorrycc committed Jan 13, 2025
1 parent ade4b93 commit 5dfb067
Show file tree
Hide file tree
Showing 6 changed files with 121 additions and 142 deletions.
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@ $ pnpm release
Release create-tnf package:
```bash
$ pnpm release:create-tnf
$ pnpm release:create-tnf --no-bump
# or if you want to bump the version without changeset
$ pnpm release:create-tnf --bump
$ pnpm release:create-tnf
```
## Code Style
Expand Down
5 changes: 3 additions & 2 deletions create-tnf/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"create-tnf": "bin/create-tnf.js"
},
"scripts": {
"build": "tsx ../scripts/buildCreateTnf.ts",
"release": "tsx ../scripts/releasePackage.ts --pkg create-tnf"
"build": "utools bundle",
"release": "utools release"
},
"files": [
"bin",
Expand All @@ -22,6 +22,7 @@
"devDependencies": {
"@types/yargs-parser": "^21.0.3",
"@umijs/clack-prompt": "^0.0.3",
"@umijs/tools": "^0.1.3",
"gradient-string": "^3.0.0",
"picocolors": "^1.1.1",
"tsx": "^4.19.2",
Expand Down
Loading

0 comments on commit 5dfb067

Please sign in to comment.