forked from novuhq/novu
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
160 lines (160 loc) · 6.5 KB
/
package.json
File metadata and controls
160 lines (160 loc) · 6.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
{
"name": "root",
"private": true,
"packageManager": "pnpm@11.0.9",
"scripts": {
"bootstrap": "npm run setup:dev",
"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",
"prebuild:agents": "nx run-many --target=prebuild --all --exclude=tag:type:app",
"build:agents": "nx run-many --target=build --all --exclude=tag:type:app,nextjs,nestjs && nx run @novu/api-service:build:metadata",
"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",
"clean:cache": "pnpm nx reset && pnpm store prune",
"commit": "cz",
"dev-environment-setup": "./scripts/dev-environment-setup.sh",
"dev:portless": "mprocs",
"docker:build": "pnpm -r --if-present --parallel docker:build",
"g:module": "hygen module new --name=$pnpm_config_name",
"g:usecase": "hygen usecase new --name=$pnpm_config_name --module=$pnpm_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:api-property-optionality": "pnpm --filter @novu/api-service run check:api-property-optionality",
"check:api-property-optionality:json": "pnpm --filter @novu/api-service run check:api-property-optionality:json",
"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",
"portless:setup": "pnpm exec portless trust && pnpm exec portless service install",
"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@11.0.9 i && node scripts/setup-env-files.js && pnpm build",
"seed:agent": "node scripts/seed-agent-data.mjs",
"setup:agent": "bash scripts/setup-agent.sh",
"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: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": "^22.0.0",
"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",
"deep-extend": "^0.6.0",
"detect-port": "^1.3.0",
"execa": "^9.3.1",
"fs-extra": "^9.0.0",
"glob": "^11.1.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",
"knip": "^5.15.1",
"lint-staged": "^10.5.4",
"listr": "^0.14.3",
"markdownlint-cli": "^0.33.0",
"meow": "^10.1.3",
"mississippi": "^4.0.0",
"mprocs": "^0.9.2",
"nx": "21.3.11",
"nx-cloud": "19.1.0",
"ora": "~5.4.1",
"pkg-pr-new": "^0.0.24",
"pnpm": "11.0.9",
"portless": "^0.13.0",
"process": "^0.11.10",
"rimraf": "^3.0.2",
"shelljs": "^0.8.5",
"stop-only": "^3.1.2",
"tar": "^7.5.13",
"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"
}
},
"engines": {
"node": ">=22 <23",
"pnpm": "^11.0.0"
},
"dependencies": {
"tslib": "^2.4.0"
}
}