Skip to content

Commit

Permalink
chore: reproduce yarn pnp issue
Browse files Browse the repository at this point in the history
  • Loading branch information
JounQin committed Jul 4, 2022
1 parent 1ff74cc commit 4d3ef64
Show file tree
Hide file tree
Showing 10 changed files with 35,554 additions and 7 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ jobs:
- name: Install Dependencies
run: yarn --frozen-lockfile

- name: Prepare Git Hooks
run: yarn prepare

- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
Expand Down
35,191 changes: 35,191 additions & 0 deletions .pnp.cjs

Large diffs are not rendered by default.

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

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

5 changes: 4 additions & 1 deletion .simple-git-hooks.cjs
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
module.exports = require('@1stg/simple-git-hooks')
module.exports = {
'pre-commit': 'yarn lint-staged',
'commit-msg': `yarn commitlint -e`,
}
3 changes: 2 additions & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
yarnPath: .yarn/releases/yarn-3.2.1.cjs
nodeLinker: node-modules
pnpMode: loose
pnpFallbackMode: all
41 changes: 40 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
"lint": "run-p 'lint:*'",
"lint:es": "eslint src --cache -f friendly",
"lint:tsc": "tsc --noEmit",
"prepare": "simple-git-hooks && yarn-deduplicate --strategy fewer || exit 0",
"prepare": "simple-git-hooks || exit 0",
"prerelease": "yarn build",
"release": "changeset publish",
"test": "run-p 'test:*'",
Expand Down Expand Up @@ -114,18 +114,57 @@
"@types/is-glob": "^4.0.2",
"@types/node": "^18.0.0",
"@types/unist": "^2.0.6",
"commitlint": "^17.0.3",
"dummy.js": "link:dummy.js",
"eslint": "^8.19.0",
"eslint-import-resolver-typescript": "link:.",
"eslint-plugin-import": "^2.26.0",
"esprima": "^4.0.1",
"lint-staged": "^13.0.3",
"npm-run-all": "^4.1.5",
"react": "^18.2.0",
"simple-git-hooks": "^2.8.0",
"type-coverage": "^2.21.2",
"typescript": "^4.7.4"
},
"resolutions": {
"prettier": "^2.7.1"
},
"dependenciesMeta": {
"@1stg/babel-preset@3.1.2": {
"unplugged": true
},
"@1stg/commitlint-config@3.1.2": {
"unplugged": true
},
"@1stg/common-config@5.2.4": {
"unplugged": true
},
"@1stg/eslint-config@5.2.4": {
"unplugged": true
},
"@1stg/lib-config@7.2.4": {
"unplugged": true
},
"@1stg/lint-staged@3.1.3": {
"unplugged": true
},
"@1stg/markuplint-config@2.1.2": {
"unplugged": true
},
"@1stg/prettier-config@3.4.2": {
"unplugged": true
},
"@1stg/remark-config@4.0.2": {
"unplugged": true
},
"@1stg/simple-git-hooks@0.1.4": {
"unplugged": true
},
"@1stg/tsconfig@2.2.2": {
"unplugged": true
}
},
"typeCoverage": {
"atLeast": 100,
"cache": true,
Expand Down
3 changes: 0 additions & 3 deletions src/.eslintrc

This file was deleted.

3 changes: 3 additions & 0 deletions src/.eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
extends: require.resolve('@1stg/eslint-config'),
}
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "@1stg/tsconfig/node16.json",
"extends": "@1stg/tsconfig/node16",
"compilerOptions": {
"baseUrl": ".",
"outDir": "lib"
Expand Down

0 comments on commit 4d3ef64

Please sign in to comment.