mirror of
https://github.com/labring/FastGPT.git
synced 2026-05-08 01:08:43 +08:00
chore: bump pro submodule for hydration stability (#6808)
* sandbox-sync-agent * refactor: host pro as submodule * chore: checkpoint host pro restructure * refactor workspace test layout and startup init * chore: update next turbopack setup * chore: snapshot current work before actions fix * chore: update pro submodule * chore: point pro submodule url to upstream https * fix: Dockerfile * chore: update pro submodule * ci: support private pro submodule token and skip fork jobs * fix(ci): build sdk workspace deps before code-sandbox bundle * fix(app): exclude vitest configs from production typecheck * fix(app-image): build sdk packages before next build * fix(ci): align dockerfiles with workspace sdk build flow * chore(docker): upgrade node20 docker images to node24 * fix(ci): read admin coverage output path in pro test workflow * fix(app-image): include next-i18next config and locale assets * chore: update pro submodule * chore: do not specify branch for submodule * chore: remove most ts-nocheck sign * chore: update pro submodule * chore: remove sandbox-agent-sync package * chore: do not modify "pushData" file logic * fix: health check * chore: restore dev axios proxy state * fix: test-fastgpt report workflow * fix: use valid vitest coverage action inputs
This commit is contained in:
+34
-17
@@ -3,6 +3,9 @@
|
||||
"version": "4.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev:app": "turbo run dev --filter=@fastgpt/app",
|
||||
"dev:admin": "turbo run dev --filter=@fastgpt/admin",
|
||||
"dev": "turbo run dev --filter=@fastgpt/app",
|
||||
"prepare": "husky install",
|
||||
"gen:theme-typings": "chakra-cli tokens packages/web/styles/theme.ts --out node_modules/.pnpm/node_modules/@chakra-ui/styled-system/dist/theming.types.d.ts",
|
||||
"gen:deploy": "node deploy/init.mjs",
|
||||
@@ -10,36 +13,42 @@
|
||||
"initIcon": "node ./scripts/icon/init.js && prettier --config \"./.prettierrc.js\" --write \"packages/web/components/common/Icon/constants.ts\"",
|
||||
"previewIcon": "node ./scripts/icon/index.js",
|
||||
"create:i18n": "node ./scripts/i18n/index.js",
|
||||
"clean:unused:pro": "node --experimental-strip-types ./pro/scripts/cleanup-unused.ts",
|
||||
"clean:unused:pro:write": "node --experimental-strip-types ./pro/scripts/cleanup-unused.ts --write",
|
||||
"lint": "eslint \"**/*.{ts,tsx}\" --fix --ignore-path .eslintignore",
|
||||
"test": "vitest run --coverage",
|
||||
"test:vector": "vitest run --config test/integrationTest/vectorDB/vitest.config.mts"
|
||||
"test": "pnpm test:workspace",
|
||||
"test:all": "pnpm test:workspace && pnpm test:vector",
|
||||
"test:repo": "vitest run --config vitest.config.mts --coverage --passWithNoTests",
|
||||
"test:workspace": "turbo run test --filter=@fastgpt/app --filter=@fastgpt/admin --filter=@fastgpt/global --filter=@fastgpt/service",
|
||||
"test:app": "turbo run test --filter=@fastgpt/app",
|
||||
"test:admin": "turbo run test --filter=@fastgpt/admin",
|
||||
"test:global": "turbo run test --filter=@fastgpt/global",
|
||||
"test:service": "turbo run test --filter=@fastgpt/service",
|
||||
"test:service:integration": "turbo run test:integration --filter=@fastgpt/service",
|
||||
"test:vector": "turbo run test:integration --filter=@fastgpt/service",
|
||||
"build:sdks": "pnpm -r --filter @fastgpt-sdk/storage --filter @fastgpt-sdk/logger --filter @fastgpt-sdk/otel build",
|
||||
"predev": "pnpm run build:sdks"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@chakra-ui/cli": "^2.4.1",
|
||||
"@typescript-eslint/eslint-plugin": "^6.21.0",
|
||||
"@typescript-eslint/parser": "^6.21.0",
|
||||
"@vitest/coverage-v8": "^3.0.9",
|
||||
"@typescript-eslint/eslint-plugin": "catalog:",
|
||||
"@typescript-eslint/parser": "catalog:",
|
||||
"@vitest/coverage-v8": "catalog:",
|
||||
"eslint": "catalog:",
|
||||
"eslint-config-next": "catalog:",
|
||||
"husky": "^8.0.3",
|
||||
"i18next": "catalog:",
|
||||
"js-yaml": "catalog:",
|
||||
"lint-staged": "^13.3.0",
|
||||
"mongodb-memory-server": "^10.1.4",
|
||||
"mongodb-memory-server": "catalog:",
|
||||
"next-i18next": "catalog:",
|
||||
"prettier": "3.2.4",
|
||||
"react-i18next": "catalog:",
|
||||
"typescript": "^5.1.3",
|
||||
"vitest": "^3.0.9",
|
||||
"zhlint": "^0.7.4"
|
||||
"turbo": "2.9.6",
|
||||
"typescript": "catalog:",
|
||||
"vitest": "catalog:"
|
||||
},
|
||||
"lint-staged": {
|
||||
"./**/**/*.{ts,tsx,scss}": [
|
||||
"prettier --config ./.prettierrc.js --write --ignore-unknown"
|
||||
],
|
||||
"./**/**/*.{ts,tsx}": [
|
||||
"eslint --fix --ignore-path .eslintignore"
|
||||
],
|
||||
"./document/**/**/*.mdx": [
|
||||
"pnpm -C ./document run format-doc",
|
||||
"pnpm -C ./document run initDocTime",
|
||||
@@ -47,10 +56,18 @@
|
||||
"pnpm -C ./document run checkDocRefs",
|
||||
"pnpm -C ./document run removeInvalidImg",
|
||||
"git add ."
|
||||
],
|
||||
"**/*.{ts,tsx}": [
|
||||
"prettier --config ./.prettierrc.js --write",
|
||||
"eslint --fix --ignore-path .eslintignore"
|
||||
],
|
||||
"**/*.scss": [
|
||||
"prettier --config ./.prettierrc.js --write"
|
||||
]
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=20",
|
||||
"pnpm": "9.x"
|
||||
}
|
||||
"pnpm": "10.x"
|
||||
},
|
||||
"packageManager": "pnpm@10.33.2"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user