mirror of
https://github.com/novuhq/novu.git
synced 2026-03-13 10:41:26 +08:00
244 lines
9.0 KiB
JSON
244 lines
9.0 KiB
JSON
{
|
|
"name": "root",
|
|
"private": true,
|
|
"packageManager": "pnpm@10.16.1",
|
|
"scripts": {
|
|
"bootstrap": "npm run setup:dev",
|
|
"build-ee": "nx run-many --target=build-ee --all",
|
|
"build:api": "nx build @novu/api-service",
|
|
"build:dashboard": "nx build @novu/dashboard",
|
|
"build:inbound-mail": "nx build @novu/inbound-mail",
|
|
"build:packages": "nx run-many --target=build --all --projects=tag:type:package",
|
|
"build:v2": "nx run-many --target=build --all --projects=@novu/api-service,@novu/worker,@novu/ws,@novu/dashboard,tag:type:package",
|
|
"build:webhook": "nx build @novu/webhook",
|
|
"build:with-ee": "pnpm build && pnpm build-ee",
|
|
"build:agents": "nx run-many --target=build --all --exclude=nextjs,nestjs,@novu/api-service,@novu/worker,@novu/dashboard && pnpm build-ee",
|
|
"build:worker": "nx build @novu/worker",
|
|
"build:ws": "nx build @novu/ws",
|
|
"build": "nx run-many --target=build --all --exclude=nextjs,nestjs",
|
|
"clean": "rimraf **/build **/dist **/node_modules",
|
|
"commit": "cz",
|
|
"dev-environment-setup": "sh ./scripts/dev-environment-setup.sh",
|
|
"docker:build": "pnpm -r --if-present --parallel docker:build",
|
|
"g:module": "hygen module new --name=$npm_config_name",
|
|
"g:usecase": "hygen usecase new --name=$npm_config_name --module=$npm_config_module",
|
|
"generate:provider": "cd libs/automation && npm run generate:provider",
|
|
"get-affected": "node scripts/print-affected-array.mjs",
|
|
"get-affected-batch": "node scripts/get-affected-batch.mjs",
|
|
"get-packages-folder": "node scripts/get-packages-folder.mjs",
|
|
"get-remote-env-files": "sh ./scripts/get-remote-env-files.sh",
|
|
"install:with-ee": "pnpm install && pnpm symlink:submodules",
|
|
"jarvis": "node scripts/jarvis.js",
|
|
"lint-staged": "lint-staged",
|
|
"lint": "nx run-many --target=lint --all --exclude=nextjs",
|
|
"lint:fix": "biome check --write .",
|
|
"format": "biome format .",
|
|
"format:fix": "biome format --write .",
|
|
"check": "biome check .",
|
|
"check:fix": "biome check --write .",
|
|
"nx": "nx",
|
|
"packages:set-latest": "node scripts/set-package-dependencies.mjs latest",
|
|
"packages:set-workspace-protocol": "node scripts/set-package-dependencies.mjs workspace:*",
|
|
"pnpm-context": "node scripts/pnpm-context.mjs",
|
|
"prebuild": "nx run-many --target=prebuild --all",
|
|
"preinstall": "npx only-allow pnpm",
|
|
"preview:pkg:build": "IS_PREVIEW=true nx affected -t build --base=origin/next --head=HEAD --exclude='*,!tag:type:package'",
|
|
"preview:pkg:publish": "node scripts/publish-preview-packages.mjs",
|
|
"release": "node scripts/release.mjs",
|
|
"release:version:apps": "nx release version --projects=tag:type:app",
|
|
"setup:project": "npx --yes pnpm@10.16.1 i && node scripts/setup-env-files.js && pnpm build",
|
|
"setup:agent": "git submodule update --init --recursive && git config --global submodule.recurse true && pnpm install:with-ee && pnpm build:with-ee && cp apps/api/src/.env.agent apps/api/src/.env && cp apps/dashboard/.env.agent apps/dashboard/.env && cp apps/worker/src/.env.agent apps/worker/src/.env",
|
|
"start:api:dev": "cross-env nx run @novu/api-service:start:dev",
|
|
"start:api:test": "cross-env nx run-many --target=start:test --projects=@novu/api-service",
|
|
"start:api": "cross-env nx run @novu/api-service:start",
|
|
"start:dal": "cross-env nx run @novu/dal:start",
|
|
"start:dashboard": "cross-env nx run @novu/dashboard:start",
|
|
"start:docker:embed": "cd libs/embed && npm run start:docker",
|
|
"start:integration:api": "cd apps/api && pnpm run test",
|
|
"start:shared": "cross-env nx run @novu/shared:start",
|
|
"start:webhook:test": "cross-env nx run-many --target=start:test --projects=@novu/webhook",
|
|
"start:webhook": "cross-env nx run @novu/webhook:start",
|
|
"start:worker:test": "cross-env nx run-many --target=start:test --projects=@novu/worker",
|
|
"start:worker": "cross-env nx run @novu/worker:start",
|
|
"start:ws:test": "cross-env nx run-many --target=start:test --projects=@novu/ws",
|
|
"start:ws": "cross-env nx run @novu/ws:start",
|
|
"start": "npm run jarvis",
|
|
"symlink:submodules": "pnpm --filter \"@novu/ee-*\" exec node \"$(pwd)/scripts/symlink-ee.mjs\"",
|
|
"submodule:update": "git submodule update --remote --reference origin/next .source && git add .source && git commit -m 'chore(root): Update submodules' && git push",
|
|
"test:providers": "cross-env pnpm --filter './packages/providers/**' test"
|
|
},
|
|
"resolutions": {
|
|
"minimist": "1.2.6"
|
|
},
|
|
"devDependencies": {
|
|
"@auto-it/npm": "^10.36.5",
|
|
"@auto-it/released": "^10.36.5",
|
|
"@biomejs/biome": "^2.2.0",
|
|
"@gitopslovers/nx-biome": "^1.5.0",
|
|
"@nx/jest": "21.3.11",
|
|
"@nx/js": "21.3.11",
|
|
"@nx/plugin": "21.3.11",
|
|
"@nx/workspace": "21.3.11",
|
|
"@octokit/core": "^4.0.0",
|
|
"@pnpm/filter-workspace-packages": "^7.0.6",
|
|
"@pnpm/logger": "^5.0.0",
|
|
"@swc/cli": "0.3.12",
|
|
"@swc/core": "1.7.26",
|
|
"@types/inquirer": "8.2.10",
|
|
"@types/jest": "30.0.0",
|
|
"@types/node": "20.19.10",
|
|
"auto": "^10.36.5",
|
|
"chalk": "4.1.2",
|
|
"chalk-animation": "^1.6.0",
|
|
"cpx": "^1.5.0",
|
|
"cross-env": "^7.0.3",
|
|
"cross-spawn": "^7.0.3",
|
|
"cspell": "^6.19.2",
|
|
"deep-extend": "^0.6.0",
|
|
"detect-port": "^1.3.0",
|
|
"execa": "^9.3.1",
|
|
"fs-extra": "^9.0.0",
|
|
"glob": "^11.0.0",
|
|
"globby": "^12.2.0",
|
|
"gradient-string": "^2.0.1",
|
|
"husky": "^8.0.1",
|
|
"hygen": "^6.2.0",
|
|
"inquirer": "8.2.6",
|
|
"jest": "30.0.5",
|
|
"jest-util": "30.0.5",
|
|
"jira-prepare-commit-msg": "1.7.2",
|
|
"lint-staged": "^10.5.4",
|
|
"listr": "^0.14.3",
|
|
"markdownlint-cli": "^0.33.0",
|
|
"meow": "^10.1.3",
|
|
"mississippi": "^4.0.0",
|
|
"nx": "21.3.11",
|
|
"nx-cloud": "19.1.0",
|
|
"ora": "~5.4.1",
|
|
"pkg-pr-new": "^0.0.24",
|
|
"pnpm": "10.16.1",
|
|
"process": "^0.11.10",
|
|
"rimraf": "^3.0.2",
|
|
"shelljs": "^0.8.5",
|
|
"stop-only": "^3.1.2",
|
|
"tar": "^6.1.11",
|
|
"ts-jest": "29.4.1",
|
|
"ts-node": "~10.9.1",
|
|
"tsconfig-paths": "^4.2.0",
|
|
"typescript": "5.6.2",
|
|
"wait-port": "^0.3.0",
|
|
"yargs": "^17.7.2"
|
|
},
|
|
"workspaces": {
|
|
"packages": [
|
|
"apps/*",
|
|
"libs/*",
|
|
"packages/*",
|
|
"enterprise/packages/*",
|
|
"enterprise/packages/*/*",
|
|
"playground/*"
|
|
]
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.{e2e,e2e-ee,spec}.{js,ts}": [
|
|
"stop-only --file"
|
|
],
|
|
"**/*.{ts,tsx,js,jsx,json}": [
|
|
"biome check --write --no-errors-on-unmatched --diagnostic-level=error"
|
|
]
|
|
},
|
|
"engines": {
|
|
"node": ">=20 <21",
|
|
"pnpm": "^10.0.0"
|
|
},
|
|
"dependencies": {
|
|
"tslib": "^2.4.0"
|
|
},
|
|
"pnpm": {
|
|
"overrides": {
|
|
"body-parser@<1.20.3": "^1.20.3",
|
|
"braces@<2.3.1": "^2.3.1",
|
|
"file-type@>=13.0.0 <16.5.4": "^16.5.4",
|
|
"get-func-name@<2.0.1": "^2.0.1",
|
|
"glob-parent@<5.1.2": "^5.1.2",
|
|
"minimatch@>=3.0.0 <3.0.5": "^3.0.5",
|
|
"nanoid@>=3.0.0 <3.1.31": "^3.1.31",
|
|
"nth-check": "^2.1.1",
|
|
"postcss@<8.4.31": "^8.4.31",
|
|
"proxy-agent": "^6.3.0",
|
|
"semver@>=7.0.0 <7.5.2": "^7.5.2",
|
|
"systeminformation@<5.31.0": "^5.31.3",
|
|
"tar": "7.5.11",
|
|
"tar-fs": ">=3.0.9",
|
|
"tough-cookie@<4.1.3": "^4.1.3",
|
|
"trim-newlines@<3.0.1": "^3.0.1",
|
|
"xml2js@<0.5.0": "^0.5.0",
|
|
"@types/mocha": "^10.0.8",
|
|
"rollup@>=4.0.0 <4.22.4": "^4.22.4",
|
|
"@nestjs/common@>=10.0.0 <11.0.0": "10.4.18",
|
|
"prosemirror-model": "1.22.3",
|
|
"path-to-regexp@<0.1.12": "^0.1.12",
|
|
"@swc/core@>=1.0.0 <2.0.0": "1.7.26",
|
|
"@swc/cli@>=0.0.0 <1.0.0": "0.3.12",
|
|
"@babel/core@>7.0.0 <8.0.0": "7.28.0",
|
|
"prismjs@<=1.29.0": "1.30.0",
|
|
"mongodb@>=4.0.0 <5.0.0": "5.9.2",
|
|
"form-data@<2.5.4": "2.5.5",
|
|
"form-data@>=3.0.0 <3.0.4": "3.0.4",
|
|
"form-data@>=4.0.0 <4.0.4": "4.0.5",
|
|
"vite@>=5.0.0 <5.4.15": "^5.4.21",
|
|
"vite@<4.5.10": "^4.5.10",
|
|
"node-forge@<1.3.2": "^1.3.2",
|
|
"ws@>=8.0.0 <8.17.1": "^8.17.1",
|
|
"next@>=13.0.0 <14.2.32": "^14.2.35",
|
|
"next@>=15.0.0 <15.4.7": "^15.4.10",
|
|
"fast-xml-parser@>=4.1.3 <4.5.4": "4.5.4",
|
|
"fast-xml-parser@>=5.0.0 <5.3.8": "5.3.8",
|
|
"basic-ftp@<5.2.0": "5.2.0",
|
|
"axios@>=1.0.0 <1.13.5": "^1.13.5",
|
|
"seroval@<1.4.1": "^1.4.1"
|
|
},
|
|
"onlyBuiltDependencies": [
|
|
"@clerk/shared",
|
|
"@clerk/types",
|
|
"@contrast/fn-inspect",
|
|
"@firebase/util",
|
|
"@fortawesome/fontawesome-common-types",
|
|
"@fortawesome/fontawesome-svg-core",
|
|
"@fortawesome/free-regular-svg-icons",
|
|
"@fortawesome/free-solid-svg-icons",
|
|
"@nestjs/core",
|
|
"@newrelic/fn-inspect",
|
|
"@newrelic/native-metrics",
|
|
"@sentry/cli",
|
|
"@sentry/profiling-node",
|
|
"@sveltejs/kit",
|
|
"@swc/core",
|
|
"@tailwindcss/oxide",
|
|
"aws-sdk",
|
|
"bcrypt",
|
|
"core-js",
|
|
"core-js-pure",
|
|
"cypress",
|
|
"es5-ext",
|
|
"esbuild",
|
|
"fsevents",
|
|
"iframe-resizer",
|
|
"msgpackr-extract",
|
|
"nestjs-pino",
|
|
"nice-napi",
|
|
"nx",
|
|
"protobufjs",
|
|
"react-icons",
|
|
"sharp",
|
|
"unrs-resolver",
|
|
"workerd"
|
|
]
|
|
}
|
|
}
|