yarn-why-duplicate 1.2.0 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,39 @@
1
1
  # Changelog
2
2
 
3
+ All notable changes to this project will be documented in this file.
4
+ See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
+
6
+ ## [2.0.0](https://github.com/christophehurpeau/yarn-why-duplicate/compare/v1.2.0...v2.0.0) (2023-11-05)
7
+
8
+
9
+ ### ⚠ BREAKING CHANGES
10
+
11
+ * require node 18
12
+
13
+ ### Features
14
+
15
+ * update to yarn 4 stable ([704278c](https://github.com/christophehurpeau/yarn-why-duplicate/commit/704278c5643a7fcb61704511b921cfa3485d3b04))
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * **deps:** update dependency @yarnpkg/core to v4.0.0-rc.43 ([#12](https://github.com/christophehurpeau/yarn-why-duplicate/issues/12)) ([f7d4e20](https://github.com/christophehurpeau/yarn-why-duplicate/commit/f7d4e202efdfa752d00ab834af391dae95896473))
21
+ * **deps:** update dependency @yarnpkg/core to v4.0.0-rc.44 ([#20](https://github.com/christophehurpeau/yarn-why-duplicate/issues/20)) ([2887734](https://github.com/christophehurpeau/yarn-why-duplicate/commit/2887734b2e58e1f48827acfef64457105aea940e))
22
+ * **deps:** update dependency @yarnpkg/core to v4.0.0-rc.45 ([#23](https://github.com/christophehurpeau/yarn-why-duplicate/issues/23)) ([f64c11d](https://github.com/christophehurpeau/yarn-why-duplicate/commit/f64c11d6cf26972e2cc2230cfbaf580f62543e0a))
23
+ * **deps:** update dependency @yarnpkg/core to v4.0.0-rc.46 ([#27](https://github.com/christophehurpeau/yarn-why-duplicate/issues/27)) ([0217338](https://github.com/christophehurpeau/yarn-why-duplicate/commit/021733849c68a20d7d4a57d102e0aa4d58b2bcca))
24
+ * **deps:** update dependency @yarnpkg/core to v4.0.0-rc.47 ([#34](https://github.com/christophehurpeau/yarn-why-duplicate/issues/34)) ([ffdebc6](https://github.com/christophehurpeau/yarn-why-duplicate/commit/ffdebc67829c874742628f7b1ca1cda9259716b7))
25
+ * **deps:** update dependency @yarnpkg/core to v4.0.0-rc.48 ([#38](https://github.com/christophehurpeau/yarn-why-duplicate/issues/38)) ([e98d67a](https://github.com/christophehurpeau/yarn-why-duplicate/commit/e98d67a81a1e7e844ef6fd0ced0a8e7f84f05f72))
26
+ * **deps:** update dependency semver to v7.5.1 ([#18](https://github.com/christophehurpeau/yarn-why-duplicate/issues/18)) ([4b347b9](https://github.com/christophehurpeau/yarn-why-duplicate/commit/4b347b955b6bfdf07c5e4451ac4018cb92fe58ea))
27
+ * **deps:** update dependency semver to v7.5.2 ([#24](https://github.com/christophehurpeau/yarn-why-duplicate/issues/24)) ([9359f4b](https://github.com/christophehurpeau/yarn-why-duplicate/commit/9359f4b096230ca238d7d4702c9543871e48d5af))
28
+ * **deps:** update dependency semver to v7.5.3 ([#26](https://github.com/christophehurpeau/yarn-why-duplicate/issues/26)) ([b6cbe1b](https://github.com/christophehurpeau/yarn-why-duplicate/commit/b6cbe1b2f48a407e0ef765574636e2c1d4bfdfea))
29
+ * **deps:** update dependency semver to v7.5.4 ([#39](https://github.com/christophehurpeau/yarn-why-duplicate/issues/39)) ([bb3599a](https://github.com/christophehurpeau/yarn-why-duplicate/commit/bb3599a7830805e864f5f92180c01bf49ba97efd))
30
+
31
+
32
+ ### Code Refactoring
33
+
34
+ * drop node 16 ([be786c3](https://github.com/christophehurpeau/yarn-why-duplicate/commit/be786c3be71e0a7e676ff96faf57f029739a78c4))
35
+
36
+
3
37
  ## [1.2.0](https://github.com/christophehurpeau/yarn-why-duplicate/compare/v1.1.0...v1.2.0) (2023-04-25)
4
38
 
5
39
 
@@ -1,4 +1,20 @@
1
1
  {
2
2
  "root": true,
3
- "extends": ["@pob/eslint-config/node-module"]
3
+ "extends": ["@pob/eslint-config/node-module"],
4
+ "overrides": [
5
+ {
6
+ "files": ["**/*.test.{cjs,js}", "__tests__/**/*.{cjs,js}"],
7
+ "env": {
8
+ "jest": true
9
+ },
10
+ "rules": {
11
+ "import/no-extraneous-dependencies": [
12
+ "error",
13
+ {
14
+ "devDependencies": true
15
+ }
16
+ ]
17
+ }
18
+ }
19
+ ]
4
20
  }
@@ -1,4 +1,4 @@
1
- import { spawnSync } from 'child_process';
1
+ import { spawnSync } from 'node:child_process';
2
2
 
3
3
  export const parseYarnWhy = (content) => {
4
4
  return content
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yarn-why-duplicate",
3
- "version": "1.2.0",
3
+ "version": "2.0.0",
4
4
  "description": "Simple bin to know why a package is duplicated",
5
5
  "keywords": [
6
6
  "yarn",
@@ -15,9 +15,9 @@
15
15
  },
16
16
  "type": "module",
17
17
  "engines": {
18
- "node": ">=18.0.0"
18
+ "node": ">=18.12.0"
19
19
  },
20
- "packageManager": "yarn@3.5.0",
20
+ "packageManager": "yarn@4.0.1",
21
21
  "main": "./lib/index.js",
22
22
  "exports": {
23
23
  ".": "./lib/index.js",
@@ -25,6 +25,10 @@
25
25
  },
26
26
  "sideEffects": false,
27
27
  "bin": "./bin/yarn-why-duplicate.mjs",
28
+ "files": [
29
+ "lib",
30
+ "bin"
31
+ ],
28
32
  "scripts": {
29
33
  "checks": "node scripts/check-package.js",
30
34
  "clean:build": "true",
@@ -45,14 +49,14 @@
45
49
  },
46
50
  "pob": {},
47
51
  "dependencies": {
48
- "@yarnpkg/core": "4.0.0-rc.42",
49
- "semver": "7.5.0"
52
+ "@yarnpkg/core": "4.0.1",
53
+ "semver": "7.5.4"
50
54
  },
51
55
  "devDependencies": {
52
- "@pob/commitlint-config": "5.1.1",
53
- "@pob/eslint-config": "50.0.4",
54
- "@pob/root": "7.8.0",
55
- "check-package-dependencies": "6.3.2",
56
- "eslint": "8.39.0"
56
+ "@pob/commitlint-config": "6.2.0",
57
+ "@pob/eslint-config": "51.1.2",
58
+ "@pob/root": "8.6.0",
59
+ "check-package-dependencies": "6.8.0",
60
+ "eslint": "8.53.0"
57
61
  }
58
- }
62
+ }
package/.editorconfig DELETED
@@ -1,13 +0,0 @@
1
- # EditorConfig helps developers define and maintain consistent
2
- # coding styles between different editors and IDEs
3
- # http://editorconfig.org
4
-
5
- root = true
6
-
7
- [*]
8
- indent_style = space
9
- indent_size = 2
10
- end_of_line = lf
11
- charset = utf-8
12
- trim_trailing_whitespace = true
13
- insert_final_newline = true
package/.eslintrc.json DELETED
@@ -1,4 +0,0 @@
1
- {
2
- "root": true,
3
- "extends": ["@pob/eslint-config/root-module"]
4
- }
package/.prettierignore DELETED
@@ -1,2 +0,0 @@
1
- CHANGELOG.md
2
- /.yarn/**/*
@@ -1,3 +0,0 @@
1
- import { createCheckPackage } from 'check-package-dependencies';
2
-
3
- await createCheckPackage().checkRecommended({}).run();