Skip to content

Commit

Permalink
Fix conflict: stripe-embed <-- v1.9.2 (#2625)
Browse files Browse the repository at this point in the history
* update

* exact version

* exact version install

* update env access
  • Loading branch information
ap-justin authored Jan 4, 2024
1 parent ef469a0 commit 20737f3
Show file tree
Hide file tree
Showing 104 changed files with 7,366 additions and 13,523 deletions.
12 changes: 3 additions & 9 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
# generate source-maps to use in "yarn analyze"
GENERATE_SOURCEMAP=<true | false>
PUBLIC_ENVIRONMENT=<STAGING | PRODUCTION>

# port to use for serving the application on (defaults to 3000)
PORT=<port number>

REACT_APP_ENVIRONMENT=<STAGING | PRODUCTION>

REACT_APP_PUBLIC_STRIPE_KEY_PRODUCTION=
REACT_APP_PUBLIC_STRIPE_KEY_STAGING=
PUBLIC_STRIPE_PK_PRODUCTION=
PUBLIC_STRIPE_PK_STAGING=
4 changes: 2 additions & 2 deletions .github/workflows/javascript.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
- name: Install dependencies
run: yarn install
- name: Lint codebase
run: yarn run lint
run: yarn lint
- name: Test codebase
run: yarn run test --watchAll=false --coverage --json --outputFile ./codecov-report.json
run: yarn test --bail=0 --watch=false --passWithNoTests
- name: Build codebase
run: yarn build
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ amplify/backend/.temp
build/
dist/
node_modules/
# aws-exports.js
aws-exports.js
awsconfiguration.json
amplifyconfiguration.json
amplifyconfiguration.dart
Expand Down
9 changes: 0 additions & 9 deletions .gitpod.yml

This file was deleted.

1 change: 0 additions & 1 deletion .node-version

This file was deleted.

3 changes: 0 additions & 3 deletions .prettierignore

This file was deleted.

807 changes: 0 additions & 807 deletions .yarn/releases/yarn-3.3.0.cjs

This file was deleted.

893 changes: 893 additions & 0 deletions .yarn/releases/yarn-4.0.2.cjs

Large diffs are not rendered by default.

21 changes: 4 additions & 17 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,7 @@
nodeLinker: node-modules
compressionLevel: mixed

packageExtensions:
"@terra-money/wallet-provider@^3.11.1":
peerDependencies:
"@terra-money/terra.js": ^3.1.6
eslint-config-react-app@7.0.1:
peerDependencies:
"@babel/plugin-syntax-flow": ^7.14.5
"@babel/plugin-transform-react-jsx": ^7.14.9
react-scripts@5.0.1:
peerDependencies:
"@babel/plugin-syntax-flow": ^7.14.5
"@babel/plugin-transform-react-jsx": ^7.14.9
enableGlobalCache: false

"@aws-amplify/api@6.0.5":
peerDependencies:
"@aws-amplify/core": "^6.0.0"
nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-3.3.0.cjs
yarnPath: .yarn/releases/yarn-4.0.2.cjs
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,32 @@
## GETTING STARTED

### Requirements
- `Node.js` (v16.x) - https://github.com/nvm-sh/nvm#installing-and-updating

- `Node.js` (18.x) - https://github.com/nvm-sh/nvm#installing-and-updating
- `yarn` (v1.22.x) - https://yarnpkg.com/getting-started/install/

We recommend using a version manager like `nvm`. Assuming you are using nvm, you can install and use Node v18 with the following two commands:

```shell
nvm install v16
nvm use v16
nvm install v18
nvm use v18
```

We use `yarn` as a package manager. After installing yarn, simply run the package installer:

```shell
yarn install
```

Lastly, we have provided an example `.env` file as `.env.template`.
You'll need to copy this file to `.env` and then modify/add your relevant app's settings, API Keys and the like:

```shell
cp .env.template .env
```

To run the web app server locally, simply execute:
To run the web app server locally, simply execute:

```shell
yarn start
```
8 changes: 4 additions & 4 deletions amplify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ frontend:
- yarn install
build:
commands:
- REACT_APP_ENVIRONMENT=${REACT_APP_ENVIRONMENT}
- REACT_APP_SENTRY_DSN=${REACT_APP_SENTRY_DSN}
- REACT_APP_PUBLIC_STRIPE_KEY_PRODUCTION=${REACT_APP_PUBLIC_STRIPE_KEY_PRODUCTION}
- REACT_APP_PUBLIC_STRIPE_KEY_STAGING=${REACT_APP_PUBLIC_STRIPE_KEY_STAGING}
- PUBLIC_ENVIRONMENT=${ENVIRONMENT}
- PUBLIC_SENTRY_DSN=${SENTRY_DSN}
- PUBLIC_STRIPE_PK_PRODUCTION=${PUBLIC_STRIPE_KEY_PROD}
- PUBLIC_STRIPE_PK_STAGING=${PUBLIC_STRIPE_KEY_TEST}
- export NODE_OPTIONS="--max-old-space-size=8192"
- yarn run build
artifacts:
Expand Down
17 changes: 0 additions & 17 deletions amplify/.config/project-config.json

This file was deleted.

61 changes: 0 additions & 61 deletions amplify/cli.json

This file was deleted.

28 changes: 0 additions & 28 deletions amplify/team-provider-info.json

This file was deleted.

4 changes: 0 additions & 4 deletions bin/setup

This file was deleted.

1 change: 0 additions & 1 deletion codecov-report.json

This file was deleted.

9 changes: 0 additions & 9 deletions codecov.yml

This file was deleted.

27 changes: 0 additions & 27 deletions config-overrides.js

This file was deleted.

Loading

0 comments on commit 20737f3

Please sign in to comment.