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:
parent
233e38874c
commit
4e1b371f8d
3
app.json
3
app.json
@ -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",
|
||||||
|
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user