Skip to content

Commit

Permalink
Make reselect-codemods a Yarn workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
aryaemami59 committed Oct 15, 2024
1 parent fb5d80a commit f3f18dc
Show file tree
Hide file tree
Showing 5 changed files with 2,063 additions and 4,363 deletions.
1 change: 0 additions & 1 deletion .github/workflows/test-reselect-codemods.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache-dependency-path: ./codemods
cache: 'yarn'

- name: Check folder contents
Expand Down
57 changes: 30 additions & 27 deletions codemods/package.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,23 @@
{
"name": "reselect-codemods",
"version": "0.1.0",
"version": "0.0.1",
"description": "A collection of codemods for the reselect library",
"keywords": [
"redux",
"redux-toolkit",
"reselect",
"codemod"
],
"homepage": "https://github.com/reduxjs/reselect/tree/master/codemods#readme",
"bugs": {
"url": "https://github.com/reduxjs/reselect/issues"
},
"scripts": {
"format": "prettier -w . --config prettier.config.mjs",
"format-check": "prettier -c . --config prettier.config.mjs",
"lint": "eslint --flag unstable_ts_config -c eslint.config.mts",
"lint-fix": "eslint --fix --flag unstable_ts_config -c eslint.config.mts",
"test": "vitest --run"
"repository": {
"directory": "codemods",
"type": "git",
"url": "git+https://github.com/reduxjs/reselect.git"
},
"sideEffects": false,
"bin": "./bin/cli.mjs",
"files": [
"bin/*",
Expand All @@ -20,41 +26,38 @@
"package.json",
"README.md"
],
"keywords": [
"redux",
"redux-toolkit",
"reselect",
"codemod"
],
"scripts": {
"format": "prettier -w . --config prettier.config.mjs",
"format-check": "prettier -c . --config prettier.config.mjs",
"lint": "eslint --flag unstable_ts_config -c eslint.config.mts",
"lint-fix": "eslint --fix --flag unstable_ts_config -c eslint.config.mts",
"test": "vitest --run"
},
"dependencies": {
"execa": "^9.4.0",
"globby": "^14.0.2",
"jscodeshift": "^17.0.0",
"ts-node": "^10.9.2",
"typescript": "^5.6.2"
"typescript": "^5.6.3"
},
"devDependencies": {
"@types/eslint-config-prettier": "^6.11.3",
"@types/eslint__js": "^8.42.3",
"@types/jscodeshift": "^0.12.0",
"@types/node": "^22.7.4",
"eslint": "^9.11.1",
"@types/node": "^22.7.5",
"eslint": "^9.12.0",
"eslint-config-prettier": "^9.1.0",
"jiti": "^2.1.0",
"jiti": "^2.3.3",
"prettier": "^3.3.3",
"typescript-eslint": "^8.8.0",
"vitest": "^2.1.2"
"reselect": "workspace:^",
"typescript-eslint": "^8.9.0",
"vitest": "^2.1.3"
},
"engines": {
"node": ">= 16"
},
"publishConfig": {
"access": "public"
},
"repository": {
"directory": "codemods",
"type": "git",
"url": "git+https://github.com/reduxjs/reselect.git"
},
"sideEffects": false
"access": "public",
"provenance": true
}
}
Loading

0 comments on commit f3f18dc

Please sign in to comment.