-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #116 from TNG/workspaces
Separate app into workspaces, add support for Node.js 18, 20 and 22, drop support for Node.js 16
- Loading branch information
Showing
177 changed files
with
19,078 additions
and
28,800 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json", | ||
"changelog": "@changesets/cli/changelog", | ||
"commit": false, | ||
"fixed": [["@eop/*"]], | ||
"linked": [], | ||
"access": "restricted", | ||
"baseBranch": "master", | ||
"updateInternalDependencies": "patch", | ||
"ignore": [] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
"@eop/typescript-config": major | ||
"@eop/cornucopia-cards": major | ||
"@eop/prettier-config": major | ||
"@eop/eslint-config": major | ||
"@eop/shared": major | ||
"@eop/client": major | ||
"@eop/server": major | ||
--- | ||
|
||
Separate package into subpackages and add support for Node.js 18, 20 and 22. | ||
|
||
Support for Node.js 16 has been dropped. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
node_modules/ | ||
deploy/ | ||
build/ | ||
db/ | ||
**/*.test.js | ||
.heroku/ | ||
dist/ |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
FROM node:20-alpine AS base | ||
|
||
FROM base AS pruner | ||
WORKDIR /app | ||
ENV DO_NOT_TRACK=1 | ||
COPY . . | ||
RUN npm ci --workspaces=false | ||
RUN npx turbo prune @eop/client --docker | ||
|
||
FROM base AS builder | ||
WORKDIR /app | ||
ENV DO_NOT_TRACK=1 | ||
COPY --from=pruner /app/out/json/ . | ||
COPY --from=pruner /app/out/package-lock.json ./package-lock.json | ||
RUN npm ci | ||
COPY --from=pruner /app/out/full/ . | ||
ARG REACT_APP_EOP_IMPRINT | ||
ARG REACT_APP_EOP_PRIVACY | ||
ARG REACT_APP_EOP_BANNER_TEXT | ||
ENV REACT_APP_EOP_IMPRINT=$REACT_APP_EOP_IMPRINT | ||
ENV REACT_APP_EOP_PRIVACY=$REACT_APP_EOP_PRIVACY | ||
ENV REACT_APP_EOP_BANNER_TEXT=$REACT_APP_EOP_BANNER_TEXT | ||
RUN npx turbo run build | ||
|
||
FROM nginxinc/nginx-unprivileged:1.27.0-alpine | ||
COPY --from=builder /app/apps/client/nginx/etc/nginx/nginx.conf /etc/nginx/nginx.conf | ||
COPY --from=builder /app/apps/client/nginx/etc/nginx/conf.d/default.conf /etc/nginx/conf.d/default.conf | ||
COPY --from=builder /app/apps/client/build /usr/share/nginx/html/ | ||
EXPOSE 8080 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import config from '@eop/eslint-config/type-checked'; | ||
import react from 'eslint-plugin-react/configs/recommended.js'; | ||
import tseslint from 'typescript-eslint'; | ||
|
||
export default tseslint.config( | ||
{ ignores: ['build/'] }, | ||
{ languageOptions: { parserOptions: { project: './tsconfig.json' } } }, | ||
{ settings: { react: { version: 'detect' } } }, | ||
react, | ||
...config, | ||
); |
File renamed without changes.
File renamed without changes.
Oops, something went wrong.