-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to add multiple features (#237)
Bumps npm versions Adds Sentry endpoint for future testing Fixes some css issues. Optimizes images using the next/image package. Bumps react v16 -> v17. Updated testing snapshots. Changed Husky config. Added Coveralls
- Loading branch information
Showing
47 changed files
with
33,050 additions
and
15,816 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,25 @@ | ||
NEXT_PUBLIC_SENTRY_DSN= | ||
|
||
# Only required to upload sourcemaps | ||
# SENTRY_ORG= | ||
# SENTRY_PROJECT= | ||
# SENTRY_AUTH_TOKEN= | ||
# | ||
# Only required if sentry for organization | ||
# Ex: https://sentry.ORG.com/ | ||
# SENTRY_URL= | ||
# | ||
# For sourcemaps to work with server-side exceptions, the file path of the | ||
# uploaded .map file needs to match the file paths in Error.stack. In Node.js, | ||
# Error.stack file paths are absolute. Since the .map files we upload to Sentry | ||
# have relative paths (~/_next), Error.stack needs to be rewritten to also use | ||
# relative paths, which is handled in Sentry.init via Sentry's RewriteFrames | ||
# integration. | ||
# | ||
# Normally, the root directory could be detected with __dirname, but __dirname | ||
# isn't yet supported in Vercel serverless functions: | ||
# https://github.com/vercel/next.js/issues/8251 | ||
# | ||
# To work around this issue, provide the root directory containing Next.js's | ||
# build output here. In the Vercel environment, this is /var/task/. | ||
# NEXT_PUBLIC_SENTRY_SERVER_ROOT_DIR= |
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,30 @@ | ||
on: ["push", "pull_request"] | ||
|
||
name: Test Coveralls | ||
|
||
jobs: | ||
|
||
build: | ||
name: Build | ||
|
||
env: | ||
FONTAWESOME_NPM_AUTH_TOKEN: ${{ secrets.FONTAWESOME_NPM_AUTH_TOKEN }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- uses: actions/checkout@v1 | ||
|
||
- name: Use Node.js 10.x | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 10.x | ||
|
||
- name: run coverage | ||
run: | | ||
npm ci | ||
npm run test-coverage | ||
- name: Coveralls | ||
uses: coverallsapp/github-action@master | ||
with: | ||
github-token: ${{ secrets.GITHUB_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 |
---|---|---|
|
@@ -3,4 +3,5 @@ dist/ | |
.cache/ | ||
.next/ | ||
.now | ||
out/ | ||
out/ | ||
coverage/ |
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,2 @@ | ||
npm run lint | ||
npm run prettier |
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 @@ | ||
npm test |
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
Oops, something went wrong.
273080f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs: