eslint-plugin-workspaces
Advanced tools
Comparing version
@@ -0,1 +1,9 @@ | ||
## [v0.8.0] - 2023-03-04 | ||
- Replaced the underlying package to resolve monorepo packages (from [get-monorepo-packages](https://github.com/azz/get-monorepo-packages) to [find-workspaces](https://github.com/joshuajaco/find-workspaces)) which comes with a few benefits: | ||
- [pnpm workspaces](https://pnpm.io/workspaces) support | ||
- [bolt](https://github.com/boltpkg/bolt) support | ||
- caching layer which allows this plugin to look for the workspaces root relative to the file that is being linted instead of the current working directory. | ||
This means you can run now eslint from outside a monorepo. | ||
## [v0.7.0] - 2021-10-08 | ||
@@ -26,2 +34,3 @@ | ||
[v0.8.0]: https://github.com/joshuajaco/eslint-plugin-workspaces/compare/v0.7.0...v0.8.0 | ||
[v0.7.0]: https://github.com/joshuajaco/eslint-plugin-workspaces/compare/v0.6.2...v0.7.0 | ||
@@ -28,0 +37,0 @@ [v0.6.2]: https://github.com/joshuajaco/eslint-plugin-workspaces/compare/v0.6.1...v0.6.2 |
{ | ||
"name": "eslint-plugin-workspaces", | ||
"version": "0.8.0-rc5", | ||
"main": "lib/index.js", | ||
"exports": "./lib/index.js", | ||
"license": "MIT", | ||
"version": "0.8.0", | ||
"keywords": [ | ||
@@ -15,36 +12,36 @@ "eslint", | ||
"yarn", | ||
"lerna" | ||
"lerna", | ||
"npm", | ||
"pnpm", | ||
"bolt" | ||
], | ||
"repository": "joshuajaco/eslint-plugin-workspaces", | ||
"license": "MIT", | ||
"exports": "./lib/index.js", | ||
"main": "lib/index.js", | ||
"files": [ | ||
"lib/", | ||
"CHANGELOG.md", | ||
"README.md", | ||
"LICENSE" | ||
"CHANGELOG.md" | ||
], | ||
"engines": { | ||
"node": ">= 12.22.0" | ||
}, | ||
"packageManager": "npm@8.9.0", | ||
"repository": "joshuajaco/eslint-plugin-workspaces", | ||
"scripts": { | ||
"coverage": "mkdir -p coverage && touch ./coverage/lcov.info && nyc report --reporter=text-lcov > ./coverage/lcov.info", | ||
"format": "prettier . -w --ignore-path .gitignore", | ||
"lint": "eslint . --ignore-path .gitignore", | ||
"lint:fix": "npm run lint -- --fix", | ||
"test": "npm run lint && nyc mocha tests --recursive --file tests/setup.js", | ||
"coverage": "mkdir -p coverage && touch ./coverage/lcov.info && nyc report --reporter=text-lcov > ./coverage/lcov.info" | ||
"test": "npm run lint && nyc mocha tests --recursive --file tests/setup.js" | ||
}, | ||
"dependencies": { | ||
"find-workspaces": "^0.0.4" | ||
"find-workspaces": "^0.1.0" | ||
}, | ||
"devDependencies": { | ||
"@babel/eslint-parser": "^7.17.0", | ||
"eslint": "^8.14.0", | ||
"eslint-plugin-eslint-plugin": "^4.1.0", | ||
"@babel/eslint-parser": "^7.19.1", | ||
"eslint": "^8.28.0", | ||
"eslint-plugin-eslint-plugin": "^5.0.6", | ||
"eslint-plugin-node": "^11.1.0", | ||
"eslint-plugin-prettier": "^4.0.0", | ||
"mocha": "^10.0.0", | ||
"eslint-plugin-prettier": "^4.2.1", | ||
"mocha": "^10.1.0", | ||
"nyc": "^15.1.0", | ||
"prettier": "^2.6.2", | ||
"sinon": "^13.0.2" | ||
"prettier": "^2.8.0", | ||
"sinon": "^14.0.2" | ||
} | ||
} |
@@ -1,7 +0,13 @@ | ||
# eslint-plugin-workspaces [](https://coveralls.io/github/joshuajaco/eslint-plugin-workspaces) [](https://github.com/prettier/prettier) | ||
# eslint-plugin-workspaces  [](https://coveralls.io/github/joshuajaco/eslint-plugin-workspaces) [](https://github.com/prettier/prettier) | ||
An ESLint plugin for enforcing consistent imports across monorepo packages. | ||
It support [Yarn Workspaces](https://classic.yarnpkg.com/en/docs/workspaces/) as well as [lerna](https://github.com/lerna/lerna). | ||
It supports: | ||
- [Yarn workspaces](https://classic.yarnpkg.com/en/docs/workspaces) | ||
- [npm workspaces](https://docs.npmjs.com/cli/v7/using-npm/workspaces) | ||
- [pnpm workspaces](https://pnpm.io/workspaces) | ||
- [lerna](https://github.com/lerna/lerna) | ||
- [bolt](https://github.com/boltpkg/bolt) | ||
## Installation | ||
@@ -8,0 +14,0 @@ |
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
16825
5.25%0
-100%66
10%+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
Updated