kopia lustrzana https://github.com/transitive-bullshit/chatgpt-api
feat: optimize turbo caching
rodzic
9bedc85c3d
commit
4edf15e2d3
|
@ -49,3 +49,4 @@ apps/api/auth-db-temp.json
|
|||
|
||||
.wrangler
|
||||
.sentryclirc
|
||||
.eslintcache
|
||||
|
|
|
@ -22,7 +22,6 @@
|
|||
"dev": "tsx src/server.ts",
|
||||
"clean": "del dist",
|
||||
"test": "run-s test:*",
|
||||
"test:lint": "eslint .",
|
||||
"test:typecheck": "tsc --noEmit"
|
||||
},
|
||||
"dependencies": {
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
"type": "module",
|
||||
"scripts": {
|
||||
"test": "run-s test:*",
|
||||
"test:lint": "eslint .",
|
||||
"test:typecheck": "tsc --noEmit",
|
||||
"e2e": "vitest run",
|
||||
"e2e-http": "vitest run src/http-e2e.test.ts",
|
||||
|
|
|
@ -23,7 +23,6 @@
|
|||
"cf-clear-cache": "del .wrangler",
|
||||
"clean": "del dist",
|
||||
"test": "run-s test:*",
|
||||
"test:lint": "eslint .",
|
||||
"test:typecheck": "tsc --noEmit",
|
||||
"test:unit": "vitest run",
|
||||
"sentry:sourcemaps": "_SENTRY_RELEASE=$(sentry-cli releases propose-version) && sentry-cli releases new $_SENTRY_RELEASE --org=agentic-kj --project=node && sentry-cli sourcemaps upload --org=agentic-kj --project=node --release=$_SENTRY_RELEASE --strip-prefix 'dist/..' dist",
|
||||
|
@ -56,4 +55,4 @@
|
|||
"@sentry/cli": "catalog:",
|
||||
"wrangler": "catalog:"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
"fix:format": "prettier --write \"**/*.{js,ts,tsx}\"",
|
||||
"test": "turbo test",
|
||||
"test:format": "prettier --check \"**/*.{js,ts,tsx}\"",
|
||||
"test:lint": "turbo test:lint",
|
||||
"test:lint": "eslint --cache .",
|
||||
"test:typecheck": "turbo test:typecheck",
|
||||
"test:unit": "turbo test:unit",
|
||||
"pretest": "run-s build",
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
},
|
||||
"scripts": {
|
||||
"test": "run-s test:*",
|
||||
"test:lint": "eslint .",
|
||||
"test:typecheck": "tsc --noEmit"
|
||||
},
|
||||
"dependencies": {
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
],
|
||||
"scripts": {
|
||||
"test": "run-s test:*",
|
||||
"test:lint": "eslint .",
|
||||
"test:typecheck": "tsc --noEmit"
|
||||
},
|
||||
"dependencies": {
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
},
|
||||
"scripts": {
|
||||
"test": "run-s test:*",
|
||||
"test:lint": "eslint .",
|
||||
"test:typecheck": "tsc --noEmit",
|
||||
"test:unit": "vitest run"
|
||||
},
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
"scripts": {
|
||||
"preview": "email dev --dir src/emails --port 3030",
|
||||
"test": "run-s test:*",
|
||||
"test:lint": "eslint .",
|
||||
"test:typecheck": "tsc --noEmit"
|
||||
},
|
||||
"dependencies": {
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
],
|
||||
"scripts": {
|
||||
"test": "run-s test:*",
|
||||
"test:lint": "eslint .",
|
||||
"test:typecheck": "tsc --noEmit"
|
||||
},
|
||||
"dependencies": {
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
"scripts": {
|
||||
"start": "tsx src/index.ts",
|
||||
"test": "run-s test:*",
|
||||
"test:lint": "eslint .",
|
||||
"test:typecheck": "tsc --noEmit"
|
||||
},
|
||||
"dependencies": {
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
"scripts": {
|
||||
"start": "tsx src/server.ts",
|
||||
"test": "run-s test:*",
|
||||
"test:lint": "eslint .",
|
||||
"test:typecheck": "tsc --noEmit"
|
||||
},
|
||||
"dependencies": {
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
},
|
||||
"scripts": {
|
||||
"test": "run-s test:*",
|
||||
"test:lint": "eslint .",
|
||||
"test:typecheck": "tsc --noEmit",
|
||||
"test:unit": "vitest run"
|
||||
},
|
||||
|
|
|
@ -31,7 +31,6 @@
|
|||
},
|
||||
"scripts": {
|
||||
"test": "run-s test:*",
|
||||
"test:lint": "eslint .",
|
||||
"test:typecheck": "tsc --noEmit",
|
||||
"test:unit": "vitest run"
|
||||
},
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
},
|
||||
"scripts": {
|
||||
"test": "run-s test:*",
|
||||
"test:lint": "eslint .",
|
||||
"test:typecheck": "tsc --noEmit",
|
||||
"test:unit": "vitest run"
|
||||
},
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
},
|
||||
"scripts": {
|
||||
"test": "run-s test:*",
|
||||
"test:lint": "eslint .",
|
||||
"test:typecheck": "tsc --noEmit",
|
||||
"test:unit": "vitest run"
|
||||
},
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
"scripts": {
|
||||
"generate": "openapi-typescript http://localhost:3000/docs --output ./src/openapi.d.ts",
|
||||
"test": "run-s test:*",
|
||||
"test:lint": "eslint .",
|
||||
"test:typecheck": "tsc --noEmit",
|
||||
"test:unit": "vitest run"
|
||||
},
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
},
|
||||
"scripts": {
|
||||
"test": "run-s test:*",
|
||||
"test:lint": "eslint .",
|
||||
"test:typecheck": "tsc --noEmit",
|
||||
"test:unit": "vitest run"
|
||||
},
|
||||
|
|
|
@ -1,16 +0,0 @@
|
|||
import { defineConfig } from 'tsup'
|
||||
|
||||
export default defineConfig([
|
||||
{
|
||||
entry: ['src/index.ts'],
|
||||
outDir: 'dist',
|
||||
target: 'node18',
|
||||
platform: 'node',
|
||||
format: ['esm'],
|
||||
splitting: false,
|
||||
sourcemap: true,
|
||||
minify: false,
|
||||
shims: true,
|
||||
dts: true
|
||||
}
|
||||
])
|
|
@ -15,7 +15,7 @@
|
|||
"dependsOn": ["test:format", "test:lint", "test:typecheck", "test:unit"]
|
||||
},
|
||||
"test:lint": {
|
||||
"dependsOn": ["^test:lint"],
|
||||
"dependsOn": ["//#test:lint", "^test:lint"],
|
||||
"outputLogs": "errors-only"
|
||||
},
|
||||
"test:typecheck": {
|
||||
|
@ -30,6 +30,7 @@
|
|||
"dependsOn": ["//#test:format", "^test:format"]
|
||||
},
|
||||
"//#test:format": {},
|
||||
"//#test:lint": {},
|
||||
"dev": {
|
||||
"cache": false,
|
||||
"persistent": true
|
||||
|
|
Ładowanie…
Reference in New Issue