pkgprn 0.2.0 → 0.2.1
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 +6 -0
- package/package.json +9 -1
- package/prune.js +4 -4
- package/tsconfig.json +17 -0
- package/jsconfig.json +0 -12
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,10 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pkgprn",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Konstantin Shutkin",
|
|
6
6
|
"bin": "./index.js",
|
|
7
7
|
"type": "module",
|
|
8
|
+
"types": "./types/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./types/index.d.ts",
|
|
12
|
+
"default": "./prune.js"
|
|
13
|
+
},
|
|
14
|
+
"./package.json": "./package.json"
|
|
15
|
+
},
|
|
8
16
|
"description": "Prune package.json before publish",
|
|
9
17
|
"homepage": "https://github.com/kshutkin/package-prune#readme",
|
|
10
18
|
"bugs": {
|
package/prune.js
CHANGED
|
@@ -34,7 +34,7 @@ const alwaysIgnoredPatterns = [
|
|
|
34
34
|
const hardIgnored = new Set(['.git', '.npmrc', 'node_modules', 'package-lock.json', 'pnpm-lock.yaml', 'yarn.lock', 'bun.lockb']);
|
|
35
35
|
|
|
36
36
|
/**
|
|
37
|
-
* @typedef {
|
|
37
|
+
* @typedef {import('@niceties/logger').Logger} Logger
|
|
38
38
|
*/
|
|
39
39
|
|
|
40
40
|
/**
|
|
@@ -45,9 +45,9 @@ const hardIgnored = new Set(['.git', '.npmrc', 'node_modules', 'package-lock.jso
|
|
|
45
45
|
* @property {string} [main]
|
|
46
46
|
* @property {string|Object.<string, string>} [bin]
|
|
47
47
|
* @property {Array<string>} [files]
|
|
48
|
-
* @property {
|
|
49
|
-
* @property {
|
|
50
|
-
* @property {
|
|
48
|
+
* @property {Record<string, unknown>} [directories]
|
|
49
|
+
* @property {Record<string, unknown>} [exports]
|
|
50
|
+
* @property {Record<string, unknown>} [typesVersions]
|
|
51
51
|
*/
|
|
52
52
|
|
|
53
53
|
/**
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"target": "ES2022",
|
|
4
|
+
"module": "ESNext",
|
|
5
|
+
"moduleResolution": "bundler",
|
|
6
|
+
"allowJs": true,
|
|
7
|
+
"checkJs": true,
|
|
8
|
+
"strict": true,
|
|
9
|
+
"noEmit": true,
|
|
10
|
+
"declaration": true,
|
|
11
|
+
"declarationMap": true,
|
|
12
|
+
"esModuleInterop": true,
|
|
13
|
+
"skipLibCheck": true,
|
|
14
|
+
"forceConsistentCasingInFileNames": true,
|
|
15
|
+
"resolveJsonModule": true
|
|
16
|
+
}
|
|
17
|
+
}
|
package/jsconfig.json
DELETED