From ee4ba6ccbeea068f6469635cfcbdb6e6e82ad3d8 Mon Sep 17 00:00:00 2001 From: Nathan Rajlich Date: Thu, 6 Apr 2023 15:33:55 -0700 Subject: [PATCH] [all] Use correct "license" field in `package.json` (#9754) Follow-up to #9696. Ensures that all packages in this repository have the correct "license" field in their respective `package.json` files set to "Apache-2.0", to match the `LICENSE` file at the root of the repository. The `LICENSE` file the authoritative source, so the "MIT" value was incorrect. This change corrects the previous values and is not considered a relicensing. --- packages/build-utils/package.json | 2 +- packages/client/package.json | 2 +- packages/edge/package.json | 2 +- packages/error-utils/package.json | 2 +- packages/gatsby-plugin-vercel-analytics/package.json | 2 +- packages/go/package.json | 2 +- packages/hydrogen/package.json | 2 +- packages/next/package.json | 2 +- packages/node-bridge/package.json | 2 +- packages/node/bench/package.json | 3 ++- packages/node/package.json | 2 +- packages/python/package.json | 2 +- packages/redwood/package.json | 2 +- packages/remix-entry-server/package.json | 2 +- packages/remix/package.json | 2 +- packages/routing-utils/package.json | 2 +- packages/ruby/package.json | 2 +- packages/static-build/package.json | 2 +- packages/static-config/package.json | 2 +- 19 files changed, 20 insertions(+), 19 deletions(-) diff --git a/packages/build-utils/package.json b/packages/build-utils/package.json index bcaf32fc2..38ab784cf 100644 --- a/packages/build-utils/package.json +++ b/packages/build-utils/package.json @@ -1,7 +1,7 @@ { "name": "@vercel/build-utils", "version": "6.7.0", - "license": "MIT", + "license": "Apache-2.0", "main": "./dist/index.js", "types": "./dist/index.d.js", "homepage": "https://github.com/vercel/vercel/blob/main/DEVELOPING_A_RUNTIME.md", diff --git a/packages/client/package.json b/packages/client/package.json index e831d480b..c4d2dabae 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -4,7 +4,7 @@ "main": "dist/index.js", "typings": "dist/index.d.ts", "homepage": "https://vercel.com", - "license": "MIT", + "license": "Apache-2.0", "files": [ "dist" ], diff --git a/packages/edge/package.json b/packages/edge/package.json index a85182e92..9826bd989 100644 --- a/packages/edge/package.json +++ b/packages/edge/package.json @@ -1,7 +1,7 @@ { "name": "@vercel/edge", "version": "0.3.1", - "license": "MIT", + "license": "Apache-2.0", "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", diff --git a/packages/error-utils/package.json b/packages/error-utils/package.json index 6c9e56850..536651e31 100644 --- a/packages/error-utils/package.json +++ b/packages/error-utils/package.json @@ -14,7 +14,7 @@ "test": "jest --coverage --env node --verbose", "test-unit": "pnpm test" }, - "license": "MIT", + "license": "Apache-2.0", "devDependencies": { "@types/jest": "29.2.1", "@types/node": "14.18.33", diff --git a/packages/gatsby-plugin-vercel-analytics/package.json b/packages/gatsby-plugin-vercel-analytics/package.json index 9bece361d..ec6ab88b8 100644 --- a/packages/gatsby-plugin-vercel-analytics/package.json +++ b/packages/gatsby-plugin-vercel-analytics/package.json @@ -31,7 +31,7 @@ "lcp", "ttfb" ], - "license": "MIT", + "license": "Apache-2.0", "devDependencies": { "@babel/cli": "7.20.7", "@babel/core": "7.5.0" diff --git a/packages/go/package.json b/packages/go/package.json index 9401a9a99..bbe839354 100644 --- a/packages/go/package.json +++ b/packages/go/package.json @@ -1,7 +1,7 @@ { "name": "@vercel/go", "version": "2.4.3", - "license": "MIT", + "license": "Apache-2.0", "main": "./dist/index", "homepage": "https://vercel.com/docs/runtimes#official-runtimes/go", "repository": { diff --git a/packages/hydrogen/package.json b/packages/hydrogen/package.json index 227586c5e..37845a3da 100644 --- a/packages/hydrogen/package.json +++ b/packages/hydrogen/package.json @@ -1,7 +1,7 @@ { "name": "@vercel/hydrogen", "version": "0.0.61", - "license": "MIT", + "license": "Apache-2.0", "main": "./dist/index.js", "homepage": "https://vercel.com/docs", "repository": { diff --git a/packages/next/package.json b/packages/next/package.json index d57ca005e..61acb799e 100644 --- a/packages/next/package.json +++ b/packages/next/package.json @@ -1,7 +1,7 @@ { "name": "@vercel/next", "version": "3.7.3", - "license": "MIT", + "license": "Apache-2.0", "main": "./dist/index", "homepage": "https://vercel.com/docs/runtimes#official-runtimes/next-js", "scripts": { diff --git a/packages/node-bridge/package.json b/packages/node-bridge/package.json index cf7d5f164..b1693980c 100644 --- a/packages/node-bridge/package.json +++ b/packages/node-bridge/package.json @@ -1,7 +1,7 @@ { "name": "@vercel/node-bridge", "version": "4.0.0", - "license": "MIT", + "license": "Apache-2.0", "main": "./index.js", "repository": { "type": "git", diff --git a/packages/node/bench/package.json b/packages/node/bench/package.json index 2303fa882..e6b3ea8ac 100644 --- a/packages/node/bench/package.json +++ b/packages/node/bench/package.json @@ -1,8 +1,9 @@ { + "private": true, "name": "bench", "version": "1.0.0", "main": "index.js", - "license": "MIT", + "license": "UNLICENSED", "dependencies": { "express": "4.17.1", "fs-extra": "8.0.1" diff --git a/packages/node/package.json b/packages/node/package.json index c4d9a6c16..f50d492d7 100644 --- a/packages/node/package.json +++ b/packages/node/package.json @@ -1,7 +1,7 @@ { "name": "@vercel/node", "version": "2.10.2", - "license": "MIT", + "license": "Apache-2.0", "main": "./dist/index", "homepage": "https://vercel.com/docs/runtimes#official-runtimes/node-js", "repository": { diff --git a/packages/python/package.json b/packages/python/package.json index f7dc28790..1c85112a2 100644 --- a/packages/python/package.json +++ b/packages/python/package.json @@ -2,7 +2,7 @@ "name": "@vercel/python", "version": "3.1.57", "main": "./dist/index.js", - "license": "MIT", + "license": "Apache-2.0", "homepage": "https://vercel.com/docs/runtimes#official-runtimes/python", "files": [ "dist", diff --git a/packages/redwood/package.json b/packages/redwood/package.json index ecb5c31b4..9deba982f 100644 --- a/packages/redwood/package.json +++ b/packages/redwood/package.json @@ -2,7 +2,7 @@ "name": "@vercel/redwood", "version": "1.1.13", "main": "./dist/index.js", - "license": "MIT", + "license": "Apache-2.0", "homepage": "https://vercel.com/docs", "files": [ "dist" diff --git a/packages/remix-entry-server/package.json b/packages/remix-entry-server/package.json index e8e101aad..2a8152ff5 100644 --- a/packages/remix-entry-server/package.json +++ b/packages/remix-entry-server/package.json @@ -13,7 +13,7 @@ "scripts": { "build": "node build.js" }, - "license": "MIT", + "license": "Apache-2.0", "files": [ "dist" ], diff --git a/packages/remix/package.json b/packages/remix/package.json index 4a68fcfb4..f29313a61 100644 --- a/packages/remix/package.json +++ b/packages/remix/package.json @@ -1,7 +1,7 @@ { "name": "@vercel/remix-builder", "version": "1.8.3", - "license": "MIT", + "license": "Apache-2.0", "main": "./dist/index.js", "homepage": "https://vercel.com/docs", "repository": { diff --git a/packages/routing-utils/package.json b/packages/routing-utils/package.json index 8a542cb82..b58690822 100644 --- a/packages/routing-utils/package.json +++ b/packages/routing-utils/package.json @@ -12,7 +12,7 @@ "url": "https://github.com/vercel/vercel.git", "directory": "packages/routing-utils" }, - "license": "MIT", + "license": "Apache-2.0", "scripts": { "build": "tsc", "test": "jest --env node --verbose --runInBand --bail", diff --git a/packages/ruby/package.json b/packages/ruby/package.json index 46ffd9b17..453978780 100644 --- a/packages/ruby/package.json +++ b/packages/ruby/package.json @@ -2,7 +2,7 @@ "name": "@vercel/ruby", "author": "Nathan Cahill ", "version": "1.3.74", - "license": "MIT", + "license": "Apache-2.0", "main": "./dist/index", "homepage": "https://vercel.com/docs/runtimes#official-runtimes/ruby", "files": [ diff --git a/packages/static-build/package.json b/packages/static-build/package.json index bec193be4..15247e78b 100644 --- a/packages/static-build/package.json +++ b/packages/static-build/package.json @@ -1,7 +1,7 @@ { "name": "@vercel/static-build", "version": "1.3.21", - "license": "MIT", + "license": "Apache-2.0", "main": "./dist/index", "homepage": "https://vercel.com/docs/build-step", "files": [ diff --git a/packages/static-config/package.json b/packages/static-config/package.json index 00655d1d5..da0e2f99d 100644 --- a/packages/static-config/package.json +++ b/packages/static-config/package.json @@ -1,7 +1,7 @@ { "name": "@vercel/static-config", "version": "2.0.14", - "license": "MIT", + "license": "Apache-2.0", "main": "./dist/index", "repository": { "type": "git",