@ms-cloudpack/bundler 0.3.10 → 0.4.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.json CHANGED
@@ -2,7 +2,102 @@
2
2
  "name": "@ms-cloudpack/bundler",
3
3
  "entries": [
4
4
  {
5
- "date": "Sat, 03 Sep 2022 08:15:01 GMT",
5
+ "date": "Wed, 07 Sep 2022 08:14:12 GMT",
6
+ "tag": "@ms-cloudpack/bundler_v0.4.1",
7
+ "version": "0.4.1",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "author": "beachball",
12
+ "package": "@ms-cloudpack/bundler",
13
+ "comment": "Bump @ms-cloudpack/bundler-plugin-rollup to v0.2.1",
14
+ "commit": "40594c97b5b9eb23dbcd763a6ea23cca9f6452f6"
15
+ }
16
+ ]
17
+ }
18
+ },
19
+ {
20
+ "date": "Tue, 06 Sep 2022 08:17:50 GMT",
21
+ "tag": "@ms-cloudpack/bundler_v0.4.0",
22
+ "version": "0.4.0",
23
+ "comments": {
24
+ "none": [
25
+ {
26
+ "author": "dzearing@microsoft.com",
27
+ "package": "@ms-cloudpack/bundler",
28
+ "commit": "2b961ca2bb0304eec6a5ce25d49a3c66072a113f",
29
+ "comment": "Updating api-extractor."
30
+ }
31
+ ],
32
+ "minor": [
33
+ {
34
+ "author": "dzearing@microsoft.com",
35
+ "package": "@ms-cloudpack/bundler",
36
+ "commit": "d339889f81e6d86039b4cc0d164ba4ba675335bc",
37
+ "comment": "Integrating PackageDefinitions implementation."
38
+ },
39
+ {
40
+ "author": "beachball",
41
+ "package": "@ms-cloudpack/bundler",
42
+ "comment": "Bump @ms-cloudpack/bundler-plugin-esbuild to v0.3.0",
43
+ "commit": "6bfb08a58af608b2e633ae7a4b686a6eabea29ca"
44
+ },
45
+ {
46
+ "author": "beachball",
47
+ "package": "@ms-cloudpack/bundler",
48
+ "comment": "Bump @ms-cloudpack/bundler-plugin-ori to v0.4.0",
49
+ "commit": "6bfb08a58af608b2e633ae7a4b686a6eabea29ca"
50
+ },
51
+ {
52
+ "author": "beachball",
53
+ "package": "@ms-cloudpack/bundler",
54
+ "comment": "Bump @ms-cloudpack/bundler-plugin-rollup to v0.2.0",
55
+ "commit": "6bfb08a58af608b2e633ae7a4b686a6eabea29ca"
56
+ },
57
+ {
58
+ "author": "beachball",
59
+ "package": "@ms-cloudpack/bundler",
60
+ "comment": "Bump @ms-cloudpack/package-utilities to v0.10.0",
61
+ "commit": "6bfb08a58af608b2e633ae7a4b686a6eabea29ca"
62
+ }
63
+ ]
64
+ }
65
+ },
66
+ {
67
+ "date": "Sun, 04 Sep 2022 08:14:55 GMT",
68
+ "tag": "@ms-cloudpack/bundler_v0.3.11",
69
+ "version": "0.3.11",
70
+ "comments": {
71
+ "patch": [
72
+ {
73
+ "author": "beachball",
74
+ "package": "@ms-cloudpack/bundler",
75
+ "comment": "Bump @ms-cloudpack/bundler-plugin-esbuild to v0.2.9",
76
+ "commit": "33c2ca948b1ea905fa5a09f56bd443724d638fe3"
77
+ },
78
+ {
79
+ "author": "beachball",
80
+ "package": "@ms-cloudpack/bundler",
81
+ "comment": "Bump @ms-cloudpack/bundler-plugin-ori to v0.3.13",
82
+ "commit": "33c2ca948b1ea905fa5a09f56bd443724d638fe3"
83
+ },
84
+ {
85
+ "author": "beachball",
86
+ "package": "@ms-cloudpack/bundler",
87
+ "comment": "Bump @ms-cloudpack/bundler-plugin-rollup to v0.1.8",
88
+ "commit": "33c2ca948b1ea905fa5a09f56bd443724d638fe3"
89
+ },
90
+ {
91
+ "author": "beachball",
92
+ "package": "@ms-cloudpack/bundler",
93
+ "comment": "Bump @ms-cloudpack/package-utilities to v0.9.0",
94
+ "commit": "33c2ca948b1ea905fa5a09f56bd443724d638fe3"
95
+ }
96
+ ]
97
+ }
98
+ },
99
+ {
100
+ "date": "Sat, 03 Sep 2022 08:15:29 GMT",
6
101
  "tag": "@ms-cloudpack/bundler_v0.3.10",
7
102
  "version": "0.3.10",
8
103
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,43 @@
1
1
  # Change Log - @ms-cloudpack/bundler
2
2
 
3
- This log was last generated on Sat, 03 Sep 2022 08:15:01 GMT and should not be manually modified.
3
+ This log was last generated on Wed, 07 Sep 2022 08:14:12 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## 0.4.1
8
+
9
+ Wed, 07 Sep 2022 08:14:12 GMT
10
+
11
+ ### Patches
12
+
13
+ - Bump @ms-cloudpack/bundler-plugin-rollup to v0.2.1
14
+
15
+ ## 0.4.0
16
+
17
+ Tue, 06 Sep 2022 08:17:50 GMT
18
+
19
+ ### Minor changes
20
+
21
+ - Integrating PackageDefinitions implementation. (dzearing@microsoft.com)
22
+ - Bump @ms-cloudpack/bundler-plugin-esbuild to v0.3.0
23
+ - Bump @ms-cloudpack/bundler-plugin-ori to v0.4.0
24
+ - Bump @ms-cloudpack/bundler-plugin-rollup to v0.2.0
25
+ - Bump @ms-cloudpack/package-utilities to v0.10.0
26
+
27
+ ## 0.3.11
28
+
29
+ Sun, 04 Sep 2022 08:14:55 GMT
30
+
31
+ ### Patches
32
+
33
+ - Bump @ms-cloudpack/bundler-plugin-esbuild to v0.2.9
34
+ - Bump @ms-cloudpack/bundler-plugin-ori to v0.3.13
35
+ - Bump @ms-cloudpack/bundler-plugin-rollup to v0.1.8
36
+ - Bump @ms-cloudpack/package-utilities to v0.9.0
37
+
7
38
  ## 0.3.10
8
39
 
9
- Sat, 03 Sep 2022 08:15:01 GMT
40
+ Sat, 03 Sep 2022 08:15:29 GMT
10
41
 
11
42
  ### Patches
12
43
 
@@ -1,4 +1,4 @@
1
- import { resolvePackageEntries, getPackageDefinition } from '@ms-cloudpack/package-utilities';
1
+ import { resolvePackageEntries, PackageDefinitions } from '@ms-cloudpack/package-utilities';
2
2
  import path from 'path';
3
3
  const resourceExtensions = [
4
4
  '.bmp',
@@ -22,7 +22,7 @@ function isBundleableEntry(fileName) {
22
22
  return supportedExtensions.indexOf(path.extname(fileName).toLowerCase()) >= 0;
23
23
  }
24
24
  export async function getBundlerOptions(options) {
25
- const packageDefinition = await getPackageDefinition(options.packagePath);
25
+ const packageDefinition = await PackageDefinitions.getInstance().get(options.packagePath);
26
26
  if (!packageDefinition) {
27
27
  throw new Error(`Package definition (package.json) missing at "${options.packagePath}"`);
28
28
  }
@@ -1 +1 @@
1
- {"version":3,"file":"getBundlerOptions.js","sourceRoot":"","sources":["../src/getBundlerOptions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAC;AAC9F,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,MAAM,kBAAkB,GAAG;IACzB,MAAM;IACN,MAAM;IACN,OAAO;IACP,MAAM;IACN,MAAM;IACN,MAAM;IACN,MAAM;IACN,MAAM;IACN,MAAM;IACN,MAAM;IACN,OAAO;IACP,OAAO;IACP,QAAQ;CACT,CAAC;AACF,MAAM,gBAAgB,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,CAAC,CAAC;AAChF,MAAM,cAAc,GAAG,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;AAEjD,MAAM,mBAAmB,GAAG,CAAC,GAAG,kBAAkB,EAAE,GAAG,gBAAgB,EAAE,GAAG,cAAc,CAAC,CAAC;AAE5F,SAAS,iBAAiB,CAAC,QAAgB;IACzC,OAAO,mBAAmB,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,WAAW,EAAE,CAAC,IAAI,CAAC,CAAC;AAChF,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,iBAAiB,CAAC,OAA6B;IACnE,MAAM,iBAAiB,GAAG,MAAM,oBAAoB,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC;IAE1E,IAAI,CAAC,iBAAiB,EAA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,CAAC,WAAW,EAAE,CAAC,IAAI,CAAC,CAAC;AAChF,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,iBAAiB,CAAC,OAA6B;IACnE,MAAM,iBAAiB,GAAG,MAAM,kBAAkB,CAAC,WAAW,EAAE,CAAC,GAAG,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC;IAE1F,IAAI,CAAC,iBAAiB,EAAE;QACtB,MAAM,IAAI,KAAK,CAAC,iDAAiD,OAAO,CAAC,WAAW,GAAG,CAAC,CAAC;KAC1F;IAED,MAAM,OAAO,GAAG,CAAC,MAAM,qBAAqB,CAAC,iBAAiB,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,iBAAiB,CAAC,KAAK,CAAC,CAAC,CAAC;IAE7G,IAAI,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,MAAM,KAAK,CAAC,EAAE;QACrC,MAAM,IAAI,KAAK,CAAC,0BAA0B,OAAO,CAAC,WAAW,iCAAiC,CAAC,CAAC;KACjG;IAED,OAAO;QACL,GAAG,OAAO;QACV,OAAO;KACR,CAAC;AACJ,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ms-cloudpack/bundler",
3
- "version": "0.3.10",
3
+ "version": "0.4.1",
4
4
  "description": "An abstraction to bundle source code.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -13,10 +13,10 @@
13
13
  }
14
14
  },
15
15
  "dependencies": {
16
- "@ms-cloudpack/bundler-plugin-esbuild": "^0.2.8",
17
- "@ms-cloudpack/bundler-plugin-ori": "^0.3.12",
18
- "@ms-cloudpack/bundler-plugin-rollup": "^0.1.7",
19
- "@ms-cloudpack/package-utilities": "^0.8.1"
16
+ "@ms-cloudpack/bundler-plugin-esbuild": "^0.3.0",
17
+ "@ms-cloudpack/bundler-plugin-ori": "^0.4.0",
18
+ "@ms-cloudpack/bundler-plugin-rollup": "^0.2.1",
19
+ "@ms-cloudpack/package-utilities": "^0.10.0"
20
20
  },
21
21
  "devDependencies": {
22
22
  "@ms-cloudpack/scripts": "*",