Skip to content

Commit

Permalink
add turbo, changes to make it work across docker, docker-compose, npx
Browse files Browse the repository at this point in the history
  • Loading branch information
HenryHengZJ committed Nov 27, 2023
1 parent 2356cc7 commit 8ce3217
Show file tree
Hide file tree
Showing 15 changed files with 25,796 additions and 36,881 deletions.
10 changes: 6 additions & 4 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
shared-workspace-lockfile=false
public-hoist-pattern[]=*eslint*
public-hoist-pattern[]=*prettier*
public-hoist-pattern[]=@types*
auto-install-peers = true
strict-peer-dependencies = false
prefer-workspace-packages = true
link-workspace-packages = deep
hoist = true
shamefully-hoist = true
21 changes: 14 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
"components"
],
"scripts": {
"preinstall": "npx only-allow pnpm",
"dev": "kill-port 3000 5173 && pnpm --filter './packages/**' dev",
"build": "pnpm clean && pnpm -r --filter \"./packages/**\" build",
"start": "kill-port 3000 && run-script-os",
"build": "turbo run build",
"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": " pnpm --filter './packages/**' clean",
"nuke": " pnpm --filter './packages/**' nuke && rimraf node_modules",
"clean": "pnpm --filter \"./packages/**\" clean",
"nuke": "pnpm --filter \"./packages/**\" nuke && rimraf node_modules",
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
"lint": "eslint \"**/*.{js,jsx,ts,tsx,json,md}\"",
"lint-fix": "pnpm lint --fix",
Expand Down Expand Up @@ -49,9 +49,16 @@
"pretty-quick": "^3.1.3",
"rimraf": "^3.0.2",
"run-script-os": "^1.1.6",
"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"
}
}
1 change: 0 additions & 1 deletion packages/components/credentials/index.ts

This file was deleted.

1 change: 0 additions & 1 deletion packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"main": "dist/src/index",
"types": "dist/src/index.d.ts",
"scripts": {
"preinstall": "npx only-allow pnpm",
"build": "tsc && gulp",
"dev": "tsc --watch",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
Expand Down
Loading

0 comments on commit 8ce3217

Please sign in to comment.