@normed/bundle 4.7.1 → 4.8.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.
@@ -16,6 +16,9 @@ export declare const canRefinePackageJson: {
16
16
  out: string | undefined;
17
17
  root: string | undefined;
18
18
  } | undefined;
19
+ webRoot: string | undefined;
20
+ publicPath: string | undefined;
21
+ assetNames: string | undefined;
19
22
  modifiers: {
20
23
  [modifier: string]: import("./types.ts").EntryConfig;
21
24
  };
@@ -47,6 +47,7 @@ export type CompleteEntryConfig = {
47
47
  css: {
48
48
  externalUrls: string[];
49
49
  };
50
+ webRoot?: string;
50
51
  };
51
52
  export type EntryConfig = {
52
53
  entrypoint?: boolean;
@@ -77,6 +78,9 @@ export type BuildConfig = {
77
78
  out: string;
78
79
  root: string;
79
80
  };
81
+ webRoot?: string;
82
+ publicPath?: string;
83
+ assetNames?: string;
80
84
  modifiers: {
81
85
  [modifier: string]: EntryConfig;
82
86
  };
@@ -91,6 +95,9 @@ export declare const refinePackageJSON: RefinementFunction<Partial<{
91
95
  out: string | undefined;
92
96
  root: string | undefined;
93
97
  } | undefined;
98
+ webRoot: string | undefined;
99
+ publicPath: string | undefined;
100
+ assetNames: string | undefined;
94
101
  modifiers: {
95
102
  [modifier: string]: EntryConfig;
96
103
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@normed/bundle",
3
3
  "author": "Normal Gaussian <normed.bundle@normal-gaussian.com>",
4
- "version": "4.7.1",
4
+ "version": "4.8.2",
5
5
  "bin": "bundles/bin/cli.js",
6
6
  "type": "module",
7
7
  "exports": {
@@ -14,7 +14,7 @@
14
14
  "test": "yarn node --experimental-transform-types --test 'src/**/*.test.ts'",
15
15
  "clean": "echo \"Not cleaning\"",
16
16
  "really-clean": "rm -rf dist bundles bundles-a",
17
- "publish": "yarn npm publish --tolerate-republish --provenance",
17
+ "publish": "yarn npm publish --tolerate-republish --provenance --access public",
18
18
  "build": "tsc --project tsconfig.json && node dist/bin/cli.js --outdir bundles-a && node bundles-a/bin/cli.js && diff -r bundles-a bundles",
19
19
  "build-a": "tsc --project tsconfig.json && node dist/bin/cli.js --outdir bundles-a",
20
20
  "build-dist": "tsc --project tsconfig.json"