@ljharb/unused-files 0.1.0 → 0.1.2
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 +26 -0
- package/index.mjs +14 -0
- package/package.json +20 -17
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,32 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [v0.1.2](https://github.com/ljharb/unused-files/compare/v0.1.1...v0.1.2) - 2025-05-29
|
|
9
|
+
|
|
10
|
+
### Commits
|
|
11
|
+
|
|
12
|
+
- [Dev Deps] update `@arethetypeswrong/cli`, `@ljharb/eslint-config`, `@ljharb/tsconfig`, `@types/micromatch`, `@types/tape`, `auto-changelog`, `c8`, `playwright`, `tape` [`5ea2a9b`](https://github.com/ljharb/unused-files/commit/5ea2a9b60474033374e143a524b13dfeaeac3e9b)
|
|
13
|
+
- [jsr] v0.1.1 [`3c9b832`](https://github.com/ljharb/unused-files/commit/3c9b8326b3b3d203fea7467d80f2d39246f53c69)
|
|
14
|
+
- [Deps] update `knip`, `micromatch` [`ae13f9e`](https://github.com/ljharb/unused-files/commit/ae13f9e01ca10e7de50a11fb1af4c5a45a0c4ece)
|
|
15
|
+
- [Tests] replace `aud` with `npm audit` [`9cd7f44`](https://github.com/ljharb/unused-files/commit/9cd7f44ca05ae87d1be364113d732e897c622ddb)
|
|
16
|
+
- [Dev Deps] add missing peer dep [`d893df4`](https://github.com/ljharb/unused-files/commit/d893df4293dd7a73ba2cca2b0682e057a9b41416)
|
|
17
|
+
- [Dev Deps] add `playwright` because `knip` and TS needs it [`444359d`](https://github.com/ljharb/unused-files/commit/444359db8c78b4d15371c10aeacecebcc72c62f9)
|
|
18
|
+
|
|
19
|
+
## [v0.1.1](https://github.com/ljharb/unused-files/compare/v0.1.0...v0.1.1) - 2024-04-12
|
|
20
|
+
|
|
21
|
+
### Commits
|
|
22
|
+
|
|
23
|
+
- [Tests] add more test cases for `browser` and `bin` [`a93e847`](https://github.com/ljharb/unused-files/commit/a93e8473b8dad08f6498b47a4f9bd4440632cfb6)
|
|
24
|
+
- [meta] add jsr.json [`21f3d7c`](https://github.com/ljharb/unused-files/commit/21f3d7c74fb77b9ebba37589a085322c2d7f05e2)
|
|
25
|
+
- [Deps] update `knip`, `object.groupby` [`b898c4d`](https://github.com/ljharb/unused-files/commit/b898c4d45a5d3e946b6906d7eab7bffa73f125f3)
|
|
26
|
+
- Revert "[types] use the DT PR instead of waiting on the package" [`8f7ac05`](https://github.com/ljharb/unused-files/commit/8f7ac051180d98bc7950e002691367de00b52752)
|
|
27
|
+
- [Dev Deps] update `@arethetypeswrong/cli` [`7c75b15`](https://github.com/ljharb/unused-files/commit/7c75b15fac89bcf0273a59e013ea953c2568475b)
|
|
28
|
+
- [Deps] unpin `knip` [`79f3af3`](https://github.com/ljharb/unused-files/commit/79f3af39a58fb7019d25dba906548e7a85a6bd86)
|
|
29
|
+
- [Dev Deps] update `@arethetypeswrong/cli` [`9371983`](https://github.com/ljharb/unused-files/commit/9371983007a762de5601d6750e2e192f9f80e51a)
|
|
30
|
+
- [meta] fix `version` scripts [`6f3de34`](https://github.com/ljharb/unused-files/commit/6f3de34fe90cefec79b1f3553d2429433b2a9e12)
|
|
31
|
+
- [Dev Deps] pin `knip` [`7ed9d42`](https://github.com/ljharb/unused-files/commit/7ed9d4268e87f33fc2c57e077bff2567503b7c7a)
|
|
32
|
+
- [Dev Deps] fix eslint dep [`b48b85d`](https://github.com/ljharb/unused-files/commit/b48b85d787dc4bc481beb13fe87c872b6616102c)
|
|
33
|
+
|
|
8
34
|
## v0.1.0 - 2024-03-13
|
|
9
35
|
|
|
10
36
|
### Commits
|
package/index.mjs
CHANGED
|
@@ -18,16 +18,30 @@ export default async function unusedFiles(
|
|
|
18
18
|
const { main: knip } = await import('knip');
|
|
19
19
|
|
|
20
20
|
({ issues: { files } } = await knip({
|
|
21
|
+
cacheLocation: '',
|
|
21
22
|
cwd,
|
|
23
|
+
excludedIssueTypes: [],
|
|
22
24
|
fixTypes: [],
|
|
23
25
|
gitignore: true,
|
|
26
|
+
includedIssueTypes: [],
|
|
27
|
+
isCache: false,
|
|
28
|
+
isDebug: false,
|
|
29
|
+
isDependenciesShorthand: false,
|
|
30
|
+
isExportsShorthand: false,
|
|
31
|
+
isFilesShorthand: false,
|
|
24
32
|
isFix: false,
|
|
33
|
+
isFormat: false,
|
|
25
34
|
isIncludeEntryExports: true,
|
|
35
|
+
isIncludeLibs: true,
|
|
26
36
|
isIsolateWorkspaces: false,
|
|
27
37
|
isProduction: true,
|
|
38
|
+
isRemoveFiles: false,
|
|
28
39
|
isShowProgress: false,
|
|
29
40
|
isStrict: true,
|
|
41
|
+
isWatch: false,
|
|
30
42
|
tags: [[], []],
|
|
43
|
+
tsConfigFile: '',
|
|
44
|
+
workspace: undefined,
|
|
31
45
|
}));
|
|
32
46
|
} finally {
|
|
33
47
|
process.argv = origArgv;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ljharb/unused-files",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "List unused files in your package.",
|
|
5
5
|
"bin": "./bin.mjs",
|
|
6
6
|
"main": false,
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"pretest": "npm run lint",
|
|
18
18
|
"tests-only": "c8 tape 'test/**/*.mjs'",
|
|
19
19
|
"test": "npm run tests-only",
|
|
20
|
-
"posttest": "
|
|
20
|
+
"posttest": "npx npm@\">= 10.2\" audit --production",
|
|
21
21
|
"version": "auto-changelog && git add CHANGELOG.md",
|
|
22
22
|
"postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
|
|
23
23
|
},
|
|
@@ -37,27 +37,29 @@
|
|
|
37
37
|
},
|
|
38
38
|
"homepage": "https://github.com/ljharb/unused-files#readme",
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"knip": "^5.
|
|
41
|
-
"micromatch": "^4.0.
|
|
42
|
-
"object.groupby": "^1.0.
|
|
40
|
+
"knip": "^5.59.1",
|
|
41
|
+
"micromatch": "^4.0.8",
|
|
42
|
+
"object.groupby": "^1.0.3"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@arethetypeswrong/cli": "^0.
|
|
46
|
-
"@
|
|
47
|
-
"@ljharb/
|
|
48
|
-
"@
|
|
49
|
-
"@types/
|
|
50
|
-
"@types/
|
|
45
|
+
"@arethetypeswrong/cli": "^0.18.1",
|
|
46
|
+
"@jest/types": "^29.6.3",
|
|
47
|
+
"@ljharb/eslint-config": "^21.1.1",
|
|
48
|
+
"@ljharb/tsconfig": "^0.3.2",
|
|
49
|
+
"@types/micromatch": "^4.0.9",
|
|
50
|
+
"@types/minimist": "^1.2.5",
|
|
51
|
+
"@types/object.groupby": "^1.0.4",
|
|
52
|
+
"@types/tape": "^5.8.1",
|
|
51
53
|
"@types/webpack": "^5.28.5",
|
|
52
|
-
"
|
|
53
|
-
"auto-changelog": "^2.4.0",
|
|
54
|
+
"auto-changelog": "^2.5.0",
|
|
54
55
|
"c8": "^9.1.0",
|
|
55
|
-
"
|
|
56
|
+
"encoding": "^0.1.13",
|
|
57
|
+
"eslint": "=8.8.0",
|
|
56
58
|
"in-publish": "^2.0.1",
|
|
57
59
|
"npmignore": "^0.3.1",
|
|
58
|
-
"playwright": "^1.
|
|
60
|
+
"playwright": "^1.52.0",
|
|
59
61
|
"safe-publish-latest": "^2.0.0",
|
|
60
|
-
"tape": "^5.
|
|
62
|
+
"tape": "^5.9.0",
|
|
61
63
|
"typescript": "next"
|
|
62
64
|
},
|
|
63
65
|
"engines": {
|
|
@@ -77,7 +79,8 @@
|
|
|
77
79
|
".github/workflows",
|
|
78
80
|
".eslintrc",
|
|
79
81
|
".nycrc",
|
|
80
|
-
"test"
|
|
82
|
+
"test",
|
|
83
|
+
"jsr.json"
|
|
81
84
|
]
|
|
82
85
|
}
|
|
83
86
|
}
|