Skip to content

Commit

Permalink
refactor(website): move website out of apps (#1086)
Browse files Browse the repository at this point in the history
* move website out of apps

* update netlify config

* properly refactor apps/website usage
  • Loading branch information
kodemon authored Feb 23, 2022
1 parent e6b2d2f commit eea6fc3
Show file tree
Hide file tree
Showing 18 changed files with 2,529 additions and 90 deletions.
3 changes: 2 additions & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
/docs/testing/ @fuxingloh @canonbrother @ivan-zynesis

/apps/ocean-api/ @fuxingloh
/apps/website/ @fuxingloh

/website/ @fuxingloh

/packages/jellyfish-testing/ @fuxingloh @canonbrother @jingyi2811 @surangap
/packages/ocean-api-client/ @fuxingloh
Expand Down
4 changes: 2 additions & 2 deletions .idea/jellyfish.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ COPY packages ./packages
COPY apps ./apps

RUN npm ci
RUN npx lerna run build --ignore @defichain-apps/website
RUN npx lerna run build

ARG APP
ENV APP ${APP}
Expand Down
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module.exports = {
coveragePathIgnorePatterns: [
'/node_modules/',
'/examples/',
'/apps/website/',
'/website/',
'.*/__tests__/.*',
'.*/testing/.*'
]
Expand Down
4 changes: 2 additions & 2 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[build]
publish = "apps/website/build/"
command = "npm run build --workspace=apps/website"
publish = "website/build/"
command = "npm run build --workspace=website"

[[headers]]
for = "/img/*"
Expand Down
Loading

0 comments on commit eea6fc3

Please sign in to comment.