Skip to content

Commit a57098d

Browse files
committed
chore: add license metadata to bridge components
Add license metadata to bridge components to allow automated discovery of license information by software-supply chain tools. Without this metadata, these components appear as unlicensed to automated tools, which I don't believe is the intent. Closes: #2977
1 parent f779188 commit a57098d

File tree

5 files changed

+30
-0
lines changed

5 files changed

+30
-0
lines changed

packages/bridge/bridge-react-webpack-plugin/package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@
55
"access": "public"
66
},
77
"author": "zhouxiao <codingzx@gmail.com>",
8+
"license": "MIT",
9+
"repository": {
10+
"type": "git",
11+
"url": "https://github.com/module-federation/core",
12+
"directory": "packages/bridge-react-webpack-plugin"
13+
},
814
"main": "./dist/index.cjs.js",
915
"module": "./dist/index.es.js",
1016
"types": "./dist/index.cjs.d.ts",

packages/bridge/bridge-react/package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@
55
"access": "public"
66
},
77
"author": "zhouxiao <codingzx@gmail.com>",
8+
"license": "MIT",
9+
"repository": {
10+
"type": "git",
11+
"url": "https://github.com/module-federation/core",
12+
"directory": "packages/bridge-react"
13+
},
814
"type": "module",
915
"main": "./dist/index.cjs.js",
1016
"module": "./dist/index.es.js",

packages/bridge/bridge-shared/package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@
55
"access": "public"
66
},
77
"author": "zhouxiao <codingzx@gmail.com>",
8+
"license": "MIT",
9+
"repository": {
10+
"type": "git",
11+
"url": "https://github.com/module-federation/core",
12+
"directory": "packages/bridge-shared"
13+
},
814
"type": "module",
915
"main": "./dist/index.umd.js",
1016
"module": "./dist/index.es.js",

packages/bridge/vue3-bridge/package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
{
22
"name": "@module-federation/bridge-vue3",
33
"author": "zhouxiao <codingzx@gmail.com>",
4+
"license": "MIT",
5+
"repository": {
6+
"type": "git",
7+
"url": "https://github.com/module-federation/core",
8+
"directory": "packages/vue3-bridge"
9+
},
410
"version": "0.6.15",
511
"publishConfig": {
612
"access": "public"

packages/chrome-devtools/package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
{
22
"name": "@module-federation/devtools",
33
"version": "0.6.15",
4+
"license": "MIT",
5+
"repository": {
6+
"type": "git",
7+
"url": "https://github.com/module-federation/core",
8+
"directory": "packages/chrome-devtools"
9+
},
410
"scripts": {
511
"build:storybook": "storybook build",
612
"storybook": "storybook dev -p 6006",

0 commit comments

Comments
 (0)