@ms-cloudpack/bundler 0.4.7 → 0.4.9
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 +73 -1
- package/CHANGELOG.md +25 -2
- package/lib/getBundlerOptions.js +2 -6
- package/lib/getBundlerOptions.js.map +1 -1
- package/package.json +5 -5
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,79 @@
|
|
|
2
2
|
"name": "@ms-cloudpack/bundler",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Wed, 05 Oct 2022 19:39:05 GMT",
|
|
6
|
+
"tag": "@ms-cloudpack/bundler_v0.4.9",
|
|
7
|
+
"version": "0.4.9",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"author": "dzearing@microsoft.com",
|
|
12
|
+
"package": "@ms-cloudpack/bundler",
|
|
13
|
+
"commit": "a5958df7dbb6455200dee17b7201273b7bb8155a",
|
|
14
|
+
"comment": "Consuming new api signature from resolvePackageEntries."
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"author": "beachball",
|
|
18
|
+
"package": "@ms-cloudpack/bundler",
|
|
19
|
+
"comment": "Bump @ms-cloudpack/bundler-plugin-esbuild to v0.3.8",
|
|
20
|
+
"commit": "a5958df7dbb6455200dee17b7201273b7bb8155a"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"author": "beachball",
|
|
24
|
+
"package": "@ms-cloudpack/bundler",
|
|
25
|
+
"comment": "Bump @ms-cloudpack/bundler-plugin-ori to v0.5.6",
|
|
26
|
+
"commit": "a5958df7dbb6455200dee17b7201273b7bb8155a"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"author": "beachball",
|
|
30
|
+
"package": "@ms-cloudpack/bundler",
|
|
31
|
+
"comment": "Bump @ms-cloudpack/bundler-plugin-rollup to v0.2.9",
|
|
32
|
+
"commit": "a5958df7dbb6455200dee17b7201273b7bb8155a"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"author": "beachball",
|
|
36
|
+
"package": "@ms-cloudpack/bundler",
|
|
37
|
+
"comment": "Bump @ms-cloudpack/package-utilities to v0.14.0",
|
|
38
|
+
"commit": "a5958df7dbb6455200dee17b7201273b7bb8155a"
|
|
39
|
+
}
|
|
40
|
+
]
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"date": "Thu, 29 Sep 2022 17:46:30 GMT",
|
|
45
|
+
"tag": "@ms-cloudpack/bundler_v0.4.8",
|
|
46
|
+
"version": "0.4.8",
|
|
47
|
+
"comments": {
|
|
48
|
+
"patch": [
|
|
49
|
+
{
|
|
50
|
+
"author": "beachball",
|
|
51
|
+
"package": "@ms-cloudpack/bundler",
|
|
52
|
+
"comment": "Bump @ms-cloudpack/bundler-plugin-esbuild to v0.3.7",
|
|
53
|
+
"commit": "c80e6d3f2664fa15c9a8070b944ba660f206974f"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"author": "beachball",
|
|
57
|
+
"package": "@ms-cloudpack/bundler",
|
|
58
|
+
"comment": "Bump @ms-cloudpack/bundler-plugin-ori to v0.5.5",
|
|
59
|
+
"commit": "c80e6d3f2664fa15c9a8070b944ba660f206974f"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"author": "beachball",
|
|
63
|
+
"package": "@ms-cloudpack/bundler",
|
|
64
|
+
"comment": "Bump @ms-cloudpack/bundler-plugin-rollup to v0.2.8",
|
|
65
|
+
"commit": "c80e6d3f2664fa15c9a8070b944ba660f206974f"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"author": "beachball",
|
|
69
|
+
"package": "@ms-cloudpack/bundler",
|
|
70
|
+
"comment": "Bump @ms-cloudpack/package-utilities to v0.13.1",
|
|
71
|
+
"commit": "c80e6d3f2664fa15c9a8070b944ba660f206974f"
|
|
72
|
+
}
|
|
73
|
+
]
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"date": "Thu, 29 Sep 2022 08:13:15 GMT",
|
|
6
78
|
"tag": "@ms-cloudpack/bundler_v0.4.7",
|
|
7
79
|
"version": "0.4.7",
|
|
8
80
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,35 @@
|
|
|
1
1
|
# Change Log - @ms-cloudpack/bundler
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Wed, 05 Oct 2022 19:39:05 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 0.4.9
|
|
8
|
+
|
|
9
|
+
Wed, 05 Oct 2022 19:39:05 GMT
|
|
10
|
+
|
|
11
|
+
### Patches
|
|
12
|
+
|
|
13
|
+
- Consuming new api signature from resolvePackageEntries. (dzearing@microsoft.com)
|
|
14
|
+
- Bump @ms-cloudpack/bundler-plugin-esbuild to v0.3.8
|
|
15
|
+
- Bump @ms-cloudpack/bundler-plugin-ori to v0.5.6
|
|
16
|
+
- Bump @ms-cloudpack/bundler-plugin-rollup to v0.2.9
|
|
17
|
+
- Bump @ms-cloudpack/package-utilities to v0.14.0
|
|
18
|
+
|
|
19
|
+
## 0.4.8
|
|
20
|
+
|
|
21
|
+
Thu, 29 Sep 2022 17:46:30 GMT
|
|
22
|
+
|
|
23
|
+
### Patches
|
|
24
|
+
|
|
25
|
+
- Bump @ms-cloudpack/bundler-plugin-esbuild to v0.3.7
|
|
26
|
+
- Bump @ms-cloudpack/bundler-plugin-ori to v0.5.5
|
|
27
|
+
- Bump @ms-cloudpack/bundler-plugin-rollup to v0.2.8
|
|
28
|
+
- Bump @ms-cloudpack/package-utilities to v0.13.1
|
|
29
|
+
|
|
7
30
|
## 0.4.7
|
|
8
31
|
|
|
9
|
-
Thu, 29 Sep 2022 08:
|
|
32
|
+
Thu, 29 Sep 2022 08:13:15 GMT
|
|
10
33
|
|
|
11
34
|
### Patches
|
|
12
35
|
|
package/lib/getBundlerOptions.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { resolvePackageEntries
|
|
1
|
+
import { resolvePackageEntries } from '@ms-cloudpack/package-utilities';
|
|
2
2
|
import path from 'path';
|
|
3
3
|
const resourceExtensions = [
|
|
4
4
|
'.bmp',
|
|
@@ -22,11 +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
|
|
26
|
-
if (!packageDefinition) {
|
|
27
|
-
throw new Error(`Package definition (package.json) missing at "${options.packagePath}"`);
|
|
28
|
-
}
|
|
29
|
-
const entries = resolvePackageEntries(packageDefinition).filter((entry) => isBundleableEntry(entry));
|
|
25
|
+
const entries = (await resolvePackageEntries(options.packagePath)).filter((entry) => isBundleableEntry(entry));
|
|
30
26
|
if (Object.keys(entries).length === 0) {
|
|
31
27
|
throw new Error(`Package definition at "${options.packagePath}/package.json" missing entries.`);
|
|
32
28
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getBundlerOptions.js","sourceRoot":"","sources":["../src/getBundlerOptions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,qBAAqB,EAAE,
|
|
1
|
+
{"version":3,"file":"getBundlerOptions.js","sourceRoot":"","sources":["../src/getBundlerOptions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AACxE,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,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC;AAC1G,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,OAAO,GAAG,CAAC,MAAM,qBAAqB,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,iBAAiB,CAAC,KAAK,CAAC,CAAC,CAAC;IAE/G,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.4.
|
|
3
|
+
"version": "0.4.9",
|
|
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.3.
|
|
17
|
-
"@ms-cloudpack/bundler-plugin-ori": "^0.5.
|
|
18
|
-
"@ms-cloudpack/bundler-plugin-rollup": "^0.2.
|
|
19
|
-
"@ms-cloudpack/package-utilities": "^0.
|
|
16
|
+
"@ms-cloudpack/bundler-plugin-esbuild": "^0.3.8",
|
|
17
|
+
"@ms-cloudpack/bundler-plugin-ori": "^0.5.6",
|
|
18
|
+
"@ms-cloudpack/bundler-plugin-rollup": "^0.2.9",
|
|
19
|
+
"@ms-cloudpack/package-utilities": "^0.14.0"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@ms-cloudpack/scripts": "*",
|