Skip to content

Commit

Permalink
react v0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
woohm402 committed Jun 26, 2024
1 parent 8862807 commit c3db934
Show file tree
Hide file tree
Showing 6 changed files with 61 additions and 195 deletions.
1 change: 1 addition & 0 deletions .github/workflows/publish-base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@ jobs:
- name: Publish to npm
run: |
yarn
jq '.name = "@woohm402/eslint-config-base"' package.json > package.json.temp && mv package.json.temp package.json
echo "//registry.npmjs.org/:_authToken=${{secrets.NPM_TOKEN}}" > ~/.npmrc
yarn publish:base --registry=https://registry.npmjs.org/
1 change: 1 addition & 0 deletions .github/workflows/publish-react.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@ jobs:
- name: Publish to npm
run: |
yarn
jq '.name = "@woohm402/eslint-config-react"' package.json > package.json.temp && mv package.json.temp package.json
echo "//registry.npmjs.org/:_authToken=${{secrets.NPM_TOKEN}}" > ~/.npmrc
yarn publish:react --registry=https://registry.npmjs.org/
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"test": "turbo run test",
"build": "turbo run build",
"prettier": "prettier . --check",
"publish:base": "yarn build && yarn workspace @woohm402/eslint-config-base publish",
"publish:react": "yarn build && yarn workspace @woohm402/eslint-config-react publish"
"publish:base": "yarn build && yarn workspace base publish",
"publish:react": "yarn build && yarn workspace react publish"
},
"devDependencies": {
"prettier": "3.3.2",
Expand Down
5 changes: 2 additions & 3 deletions packages/base/package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
{
"name": "@woohm402/eslint-config-base",
"name": "base",
"version": "0.3.0",
"description": "Base config for TypeScript",
"scripts": {
"build": "tsup",
"test": "vitest run",
"publish": "npm publish"
"test": "vitest run"
},
"type": "module",
"main": "dist/index.js",
Expand Down
9 changes: 4 additions & 5 deletions packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
{
"name": "@woohm402/eslint-config-react",
"version": "0.1.0",
"name": "react",
"version": "0.3.0",
"description": "Base config for TypeScript React",
"scripts": {
"build": "tsup",
"test": "vitest run",
"publish": "npm publish"
"test": "vitest run"
},
"type": "module",
"main": "dist/index.js",
Expand Down Expand Up @@ -35,7 +34,7 @@
"homepage": "https://github.com/woohm402/eslint-config-woohm402#readme",
"dependencies": {
"@eslint/compat": "1.1.0",
"@woohm402/eslint-config-base": "0.2.5",
"@woohm402/eslint-config-base": "0.3.0",
"eslint-plugin-react-hooks": "4.6.2"
},
"peerDependencies": {
Expand Down
236 changes: 51 additions & 185 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -717,29 +717,6 @@ __metadata:
languageName: node
linkType: hard

"@typescript-eslint/eslint-plugin@npm:7.11.0":
version: 7.11.0
resolution: "@typescript-eslint/eslint-plugin@npm:7.11.0"
dependencies:
"@eslint-community/regexpp": "npm:^4.10.0"
"@typescript-eslint/scope-manager": "npm:7.11.0"
"@typescript-eslint/type-utils": "npm:7.11.0"
"@typescript-eslint/utils": "npm:7.11.0"
"@typescript-eslint/visitor-keys": "npm:7.11.0"
graphemer: "npm:^1.4.0"
ignore: "npm:^5.3.1"
natural-compare: "npm:^1.4.0"
ts-api-utils: "npm:^1.3.0"
peerDependencies:
"@typescript-eslint/parser": ^7.0.0
eslint: ^8.56.0
peerDependenciesMeta:
typescript:
optional: true
checksum: 10c0/50fedf832e4de9546569106eab1d10716204ceebc5cc7d62299112c881212270d0f7857e3d6452c07db031d40b58cf27c4d1b1a36043e8e700fc3496e377b54a
languageName: node
linkType: hard

"@typescript-eslint/eslint-plugin@npm:7.13.1":
version: 7.13.1
resolution: "@typescript-eslint/eslint-plugin@npm:7.13.1"
Expand All @@ -763,24 +740,6 @@ __metadata:
languageName: node
linkType: hard

"@typescript-eslint/parser@npm:7.11.0":
version: 7.11.0
resolution: "@typescript-eslint/parser@npm:7.11.0"
dependencies:
"@typescript-eslint/scope-manager": "npm:7.11.0"
"@typescript-eslint/types": "npm:7.11.0"
"@typescript-eslint/typescript-estree": "npm:7.11.0"
"@typescript-eslint/visitor-keys": "npm:7.11.0"
debug: "npm:^4.3.4"
peerDependencies:
eslint: ^8.56.0
peerDependenciesMeta:
typescript:
optional: true
checksum: 10c0/f5d1343fae90ccd91aea8adf194e22ed3eb4b2ea79d03d8a9ca6e7b669a6db306e93138ec64f7020c5b3128619d50304dea1f06043eaff6b015071822cad4972
languageName: node
linkType: hard

"@typescript-eslint/parser@npm:7.13.1":
version: 7.13.1
resolution: "@typescript-eslint/parser@npm:7.13.1"
Expand All @@ -799,16 +758,6 @@ __metadata:
languageName: node
linkType: hard

"@typescript-eslint/scope-manager@npm:7.11.0":
version: 7.11.0
resolution: "@typescript-eslint/scope-manager@npm:7.11.0"
dependencies:
"@typescript-eslint/types": "npm:7.11.0"
"@typescript-eslint/visitor-keys": "npm:7.11.0"
checksum: 10c0/35f9d88f38f2366017b15c9ee752f2605afa8009fa1eaf81c8b2b71fc22ddd2a33fff794a02015c8991a5fa99f315c3d6d76a5957d3fad1ccbb4cd46735c98b5
languageName: node
linkType: hard

"@typescript-eslint/scope-manager@npm:7.13.1":
version: 7.13.1
resolution: "@typescript-eslint/scope-manager@npm:7.13.1"
Expand All @@ -819,23 +768,6 @@ __metadata:
languageName: node
linkType: hard

"@typescript-eslint/type-utils@npm:7.11.0":
version: 7.11.0
resolution: "@typescript-eslint/type-utils@npm:7.11.0"
dependencies:
"@typescript-eslint/typescript-estree": "npm:7.11.0"
"@typescript-eslint/utils": "npm:7.11.0"
debug: "npm:^4.3.4"
ts-api-utils: "npm:^1.3.0"
peerDependencies:
eslint: ^8.56.0
peerDependenciesMeta:
typescript:
optional: true
checksum: 10c0/637395cb0f4c424c610e751906a31dcfedcdbd8c479012da6e81f9be6b930f32317bfe170ccb758d93a411b2bd9c4e7e5d18892094466099c6f9c3dceda81a72
languageName: node
linkType: hard

"@typescript-eslint/type-utils@npm:7.13.1":
version: 7.13.1
resolution: "@typescript-eslint/type-utils@npm:7.13.1"
Expand All @@ -853,39 +785,13 @@ __metadata:
languageName: node
linkType: hard

"@typescript-eslint/types@npm:7.11.0":
version: 7.11.0
resolution: "@typescript-eslint/types@npm:7.11.0"
checksum: 10c0/c5d6c517124017eb44aa180c8ea1fad26ec8e47502f92fd12245ba3141560e69d7f7e35b8aa160ddd5df63a2952af407e2f62cc58b663c86e1f778ffb5b01789
languageName: node
linkType: hard

"@typescript-eslint/types@npm:7.13.1":
version: 7.13.1
resolution: "@typescript-eslint/types@npm:7.13.1"
checksum: 10c0/38a01004e11259e457ae2fd02300ef362a3268a8fc70addfbf1508e2edcaca72da2f0f8771e42c1cb9f191c1f754af583cdcaebd830c8e3c3f796dcf30d3c3a8
languageName: node
linkType: hard

"@typescript-eslint/typescript-estree@npm:7.11.0":
version: 7.11.0
resolution: "@typescript-eslint/typescript-estree@npm:7.11.0"
dependencies:
"@typescript-eslint/types": "npm:7.11.0"
"@typescript-eslint/visitor-keys": "npm:7.11.0"
debug: "npm:^4.3.4"
globby: "npm:^11.1.0"
is-glob: "npm:^4.0.3"
minimatch: "npm:^9.0.4"
semver: "npm:^7.6.0"
ts-api-utils: "npm:^1.3.0"
peerDependenciesMeta:
typescript:
optional: true
checksum: 10c0/a4eda43f352d20edebae0c1c221c4fd9de0673a94988cf1ae3f5e4917ef9cdb9ead8d3673ea8dd6e80d9cf3523a47c295be1326a3fae017b277233f4c4b4026b
languageName: node
linkType: hard

"@typescript-eslint/typescript-estree@npm:7.13.1":
version: 7.13.1
resolution: "@typescript-eslint/typescript-estree@npm:7.13.1"
Expand All @@ -905,20 +811,6 @@ __metadata:
languageName: node
linkType: hard

"@typescript-eslint/utils@npm:7.11.0":
version: 7.11.0
resolution: "@typescript-eslint/utils@npm:7.11.0"
dependencies:
"@eslint-community/eslint-utils": "npm:^4.4.0"
"@typescript-eslint/scope-manager": "npm:7.11.0"
"@typescript-eslint/types": "npm:7.11.0"
"@typescript-eslint/typescript-estree": "npm:7.11.0"
peerDependencies:
eslint: ^8.56.0
checksum: 10c0/539a7ff8b825ad810fc59a80269094748df1a397a42cdbb212c493fc2486711c7d8fd6d75d4cd8a067822b8e6a11f42c50441977d51c183eec47992506d1cdf8
languageName: node
linkType: hard

"@typescript-eslint/utils@npm:7.13.1":
version: 7.13.1
resolution: "@typescript-eslint/utils@npm:7.13.1"
Expand All @@ -933,16 +825,6 @@ __metadata:
languageName: node
linkType: hard

"@typescript-eslint/visitor-keys@npm:7.11.0":
version: 7.11.0
resolution: "@typescript-eslint/visitor-keys@npm:7.11.0"
dependencies:
"@typescript-eslint/types": "npm:7.11.0"
eslint-visitor-keys: "npm:^3.4.3"
checksum: 10c0/664e558d9645896484b7ffc9381837f0d52443bf8d121a5586d02d42ca4d17dc35faf526768c4b1beb52c57c43fae555898eb087651eb1c7a3d60f1085effea1
languageName: node
linkType: hard

"@typescript-eslint/visitor-keys@npm:7.13.1":
version: 7.13.1
resolution: "@typescript-eslint/visitor-keys@npm:7.13.1"
Expand Down Expand Up @@ -1007,69 +889,23 @@ __metadata:
languageName: node
linkType: hard

"@woohm402/eslint-config-base@npm:0.2.5":
version: 0.2.5
resolution: "@woohm402/eslint-config-base@npm:0.2.5"
"@woohm402/eslint-config-base@npm:0.3.0":
version: 0.3.0
resolution: "@woohm402/eslint-config-base@npm:0.3.0"
dependencies:
"@eslint-community/eslint-plugin-eslint-comments": "npm:4.3.0"
eslint-config-prettier: "npm:9.1.0"
eslint-plugin-prettier: "npm:5.1.3"
eslint-plugin-simple-import-sort: "npm:12.1.0"
typescript-eslint: "npm:7.11.0"
typescript-eslint: "npm:7.13.1"
peerDependencies:
eslint: ">= 9"
prettier: ">= 3"
typescript: ">= 5"
checksum: 10c0/e6d27144265d16db90e93eac4943720b34280bb7226bcc8307a71fe643e9b1c0b4bf0ba5cce625356faab8d4b886acbceec691ad7cc4d1d2f02084d4685c5e57
checksum: 10c0/94fd3b009da96abb941416117722c6d655c17e7567466ddc0c325fad96a5a74375db1beed71ce83ca83c0c929976d7b438171a3a90b999a05186255f643f1895
languageName: node
linkType: hard

"@woohm402/eslint-config-base@workspace:packages/base":
version: 0.0.0-use.local
resolution: "@woohm402/eslint-config-base@workspace:packages/base"
dependencies:
"@eslint-community/eslint-plugin-eslint-comments": "npm:4.3.0"
"@eslint/js": "npm:9.5.0"
"@types/eslint": "npm:8.56.10"
"@types/node": "npm:20.14.8"
eslint: "npm:9.5.0"
eslint-config-prettier: "npm:9.1.0"
eslint-plugin-prettier: "npm:5.1.3"
eslint-plugin-simple-import-sort: "npm:12.1.0"
tsup: "npm:8.1.0"
typescript: "npm:5.5.2"
typescript-eslint: "npm:7.13.1"
vitest: "npm:1.6.0"
peerDependencies:
eslint: ">= 9"
prettier: ">= 3"
typescript: ">= 5"
languageName: unknown
linkType: soft

"@woohm402/eslint-config-react@workspace:packages/react":
version: 0.0.0-use.local
resolution: "@woohm402/eslint-config-react@workspace:packages/react"
dependencies:
"@eslint/compat": "npm:1.1.0"
"@types/eslint": "npm:8.56.10"
"@types/node": "npm:20.14.8"
"@types/react": "npm:18.3.3"
"@woohm402/eslint-config-base": "npm:0.2.5"
eslint: "npm:9.5.0"
eslint-plugin-react-hooks: "npm:4.6.2"
tsup: "npm:8.1.0"
typescript: "npm:5.5.2"
vitest: "npm:1.6.0"
peerDependencies:
"@types/react": ">= 18"
eslint: ">= 9"
prettier: ">= 3"
react: ">= 18"
typescript: ">= 5"
languageName: unknown
linkType: soft

"@woohm402/eslint-config@workspace:.":
version: 0.0.0-use.local
resolution: "@woohm402/eslint-config@workspace:."
Expand Down Expand Up @@ -1225,6 +1061,29 @@ __metadata:
languageName: node
linkType: hard

"base@workspace:packages/base":
version: 0.0.0-use.local
resolution: "base@workspace:packages/base"
dependencies:
"@eslint-community/eslint-plugin-eslint-comments": "npm:4.3.0"
"@eslint/js": "npm:9.5.0"
"@types/eslint": "npm:8.56.10"
"@types/node": "npm:20.14.8"
eslint: "npm:9.5.0"
eslint-config-prettier: "npm:9.1.0"
eslint-plugin-prettier: "npm:5.1.3"
eslint-plugin-simple-import-sort: "npm:12.1.0"
tsup: "npm:8.1.0"
typescript: "npm:5.5.2"
typescript-eslint: "npm:7.13.1"
vitest: "npm:1.6.0"
peerDependencies:
eslint: ">= 9"
prettier: ">= 3"
typescript: ">= 5"
languageName: unknown
linkType: soft

"binary-extensions@npm:^2.0.0":
version: 2.3.0
resolution: "binary-extensions@npm:2.3.0"
Expand Down Expand Up @@ -3042,6 +2901,29 @@ __metadata:
languageName: node
linkType: hard

"react@workspace:packages/react":
version: 0.0.0-use.local
resolution: "react@workspace:packages/react"
dependencies:
"@eslint/compat": "npm:1.1.0"
"@types/eslint": "npm:8.56.10"
"@types/node": "npm:20.14.8"
"@types/react": "npm:18.3.3"
"@woohm402/eslint-config-base": "npm:0.3.0"
eslint: "npm:9.5.0"
eslint-plugin-react-hooks: "npm:4.6.2"
tsup: "npm:8.1.0"
typescript: "npm:5.5.2"
vitest: "npm:1.6.0"
peerDependencies:
"@types/react": ">= 18"
eslint: ">= 9"
prettier: ">= 3"
react: ">= 18"
typescript: ">= 5"
languageName: unknown
linkType: soft

"readdirp@npm:~3.6.0":
version: 3.6.0
resolution: "readdirp@npm:3.6.0"
Expand Down Expand Up @@ -3628,22 +3510,6 @@ __metadata:
languageName: node
linkType: hard

"typescript-eslint@npm:7.11.0":
version: 7.11.0
resolution: "typescript-eslint@npm:7.11.0"
dependencies:
"@typescript-eslint/eslint-plugin": "npm:7.11.0"
"@typescript-eslint/parser": "npm:7.11.0"
"@typescript-eslint/utils": "npm:7.11.0"
peerDependencies:
eslint: ^8.56.0
peerDependenciesMeta:
typescript:
optional: true
checksum: 10c0/11dbbf4f317abe687733614f85a255e5ebad0d45d2a1f8c4922918bf74b902c8b20fd3be50f58cd6e7645a2cb34e99cb068ac97bca50ff96c931cfa9572855c0
languageName: node
linkType: hard

"typescript-eslint@npm:7.13.1":
version: 7.13.1
resolution: "typescript-eslint@npm:7.13.1"
Expand Down

0 comments on commit c3db934

Please sign in to comment.