Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
build/
dist/
.git/
node_modules/
1 change: 1 addition & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
web: ruby -run -e httpd -- -p $PORT build/
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,6 @@ Open [http://localhost:3001](http://localhost:3001) to view it in the browser.

There is no production build setup for the web component at present.

## Review apps

Currently the build is deployed to both S3 and Heroku. The PR should get updated with the Heroku URL, and the web component demo is at `/web-component.html` on the Heroku review app domain.
13 changes: 13 additions & 0 deletions app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"name": "editor-ui",
"formation": {
"web": {
"quantity": 1
}
},
"buildpacks": [
{
"url": "heroku/nodejs"
}
]
}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@
"test": "node scripts/test.js --transformIgnorePatterns 'node_modules/(?!three)/'",
"test:integration": "cd e2e; docker compose up --exit-code-from cypress",
"start:wc": "NODE_ENV=development BABEL_ENV=development webpack serve -c ./webpack.component.config.js",
"build:wc": "NODE_ENV=production BABEL_ENV=production webpack build -c ./webpack.component.config.js"
"build:wc": "NODE_ENV=production BABEL_ENV=production webpack build -c ./webpack.component.config.js",
"heroku-postbuild": "export PUBLIC_URL='' && yarn build && yarn build:wc"
},
"eslintConfig": {
"extends": [
Expand Down
Loading