npm-pkgbuild 20.6.4 → 20.7.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/README.md CHANGED
@@ -1,6 +1,5 @@
1
1
  [![npm](https://img.shields.io/npm/v/npm-pkgbuild.svg)](https://www.npmjs.com/package/npm-pkgbuild)
2
2
  [![License](https://img.shields.io/badge/License-0BSD-blue.svg)](https://spdx.org/licenses/0BSD.html)
3
- [![Typed with TypeScript](https://flat.badgen.net/badge/icon/Typed?icon=typescript\&label\&labelColor=blue\&color=555555)](https://typescriptlang.org)
4
3
  [![bundlejs](https://deno.bundlejs.com/?q=npm-pkgbuild\&badge=detailed)](https://bundlejs.com/?q=npm-pkgbuild)
5
4
  [![downloads](http://img.shields.io/npm/dm/npm-pkgbuild.svg?style=flat-square)](https://npmjs.org/package/npm-pkgbuild)
6
5
  [![GitHub Issues](https://img.shields.io/github/issues/arlac77/npm-pkgbuild.svg?style=flat-square)](https://github.com/arlac77/npm-pkgbuild/issues)
@@ -98,47 +97,47 @@ See [mf-hosting](https://www.npmjs.com/package/mf-hosting) or [mf-hosting-fronte
98
97
  * [Properties](#properties)
99
98
  * [extractFromPackage](#extractfrompackage)
100
99
  * [Parameters](#parameters-1)
101
- * [BUILDAH](#buildah)
102
- * [ContentProvider](#contentprovider)
100
+ * [NPMPackContentProvider](#npmpackcontentprovider)
103
101
  * [Parameters](#parameters-2)
104
102
  * [Properties](#properties-1)
105
- * [asyncIterator](#asynciterator)
106
- * [FileContentProvider](#filecontentprovider)
107
- * [Parameters](#parameters-3)
108
- * [asyncIterator](#asynciterator-1)
109
103
  * [name](#name)
110
104
  * [NodeModulesContentProvider](#nodemodulescontentprovider)
111
- * [Parameters](#parameters-4)
105
+ * [Parameters](#parameters-3)
112
106
  * [Properties](#properties-2)
113
- * [asyncIterator](#asynciterator-2)
107
+ * [asyncIterator](#asynciterator)
114
108
  * [name](#name-1)
115
- * [NPMPackContentProvider](#npmpackcontentprovider)
116
- * [Parameters](#parameters-5)
117
- * [Properties](#properties-3)
109
+ * [FileContentProvider](#filecontentprovider)
110
+ * [Parameters](#parameters-4)
111
+ * [asyncIterator](#asynciterator-1)
118
112
  * [name](#name-2)
119
113
  * [NFTContentProvider](#nftcontentprovider)
114
+ * [Parameters](#parameters-5)
115
+ * [asyncIterator](#asynciterator-2)
116
+ * [name](#name-3)
117
+ * [ContentProvider](#contentprovider)
120
118
  * [Parameters](#parameters-6)
119
+ * [Properties](#properties-3)
121
120
  * [asyncIterator](#asynciterator-3)
122
- * [name](#name-3)
123
121
  * [DEBIAN](#debian)
124
122
  * [hookMapping](#hookmapping)
125
123
  * [attributes](#attributes)
126
124
  * [prepare](#prepare)
127
125
  * [Parameters](#parameters-7)
126
+ * [pkgKeyValuePairOptions](#pkgkeyvaluepairoptions)
127
+ * [attributes](#attributes-1)
128
128
  * [quoteFile](#quotefile)
129
129
  * [Parameters](#parameters-8)
130
130
  * [RPM](#rpm)
131
131
  * [hookMapping](#hookmapping-1)
132
- * [attributes](#attributes-1)
132
+ * [attributes](#attributes-2)
133
133
  * [prepare](#prepare-1)
134
134
  * [Parameters](#parameters-9)
135
- * [pkgKeyValuePairOptions](#pkgkeyvaluepairoptions)
136
- * [attributes](#attributes-2)
137
135
  * [OCI](#oci)
138
136
  * [DOCKER](#docker)
139
137
  * [attributes](#attributes-3)
140
138
  * [prepare](#prepare-2)
141
139
  * [Parameters](#parameters-10)
140
+ * [BUILDAH](#buildah)
142
141
  * [Packager](#packager)
143
142
  * [Parameters](#parameters-11)
144
143
  * [packageName](#packagename)
@@ -256,48 +255,22 @@ Extract package definition from package.json.
256
255
 
257
256
  Returns **AsyncIterable<[PackageDefinition](#packagedefinition)>**&#x20;
258
257
 
259
- ## BUILDAH
260
-
261
- **Extends DOCKER**
262
-
263
- Use buildah @see <https://buildah.io>
258
+ ## NPMPackContentProvider
264
259
 
265
- ## ContentProvider
260
+ **Extends ContentProvider**
266
261
 
267
- Source of package content.
262
+ Content from npm pack.
268
263
 
269
264
  ### Parameters
270
265
 
271
266
  * `definitions` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)**&#x20;
272
- * `entryProperties` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)?**&#x20;
273
- * `directoryProperties` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)?**&#x20;
267
+ * `entryProperties` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** to be set for each entry
268
+ * `directoryProperties` &#x20;
274
269
 
275
270
  ### Properties
276
271
 
277
272
  * `dir` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**&#x20;
278
273
 
279
- ### asyncIterator
280
-
281
- List all entries.
282
-
283
- Returns **AsyncIterable<(ContentEntry | CollectionEntry)>** all entries
284
-
285
- ## FileContentProvider
286
-
287
- **Extends ContentProvider**
288
-
289
- Content provided form the file system.
290
-
291
- ### Parameters
292
-
293
- * `definitions` **([Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object) | [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String))**&#x20;
294
- * `entryProperties` &#x20;
295
- * `directoryProperties` &#x20;
296
-
297
- ### asyncIterator
298
-
299
- Returns **AsyncIterable<(ContentEntry | CollectionEntry)>** all entries
300
-
301
274
  ### name
302
275
 
303
276
  Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** name of the content provider
@@ -329,21 +302,21 @@ Returns **AsyncIterable<(ContentEntry | CollectionEntry)>** all entries
329
302
 
330
303
  Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** name of the content provider
331
304
 
332
- ## NPMPackContentProvider
305
+ ## FileContentProvider
333
306
 
334
307
  **Extends ContentProvider**
335
308
 
336
- Content from npm pack.
309
+ Content provided form the file system.
337
310
 
338
311
  ### Parameters
339
312
 
340
- * `definitions` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)**&#x20;
341
- * `entryProperties` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** to be set for each entry
313
+ * `definitions` **([Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object) | [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String))**&#x20;
314
+ * `entryProperties` &#x20;
342
315
  * `directoryProperties` &#x20;
343
316
 
344
- ### Properties
317
+ ### asyncIterator
345
318
 
346
- * `dir` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**&#x20;
319
+ Returns **AsyncIterable<(ContentEntry | CollectionEntry)>** all entries
347
320
 
348
321
  ### name
349
322
 
@@ -369,6 +342,26 @@ Returns **AsyncIterable\<ContentEntry>** all entries
369
342
 
370
343
  Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** name of the content provider
371
344
 
345
+ ## ContentProvider
346
+
347
+ Source of package content.
348
+
349
+ ### Parameters
350
+
351
+ * `definitions` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)**&#x20;
352
+ * `entryProperties` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)?**&#x20;
353
+ * `directoryProperties` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)?**&#x20;
354
+
355
+ ### Properties
356
+
357
+ * `dir` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**&#x20;
358
+
359
+ ### asyncIterator
360
+
361
+ List all entries.
362
+
363
+ Returns **AsyncIterable<(ContentEntry | CollectionEntry)>** all entries
364
+
372
365
  ## DEBIAN
373
366
 
374
367
  **Extends Packager**
@@ -395,6 +388,15 @@ Map install hook named from default (arch) to deb.
395
388
 
396
389
  Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)>**&#x20;
397
390
 
391
+ ## pkgKeyValuePairOptions
392
+
393
+ Type: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)
394
+
395
+ ## attributes
396
+
397
+ well known package properties
398
+ <https://www.archlinux.org/pacman/PKGBUILD.5.html>
399
+
398
400
  ## quoteFile
399
401
 
400
402
  ### Parameters
@@ -428,15 +430,6 @@ Check for rpmbuild presence.
428
430
 
429
431
  Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)>** true when rpmbuild executable is present
430
432
 
431
- ## pkgKeyValuePairOptions
432
-
433
- Type: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)
434
-
435
- ## attributes
436
-
437
- well known package properties
438
- <https://www.archlinux.org/pacman/PKGBUILD.5.html>
439
-
440
433
  ## OCI
441
434
 
442
435
  **Extends Packager**
@@ -466,6 +459,12 @@ Check for docker presence.
466
459
 
467
460
  Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)>** true when docker executable is present
468
461
 
462
+ ## BUILDAH
463
+
464
+ **Extends DOCKER**
465
+
466
+ Use buildah @see <https://buildah.io>
467
+
469
468
  ## Packager
470
469
 
471
470
  ### Parameters
package/package.json CHANGED
@@ -1,15 +1,13 @@
1
1
  {
2
2
  "name": "npm-pkgbuild",
3
- "version": "20.6.4",
3
+ "version": "20.7.2",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "provenance": false
7
7
  },
8
- "packageManager": "npm@11.10.0+sha512.8bc844e37892200305b98562f13c6c10849d10b3387c8cdaeb4d1a2e32746a79063cba9dd284cf28c26a01c3bf4169b7d3b31b4a5586cc970d6749463108073c",
9
- "types": "./types/module.d.mts",
8
+ "packageManager": "npm@11.16.0",
10
9
  "exports": {
11
10
  ".": {
12
- "types": "./types/module.d.mts",
13
11
  "default": "./src/module.mjs"
14
12
  }
15
13
  },
@@ -40,50 +38,49 @@
40
38
  "npm-pkgbuild": "src/npm-pkgbuild-cli.mjs"
41
39
  },
42
40
  "scripts": {
43
- "prepare": "node --run prepare:typescript",
44
- "prepare:typescript": "tsc --allowJs --declaration --emitDeclarationOnly --declarationDir types --resolveJsonModule --target esnext -m esnext --module nodenext --moduleResolution nodenext --rootDir src ./src**/*.mjs",
45
41
  "test": "node --run test:ava",
46
42
  "test:ava": "ava --timeout 4m tests/*-ava.mjs tests/*-ava-node.mjs",
47
43
  "cover": "c8 -x 'tests/**/*' --temp-directory build/tmp ava --timeout 4m tests/*-ava.mjs tests/*-ava-node.mjs && c8 report -r lcov -o build/coverage --temp-directory build/tmp",
48
44
  "docs": "documentation readme --section=API ./src**/*.mjs",
49
- "lint": "node --run lint:docs && node --run lint:typescript",
50
- "lint:docs": "documentation lint ./src**/*.mjs",
51
- "lint:typescript": "tsc --allowJs --checkJs --noEmit --resolveJsonModule --target esnext -m esnext --module nodenext --moduleResolution nodenext ./src**/*.mjs",
52
- "tsc:types": "tsc -d --allowJs --declarationDir dist --emitDeclarationOnly ./src/extract-from-package.mjs"
45
+ "lint": "node --run lint:docs",
46
+ "lint:docs": "documentation lint ./src**/*.mjs"
53
47
  },
54
48
  "dependencies": {
55
- "@npmcli/arborist": "^9.3.1",
56
- "@vercel/nft": "^1.3.1",
57
- "aggregate-async-iterator": "^1.2.4",
58
- "commander": "^14.0.3",
49
+ "@npmcli/arborist": "^9.7.0",
50
+ "@vercel/nft": "^1.10.2",
51
+ "aggregate-async-iterator": "^1.2.5",
52
+ "commander": "^15.0.0",
59
53
  "compare-versions": "^6.1.1",
60
54
  "content-entry": "^14.2.7",
61
55
  "content-entry-filesystem": "^9.0.14",
62
- "content-entry-transform": "^1.6.6",
56
+ "content-entry-transform": "^1.6.9",
63
57
  "execa": "^9.6.0",
64
- "ini": "^6.0.0",
65
- "iterable-string-interceptor": "^3.0.7",
66
- "key-value-transformer": "^3.3.1",
58
+ "ini": "^7.0.0",
59
+ "iterable-string-interceptor": "^3.0.8",
60
+ "key-value-transformer": "^3.3.2",
67
61
  "npm-package-walker": "^8.0.11",
68
- "npm-packlist": "^10.0.4",
69
- "pacc": "^9.2.5",
62
+ "npm-packlist": "^11.2.0",
63
+ "pacc": "^9.2.7",
70
64
  "package-directory": "^8.2.0",
71
- "pacote": "^21.3.1",
65
+ "pacote": "^21.5.1",
72
66
  "tar-stream": "^3.1.7",
73
- "uti": "^8.11.1"
67
+ "uti": "^8.11.2"
74
68
  },
75
69
  "devDependencies": {
76
- "@types/node": "^25.3.0",
77
- "ava": "^6.4.1",
78
- "c8": "^10.1.3",
70
+ "@types/node": "^25.9.2",
71
+ "ava": "^8.0.1",
72
+ "c8": "^11.0.0",
79
73
  "documentation": "^14.0.3",
80
74
  "semantic-release": "^25.0.3",
81
- "stream-buffers": "^3.0.3",
82
- "typescript": "^5.9.3"
75
+ "stream-buffers": "^3.0.3"
76
+ },
77
+ "overrides": {
78
+ "c8": {
79
+ "yargs": "^18.0.0"
80
+ }
83
81
  },
84
82
  "engines": {
85
- "node": ">=24.13.1",
86
- "bun": ">=1.3.8"
83
+ "node": ">=24.16.0"
87
84
  },
88
85
  "repository": {
89
86
  "type": "git",
@@ -96,8 +93,7 @@
96
93
  "template": {
97
94
  "inheritFrom": [
98
95
  "arlac77/template-arlac77-github",
99
- "arlac77/template-javascript-component",
100
- "arlac77/template-typescript"
96
+ "arlac77/template-javascript-component"
101
97
  ]
102
98
  }
103
99
  }
@@ -1,31 +0,0 @@
1
- /**
2
- * Source of package content.
3
- * @property {string} dir
4
- */
5
- export class ContentProvider {
6
- /**
7
- *
8
- * @param {Object} definitions
9
- * @param {string} [definitions.dir]
10
- * @param {Object} [entryProperties]
11
- * @param {string} [entryProperties.destination]
12
- * @param {Object} [directoryProperties]
13
- */
14
- constructor(definitions: {
15
- dir?: string;
16
- }, entryProperties?: {
17
- destination?: string;
18
- }, directoryProperties?: any);
19
- entryProperties: {
20
- destination?: string;
21
- };
22
- directoryProperties: any;
23
- dir: string;
24
- /**
25
- * List all entries.
26
- * @return {AsyncIterable<ContentEntry|CollectionEntry>} all entries
27
- */
28
- [Symbol.asyncIterator](): AsyncIterable<ContentEntry | CollectionEntry>;
29
- }
30
- import { ContentEntry } from "content-entry";
31
- import { CollectionEntry } from "content-entry";
@@ -1,16 +0,0 @@
1
- /**
2
- * Content provided form the file system.
3
- */
4
- export class FileContentProvider extends ContentProvider {
5
- static get description(): string;
6
- /**
7
- * Content provided form the file system.
8
- * @param {Object|string} definitions
9
- * @param {string} [definitions.dir] base directory where to find the files
10
- * @param {string|string[]} [definitions.pattern]
11
- */
12
- constructor(definitions: any | string, entryProperties: any, directoryProperties: any);
13
- pattern: string[];
14
- get isPatternMatch(): string;
15
- }
16
- import { ContentProvider } from "./content-provider.mjs";
@@ -1,25 +0,0 @@
1
- /**
2
- * Content provided form the file system.
3
- */
4
- export class NFTContentProvider extends ContentProvider {
5
- static get description(): string;
6
- /**
7
- * Content provided form the file system.
8
- * @param {Object|string} definitions
9
- * @param {string} definitions.start base directory where to find the files
10
- * @param {string} [definitions.dir]
11
- * @param {Object} [entryProperties]
12
- * @param {string} [entryProperties.destination]
13
- * @param {Object} [directoryProperties]
14
- */
15
- constructor(definitions: any | string, entryProperties?: {
16
- destination?: string;
17
- }, directoryProperties?: any);
18
- start: any[];
19
- /**
20
- * @return {AsyncIterable<ContentEntry>} all entries
21
- */
22
- [Symbol.asyncIterator](): AsyncIterable<ContentEntry>;
23
- }
24
- import { ContentProvider } from "./content-provider.mjs";
25
- import { ContentEntry } from "content-entry";
@@ -1,11 +0,0 @@
1
- /**
2
- * Content from node_modules.
3
- * Requires .npmrc or NPM_TOKEN environment
4
- * @property {boolean} withoutDevelpmentDependencies
5
- */
6
- export class NodeModulesContentProvider extends ContentProvider {
7
- static get description(): string;
8
- constructor(definitions: any, entryProperties: any, directoryProperties: any);
9
- withoutDevelpmentDependencies: boolean;
10
- }
11
- import { ContentProvider } from "./content-provider.mjs";
@@ -1,13 +0,0 @@
1
- /**
2
- * Content from npm pack.
3
- *
4
- * @param {Object} definitions
5
- * @param {Object} entryProperties to be set for each entry
6
- * @property {string} dir
7
- */
8
- export class NPMPackContentProvider extends ContentProvider {
9
- static get description(): string;
10
- constructor(definitions: any, entryProperties: any, directoryProperties: any);
11
- [Symbol.asyncIterator](): AsyncGenerator<any, void, unknown>;
12
- }
13
- import { ContentProvider } from "./content-provider.mjs";
@@ -1,82 +0,0 @@
1
- /**
2
- * @typedef {Object} PackageDefinition
3
- * @property {Object} properties values describing the package attributes
4
- * @property {Object} properties.dependencies
5
- * @property {Object} properties.replaces
6
- * @property {Object} properties.conficts
7
- * @property {ContentProvider[]} sources content providers
8
- * @property {Object} output package type
9
- * @property {Object} variant identifier of the variant
10
- * @property {string} variant.name name of the variant
11
- * @property {string} variant.arch name of the architecture
12
- */
13
- /**
14
- * Extract package definition from package.json.
15
- * - for each architecture deliver a new result
16
- * - if no architecture is given one result set is provided nethertheless
17
- * - architectures are taken from cpu (node arch ids) and from pkgbuild.arch (raw arch ids)
18
- * - architecture given in a variant definition are used to restrict the set of avaliable architectures
19
- * @param {Object} options
20
- * @param {string} [options.dir] where to look for package.json
21
- * @param {boolean} [options.verbose] log
22
- * @param {Object} env as delared in process.env
23
- * @returns {AsyncIterable<PackageDefinition>}
24
- */
25
- export function extractFromPackage(options?: {
26
- dir?: string;
27
- verbose?: boolean;
28
- }, env?: any): AsyncIterable<PackageDefinition>;
29
- /**
30
- * All content providers (input)
31
- */
32
- export const allInputs: (typeof NPMPackContentProvider | typeof NodeModulesContentProvider | typeof FileContentProvider | typeof NFTContentProvider)[];
33
- /**
34
- * All output formats
35
- */
36
- export const allOutputs: (typeof DEBIAN | typeof ARCH | typeof OCI | typeof DOCKER)[];
37
- export namespace npmArchMapping {
38
- let arm64: string;
39
- let arm: string;
40
- let mips: string;
41
- let mipsel: string;
42
- let ppc: string;
43
- let s390: string;
44
- let s390x: string;
45
- let ia32: string;
46
- let x64: string;
47
- let ppc64: string;
48
- }
49
- export type PackageDefinition = {
50
- /**
51
- * values describing the package attributes
52
- */
53
- properties: {
54
- dependencies: any;
55
- replaces: any;
56
- conficts: any;
57
- };
58
- /**
59
- * content providers
60
- */
61
- sources: ContentProvider[];
62
- /**
63
- * package type
64
- */
65
- output: any;
66
- /**
67
- * identifier of the variant
68
- */
69
- variant: {
70
- name: string;
71
- arch: string;
72
- };
73
- };
74
- import { NPMPackContentProvider } from "./content/npm-pack-content-provider.mjs";
75
- import { NodeModulesContentProvider } from "./content/node-modules-content-provider.mjs";
76
- import { FileContentProvider } from "./content/file-content-provider.mjs";
77
- import { NFTContentProvider } from "./content/nft-content-provider.mjs";
78
- import { DEBIAN } from "./output/debian.mjs";
79
- import { ARCH } from "./output/arch.mjs";
80
- import { OCI } from "./output/oci.mjs";
81
- import { DOCKER } from "./output/docker.mjs";
82
- import { ContentProvider } from "./content/content-provider.mjs";
@@ -1,14 +0,0 @@
1
- export * from "./util.mjs";
2
- export { ContentProvider } from "./content/content-provider.mjs";
3
- export { FileContentProvider } from "./content/file-content-provider.mjs";
4
- export { NodeModulesContentProvider } from "./content/node-modules-content-provider.mjs";
5
- export { NPMPackContentProvider } from "./content/npm-pack-content-provider.mjs";
6
- export { NFTContentProvider } from "./content/nft-content-provider.mjs";
7
- export { DEBIAN } from "./output/debian.mjs";
8
- export { RPM } from "./output/rpm.mjs";
9
- export { ARCH } from "./output/arch.mjs";
10
- export { OCI } from "./output/oci.mjs";
11
- export { DOCKER } from "./output/docker.mjs";
12
- export { Packager } from "./output/packager.mjs";
13
- export { createPublishingDetails, publish } from "./publish.mjs";
14
- export { extractFromPackage, allInputs, allOutputs, npmArchMapping } from "./extract-from-package.mjs";
@@ -1,2 +0,0 @@
1
- #!/usr/bin/env -S node --no-warnings --title npm-pkgbuild
2
- export {};
@@ -1,4 +0,0 @@
1
- export function shrinkNPM(pkg: any, options?: {
2
- removeKeys: string[];
3
- removeDefaults: boolean;
4
- }): any;