Skip to content

Commit

Permalink
chore: add repository data to package.json files in a consistent way
Browse files Browse the repository at this point in the history
  • Loading branch information
vergilfromadyen committed Nov 26, 2024
1 parent a7c2f67 commit 61bd63b
Show file tree
Hide file tree
Showing 24 changed files with 120 additions and 7 deletions.
6 changes: 5 additions & 1 deletion packages/assemble-release-plan/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,11 @@
"release": "yarn build && changeset publish"
},
"license": "MIT",
"repository": "https://github.com/changesets/changesets/tree/main/packages/assemble-release-plan",
"repository": {
"type": "git",
"url": "https://github.com/module-federation/core/",
"directory": "packages/assemble-release-plan"
},
"dependencies": {
"@changesets/errors": "^0.2.0",
"@changesets/get-dependents-graph": "^2.1.2",
Expand Down
6 changes: 5 additions & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@
"publishConfig": {
"access": "public"
},
"repository": "https://github.com/module-federation/core/tree/main/packages/core",
"repository": {
"type": "git",
"url": "https://github.com/module-federation/core/",
"directory": "tree/main/packages/core"
},
"peerDependencies": {
"webpack": "^5.40.0"
}
Expand Down
5 changes: 5 additions & 0 deletions packages/data-prefetch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
"author": "nieyan <[email protected]>",
"homepage": "https://github.com/module-federation/core",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/module-federation/core/",
"directory": "packages/data-prefetch"
},
"scripts": {
"test": "jest"
},
Expand Down
5 changes: 5 additions & 0 deletions packages/dts-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/module-federation/core/",
"directory": "packages/dts-plugin"
},
"publishConfig": {
"access": "public"
},
Expand Down
6 changes: 5 additions & 1 deletion packages/enhanced/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@
"version": "0.7.7",
"main": "./dist/src/index.js",
"types": "./dist/src/index.d.ts",
"repository": "https://github.com/module-federation/core/tree/main/packages/enhanced",
"repository": {
"type": "git",
"url": "https://github.com/module-federation/core/",
"directory": "packages/enhanced"
},
"files": [
"dist/",
"README.md"
Expand Down
5 changes: 5 additions & 0 deletions packages/error-codes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@
"sideEffects": false,
"version": "0.7.7",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/module-federation/core/",
"directory": "packages/error-codes"
},
"keywords": [
"Module Federation",
"error codes"
Expand Down
5 changes: 5 additions & 0 deletions packages/esbuild/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@
"module": "./dist/index.esm.js",
"types": "./dist/index.cjs.d.ts",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/module-federation/core/",
"directory": "packages/esbuild"
},
"publishConfig": {
"access": "public"
},
Expand Down
5 changes: 5 additions & 0 deletions packages/managers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@
"access": "public"
},
"author": "hanric <[email protected]>",
"repository": {
"type": "git",
"url": "https://github.com/module-federation/core/",
"directory": "packages/managers"
},
"sideEffects": false,
"main": "./dist/index.cjs.js",
"module": "./dist/index.esm.js",
Expand Down
5 changes: 5 additions & 0 deletions packages/manifest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
"access": "public"
},
"author": "hanric <[email protected]>",
"repository": {
"type": "git",
"url": "https://github.com/module-federation/core/",
"directory": "packages/manifest"
},
"sideEffects": false,
"main": "./dist/index.cjs.js",
"module": "./dist/index.esm.js",
Expand Down
5 changes: 5 additions & 0 deletions packages/modernjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@
"scripts": {
"build": "modern build"
},
"repository": {
"type": "git",
"url": "https://github.com/module-federation/core/",
"directory": "packages/repository"
},
"exports": {
".": {
"import": "./dist/esm/cli/index.js",
Expand Down
5 changes: 5 additions & 0 deletions packages/native-federation-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@
"federated tests"
],
"author": "Matteo Pietro Dazzi <[email protected]> (https://github.com/ilteoood)",
"repository": {
"type": "git",
"url": "https://github.com/module-federation/core/",
"directory": "packages/native-federation-tests"
},
"license": "MIT",
"dependencies": {
"adm-zip": "^0.5.14",
Expand Down
5 changes: 5 additions & 0 deletions packages/native-federation-typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"author": "Matteo Pietro Dazzi <[email protected]> (https://github.com/ilteoood)",
"repository": {
"type": "git",
"url": "https://github.com/module-federation/core/",
"directory": "packages/native-federation-typescript"
},
"license": "MIT",
"dependencies": {
"adm-zip": "^0.5.14",
Expand Down
6 changes: 5 additions & 1 deletion packages/nextjs-mf/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@
"types": "dist/src/index.d.ts",
"type": "commonjs",
"description": "Module Federation helper for NextJS",
"repository": "https://github.com/module-federation/core/tree/main/packages/nextjs-mf",
"repository": {
"type": "git",
"url": "https://github.com/module-federation/core/",
"directory": "packages/nextjs-mf"
},
"author": "Zack Jackson <[email protected]>",
"contributors": [
"Pavel Chertorogov, nodkz <[email protected]> (www.ps.kz)"
Expand Down
6 changes: 5 additions & 1 deletion packages/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,11 @@
],
"types": "src/index.d.ts",
"description": "Module Federation helper for Node",
"repository": "https://github.com/module-federation/core/tree/main/packages/node",
"repository": {
"type": "git",
"url": "https://github.com/module-federation/core/",
"directory": "packages/node"
},
"author": "Zack Jackson <[email protected]>",
"license": "MIT",
"dependencies": {
Expand Down
5 changes: 5 additions & 0 deletions packages/retry-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@
"module": "./dist/esm/index.js",
"types": "./dist/index.d.ts",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/module-federation/core/",
"directory": "packages/retry-plugin"
},
"publishConfig": {
"access": "public"
},
Expand Down
5 changes: 5 additions & 0 deletions packages/rspack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "https://github.com/module-federation/core/",
"directory": "packages/rspack"
},
"author": "hanric <[email protected]>",
"sideEffects": false,
"main": "./dist/index.cjs.js",
Expand Down
5 changes: 5 additions & 0 deletions packages/runtime-tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@
"module": "./dist/index.esm.mjs",
"types": "./dist/index.cjs.d.ts",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/module-federation/core/",
"directory": "packages/runtime-tools"
},
"publishConfig": {
"access": "public"
},
Expand Down
5 changes: 5 additions & 0 deletions packages/runtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "https://github.com/module-federation/core/",
"directory": "packages/runtime"
},
"files": [
"dist/",
"README.md"
Expand Down
5 changes: 5 additions & 0 deletions packages/sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
"dist/",
"README.md"
],
"repository": {
"type": "git",
"url": "https://github.com/module-federation/core/",
"directory": "packages/sdk"
},
"publishConfig": {
"access": "public"
},
Expand Down
6 changes: 5 additions & 1 deletion packages/storybook-addon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@
"version": "3.0.10",
"description": "Storybook addon to consume remote module federated apps/components",
"license": "MIT",
"repository": "https://github.com/module-federation/core/tree/main/packages/storybook-addon",
"repository": {
"type": "git",
"url": "https://github.com/module-federation/core/",
"directory": "packages/storybook-addon"
},
"publishConfig": {
"access": "public"
},
Expand Down
5 changes: 5 additions & 0 deletions packages/third-party-dts-extractor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
"dist/",
"README.md"
],
"repository": {
"type": "git",
"url": "https://github.com/module-federation/core/",
"directory": "packages/third-party-dts-extractor"
},
"publishConfig": {
"access": "public"
},
Expand Down
5 changes: 5 additions & 0 deletions packages/typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@
"Zack Jackson <[email protected]> (https://github.com/ScriptedAlchemy)",
"Pavan Divi <[email protected]> (https://github.com/pavandv)"
],
"repository": {
"type": "git",
"url": "https://github.com/module-federation/core/",
"directory": "packages/typescript"
},
"scripts": {
"build": "tsc"
},
Expand Down
6 changes: 5 additions & 1 deletion packages/utilities/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@
"dist/",
"README.md"
],
"repository": "https://github.com/module-federation/core/tree/main/packages/utilities",
"repository": {
"type": "git",
"url": "https://github.com/module-federation/core/",
"directory": "packages/utilities"
},
"devDependencies": {
"react": "18.3.1"
},
Expand Down
5 changes: 5 additions & 0 deletions packages/webpack-bundler-runtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "https://github.com/module-federation/core/",
"directory": "packages/webpack-bundler-runtime"
},
"author": "zhanghang <[email protected]>",
"main": "./dist/index.cjs.js",
"module": "./dist/index.esm.mjs",
Expand Down

0 comments on commit 61bd63b

Please sign in to comment.