pkgbld 1.31.2 → 1.32.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/dist/index.d.ts +1 -1
- package/dist/index.mjs +9 -3
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ declare function getCliOptions(plugins: Partial<PkgbldPlugin>[], pkg: PackageJso
|
|
|
13
13
|
preprocess: string[];
|
|
14
14
|
dir: string;
|
|
15
15
|
sourceDir: string;
|
|
16
|
-
bin?: string[]
|
|
16
|
+
bin?: string[];
|
|
17
17
|
includeExternals: boolean | string[];
|
|
18
18
|
eject: boolean;
|
|
19
19
|
noTsConfig: boolean;
|
package/dist/index.mjs
CHANGED
|
@@ -473,6 +473,11 @@ async function binify (provider, config) {
|
|
|
473
473
|
}
|
|
474
474
|
}
|
|
475
475
|
|
|
476
|
+
async function json (provider) {
|
|
477
|
+
const pluginJson = await provider.import('@rollup/plugin-json');
|
|
478
|
+
provider.provide(() => pluginJson(), Priority.preprocess);
|
|
479
|
+
}
|
|
480
|
+
|
|
476
481
|
const plugins = [
|
|
477
482
|
clean,
|
|
478
483
|
commonjs,
|
|
@@ -481,7 +486,8 @@ const plugins = [
|
|
|
481
486
|
resolve,
|
|
482
487
|
terser,
|
|
483
488
|
typescript,
|
|
484
|
-
binify
|
|
489
|
+
binify,
|
|
490
|
+
json
|
|
485
491
|
];
|
|
486
492
|
const noop = () => undefined;
|
|
487
493
|
function createProvider(preimportMap) {
|
|
@@ -936,7 +942,7 @@ async function writeJson(path, json) {
|
|
|
936
942
|
await fs.writeFile(path, toFormattedJson(json));
|
|
937
943
|
}
|
|
938
944
|
|
|
939
|
-
var version = "1.
|
|
945
|
+
var version = "1.32.0";
|
|
940
946
|
var name = "pkgbld";
|
|
941
947
|
var license = "MIT";
|
|
942
948
|
var author = "Konstantin Shutkin";
|
|
@@ -998,7 +1004,7 @@ var devDependencies = {
|
|
|
998
1004
|
"type-fest": "^4.20.1",
|
|
999
1005
|
"dts-bundle-generator": "^9.5.1",
|
|
1000
1006
|
options: "workspace:*",
|
|
1001
|
-
c8: "^
|
|
1007
|
+
c8: "^10.0.0",
|
|
1002
1008
|
"cli-test-helper": "workspace:*"
|
|
1003
1009
|
};
|
|
1004
1010
|
var peerDependencies = {
|
package/package.json
CHANGED