Skip to content

Commit 8ce3217

Browse files
committed
add turbo, changes to make it work across docker, docker-compose, npx
1 parent 2356cc7 commit 8ce3217

15 files changed

+25796
-36881
lines changed

.npmrc

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
shared-workspace-lockfile=false
2-
public-hoist-pattern[]=*eslint*
3-
public-hoist-pattern[]=*prettier*
4-
public-hoist-pattern[]=@types*
1+
auto-install-peers = true
2+
strict-peer-dependencies = false
3+
prefer-workspace-packages = true
4+
link-workspace-packages = deep
5+
hoist = true
6+
shamefully-hoist = true

package.json

+14-7
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@
1010
"components"
1111
],
1212
"scripts": {
13-
"preinstall": "npx only-allow pnpm",
14-
"dev": "kill-port 3000 5173 && pnpm --filter './packages/**' dev",
15-
"build": "pnpm clean && pnpm -r --filter \"./packages/**\" build",
16-
"start": "kill-port 3000 && run-script-os",
13+
"build": "turbo run build",
14+
"build-force": "pnpm clean && turbo run build --force",
15+
"dev": "turbo run dev --parallel",
16+
"start": "run-script-os",
1717
"start:windows": "cd packages/server/bin && run start",
1818
"start:default": "cd packages/server/bin && ./run start",
19-
"clean": " pnpm --filter './packages/**' clean",
20-
"nuke": " pnpm --filter './packages/**' nuke && rimraf node_modules",
19+
"clean": "pnpm --filter \"./packages/**\" clean",
20+
"nuke": "pnpm --filter \"./packages/**\" nuke && rimraf node_modules",
2121
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
2222
"lint": "eslint \"**/*.{js,jsx,ts,tsx,json,md}\"",
2323
"lint-fix": "pnpm lint --fix",
@@ -49,9 +49,16 @@
4949
"pretty-quick": "^3.1.3",
5050
"rimraf": "^3.0.2",
5151
"run-script-os": "^1.1.6",
52+
"turbo": "1.10.16",
5253
"typescript": "^4.8.4"
5354
},
55+
"packageManager": "[email protected]",
56+
"pnpm": {
57+
"onlyBuiltDependencies": [
58+
"sqlite3"
59+
]
60+
},
5461
"engines": {
55-
"node": ">=18.15.0"
62+
"node": ">=18.15.0 <19.0.0 || ^20"
5663
}
5764
}

packages/components/credentials/index.ts

-1
This file was deleted.

packages/components/package.json

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
"main": "dist/src/index",
66
"types": "dist/src/index.d.ts",
77
"scripts": {
8-
"preinstall": "npx only-allow pnpm",
98
"build": "tsc && gulp",
109
"dev": "tsc --watch",
1110
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",

0 commit comments

Comments
 (0)