Skip to content

Commit bd43eeb

Browse files
msftenhanceprovenancemsftenanceprovenance
authored andcommitted
Update package.json to include the repository (#1574)
NOTE: This is not a bot. This change was made by and comments will be reviewed by humans. We are using this service account to be able to track the overall progress. With the rise in supply chain attacks and OSS dependencies being used as a attack vector, Microsoft is working with our ecosystem partners, such as the Linux Foundation's OpenSSF, to enable OSS consumers to track packages back to their public sources. We've identified that the following packages published to NPM do not report where sources can be found, typically accomplished by including a link to your GitHub repository in your package.json REPOSITORY field. This PR was created to add this value, ensuring future releases will include this provenance information. If you do not want us to create such PRs against your GitHub repositories, or wish to provide any other feedback, please comment on this PR. Published NPM packages with repository information: • inferno-animation • inferno-clone-vnode • inferno-compat • inferno-create-class • inferno-create-element • inferno-hydrate • inferno-utils Co-authored-by: msftenanceprovenance <msftenanceprovenance@microsoft.com> (cherry picked from commit 528ab5e)
1 parent 73b9444 commit bd43eeb

18 files changed

Lines changed: 90 additions & 12 deletions

File tree

packages/inferno-clone-vnode/package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@
88
"email": "sampo.kivisto@live.fi",
99
"url": "https://github.com/havunen"
1010
},
11+
"repository": {
12+
"type": "git",
13+
"url": "https://github.com/infernojs/inferno.git",
14+
"directory": "packages/inferno-clone-vnode"
15+
},
1116
"bugs": {
1217
"url": "https://github.com/infernojs/inferno/issues"
1318
},

packages/inferno-compat/package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@
77
"name": "Dominic Gannaway",
88
"email": "dg@domgan.com"
99
},
10+
"repository": {
11+
"type": "git",
12+
"url": "https://github.com/infernojs/inferno.git",
13+
"directory": "packages/inferno-compat"
14+
},
1015
"bugs": {
1116
"url": "https://github.com/infernojs/inferno/issues"
1217
},

packages/inferno-component/package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,11 @@
2828
"module": "dist/index.esm.js",
2929
"dev:module": "dist/index.dev.esm.js",
3030
"typings": "dist/index.d.ts",
31-
"repository": "https://github.com/infernojs/inferno",
31+
"repository": {
32+
"type": "git",
33+
"url": "https://github.com/infernojs/inferno.git",
34+
"directory": "packages/inferno-component"
35+
},
3236
"dependencies": {
3337
"inferno": "7.4.9"
3438
}

packages/inferno-create-class/package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@
77
"name": "Dominic Gannaway",
88
"email": "dg@domgan.com"
99
},
10+
"repository": {
11+
"type": "git",
12+
"url": "https://github.com/infernojs/inferno.git",
13+
"directory": "packages/inferno-create-class"
14+
},
1015
"bugs": {
1116
"url": "https://github.com/infernojs/inferno/issues"
1217
},

packages/inferno-create-element/package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@
77
"name": "Dominic Gannaway",
88
"email": "dg@domgan.com"
99
},
10+
"repository": {
11+
"type": "git",
12+
"url": "https://github.com/infernojs/inferno.git",
13+
"directory": "packages/inferno-create-element"
14+
},
1015
"bugs": {
1116
"url": "https://github.com/infernojs/inferno/issues"
1217
},

packages/inferno-devtools/package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,11 @@
2929
"interfaces",
3030
"user interfaces"
3131
],
32-
"repository": "https://github.com/infernojs/inferno",
32+
"repository": {
33+
"type": "git",
34+
"url": "https://github.com/infernojs/inferno.git",
35+
"directory": "packages/inferno-devtools"
36+
},
3337
"dependencies": {
3438
"inferno": "7.4.9",
3539
"inferno-extras": "7.4.9"

packages/inferno-extras/package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,11 @@
3232
"module": "dist/index.esm.js",
3333
"dev:module": "dist/index.dev.esm.js",
3434
"typings": "dist/index.d.ts",
35-
"repository": "https://github.com/infernojs/inferno",
35+
"repository": {
36+
"type": "git",
37+
"url": "https://github.com/infernojs/inferno.git",
38+
"directory": "packages/inferno-extras"
39+
},
3640
"dependencies": {
3741
"inferno": "7.4.9"
3842
},

packages/inferno-hydrate/package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@
88
"email": "sampo.kivisto@live.fi",
99
"url": "https://github.com/havunen"
1010
},
11+
"repository": {
12+
"type": "git",
13+
"url": "https://github.com/infernojs/inferno.git",
14+
"directory": "packages/inferno-hydrate"
15+
},
1116
"bugs": {
1217
"url": "https://github.com/infernojs/inferno/issues"
1318
},

packages/inferno-hyperscript/package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,11 @@
2222
"inferno",
2323
"hyperscript"
2424
],
25-
"repository": "https://github.com/infernojs/inferno",
25+
"repository": {
26+
"type": "git",
27+
"url": "https://github.com/infernojs/inferno.git",
28+
"directory": "packages/inferno-hyperscript"
29+
},
2630
"dependencies": {
2731
"inferno": "7.4.9"
2832
},

packages/inferno-mobx/package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,11 @@
3030
"mobservable",
3131
"mobx"
3232
],
33-
"repository": "https://github.com/infernojs/inferno",
33+
"repository": {
34+
"type": "git",
35+
"url": "https://github.com/infernojs/inferno.git",
36+
"directory": "packages/inferno-mobx"
37+
},
3438
"peerDependencies": {
3539
"mobx": "^4"
3640
},

0 commit comments

Comments
 (0)