-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
chore: use tsx directly instead of indirect esno
#8773
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 4 commits
5c8213b
24e28e7
9bcd1d1
a5aa4a4
549f48c
2afb112
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,10 @@ | ||
| enable-pre-post-scripts=true | ||
JounQin marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| hoist-pattern[]=*eslint* | ||
| hoist-pattern[]=*babel* | ||
| hoist-pattern[]=@emotion/* | ||
| hoist-pattern[]=postcss | ||
| hoist-pattern[]=pug | ||
| hoist-pattern[]=source-map-support | ||
| hoist-pattern[]=ts-node | ||
| shamefully-hoist=false | ||
JounQin marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
JounQin marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| strict-peer-dependencies=false | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -14,6 +14,7 @@ | |
| ], | ||
| "scripts": { | ||
| "preinstall": "npx only-allow pnpm", | ||
| "postinstall": "simple-git-hooks", | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This will make
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Perhaps we can include it for now until an issue arise, otherwise we can point users to run it manually in the contributing guide. |
||
| "format": "prettier --write --cache .", | ||
| "lint": "eslint --cache packages/*/{src,types,__tests__}/** playground/**/__tests__/**/*.ts scripts/**", | ||
| "typecheck": "tsc -p scripts --noEmit && tsc -p playground --noEmit", | ||
|
|
@@ -30,8 +31,8 @@ | |
| "docs-serve": "vitepress serve docs", | ||
| "build": "pnpm -r --filter=./packages/* run build", | ||
| "dev": "pnpm -r --parallel --filter=./packages/* run dev", | ||
| "release": "esno scripts/release.ts", | ||
| "ci-publish": "esno scripts/publishCI.ts", | ||
| "release": "tsx scripts/release.ts", | ||
| "ci-publish": "tsx scripts/publishCI.ts", | ||
| "ci-docs": "run-s build docs-build" | ||
| }, | ||
| "devDependencies": { | ||
|
|
@@ -67,7 +68,6 @@ | |
| "eslint-define-config": "^1.5.1", | ||
| "eslint-plugin-import": "^2.26.0", | ||
| "eslint-plugin-node": "^11.1.0", | ||
| "esno": "^0.16.3", | ||
| "execa": "^6.1.0", | ||
| "fs-extra": "^10.1.0", | ||
| "kill-port": "^1.6.1", | ||
|
|
@@ -86,6 +86,7 @@ | |
| "simple-git-hooks": "^2.8.0", | ||
| "sirv": "^2.0.2", | ||
| "tslib": "^2.4.0", | ||
| "tsx": "^3.6.0", | ||
| "typescript": "^4.6.4", | ||
| "unbuild": "^0.7.4", | ||
| "vite": "workspace:*", | ||
|
|
@@ -95,7 +96,7 @@ | |
| }, | ||
| "simple-git-hooks": { | ||
| "pre-commit": "pnpm exec lint-staged --concurrent false", | ||
| "commit-msg": "pnpm exec esno scripts/verifyCommit.ts $1" | ||
| "commit-msg": "pnpm exec tsx scripts/verifyCommit.ts $1" | ||
| }, | ||
| "lint-staged": { | ||
| "*": [ | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.