Skip to content

Commit

Permalink
chore: Run export-version every build
Browse files Browse the repository at this point in the history
  • Loading branch information
AverageHelper committed Oct 29, 2023
1 parent 3c449f9 commit bc852f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"restart": "./node_modules/.bin/pm2 restart cs-bot",
"update": "git pull && npm run setup",
"dev": "NODE_ENV=development ./node_modules/.bin/nodemon --inspect ./dist/main.js",
"setup": "npm ci && npm run db:generate && npm run export-version && npm run build --production && npm run commands:deploy",
"setup": "npm ci && npm run db:generate && npm run build --omit=dev && npm run commands:deploy",
"commands:deploy": "node . --deploy",
"commands:revoke": "node . --revoke",
"release": "./node_modules/.bin/ts-node --esm -P tsconfig.eslint.json ./scripts/release.ts",
Expand All @@ -20,7 +20,7 @@
"db:migrations:generate": "./node_modules/.bin/prisma migrate dev --create-only",
"lint": "./node_modules/.bin/eslint .",
"lint:fix": "npm run lint -- --fix",
"build": "rm -rf dist && ./node_modules/.bin/rollup --config rollup.config.ts --configPlugin esbuild",
"build": "rm -rf dist && npm run export-version && ./node_modules/.bin/rollup --config rollup.config.ts --configPlugin esbuild",
"export-version": "./node_modules/.bin/genversion ./src/constants/version.ts -es",
"test": "./node_modules/.bin/vitest",
"docker": "npm run docker:image && npm run docker:cleanup && npm run docker:container",
Expand Down

0 comments on commit bc852f1

Please sign in to comment.