Writes config file for platform.sh

This commit is contained in:
Alicia Sykes 2021-06-12 17:01:17 +01:00
parent 8ecba77632
commit 50d0a0fe1a
3 changed files with 26 additions and 1 deletions

19
.platform.app.yaml Normal file
View File

@ -0,0 +1,19 @@
# Config file for 1-Click Deploy to Platform.sh
name: 'dashy'
type: nodejs:14
disk: 512
build:
flavor: none
dependencies:
nodejs:
yarn: "1.22.5"
hooks:
build: yarn && yarn build
deploy: yarn start
web:
commands:
start: "yarn start"

View File

@ -21,6 +21,7 @@
"highlight.js": "^11.0.0",
"js-yaml": "^4.1.0",
"npm-run-all": "^4.1.5",
"platformsh-config": "^2.4.1",
"prismjs": "^1.23.0",
"register-service-worker": "^1.6.2",
"remedial": "^1.0.8",
@ -82,4 +83,4 @@
"> 1%",
"last 2 versions"
]
}
}

View File

@ -6705,6 +6705,11 @@ pkg-up@^2.0.0:
dependencies:
find-up "^2.1.0"
platformsh-config@^2.4.1:
version "2.4.1"
resolved "https://registry.yarnpkg.com/platformsh-config/-/platformsh-config-2.4.1.tgz#c81396b4030f2ba34f42823b30ebbc26ec62506a"
integrity sha512-7uiWcjhP0Q7/MDBpdcaZG5X4lCMXcU1va9h4yJZyAAtMpHZoogd/C/+5ucc94z3W40FJwf07MO5p15ZrGzDfQA==
pnp-webpack-plugin@^1.6.4:
version "1.6.4"
resolved "https://registry.yarnpkg.com/pnp-webpack-plugin/-/pnp-webpack-plugin-1.6.4.tgz#c9711ac4dc48a685dabafc86f8b6dd9f8df84149"