You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

eslint-plugin-workspaces

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-workspaces - npm Package Compare versions

Comparing version

to
0.8.0

9

CHANGELOG.md

@@ -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

43

package.json
{
"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 [![Coverage Status](https://coveralls.io/repos/github/joshuajaco/eslint-plugin-workspaces/badge.svg)](https://coveralls.io/github/joshuajaco/eslint-plugin-workspaces) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
# eslint-plugin-workspaces ![npm downloads](https://img.shields.io/npm/dw/eslint-plugin-workspaces) [![Coverage Status](https://coveralls.io/repos/github/joshuajaco/eslint-plugin-workspaces/badge.svg)](https://coveralls.io/github/joshuajaco/eslint-plugin-workspaces) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](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 @@