-
-
Notifications
You must be signed in to change notification settings - Fork 17.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1272 from use-the-fork/maintenance/pnpm-vite-jsx
Maintenance/pnpm vite jsx (Enhancements to the Project Infrastructure)
- Loading branch information
Showing
151 changed files
with
30,755 additions
and
530 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
node_modules | ||
dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
yarn quick # prettify | ||
yarn lint-staged # eslint lint(also include prettify but prettify support more file extensions than eslint, so run prettify first) | ||
pnpm quick # prettify | ||
pnpm lint-staged # eslint lint(also include prettify but prettify support more file extensions than eslint, so run prettify first) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
auto-install-peers = true | ||
strict-peer-dependencies = false | ||
prefer-workspace-packages = true | ||
link-workspace-packages = deep | ||
hoist = true | ||
shamefully-hoist = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,19 +11,19 @@ | |
], | ||
"scripts": { | ||
"build": "turbo run build", | ||
"build-force": "turbo run build --force", | ||
"build-force": "pnpm clean && turbo run build --force", | ||
"dev": "turbo run dev --parallel", | ||
"start": "run-script-os", | ||
"start:windows": "cd packages/server/bin && run start", | ||
"start:default": "cd packages/server/bin && ./run start", | ||
"clean": "npm exec -ws -- rimraf dist build", | ||
"clean": "pnpm --filter \"./packages/**\" clean", | ||
"nuke": "pnpm --filter \"./packages/**\" nuke && rimraf node_modules .turbo", | ||
"format": "prettier --write \"**/*.{ts,tsx,md}\"", | ||
"test": "turbo run test", | ||
"lint": "eslint \"**/*.{js,jsx,ts,tsx,json,md}\"", | ||
"lint-fix": "yarn lint --fix", | ||
"lint-fix": "pnpm lint --fix", | ||
"quick": "pretty-quick --staged", | ||
"postinstall": "husky install", | ||
"migration:create": "yarn typeorm migration:create" | ||
"migration:create": "pnpm typeorm migration:create" | ||
}, | ||
"lint-staged": { | ||
"*.{js,jsx,ts,tsx,json,md}": "eslint --fix" | ||
|
@@ -43,16 +43,23 @@ | |
"eslint-plugin-react-hooks": "^4.6.0", | ||
"eslint-plugin-unused-imports": "^2.0.0", | ||
"husky": "^8.0.1", | ||
"kill-port": "^2.0.1", | ||
"lint-staged": "^13.0.3", | ||
"prettier": "^2.7.1", | ||
"pretty-quick": "^3.1.3", | ||
"rimraf": "^3.0.2", | ||
"run-script-os": "^1.1.6", | ||
"turbo": "^1.7.4", | ||
"turbo": "1.10.16", | ||
"typescript": "^4.8.4" | ||
}, | ||
"packageManager": "[email protected]", | ||
"pnpm": { | ||
"onlyBuiltDependencies": [ | ||
"sqlite3" | ||
] | ||
}, | ||
"engines": { | ||
"node": ">=18.15.0" | ||
"node": ">=18.15.0 <19.0.0 || ^20" | ||
}, | ||
"resolutions": { | ||
"@qdrant/openapi-typescript-fetch": "1.2.1" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.