1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-23 00:22:19 +01:00

fix: add heroku postbuild step

This commit is contained in:
Ivar Conradi Østhus 2022-10-18 21:24:12 +02:00
parent 233e38874c
commit 4e1b371f8d
No known key found for this signature in database
GPG Key ID: 31AC596886B0BD09
2 changed files with 2 additions and 4 deletions

View File

@ -4,9 +4,6 @@
"repository": "https://github.com/heroku/node-js-sample", "repository": "https://github.com/heroku/node-js-sample",
"logo": "https://github.com/Unleash/unleash/blob/main/.github/logo.png?raw=true", "logo": "https://github.com/Unleash/unleash/blob/main/.github/logo.png?raw=true",
"keywords": ["node", "feature toggles", "release"], "keywords": ["node", "feature toggles", "release"],
"scripts": {
"build": "yarn build && cd frontend && yarn && yarn build"
},
"addons": [ "addons": [
{ {
"plan": "heroku-postgresql", "plan": "heroku-postgresql",

View File

@ -49,7 +49,8 @@
"seed:setup": "ts-node src/test/e2e/seed/segment.seed.ts", "seed:setup": "ts-node src/test/e2e/seed/segment.seed.ts",
"seed:serve": "UNLEASH_DATABASE_NAME=unleash_test UNLEASH_DATABASE_SCHEMA=seed yarn run start:dev", "seed:serve": "UNLEASH_DATABASE_NAME=unleash_test UNLEASH_DATABASE_SCHEMA=seed yarn run start:dev",
"clean": "del-cli --force dist", "clean": "del-cli --force dist",
"preversion": "./scripts/check-release.sh" "preversion": "./scripts/check-release.sh",
"heroku-postbuild": "cd frontend && yarn build"
}, },
"jest": { "jest": {
"automock": false, "automock": false,