|
|
|
@@ -56,14 +56,15 @@
|
|
|
|
|
"seed:jobs": "yarn seed:base ./apps/api/src/seed-jobs.ts",
|
|
|
|
|
"seed:module": "yarn seed:base ./apps/api/src/seed-module.ts --name",
|
|
|
|
|
"seed:prod": "cross-env NODE_ENV=production NODE_OPTIONS=--max-old-space-size=12288 yarn run build:package:api:prod && yarn run config:prod && yarn ts-node -r tsconfig-paths/register --project apps/api/tsconfig.app.json ./apps/api/src/seed.ts",
|
|
|
|
|
"prebuild": "rimraf dist coverage",
|
|
|
|
|
"clean": "rimraf dist coverage",
|
|
|
|
|
"bootstrap": "yarn install --ignore-scripts && yarn postinstall.manual",
|
|
|
|
|
"clean:cache": "yarn rimraf .cache .angular",
|
|
|
|
|
"clean:nx": "yarn rimraf dist tmp && yarn nx reset",
|
|
|
|
|
"clean:all": "yarn clean:cache && yarn clean:nx",
|
|
|
|
|
"build": "yarn build:package:all && concurrently --raw \"yarn build:api\" \"yarn build:gauzy\"",
|
|
|
|
|
"build": "yarn build:package:all && yarn nx run-many -t build -p api,gauzy",
|
|
|
|
|
"build:clean": "yarn clean && yarn build",
|
|
|
|
|
"build:lerna": "yarn lerna run --parallel build",
|
|
|
|
|
"build:prod": "yarn build:package:all && concurrently --raw \"yarn build:api:prod\" \"yarn build:gauzy:prod\"",
|
|
|
|
|
"build:prod": "yarn build:package:all && yarn nx run-many -t build -c production -p api,gauzy",
|
|
|
|
|
"build:gauzy": "yarn run postinstall.web && yarn run config:dev && yarn ng build gauzy",
|
|
|
|
|
"build:gauzy:prod": "yarn run config:prod && yarn ng:prod build gauzy -c=production --prod --verbose",
|
|
|
|
|
"build:gauzy:prod:quiet": "yarn run config:prod && yarn ng:prod build gauzy -c=production --prod",
|
|
|
|
@@ -81,7 +82,7 @@
|
|
|
|
|
"commit:lint": "commitlint -E HUSKY_GIT_PARAMS",
|
|
|
|
|
"semantic-release": "semantic-release",
|
|
|
|
|
"test": "yarn run postinstall.web && yarn run config:dev && yarn ng test",
|
|
|
|
|
"lint": "yarn run config:dev && yarn ng lint && yarn ng lint",
|
|
|
|
|
"lint": "yarn run config:dev && yarn ng lint",
|
|
|
|
|
"e2e": "yarn run postinstall.web && yarn run config:dev && yarn ng e2e --browser chrome",
|
|
|
|
|
"e2e:ci": "yarn run postinstall.web && yarn run config:prod && yarn --frozen-lockfile --cache-folder ~/.cache/yarn ng:ci e2e -c=production --prod --headless",
|
|
|
|
|
"affected:apps": "yarn nx affected:apps",
|
|
|
|
@@ -106,7 +107,7 @@
|
|
|
|
|
"postinstall.manual": "yarn node ./.scripts/postinstall.js",
|
|
|
|
|
"postinstall.electron": "yarn electron-builder install-app-deps && yarn node tools/electron/postinstall",
|
|
|
|
|
"postinstall.web": "yarn node ./decorate-angular-cli.js && yarn node tools/web/postinstall",
|
|
|
|
|
"build:desktop": "cross-env NODE_ENV=production yarn run copy-files-i18n-desktop && yarn run postinstall.electron && yarn run config:prod && yarn run config:desktop:prod && yarn run build:package:all:prod && yarn run pack:desktop && yarn run generate:icons:desktop --environment=prod && yarn ng:prod run gauzy:desktop-ui --base-href ./ && yarn run prepare:desktop && yarn ng:prod run api:desktop-api && yarn ng:prod build desktop-api --output-path=dist/apps/desktop/desktop-api && yarn ng:prod build desktop --base-href ./ && yarn run copy-files-desktop && yarn run copy-assets-gauzy",
|
|
|
|
|
"build:desktop": "cross-env NODE_ENV=production yarn run copy-files-i18n-desktop && yarn run postinstall.electron && yarn run config:prod && yarn run config:desktop:prod && yarn run build:package:all:prod && yarn run pack:desktop && yarn run generate:icons:desktop --environment=prod && yarn run prepare:desktop && concurrently \"yarn ng:prod run gauzy:desktop-ui --base-href ./\" \"yarn ng:prod run api:desktop-api\" \"yarn ng:prod build desktop-api --output-path=dist/apps/desktop/desktop-api\" && yarn ng:prod build desktop --base-href ./ && yarn run copy-files-desktop && yarn run copy-assets-gauzy",
|
|
|
|
|
"build:desktop:local": "cross-env NODE_ENV=production NODE_OPTIONS=--max-old-space-size=12288 yarn run build:desktop && electron dist/apps/desktop",
|
|
|
|
|
"build:desktop:linux": "cross-env NODE_ENV=production NODE_OPTIONS=--max-old-space-size=12288 yarn run build:desktop && npm config set cache .cache && yarn electron-builder -c.electronVersion=38.2.2 build --linux --project dist/apps/desktop",
|
|
|
|
|
"build:desktop:linux:release": "cross-env NODE_ENV=production NODE_OPTIONS=--max-old-space-size=12288 yarn run build:desktop && npm config set cache .cache && yarn electron-builder -c.electronVersion=38.2.2 build --linux --publish=always --project dist/apps/desktop",
|
|
|
|
@@ -168,12 +169,12 @@
|
|
|
|
|
"build:package:desktop-core": "yarn ng build desktop-core",
|
|
|
|
|
"build:package:desktop-core:prod": "yarn ng:prod build desktop-core",
|
|
|
|
|
"build:package:desktop-core:docker": "yarn ng:docker build desktop-core",
|
|
|
|
|
"build:package:desktop-window": "yarn run build:package:desktop-core && yarn ng build desktop-window",
|
|
|
|
|
"build:package:desktop-window:prod": "yarn run build:package:desktop-core:prod && yarn ng:prod build desktop-window",
|
|
|
|
|
"build:package:desktop-window:docker": "yarn run build:package:desktop-core:docker && yarn ng:docker build desktop-window",
|
|
|
|
|
"build:package:desktop-lib": "yarn run build:package:desktop-window && yarn ng build desktop-lib",
|
|
|
|
|
"build:package:desktop-lib:prod": "yarn run build:package:desktop-window:prod && yarn ng:prod build desktop-lib",
|
|
|
|
|
"build:package:desktop-lib:docker": "yarn run build:package:desktop-window:docker && yarn ng:docker build desktop-lib",
|
|
|
|
|
"build:package:desktop-window": "yarn ng build desktop-window",
|
|
|
|
|
"build:package:desktop-window:prod": "yarn ng:prod build desktop-window",
|
|
|
|
|
"build:package:desktop-window:docker": "yarn ng:docker build desktop-window",
|
|
|
|
|
"build:package:desktop-lib": "yarn ng build desktop-lib",
|
|
|
|
|
"build:package:desktop-lib:prod": "yarn ng:prod build desktop-lib",
|
|
|
|
|
"build:package:desktop-lib:docker": "yarn ng:docker build desktop-lib",
|
|
|
|
|
"build:package:desktop-ui-lib": "yarn ng build desktop-ui-lib --configuration=development",
|
|
|
|
|
"build:package:desktop-ui-lib:prod": "yarn ng:prod build desktop-ui-lib --configuration=production",
|
|
|
|
|
"build:package:desktop-ui-lib:docker": "yarn ng:docker build desktop-ui-lib --configuration=production",
|
|
|
|
@@ -338,7 +339,7 @@
|
|
|
|
|
"build:package:desktop-activity:docker": "yarn ng:docker build desktop-activity",
|
|
|
|
|
"copy-files-desktop": "copyfiles -f packages/core/src/**/*.gql dist/apps/desktop/data/",
|
|
|
|
|
"prepare:desktop-timer": "yarn run postinstall.electron && tsc -p apps/desktop-timer/tsconfig.electron.json",
|
|
|
|
|
"build:desktop-timer": "cross-env NODE_ENV=production yarn copy-files-i18n-desktop-timer && yarn run postinstall.electron && yarn run config:prod && yarn run config:desktop-timer:prod && yarn build:package:all:prod && yarn run pack:desktop-timer && yarn run generate:icons:desktop-timer --environment=prod && yarn ng:prod build desktop-timer --base-href=./ && yarn run prepare:desktop-timer && yarn ng:prod build desktop-api --configuration=production --output-path=dist/apps/desktop-timer/desktop-api && yarn run copy-assets-gauzy-timer",
|
|
|
|
|
"build:desktop-timer": "cross-env NODE_ENV=production yarn copy-files-i18n-desktop-timer && yarn run postinstall.electron && yarn run config:prod && yarn run config:desktop-timer:prod && yarn build:package:all:prod && yarn run pack:desktop-timer && yarn run generate:icons:desktop-timer --environment=prod && yarn run prepare:desktop-timer && concurrently \"yarn ng:prod build desktop-timer --base-href=./\" \"yarn ng:prod build desktop-api --configuration=production --output-path=dist/apps/desktop-timer/desktop-api\" && yarn run copy-assets-gauzy-timer",
|
|
|
|
|
"build:desktop-timer:linux": "cross-env NODE_ENV=production NODE_OPTIONS=--max-old-space-size=12288 yarn run build:desktop-timer && npm config set cache .cache && yarn electron-builder -c.electronVersion=38.2.2 build --linux --project dist/apps/desktop-timer",
|
|
|
|
|
"build:desktop-timer:linux:release": "cross-env NODE_ENV=production NODE_OPTIONS=--max-old-space-size=12288 yarn run build:desktop-timer && npm config set cache .cache && yarn electron-builder -c.electronVersion=38.2.2 build --linux --publish=always --project dist/apps/desktop-timer",
|
|
|
|
|
"build:desktop-timer:linux:release:gh": "cross-env NODE_ENV=production NODE_OPTIONS=--max-old-space-size=30000 yarn run build:desktop-timer && npm config set cache .cache && yarn electron-builder -c.electronVersion=38.2.2 build --linux --publish=always --project dist/apps/desktop-timer",
|
|
|
|
@@ -356,7 +357,7 @@
|
|
|
|
|
"copy-assets-gauzy-timer": "copyfiles -f apps/desktop/src/assets/snapshot-sound.wav dist/apps/desktop-timer/data/sound/",
|
|
|
|
|
"prepare:gauzy-server": "yarn run postinstall.electron && tsc -p apps/server/tsconfig.electron.json",
|
|
|
|
|
"prepare:gauzy-server:dev": "yarn run postinstall.electron && tsc -p apps/server/tsconfig.dev.json",
|
|
|
|
|
"build:gauzy-server": "cross-env NODE_ENV=production yarn run copy-files-i18n-server && yarn run postinstall.electron && yarn run config:prod && yarn run config:server:prod && yarn run build:package:all:prod && yarn run pack:server && yarn run generate:icons:server --environment=prod && yarn ng:prod build gauzy-server --base-href ./ && yarn run prepare:gauzy-server && yarn ng run gauzy:server-ui && yarn ng run api:gauzy-server-api && yarn run copy-files-gauzy-server",
|
|
|
|
|
"build:gauzy-server": "cross-env NODE_ENV=production yarn run copy-files-i18n-server && yarn run postinstall.electron && yarn run config:prod && yarn run config:server:prod && yarn run build:package:all:prod && yarn run pack:server && yarn run generate:icons:server --environment=prod && yarn run prepare:gauzy-server && yarn ng:prod build gauzy-server --base-href ./ && concurrently \"yarn ng run gauzy:server-ui\" \"yarn ng run api:gauzy-server-api\" && yarn run copy-files-gauzy-server",
|
|
|
|
|
"build:gauzy-server:windows": "cross-env NODE_ENV=production NODE_OPTIONS=--max-old-space-size=12288 yarn run build:gauzy-server && npm config set cache .cache && yarn electron-builder -c.electronVersion=38.2.2 -c.extraMetadata.author.name=Ever build --windows --project dist/apps/gauzy-server",
|
|
|
|
|
"build:gauzy-server:windows:release": "cross-env NODE_ENV=production NODE_OPTIONS=--max-old-space-size=12288 yarn run build:gauzy-server && npm config set cache .cache && yarn electron-builder -c.electronVersion=38.2.2 -c.extraMetadata.author.name=Ever build --windows --publish=always --project dist/apps/gauzy-server",
|
|
|
|
|
"build:gauzy-server:windows:release:gh": "cross-env NODE_ENV=production NODE_OPTIONS=--max-old-space-size=30000 yarn run build:gauzy-server && npm config set cache .cache && yarn electron-builder -c.electronVersion=38.2.2 -c.extraMetadata.author.name=Ever build --windows --publish=always --project dist/apps/gauzy-server",
|
|
|
|
@@ -464,9 +465,9 @@
|
|
|
|
|
"copy-files-gauzy-mcp-server": "copyfiles -f packages/core/src/**/*.gql dist/apps/server-mcp/data/",
|
|
|
|
|
"quick:build:gauzy-mcp-server": "yarn electron-builder -c.electronVersion=38.2.2 -c.extraMetadata.author.name=Ever build --mac --project dist/apps/server-mcp",
|
|
|
|
|
"generate:icons:server-mcp": "yarn run generate:icons --desktop=server-mcp",
|
|
|
|
|
"build:mcp:all": "yarn build:mcp-server && yarn build:mcp && yarn build:server-mcp",
|
|
|
|
|
"build:mcp:all:prod": "yarn build:mcp-server:prod && yarn build:mcp:prod && yarn build:server-mcp:prod",
|
|
|
|
|
"test:mcp:all": "yarn test:mcp-server && yarn test:mcp && yarn test:server-mcp"
|
|
|
|
|
"build:mcp:all": "yarn nx run-many -t build -p mcp-server,mcp,server-mcp",
|
|
|
|
|
"build:mcp:all:prod": "yarn nx run-many -t build -c production -p mcp-server,mcp,server-mcp",
|
|
|
|
|
"test:mcp:all": "yarn nx run-many -t test -p mcp-server,mcp,server-mcp"
|
|
|
|
|
},
|
|
|
|
|
"config": {
|
|
|
|
|
"commitizen": {
|
|
|
|
|