-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "feat: create an nx monorepo (#196)"
This reverts commit a3c05cd.
- Loading branch information
1 parent
6a373e9
commit 425205e
Showing
68 changed files
with
37,235 additions
and
13,517 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 |
---|---|---|
@@ -1,8 +1,7 @@ | ||
.github | ||
action | ||
app/frontend/cypress | ||
app/frontend/cypress.config.ts | ||
comparadise-utils | ||
cypress | ||
dist | ||
node_modules | ||
*.md |
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,3 @@ | ||
node_modules | ||
dist | ||
comparadise-utils/types/ |
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 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 |
---|---|---|
@@ -1,3 +1 @@ | ||
enable-pre-post-scripts=true | ||
registry=https://registry.npmjs.org | ||
use-node-version=18.16.0 | ||
registry = https://registry.npmjs.org |
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 @@ | ||
18.5.0 |
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,4 +1,3 @@ | ||
action/ | ||
app/ | ||
comparadise-utils/ | ||
shared/ | ||
dist/ | ||
utils/types/ | ||
node_modules/ |
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,7 +1,18 @@ | ||
# Local App Development | ||
# Local Development | ||
|
||
1. Install `pnpm` | ||
2. Run `pnpm install` | ||
1. Run `nvm use` | ||
2. Run `npm install` | ||
3. Login to the AWS account containing the visual regression S3 bucket | ||
4. Run `nx local app` | ||
4. Run `npm run dev` | ||
5. Application will be running at `http://localhost:5173`, and it will hot reload when you make changes. | ||
|
||
You can also run the app using docker-compose using `npm run build:docker`! | ||
|
||
Make sure you have a `secrets.json` file in the root of the project in order to test using application secrets. | ||
This file should have the following format: | ||
|
||
```json | ||
{ | ||
"github_token": "MY_TOKEN" | ||
} | ||
``` |
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,17 +1,14 @@ | ||
FROM node:18.16.0-slim | ||
FROM node:18-slim | ||
|
||
WORKDIR /app | ||
|
||
RUN apt-get update && apt-get -qq -y install curl | ||
RUN curl -f https://get.pnpm.io/v6.16.js | node - add --global pnpm | ||
|
||
RUN useradd -ms /bin/sh admin | ||
RUN chown -R admin . | ||
COPY --chown=admin . . | ||
USER admin | ||
|
||
RUN pnpm install --prod --ignore-scripts | ||
RUN pnpm nx build frontend | ||
|
||
ENV PORT 8080 | ||
CMD [ "pnpm", "nx", "start", "app" ] | ||
|
||
RUN npm ci | ||
RUN npm run build | ||
|
||
CMD [ "npm", "run", "start:backend" ] |
This file was deleted.
Oops, something went wrong.
File renamed without changes.
Oops, something went wrong.