Skip to content

Commit 9efbd19

Browse files
authored
Switch to Yarn 2 and... (#657)
* Switch to Yarn v2 because it's more strict, safer and provide helpful information about dependencies * [`@zero-scripts/plugin-webpack-eslint`, `@zero-scripts/plugin-webpack-react`] Remove all ESLint related dependencies * [`@zero-scripts/plugin-webpack-eslint`] Generate ESLint config at the root of project if config is not exists * [`@zero-scripts/plugin-webpack-babel`, `@zero-scripts/plugin-webpack-react`] Remove all Babel related dependencies * [`@zero-scripts/plugin-webpack-babel`] Generate Babel config at the root of project if config is not exists * Add `react-eslint` example, at default all the rest examples doesn't contain `@zero-scripts/plugin-webpack-eslint` * [`@zero-scripts/plugin-webpack-babel`, `@zero-scripts/plugin-webpack-eslint`] Better typings for `baseEslintConfig` and `baseBabelConfig` * [`@zero-scripts/core`] Fix plugin regexp to allow only project plugins * Fix dependencies issues in `package.json` based on Yarn warnings and errors
1 parent 904740d commit 9efbd19

File tree

1,457 files changed

+47271
-11741
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,457 files changed

+47271
-11741
lines changed

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ node_modules
33
examples/*
44
!examples/__tests__
55
*.d.ts
6+
.pnp.js

.github/workflows/ci-tests.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,6 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- uses: actions/checkout@v2
10-
- uses: pnpm/[email protected]
11-
with:
12-
version: 5.13.1
13-
- run: pnpm i
14-
- run: pnpm build
15-
- run: pnpm test
16-
env:
17-
CI: true
10+
- run: yarn
11+
- run: yarn build
12+
- run: yarn test

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ npm-debug.log
55
yarn-error.log
66
*.tsbuildinfo
77

8+
.yarn/*
9+
!.yarn/cache
10+
!.yarn/releases
11+
!.yarn/plugins
12+
!.yarn/sdks
13+
!.yarn/versions
14+
815
/.changelog
916

1017
build

.pnp.js

Lines changed: 31858 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.prettierignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
build
2+
node_modules
3+
examples/*
4+
!examples/__tests__
5+
*.d.ts
6+
.pnp.js
Binary file not shown.
Binary file not shown.
Binary file not shown.
61.6 KB
Binary file not shown.
61.8 KB
Binary file not shown.

0 commit comments

Comments
 (0)