mirror of
https://github.com/lingble/twenty.git
synced 2025-11-01 05:07:56 +00:00
Fix Website build CD (#6751)
Website CD has been broken by the recent addition of typeorm patch in root package.json Our current vision is to add npm package to each twenty-package package.json directly
This commit is contained in:
@@ -189,7 +189,6 @@
|
|||||||
"tslib": "^2.3.0",
|
"tslib": "^2.3.0",
|
||||||
"tsup": "^8.2.4",
|
"tsup": "^8.2.4",
|
||||||
"type-fest": "4.10.1",
|
"type-fest": "4.10.1",
|
||||||
"typeorm": "patch:typeorm@0.3.20#./packages/twenty-server/patches/typeorm+0.3.20.patch",
|
|
||||||
"typescript": "5.3.3",
|
"typescript": "5.3.3",
|
||||||
"use-context-selector": "^2.0.0",
|
"use-context-selector": "^2.0.0",
|
||||||
"use-debounce": "^10.0.0",
|
"use-debounce": "^10.0.0",
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
"private": true,
|
"private": true,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "npx vite build && sh ./scripts/inject-runtime-env.sh",
|
"build": "VITE_DISABLE_TYPESCRIPT_CHECKER=true VITE_DISABLE_ESLINT_CHECKER=true npx vite build && sh ./scripts/inject-runtime-env.sh",
|
||||||
"build:sourcemaps": "VITE_BUILD_SOURCEMAP=true VITE_DISABLE_TYPESCRIPT_CHECKER=true VITE_DISABLE_ESLINT_CHECKER=true NODE_OPTIONS=--max-old-space-size=6000 npx nx build",
|
"build:sourcemaps": "VITE_BUILD_SOURCEMAP=true VITE_DISABLE_TYPESCRIPT_CHECKER=true VITE_DISABLE_ESLINT_CHECKER=true NODE_OPTIONS=--max-old-space-size=6000 npx nx build",
|
||||||
"start:prod": "NODE_ENV=production npx vite --host",
|
"start:prod": "NODE_ENV=production npx vite --host",
|
||||||
"tsup": "npx tsup"
|
"tsup": "npx tsup"
|
||||||
|
|||||||
@@ -32,6 +32,12 @@ export default defineConfig(({ command, mode }) => {
|
|||||||
overlay: false,
|
overlay: false,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
console.log(
|
||||||
|
`VITE_DISABLE_TYPESCRIPT_CHECKER: ${VITE_DISABLE_TYPESCRIPT_CHECKER}`,
|
||||||
|
);
|
||||||
|
console.log(`VITE_DISABLE_ESLINT_CHECKER: ${VITE_DISABLE_ESLINT_CHECKER}`);
|
||||||
|
console.log(`VITE_BUILD_SOURCEMAP: ${VITE_BUILD_SOURCEMAP}`);
|
||||||
|
|
||||||
if (VITE_DISABLE_TYPESCRIPT_CHECKER !== 'true') {
|
if (VITE_DISABLE_TYPESCRIPT_CHECKER !== 'true') {
|
||||||
checkers['typescript'] = {
|
checkers['typescript'] = {
|
||||||
tsconfigPath: tsConfigPath,
|
tsconfigPath: tsConfigPath,
|
||||||
|
|||||||
@@ -41,6 +41,7 @@
|
|||||||
"passport": "^0.7.0",
|
"passport": "^0.7.0",
|
||||||
"psl": "^1.9.0",
|
"psl": "^1.9.0",
|
||||||
"tsconfig-paths": "^4.2.0",
|
"tsconfig-paths": "^4.2.0",
|
||||||
|
"typeorm": "patch:typeorm@0.3.20#./patches/typeorm+0.3.20.patch",
|
||||||
"zod-to-json-schema": "^3.23.1"
|
"zod-to-json-schema": "^3.23.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|||||||
@@ -47108,6 +47108,7 @@ __metadata:
|
|||||||
psl: "npm:^1.9.0"
|
psl: "npm:^1.9.0"
|
||||||
rimraf: "npm:^5.0.5"
|
rimraf: "npm:^5.0.5"
|
||||||
tsconfig-paths: "npm:^4.2.0"
|
tsconfig-paths: "npm:^4.2.0"
|
||||||
|
typeorm: "patch:typeorm@0.3.20#./patches/typeorm+0.3.20.patch"
|
||||||
typescript: "npm:5.3.3"
|
typescript: "npm:5.3.3"
|
||||||
zod-to-json-schema: "npm:^3.23.1"
|
zod-to-json-schema: "npm:^3.23.1"
|
||||||
languageName: unknown
|
languageName: unknown
|
||||||
@@ -47468,7 +47469,6 @@ __metadata:
|
|||||||
tsup: "npm:^8.2.4"
|
tsup: "npm:^8.2.4"
|
||||||
tsx: "npm:^4.17.0"
|
tsx: "npm:^4.17.0"
|
||||||
type-fest: "npm:4.10.1"
|
type-fest: "npm:4.10.1"
|
||||||
typeorm: "patch:typeorm@0.3.20#./packages/twenty-server/patches/typeorm+0.3.20.patch"
|
|
||||||
typescript: "npm:5.3.3"
|
typescript: "npm:5.3.3"
|
||||||
use-context-selector: "npm:^2.0.0"
|
use-context-selector: "npm:^2.0.0"
|
||||||
use-debounce: "npm:^10.0.0"
|
use-debounce: "npm:^10.0.0"
|
||||||
@@ -47679,9 +47679,9 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"typeorm@patch:typeorm@0.3.20#./packages/twenty-server/patches/typeorm+0.3.20.patch::locator=twenty%40workspace%3A.":
|
"typeorm@patch:typeorm@0.3.20#./patches/typeorm+0.3.20.patch::locator=twenty-server%40workspace%3Apackages%2Ftwenty-server":
|
||||||
version: 0.3.20
|
version: 0.3.20
|
||||||
resolution: "typeorm@patch:typeorm@npm%3A0.3.20#./packages/twenty-server/patches/typeorm+0.3.20.patch::version=0.3.20&hash=d5f43a&locator=twenty%40workspace%3A."
|
resolution: "typeorm@patch:typeorm@npm%3A0.3.20#./patches/typeorm+0.3.20.patch::version=0.3.20&hash=d5f43a&locator=twenty-server%40workspace%3Apackages%2Ftwenty-server"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@sqltools/formatter": "npm:^1.2.5"
|
"@sqltools/formatter": "npm:^1.2.5"
|
||||||
app-root-path: "npm:^3.1.0"
|
app-root-path: "npm:^3.1.0"
|
||||||
|
|||||||
Reference in New Issue
Block a user