Skip to content

Commit

Permalink
Add missing repository prop to package.json (#48803)
Browse files Browse the repository at this point in the history
This should fix the following error:

```
npm ERR! 422 Unprocessable Entity - PUT https://registry.npmjs.org/@next%2fswc-darwin-x64 - Failed to validate repository information: package.json: "repository.url" is "undefined", expected to match "git+https://github.com/vercel/next.js" from provenance
```

https://github.com/vercel/next.js/actions/runs/4787411938/jobs/8512829488#step:10:74

- Related to #48757
  • Loading branch information
styfle committed Apr 24, 2023
1 parent 4973420 commit 7e97dc5
Show file tree
Hide file tree
Showing 9 changed files with 45 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/next-swc/crates/napi/npm/darwin-arm64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
{
"name": "@next/swc-darwin-arm64",
"version": "0.0.0",
"repository": {
"type": "git",
"url": "https://github.com/vercel/next.js",
"directory": "packages/next-swc/crates/napi/npm/darwin-arm64"
},
"os": [
"darwin"
],
Expand Down
5 changes: 5 additions & 0 deletions packages/next-swc/crates/napi/npm/darwin-x64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
{
"name": "@next/swc-darwin-x64",
"version": "0.0.0",
"repository": {
"type": "git",
"url": "https://github.com/vercel/next.js",
"directory": "packages/next-swc/crates/napi/npm/darwin-x64"
},
"os": [
"darwin"
],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
{
"name": "@next/swc-linux-arm64-gnu",
"version": "0.0.0",
"repository": {
"type": "git",
"url": "https://github.com/vercel/next.js",
"directory": "packages/next-swc/crates/napi/npm/linux-arm64-gnu"
},
"os": [
"linux"
],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
{
"name": "@next/swc-linux-arm64-musl",
"version": "0.0.0",
"repository": {
"type": "git",
"url": "https://github.com/vercel/next.js",
"directory": "packages/next-swc/crates/napi/npm/linux-arm64-musl"
},
"os": [
"linux"
],
Expand Down
5 changes: 5 additions & 0 deletions packages/next-swc/crates/napi/npm/linux-x64-gnu/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
{
"name": "@next/swc-linux-x64-gnu",
"version": "0.0.0",
"repository": {
"type": "git",
"url": "https://github.com/vercel/next.js",
"directory": "packages/next-swc/crates/napi/npm/linux-x64-gnu"
},
"os": [
"linux"
],
Expand Down
5 changes: 5 additions & 0 deletions packages/next-swc/crates/napi/npm/linux-x64-musl/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
{
"name": "@next/swc-linux-x64-musl",
"version": "0.0.0",
"repository": {
"type": "git",
"url": "https://github.com/vercel/next.js",
"directory": "packages/next-swc/crates/napi/npm/linux-x64-musl"
},
"os": [
"linux"
],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
{
"name": "@next/swc-win32-arm64-msvc",
"version": "0.0.0",
"repository": {
"type": "git",
"url": "https://github.com/vercel/next.js",
"directory": "packages/next-swc/crates/napi/npm/win32-arm64-msvc"
},
"os": [
"win32"
],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
{
"name": "@next/swc-win32-ia32-msvc",
"version": "0.0.0",
"repository": {
"type": "git",
"url": "https://github.com/vercel/next.js",
"directory": "packages/next-swc/crates/napi/npm/win32-ia32-msvc"
},
"os": [
"win32"
],
Expand Down
5 changes: 5 additions & 0 deletions packages/next-swc/crates/napi/npm/win32-x64-msvc/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
{
"name": "@next/swc-win32-x64-msvc",
"version": "0.0.0",
"repository": {
"type": "git",
"url": "https://github.com/vercel/next.js",
"directory": "packages/next-swc/crates/napi/npm/win32-x64-msvc"
},
"os": [
"win32"
],
Expand Down

0 comments on commit 7e97dc5

Please sign in to comment.