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 Nov 13, 2024
1 parent 8a77919 commit 11e2815
Show file tree
Hide file tree
Showing 5 changed files with 2,093 additions and 4,599 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-version }}
cache-dependency-path: ./codemods
cache: 'yarn'

- name: Check folder contents
Expand Down
63 changes: 33 additions & 30 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",
"execa": "^9.5.1",
"globby": "^14.0.2",
"jscodeshift": "^17.0.0",
"jscodeshift": "^17.1.1",
"ts-node": "^10.9.2",
"typescript": "^5.6.2"
"typescript": "^5.6.3"
},
"devDependencies": {
"@eslint/js": "^9.14.0",
"@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.9.0",
"eslint": "^9.14.0",
"eslint-config-prettier": "^9.1.0",
"jiti": "^2.1.0",
"jiti": "^2.4.0",
"prettier": "^3.3.3",
"typescript-eslint": "^8.8.0",
"vitest": "^2.1.2"
"reselect": "workspace:^",
"typescript-eslint": "^8.14.0",
"vitest": "^2.1.5"
},
"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 11e2815

Please sign in to comment.