Skip to content

The complete open source platform to run your entire marketplace. Storefront, vendor panel, admin console, and integrations in one enterprise-grade platform you own.

fix: add repository field to all packages for npm provenance

vholik75c5d176d75c
diff --git a/packages/cli/package.json b/packages/cli/package.json
index 1842986dd..e62e8173e 100644
--- a/packages/cli/package.json
+++ b/packages/cli/package.json
@@ -1,6 +1,11 @@
{
"name": "@mercurjs/cli",
"version": "2.0.0-canary.0",
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/mercurjs/mercur",
+ "directory": "packages/cli"
+ },
"type": "module",
"description": "Mercur CLI",
"author": "MercurJS (https://github.com/mercurjs)",
diff --git a/packages/client/package.json b/packages/client/package.json
index bea38cdb1..612564cf3 100644
--- a/packages/client/package.json
+++ b/packages/client/package.json
@@ -1,6 +1,11 @@
{
"name": "@mercurjs/client",
"version": "2.0.0-canary.0",
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/mercurjs/mercur",
+ "directory": "packages/client"
+ },
"type": "commonjs",
"author": "MercurJS (https://github.com/mercurjs)",
"license": "MIT",
diff --git a/packages/core-plugin/package.json b/packages/core-plugin/package.json
index e983ab5f9..3855c46f9 100644
--- a/packages/core-plugin/package.json
+++ b/packages/core-plugin/package.json
@@ -1,6 +1,11 @@
{
"name": "@mercurjs/core-plugin",
"version": "2.0.0-canary.0",
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/mercurjs/mercur",
+ "directory": "packages/core-plugin"
+ },
"description": "Core plugin for MercurJS.",
"author": "Medusa (https://medusajs.com)",
"license": "MIT",
diff --git a/packages/dashboard-sdk/package.json b/packages/dashboard-sdk/package.json
index fa968a230..2c11ef9d4 100644
--- a/packages/dashboard-sdk/package.json
+++ b/packages/dashboard-sdk/package.json
@@ -1,6 +1,11 @@
{
"name": "@mercurjs/dashboard-sdk",
"version": "2.0.0-canary.0",
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/mercurjs/mercur",
+ "directory": "packages/dashboard-sdk"
+ },
"type": "module",
"main": "./dist/index.cjs",
"types": "./dist/index.d.ts",
diff --git a/packages/dashboard-shared/package.json b/packages/dashboard-shared/package.json
index e2dc56a9f..23e9e8fd8 100644
--- a/packages/dashboard-shared/package.json
+++ b/packages/dashboard-shared/package.json
@@ -1,6 +1,11 @@
{
"name": "@mercurjs/dashboard-shared",
"version": "2.0.0-canary.0",
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/mercurjs/mercur",
+ "directory": "packages/dashboard-shared"
+ },
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
diff --git a/packages/types/package.json b/packages/types/package.json
index d86ce61d0..adf31ac46 100644
--- a/packages/types/package.json
+++ b/packages/types/package.json
@@ -1,6 +1,11 @@
{
"name": "@mercurjs/types",
"version": "2.0.0-canary.0",
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/mercurjs/mercur",
+ "directory": "packages/types"
+ },
"description": "Type definitions for Mercur",
"author": "Mercur",
"license": "MIT",
diff --git a/packages/vendor/package.json b/packages/vendor/package.json
index 43dcc8bdd..ec33f5aa1 100644
--- a/packages/vendor/package.json
+++ b/packages/vendor/package.json
@@ -1,6 +1,11 @@
{
"name": "@mercurjs/vendor",
"version": "2.0.0-canary.0",
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/mercurjs/mercur",
+ "directory": "packages/vendor"
+ },
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",