Skip to content

Commit

Permalink
refactor: update after pr comments
Browse files Browse the repository at this point in the history
  • Loading branch information
djabarovgeorge committed Aug 25, 2022
1 parent e3cdf3b commit e90db83
Show file tree
Hide file tree
Showing 37 changed files with 4 additions and 41 deletions.
1 change: 0 additions & 1 deletion _templates/provider/new/package.ejs.t
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
"scripts": {
"prebuild": "rimraf build",
"build": "run-p build:*",
"rebuild": "npm run prebuild && npm run build",
"build:main": "tsc -p tsconfig.json",
"build:module": "tsc -p tsconfig.module.json",
"fix": "run-s fix:*",
Expand Down
1 change: 0 additions & 1 deletion apps/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"scripts": {
"prebuild": "rimraf dist",
"build": "nest build",
"rebuild": "pnpm prebuild && pnpm build",
"format": "prettier --write \"src/**/*.ts\"",
"precommit": "lint-staged",
"docker:build": "pnpm --silent --workspace-root pnpm-context -- apps/api/Dockerfile | docker build --build-arg PACKAGE_PATH=apps/api - -t novu-api",
Expand Down
1 change: 0 additions & 1 deletion apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"start": "cross-env PORT=4200 react-app-rewired start",
"prebuild": "rimraf build",
"build": "react-app-rewired build",
"rebuild": "pnpm prebuild && pnpm build",
"test": "react-app-rewired test",
"precommit": "lint-staged",
"envsetup:docker": "chmod +x ./env.sh && ./env.sh && mv ./env-config.js ./build/env-config.js",
Expand Down
1 change: 0 additions & 1 deletion apps/widget/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
"start:docker": "pnpm build && pnpm start:static:build",
"prebuild": "rimraf build",
"build": "craco build",
"rebuild": "pnpm prebuild && pnpm build",
"test": "craco test",
"precommit": "lint-staged",
"eject": "craco eject",
Expand Down
1 change: 0 additions & 1 deletion apps/ws/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"scripts": {
"prebuild": "rimraf dist",
"build": "nest build",
"rebuild": "pnpm prebuild && pnpm build",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"start": "nodemon",
"start:dev": "nodemon",
Expand Down
1 change: 0 additions & 1 deletion libs/dal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"afterinstall": "pnpm build",
"prebuild": "rimraf dist",
"build": "cross-env node_modules/.bin/tsc -p tsconfig.build.json",
"rebuild": "pnpm prebuild && pnpm build",
"build:watch": "cross-env node_modules/.bin/tsc -p tsconfig.build.json -w --preserveWatchOutput",
"start:dev": "pnpm build:watch",
"precommit": "lint-staged",
Expand Down
1 change: 0 additions & 1 deletion libs/embed/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
"lint:fix": "pnpm lint -- --fix",
"prebuild": "rimraf dist",
"build": "tsc && cross-env ENVIRONMENT=local rollup -c rollup.config.ts",
"rebuild": "pnpm prebuild && pnpm build",
"build:dev": "tsc && cross-env ENVIRONMENT=dev rollup -c rollup.config.ts",
"build:prod": "tsc && cross-env ENVIRONMENT=production rollup -c rollup.config.ts",
"start": "cross-env ENVIRONMENT=local rollup -c rollup.config.ts -w",
Expand Down
1 change: 0 additions & 1 deletion libs/shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"afterinstall": "pnpm build",
"prebuild": "rimraf dist",
"build": "cross-env node_modules/.bin/tsc -p tsconfig.build.json",
"rebuild": "pnpm prebuild && pnpm build",
"build:watch": "cross-env node_modules/.bin/tsc -p tsconfig.build.json -w --preserveWatchOutput",
"start:dev": "pnpm build:watch",
"precommit": "lint-staged",
Expand Down
1 change: 0 additions & 1 deletion libs/testing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"afterinstall": "pnpm build",
"prebuild": "rimraf dist",
"build": "cross-env node_modules/.bin/tsc -p tsconfig.build.json",
"rebuild": "pnpm prebuild && pnpm build",
"build:watch": "cross-env node_modules/.bin/tsc -p tsconfig.build.json -w --preserveWatchOutput",
"start:dev": "pnpm build:watch",
"precommit": "lint-staged",
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"publish": "lerna publish from-package",
"setup:project": "npx [email protected] i && node scripts/setup-env-files.js && npx pnpm build",
"install:docs": "pnpm install --filter @novu/docs",
"clean": "lerna clean --yes",
"clean": "lerna clean --yes && npm run prebuild",
"commit": "cz",
"nx": "nx",
"lint-staged": "lint-staged",
Expand All @@ -36,7 +36,6 @@
"start:docker:widget": "cross-env nx run-many --target=start:docker --projects=@novu/widget",
"docker:build": "pnpm -r --if-present --parallel docker:build",
"build": "nx run-many --target=build --all",
"rebuild": "npm run prebuild && npm run build",
"prebuild": "nx run-many --target=prebuild --all",
"build:api": "nx build @novu/api",
"build:ws": "nx build @novu/ws",
Expand Down
7 changes: 3 additions & 4 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@
"main": "index.js",
"scripts": {
"build:post": "cross-env mkdir dist/constants/dashboard && cp-cli src/constants/dashboard/index.html dist/constants/dashboard/index.html",
"build:pre": "rimraf dist",
"build": "pnpm build:pre && tsc -p tsconfig.build.json && pnpm build:post",
"rebuild": "pnpm build",
"build:prod": "pnpm build:pre && pnpm build && pnpm build:post",
"prebuild": "rimraf dist",
"build": "pnpm prebuild && tsc -p tsconfig.build.json && pnpm build:post",
"build:prod": "pnpm prebuild && pnpm build && pnpm build:post",
"format": "prettier --write \"src/**/*.ts\"",
"precommit": "lint-staged",
"start": "pnpm start:dev",
Expand Down
1 change: 0 additions & 1 deletion packages/nest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
"scripts": {
"prebuild": "rimraf build",
"build": "run-p build:*",
"rebuild": "npm run prebuild && npm run build",
"build:main": "tsc -p tsconfig.json",
"build:module": "tsc -p tsconfig.module.json",
"fix": "run-s fix:*",
Expand Down
1 change: 0 additions & 1 deletion packages/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
"start:dev": "npm run watch:build",
"prebuild": "rimraf build",
"build": "run-p build:*",
"rebuild": "npm run prebuild && npm run build",
"build:main": "tsc -p tsconfig.json",
"build:module": "tsc -p tsconfig.module.json",
"lint": "pnpm test:lint",
Expand Down
1 change: 0 additions & 1 deletion packages/notification-center/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"start": "npm run build:watch",
"prebuild": "rimraf dist",
"build": "rollup -c",
"rebuild": "npm run prebuild && npm run build",
"build:watch": "rollup -c -w",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook"
Expand Down
1 change: 0 additions & 1 deletion packages/stateless/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
"start:dev": "npm run watch:build",
"prebuild": "rimraf build",
"build": "run-p build:*",
"rebuild": "npm run prebuild && npm run build",
"build:main": "tsc -p tsconfig.json",
"build:module": "tsc -p tsconfig.module.json",
"lint": "pnpm test:lint",
Expand Down
1 change: 0 additions & 1 deletion providers/discord/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"scripts": {
"prebuild": "rimraf build",
"build": "run-p build:*",
"rebuild": "npm run prebuild && npm run build",
"build:main": "tsc -p tsconfig.json",
"build:module": "tsc -p tsconfig.module.json",
"fix": "run-s fix:*",
Expand Down
1 change: 0 additions & 1 deletion providers/emailjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"scripts": {
"prebuild": "rimraf build",
"build": "run-p build:*",
"rebuild": "npm run prebuild && npm run build",
"build:main": "tsc -p tsconfig.json",
"build:module": "tsc -p tsconfig.module.json",
"fix": "run-s fix:*",
Expand Down
1 change: 0 additions & 1 deletion providers/fcm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"scripts": {
"prebuild": "rimraf build",
"build": "run-p build:*",
"rebuild": "npm run prebuild && npm run build",
"build:main": "tsc -p tsconfig.json",
"build:module": "tsc -p tsconfig.module.json",
"fix": "run-s fix:*",
Expand Down
1 change: 0 additions & 1 deletion providers/gupshup/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"scripts": {
"prebuild": "rimraf build",
"build": "run-p build:*",
"rebuild": "npm run prebuild && npm run build",
"build:main": "tsc -p tsconfig.json",
"build:module": "tsc -p tsconfig.module.json",
"fix": "run-s fix:*",
Expand Down
1 change: 0 additions & 1 deletion providers/mailersend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"scripts": {
"prebuild": "rimraf build",
"build": "run-p build:*",
"rebuild": "npm run prebuild && npm run build",
"build:main": "tsc -p tsconfig.json",
"build:module": "tsc -p tsconfig.module.json",
"fix": "run-s fix:*",
Expand Down
1 change: 0 additions & 1 deletion providers/mailgun/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"scripts": {
"prebuild": "rimraf build",
"build": "run-p build:*",
"rebuild": "npm run prebuild && npm run build",
"build:main": "tsc -p tsconfig.json",
"build:module": "tsc -p tsconfig.module.json",
"fix": "run-s fix:*",
Expand Down
1 change: 0 additions & 1 deletion providers/mailjet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"scripts": {
"prebuild": "rimraf build",
"build": "run-p build:*",
"rebuild": "npm run prebuild && npm run build",
"build:main": "tsc -p tsconfig.json",
"build:module": "tsc -p tsconfig.module.json",
"fix": "run-s fix:*",
Expand Down
1 change: 0 additions & 1 deletion providers/mandrill/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"scripts": {
"prebuild": "rimraf build",
"build": "run-p build:*",
"rebuild": "npm run prebuild && npm run build",
"build:main": "tsc -p tsconfig.json",
"build:module": "tsc -p tsconfig.module.json",
"fix": "run-s fix:*",
Expand Down
1 change: 0 additions & 1 deletion providers/netcore/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"scripts": {
"prebuild": "rimraf build",
"build": "run-p build:*",
"rebuild": "npm run prebuild && npm run build",
"build:main": "tsc -p tsconfig.json",
"build:module": "tsc -p tsconfig.module.json",
"fix": "run-s fix:*",
Expand Down
1 change: 0 additions & 1 deletion providers/nexmo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"scripts": {
"prebuild": "rimraf build",
"build": "run-p build:*",
"rebuild": "npm run prebuild && npm run build",
"build:main": "tsc -p tsconfig.json",
"build:module": "tsc -p tsconfig.module.json",
"fix": "run-s fix:*",
Expand Down
1 change: 0 additions & 1 deletion providers/nodemailer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"scripts": {
"prebuild": "rimraf build",
"build": "run-p build:*",
"rebuild": "npm run prebuild && npm run build",
"build:main": "tsc -p tsconfig.json",
"build:module": "tsc -p tsconfig.module.json",
"fix": "run-s fix:*",
Expand Down
1 change: 0 additions & 1 deletion providers/plivo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"scripts": {
"prebuild": "rimraf build",
"build": "run-p build:*",
"rebuild": "npm run prebuild && npm run build",
"build:main": "tsc -p tsconfig.json",
"build:module": "tsc -p tsconfig.module.json",
"fix": "run-s fix:*",
Expand Down
1 change: 0 additions & 1 deletion providers/postmark/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"scripts": {
"prebuild": "rimraf build",
"build": "run-p build:*",
"rebuild": "npm run prebuild && npm run build",
"build:main": "tsc -p tsconfig.json",
"build:module": "tsc -p tsconfig.module.json",
"fix": "run-s fix:*",
Expand Down
1 change: 0 additions & 1 deletion providers/sendgrid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"scripts": {
"prebuild": "rimraf build",
"build": "run-p build:*",
"rebuild": "npm run prebuild && npm run build",
"build:main": "tsc -p tsconfig.json",
"build:module": "tsc -p tsconfig.module.json",
"fix": "run-s fix:*",
Expand Down
1 change: 0 additions & 1 deletion providers/sendinblue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"scripts": {
"prebuild": "rimraf build",
"build": "run-p build:*",
"rebuild": "npm run prebuild && npm run build",
"build:main": "tsc -p tsconfig.json",
"build:module": "tsc -p tsconfig.module.json",
"fix": "run-s fix:*",
Expand Down
1 change: 0 additions & 1 deletion providers/ses/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"scripts": {
"prebuild": "rimraf build",
"build": "run-p build:*",
"rebuild": "npm run prebuild && npm run build",
"build:main": "tsc -p tsconfig.json",
"build:module": "tsc -p tsconfig.module.json",
"fix": "run-s fix:*",
Expand Down
1 change: 0 additions & 1 deletion providers/slack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"scripts": {
"prebuild": "rimraf build",
"build": "run-p build:*",
"rebuild": "npm run prebuild && npm run build",
"build:main": "tsc -p tsconfig.json",
"build:module": "tsc -p tsconfig.module.json",
"fix": "run-s fix:*",
Expand Down
1 change: 0 additions & 1 deletion providers/sms77/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"scripts": {
"prebuild": "rimraf build",
"build": "run-p build:*",
"rebuild": "npm run prebuild && npm run build",
"build:main": "tsc -p tsconfig.json",
"build:module": "tsc -p tsconfig.module.json",
"fix": "run-s fix:*",
Expand Down
1 change: 0 additions & 1 deletion providers/sns/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"scripts": {
"prebuild": "rimraf build",
"build": "run-p build:*",
"rebuild": "npm run prebuild && npm run build",
"build:main": "tsc -p tsconfig.json",
"build:module": "tsc -p tsconfig.module.json",
"fix": "run-s fix:*",
Expand Down
1 change: 0 additions & 1 deletion providers/telnyx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"scripts": {
"prebuild": "rimraf build",
"build": "run-p build:*",
"rebuild": "npm run prebuild && npm run build",
"build:main": "tsc -p tsconfig.json",
"build:module": "tsc -p tsconfig.module.json",
"fix": "run-s fix:*",
Expand Down
1 change: 0 additions & 1 deletion providers/termii/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"scripts": {
"prebuild": "rimraf build",
"build": "run-p build:*",
"rebuild": "npm run prebuild && npm run build",
"build:main": "tsc -p tsconfig.json",
"build:module": "tsc -p tsconfig.module.json",
"fix": "run-s fix:*",
Expand Down
1 change: 0 additions & 1 deletion providers/twilio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"scripts": {
"prebuild": "rimraf build",
"build": "run-p build:*",
"rebuild": "npm run prebuild && npm run build",
"build:main": "tsc -p tsconfig.json",
"build:module": "tsc -p tsconfig.module.json",
"fix": "run-s fix:*",
Expand Down

0 comments on commit e90db83

Please sign in to comment.