-
Notifications
You must be signed in to change notification settings - Fork 0
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 #45 from lineupjs/sgratzl/upgrade
upgrade dependencies
- Loading branch information
Showing
10 changed files
with
2,442 additions
and
3,528 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,29 +1,16 @@ | ||
/* eslint-env node */ | ||
|
||
// eslint-disable-next-line @typescript-eslint/no-var-requires | ||
const pkg = require('./package.json'); | ||
|
||
module.exports = { | ||
plugins: ['@typescript-eslint', 'prettier'], | ||
extends: [ | ||
'airbnb-typescript', | ||
'react-app', | ||
'plugin:@typescript-eslint/recommended', | ||
'plugin:prettier/recommended', | ||
'prettier', | ||
], | ||
parserOptions: { | ||
project: './tsconfig.eslint.json', | ||
}, | ||
extends: ['react-app', 'plugin:@typescript-eslint/recommended', 'plugin:prettier/recommended', 'prettier'], | ||
settings: { | ||
react: { | ||
version: pkg.devDependencies.react ? 'detect' : '99.99.99', | ||
version: '99.99.99', | ||
}, | ||
}, | ||
rules: { | ||
'no-continue': 'off', | ||
// '@typescript-eslint/explicit-module-boundary-types': 'off', | ||
// '@typescript-eslint/no-explicit-any': 'off', | ||
// '@typescript-eslint/no-non-null-assertion': 'off', | ||
'@typescript-eslint/explicit-module-boundary-types': 'off', | ||
'@typescript-eslint/no-explicit-any': 'off', | ||
'@typescript-eslint/no-non-null-assertion': 'off', | ||
}, | ||
}; |
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 |
---|---|---|
|
@@ -8,6 +8,8 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/[email protected] | ||
with: | ||
node-version: 16 | ||
- run: npm i -g yarn | ||
- run: yarn config set checksumBehavior ignore | ||
- name: Cache Node.js 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
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,5 @@ | ||
name: Release Main | ||
|
||
on: | ||
push: | ||
branches: | ||
|
@@ -20,12 +21,15 @@ jobs: | |
uses: actions/checkout@v2 | ||
- uses: actions/[email protected] | ||
with: | ||
node-version: '14' | ||
node-version: 16 | ||
- name: Extract version | ||
id: extract_version | ||
run: | | ||
node -pe "'::set-output name=version::' + require('./package.json').version" | ||
node -pe "'::set-output name=npm_tag::' + (require('./package.json').version.includes('-') ? 'next' : 'latest')" | ||
- name: Print version | ||
run: | | ||
echo "releasing ${{ steps.extract_version.outputs.version }} with tag ${{ steps.extract_version.outputs.npm_tag }}" | ||
- name: Create Release | ||
id: create_release | ||
uses: release-drafter/release-drafter@v5 | ||
|
@@ -50,7 +54,7 @@ jobs: | |
- uses: actions/checkout@v2 | ||
- uses: actions/[email protected] | ||
with: | ||
node-version: '14.x' | ||
node-version: 16 | ||
- run: npm i -g yarn | ||
- run: yarn config set checksumBehavior ignore | ||
- name: Cache Node.js modules | ||
|
@@ -90,9 +94,8 @@ jobs: | |
enable_jekyll: true | ||
remove_path_spec: 'README.md,main' | ||
- name: Pack Publish | ||
env: | ||
NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
run: | | ||
yarn config set npmAuthToken "${{ secrets.NPM_TOKEN }}" | ||
yarn pack | ||
yarn npm publish --tag "${{ needs.create_release.outputs.npm_tag }}" | ||
- name: Upload Release Asset | ||
|
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.
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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
packageExtensions: | ||
eslint-config-airbnb-typescript@*: | ||
dependencies: | ||
eslint-config-airbnb-base: "*" | ||
eslint-module-utils@*: | ||
dependencies: | ||
eslint-import-resolver-node: "*" | ||
eslint-config-airbnb-typescript@*: | ||
dependencies: | ||
eslint-config-airbnb-base: '*' | ||
|
||
yarnPath: .yarn/releases/yarn-3.0.1.cjs | ||
yarnPath: .yarn/releases/yarn-3.1.0.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
Oops, something went wrong.