@modern-js/plugin-module-banner 2.15.0 → 2.16.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/CHANGELOG.md +18 -0
- package/dist/cjs/index.js +8 -24
- package/dist/esm/index.js +1 -4
- package/package.json +11 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @modern-js/plugin-module-banner
|
|
2
2
|
|
|
3
|
+
## 2.16.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 4e876ab: chore: package.json include the monorepo-relative directory
|
|
8
|
+
|
|
9
|
+
chore: 在 package.json 中声明 monorepo 的子路径
|
|
10
|
+
|
|
11
|
+
- b06f571: chore: update libuild and libuild plugins version to 0.12.0
|
|
12
|
+
chore: 更新 libuild 和 libuild 插件的版本到 0.12.0
|
|
13
|
+
- Updated dependencies [b06f571]
|
|
14
|
+
- Updated dependencies [acc0a00]
|
|
15
|
+
- Updated dependencies [fd4a8a6]
|
|
16
|
+
- Updated dependencies [4e876ab]
|
|
17
|
+
- Updated dependencies [355d36e]
|
|
18
|
+
- Updated dependencies [b06f571]
|
|
19
|
+
- @modern-js/module-tools@2.16.0
|
|
20
|
+
|
|
3
21
|
## 2.15.0
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
package/dist/cjs/index.js
CHANGED
|
@@ -1,26 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
-
};
|
|
9
|
-
var __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
-
}
|
|
15
|
-
return to;
|
|
16
|
-
};
|
|
17
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
-
var src_exports = {};
|
|
19
|
-
__export(src_exports, {
|
|
20
|
-
default: () => src_default
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3
|
+
value: true
|
|
21
4
|
});
|
|
22
|
-
|
|
23
|
-
|
|
5
|
+
Object.defineProperty(exports, "default", {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: () => _default
|
|
8
|
+
});
|
|
9
|
+
const _default = (options) => ({
|
|
24
10
|
name: "@modern-js/plugin-module-banner",
|
|
25
11
|
setup: () => ({
|
|
26
12
|
modifyLibuild(config, next) {
|
|
@@ -40,5 +26,3 @@ var src_default = (options) => ({
|
|
|
40
26
|
}
|
|
41
27
|
})
|
|
42
28
|
});
|
|
43
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
44
|
-
0 && (module.exports = {});
|
package/dist/esm/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
export default (options) => ({
|
|
2
2
|
name: "@modern-js/plugin-module-banner",
|
|
3
3
|
setup: () => ({
|
|
4
4
|
modifyLibuild(config, next) {
|
|
@@ -18,6 +18,3 @@ var src_default = (options) => ({
|
|
|
18
18
|
}
|
|
19
19
|
})
|
|
20
20
|
});
|
|
21
|
-
export {
|
|
22
|
-
src_default as default
|
|
23
|
-
};
|
package/package.json
CHANGED
|
@@ -3,7 +3,11 @@
|
|
|
3
3
|
"description": "The banner plugin of Modern.js Module Tools.",
|
|
4
4
|
"homepage": "https://modernjs.dev/module-tools",
|
|
5
5
|
"bugs": "https://github.com/modern-js-dev/modern.js/issues",
|
|
6
|
-
"repository":
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "https://github.com/web-infra-dev/modern.js",
|
|
9
|
+
"directory": "packages/module/plugin-module-banner"
|
|
10
|
+
},
|
|
7
11
|
"license": "MIT",
|
|
8
12
|
"keywords": [
|
|
9
13
|
"react",
|
|
@@ -11,7 +15,7 @@
|
|
|
11
15
|
"modern",
|
|
12
16
|
"modern.js"
|
|
13
17
|
],
|
|
14
|
-
"version": "2.
|
|
18
|
+
"version": "2.16.0",
|
|
15
19
|
"types": "./dist/types/index.d.ts",
|
|
16
20
|
"main": "./dist/cjs/index.js",
|
|
17
21
|
"exports": {
|
|
@@ -29,13 +33,13 @@
|
|
|
29
33
|
"@types/node": "^14",
|
|
30
34
|
"typescript": "^4",
|
|
31
35
|
"jest": "^29",
|
|
32
|
-
"@modern-js/libuild": "~0.
|
|
33
|
-
"@scripts/build": "2.
|
|
34
|
-
"@scripts/jest-config": "2.
|
|
35
|
-
"@modern-js/module-tools": "2.
|
|
36
|
+
"@modern-js/libuild": "~0.12.0",
|
|
37
|
+
"@scripts/build": "2.16.0",
|
|
38
|
+
"@scripts/jest-config": "2.16.0",
|
|
39
|
+
"@modern-js/module-tools": "2.16.0"
|
|
36
40
|
},
|
|
37
41
|
"peerDependencies": {
|
|
38
|
-
"@modern-js/module-tools": "^2.
|
|
42
|
+
"@modern-js/module-tools": "^2.16.0"
|
|
39
43
|
},
|
|
40
44
|
"peerDependenciesMeta": {
|
|
41
45
|
"@modern-js/module-tools": {
|