-
Notifications
You must be signed in to change notification settings - Fork 26
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 #308 from FuelRats/develop
- Loading branch information
Showing
62 changed files
with
14,164 additions
and
9,855 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
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,23 @@ | ||
module.exports = { | ||
presets: [ | ||
[ | ||
require.resolve('next/babel'), | ||
{ | ||
'preset-env': { | ||
bugfixes: true, | ||
targets: 'defaults, not IE 11, not IE_mob 11, node 13', | ||
}, | ||
'class-properties': { | ||
loose: true, | ||
}, | ||
}, | ||
], | ||
], | ||
plugins: [ | ||
[require.resolve('@fuelrats/babel-plugin-classnames'), { transformObjects: true, packageName: 'clsx' }], | ||
[require.resolve('@babel/plugin-proposal-decorators'), { legacy: true }], | ||
require.resolve('@babel/plugin-proposal-export-default-from'), | ||
require.resolve('@babel/plugin-proposal-export-namespace-from'), | ||
require.resolve('@babel/plugin-proposal-optional-catch-binding'), | ||
], | ||
} |
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 |
---|---|---|
|
@@ -7,6 +7,7 @@ on: | |
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
if: ${{ github.event.pull_request.head.repo.owner.login == github.repository_owner }} | ||
name: Lint | ||
steps: | ||
- name: Checkout | ||
|
@@ -23,7 +24,7 @@ jobs: | |
|
||
- name: Read `yarn cache dir` | ||
id: yarn-cache-dir-path | ||
run: echo "::set-output name=dir::$(yarn cache dir)" | ||
run: echo "::set-output name=dir::$(yarn config get cacheFolder)" | ||
|
||
- name: Load yarn cache | ||
uses: actions/cache@v2 | ||
|
@@ -35,7 +36,7 @@ jobs: | |
${{ runner.os }}-yarn- | ||
- name: Install dependencies | ||
run: yarn install --frozen-lockfile | ||
run: yarn install --immutable | ||
|
||
- name: Lint | ||
uses: samuelmeuli/[email protected] | ||
|
@@ -64,7 +65,7 @@ jobs: | |
|
||
- name: Read `yarn cache dir` | ||
id: yarn-cache-dir-path | ||
run: echo "::set-output name=dir::$(yarn cache dir)" | ||
run: echo "::set-output name=dir::$(yarn config get cacheFolder)" | ||
|
||
- name: Load yarn cache | ||
uses: actions/cache@v2 | ||
|
@@ -84,7 +85,7 @@ jobs: | |
${{ runner.os }}-nextjs- | ||
- name: Install dependencies | ||
run: yarn install --frozen-lockfile | ||
run: yarn install --immutable | ||
|
||
- name: Build | ||
run: yarn 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
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
nodeLinker: node-modules | ||
|
||
plugins: | ||
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs | ||
spec: "@yarnpkg/plugin-interactive-tools" | ||
|
||
yarnPath: .yarn/releases/yarn-berry.cjs |
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
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.