@xylabs/ts-scripts-yarn3 7.10.5 → 7.10.8
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/README.body.md
CHANGED
|
@@ -47,9 +47,7 @@ yarn xy copy-assets # Copy non-TS assets to dist
|
|
|
47
47
|
yarn xy lint # Lint all packages
|
|
48
48
|
yarn xy fix # Auto-fix lint issues
|
|
49
49
|
yarn xy deplint # Check dependency declarations
|
|
50
|
-
yarn xy cycle # Check for circular dependencies
|
|
51
50
|
yarn xy publint # Validate package.json for publishing
|
|
52
|
-
yarn xy knip # Detect unused exports and dead code
|
|
53
51
|
```
|
|
54
52
|
|
|
55
53
|
### Test
|
package/README.md
CHANGED
|
@@ -56,9 +56,7 @@ yarn xy copy-assets # Copy non-TS assets to dist
|
|
|
56
56
|
yarn xy lint # Lint all packages
|
|
57
57
|
yarn xy fix # Auto-fix lint issues
|
|
58
58
|
yarn xy deplint # Check dependency declarations
|
|
59
|
-
yarn xy cycle # Check for circular dependencies
|
|
60
59
|
yarn xy publint # Validate package.json for publishing
|
|
61
|
-
yarn xy knip # Detect unused exports and dead code
|
|
62
60
|
```
|
|
63
61
|
|
|
64
62
|
### Test
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xylabs/ts-scripts-yarn3",
|
|
3
|
-
"version": "7.10.
|
|
3
|
+
"version": "7.10.8",
|
|
4
4
|
"description": "TypeScript project scripts",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"xylabs",
|
|
@@ -39,7 +39,6 @@
|
|
|
39
39
|
"package-compile-only": "dist/bin/package/compile-only.mjs",
|
|
40
40
|
"package-copy-assets-cjs": "dist/bin/package/copy-assets-cjs.mjs",
|
|
41
41
|
"package-copy-assets-esm": "dist/bin/package/copy-assets-esm.mjs",
|
|
42
|
-
"package-cycle": "dist/bin/package/cycle.mjs",
|
|
43
42
|
"package-fix": "dist/bin/package/fix.mjs",
|
|
44
43
|
"package-gen-docs": "dist/bin/package/gen-docs.mjs",
|
|
45
44
|
"package-lint": "dist/bin/package/lint.mjs",
|
|
@@ -61,12 +60,12 @@
|
|
|
61
60
|
"package-recompile": "tsc -p tsconfig.build.json --noEmit && tsup && publint"
|
|
62
61
|
},
|
|
63
62
|
"dependencies": {
|
|
64
|
-
"@xylabs/toolchain": "~7.10.
|
|
63
|
+
"@xylabs/toolchain": "~7.10.8",
|
|
65
64
|
"cosmiconfig": ">=9"
|
|
66
65
|
},
|
|
67
66
|
"devDependencies": {
|
|
68
67
|
"@types/node": ">=18",
|
|
69
|
-
"@xylabs/tsconfig": "~7.10.
|
|
68
|
+
"@xylabs/tsconfig": "~7.10.8",
|
|
70
69
|
"acorn": "^6.0.0 || ^7.0.0 || ^8.0.0",
|
|
71
70
|
"eslint": "^6.0.0 || ^7.0.0 || >=8.0.0",
|
|
72
71
|
"publint": "~0.3.18",
|
|
@@ -75,12 +75,9 @@ All commands accept these flags:
|
|
|
75
75
|
| `xy relint [package]` | Clean ESLint cache, then lint from scratch |
|
|
76
76
|
| `xy deplint [package]` | Verify imports match `package.json` dependency declarations |
|
|
77
77
|
| `xy publint [package]` | Validate `package.json` correctness for npm publishing |
|
|
78
|
-
| `xy cycle [package]` | Detect circular dependency cycles |
|
|
79
|
-
| `xy knip` | Find unused exports and dead code |
|
|
80
78
|
| `xy dead [package]` | Check for dead (unreachable) code |
|
|
81
79
|
| `xy sonar` | Run SonarQube analysis |
|
|
82
80
|
| `xy lintlint` | Check for redundant or overridden ESLint rules vs shared config |
|
|
83
|
-
| `xy dupdeps` | Find duplicate dependency declarations across packages |
|
|
84
81
|
|
|
85
82
|
### Testing
|
|
86
83
|
|
|
@@ -106,10 +103,7 @@ All commands accept these flags:
|
|
|
106
103
|
| `xy reinstall` | Remove `node_modules`, reinstall from scratch |
|
|
107
104
|
| `xy up` | Update all dependencies to latest compatible versions |
|
|
108
105
|
| `xy updo` | Update dependencies (interactive) |
|
|
109
|
-
| `xy upplug` | Update Yarn plugins |
|
|
110
|
-
| `xy upyarn` | Update Yarn version |
|
|
111
106
|
| `xy statics` | Confirm static packages |
|
|
112
|
-
| `xy yarn3only` | Check if using Yarn v3 |
|
|
113
107
|
|
|
114
108
|
### Git & Repo Maintenance
|
|
115
109
|
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
Check for circular dependency cycles in the current project using `xy cycle`. Review the output and refactor any circular dependencies found.
|
|
2
|
-
|
|
3
|
-
Detect the package manager from the repo root (`yarn.lock` → yarn, `pnpm-lock.yaml` → pnpm) and prefix accordingly.
|
|
4
|
-
|
|
5
|
-
```bash
|
|
6
|
-
xy cycle
|
|
7
|
-
```
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
Check for duplicate dependency declarations in package.json files using `xy dupdeps`. Review and resolve any duplicates found.
|
|
2
|
-
|
|
3
|
-
Detect the package manager from the repo root (`yarn.lock` → yarn, `pnpm-lock.yaml` → pnpm) and prefix accordingly.
|
|
4
|
-
|
|
5
|
-
```bash
|
|
6
|
-
xy dupdeps
|
|
7
|
-
```
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
Check for unused exports and dead code in the current project using `xy knip`. Review the output and remove any unused exports, files, or dependencies.
|
|
2
|
-
|
|
3
|
-
Detect the package manager from the repo root (`yarn.lock` → yarn, `pnpm-lock.yaml` → pnpm) and prefix accordingly.
|
|
4
|
-
|
|
5
|
-
```bash
|
|
6
|
-
xy knip
|
|
7
|
-
```
|