Skip to content

Commit

Permalink
upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
psychobolt committed Mar 13, 2022
1 parent b953971 commit b136e91
Show file tree
Hide file tree
Showing 1,940 changed files with 48,342 additions and 5,502 deletions.
9 changes: 6 additions & 3 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,17 @@
"parserOptions": {
"ecmaFeatures": {
"legacyDecorators": true
},
"babelOptions": {
"configFile": "./babel.config.common.cjs"
}
},
"extends": ["airbnb", "plugin:flowtype/recommended", "plugin:storybook/recommended"],
"plugins": ["flowtype", "jest"],
"rules": {
"import/no-extraneous-dependencies": 0,
"import/no-webpack-loader-syntax": 0,
"import/extensions": ["error", "ignorePackages"],
"no-confusing-arrow": ["error", {"allowParens": true}],
"arrow-parens": ["error", "as-needed"],
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
Expand All @@ -30,9 +34,8 @@
},
"settings": {
"import/resolver": {
"babel-module": {
"root": ["./"],
"cwd": "./"
"node": {
"moduleDirectory": ["./"]
}
}
}
Expand Down
8 changes: 4 additions & 4 deletions .flowconfig
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[options]
module.name_mapper='^\(.*\)\.\mdx?$' -> '<PROJECT_ROOT>/RAWFlowStub.js.flow'
module.name_mapper='^stories/\(.*\)$' -> '<PROJECT_ROOT>/stories/\1'
module.system.node.resolve_dirname=node_modules
module.system.node.resolve_dirname=packages

include_warnings=true

[lints]
deprecated-utility=warn

[ignore]
.*/node_modules/resolve/test/resolver/malformed_package_json/package.json
deprecated-utility=warn
4 changes: 3 additions & 1 deletion .github/actions/ci/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ runs:
shell: bash
- run: yarn flow
shell: bash
- run: yarn codecov
- run: yarn test --coverage
shell: bash
- run: CODECOV_FLAGS=$(yarn workspaces.js --ls-projects) >> $GITHUB_ENV
shell: bash
- run: yarn build
shell: bash
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: ./.github/actions/ci
- uses: codecov/codecov-action@v2
with:
flags: ${{ env.CODECOV_FLAGS }}}
- uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ typings/
*.tgz

# Yarn
.pnp.*
.yarn/*
!.yarn/cache
!.yarn/patches
!.yarn/plugins
!.yarn/releases
Expand All @@ -66,7 +66,8 @@ typings/

# dist
**/dist/*
!**/dist/index.js
!**/dist/wrapper.(dev|prod).js
!**/dist/*.cjs.flow
!**/dist/*.js.flow

# flow-typed
Expand Down
17 changes: 12 additions & 5 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
__mocks__
.storybook
.vscode
.yarn
coverage
!/dist
flow-typed
Expand All @@ -11,18 +12,24 @@ storybook-static
.eslintignore
.eslintrc.json
.flowconfig
.stylelintrc
.pnp.*
.projectlist
.stylelintrc.json
.yarn.js
.yarnrc
babel.config.common.cjs
babel.config.js
codecov.js
bootstrap.js
cjs
DEVELOPMENT.md
flow-typed-update.js
jest.config.js
jsconfig.json
lerna.json
project-list.js
RAWFlowStub.js.flow
rollup.config.*.js
rollup.config.*.mjs
src/**/__tests__
test-config.js
workspaces.js
yarn.lock
*.log
*.yml
34,264 changes: 34,264 additions & 0 deletions .pnp.cjs

Large diffs are not rendered by default.

266 changes: 266 additions & 0 deletions .pnp.loader.mjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions .projectlist

This file was deleted.

Loading

0 comments on commit b136e91

Please sign in to comment.