Skip to content

Commit

Permalink
fix: 🐛 use tsup build for two more services
Browse files Browse the repository at this point in the history
Signed-off-by: Manuel Ruck <[email protected]>
  • Loading branch information
Manuel Ruck authored and ManAnRuck committed Nov 1, 2023
1 parent c20e506 commit 16073ae
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 4 deletions.
12 changes: 12 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
"main": "build/index.js",
"license": "Apache-2.0",
"scripts": {
"dev": "ts-node-dev -r dotenv/config ./src/index dotenv_config_path=./.env.local",
"dev": "tsup src/index.ts --watch --onSuccess 'node build/index.js'",
"build": "tsup-node",
"lint": "pnpm lint:ts && pnpm lint:exports",
"lint:ts": "tsc --noEmit",
"lint:exports": "ts-unused-exports ./tsconfig.json --excludePathsFromReport=generated --excludePathsFromReport=resolvers --excludePathsFromReport=/schemas",
"build": "tsc",
"start": "node ./build/index.js"
},
"dependencies": {
Expand All @@ -23,6 +23,8 @@
"ts-node-dev": "^1.1.8",
"ts-unused-exports": "^8.0.0",
"tsconfig": "workspace:*",
"tsup": "^7.2.0",
"tsup-config": "workspace:*",
"typescript": "^5.2.2"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { defineConfig } from 'tsup';
import { tsupConfig } from 'tsup-config';

export default defineConfig({
...tsupConfig,
});
6 changes: 4 additions & 2 deletions services/cron-jobs/queue-pushs-vote-top-100/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
"main": "build/index.js",
"license": "Apache-2.0",
"scripts": {
"dev": "ts-node-dev -r dotenv/config ./src/index dotenv_config_path=./.env.local",
"dev": "tsup src/index.ts --watch --onSuccess 'node build/index.js'",
"build": "tsup-node",
"lint": "pnpm lint:ts && pnpm lint:exports",
"lint:ts": "tsc --noEmit",
"lint:exports": "ts-unused-exports ./tsconfig.json --excludePathsFromReport=generated --excludePathsFromReport=resolvers --excludePathsFromReport=/schemas",
"build": "tsc",
"start": "node ./build/index.js"
},
"dependencies": {
Expand All @@ -22,6 +22,8 @@
"ts-node-dev": "^1.0.0-pre.49",
"ts-unused-exports": "^6.2.1",
"tsconfig": "workspace:*",
"tsup": "^7.2.0",
"tsup-config": "workspace:*",
"typescript": "^5.2.2"
}
}
6 changes: 6 additions & 0 deletions services/cron-jobs/queue-pushs-vote-top-100/tsup.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { defineConfig } from 'tsup';
import { tsupConfig } from 'tsup-config';

export default defineConfig({
...tsupConfig,
});

0 comments on commit 16073ae

Please sign in to comment.