Skip to content

Commit

Permalink
feat: generating provenance statements
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjiahan committed Jun 24, 2024
1 parent 7caa615 commit 0d36ad6
Show file tree
Hide file tree
Showing 13 changed files with 34 additions and 9 deletions.
3 changes: 2 additions & 1 deletion crates/node_binding/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"main": "binding.js",
"types": "binding.d.ts",
"publishConfig": {
"access": "public"
"access": "public",
"provenance": true
},
"files": [
"binding.js",
Expand Down
3 changes: 2 additions & 1 deletion npm/darwin-arm64/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"url": "https://github.com/web-infra-dev/rspack"
},
"publishConfig": {
"access": "public"
"access": "public",
"provenance": true
},
"files": [
"rspack.darwin-arm64.node"
Expand Down
3 changes: 2 additions & 1 deletion npm/darwin-x64/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"url": "https://github.com/web-infra-dev/rspack"
},
"publishConfig": {
"access": "public"
"access": "public",
"provenance": true
},
"files": [
"rspack.darwin-x64.node"
Expand Down
3 changes: 2 additions & 1 deletion npm/linux-x64-gnu/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"url": "https://github.com/web-infra-dev/rspack"
},
"publishConfig": {
"access": "public"
"access": "public",
"provenance": true
},
"files": [
"rspack.linux-x64-gnu.node"
Expand Down
3 changes: 2 additions & 1 deletion npm/win32-x64-msvc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"url": "https://github.com/web-infra-dev/rspack"
},
"publishConfig": {
"access": "public"
"access": "public",
"provenance": true
},
"files": [
"rspack.win32-x64-msvc.node"
Expand Down
4 changes: 4 additions & 0 deletions packages/create-rspack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
"bin": {
"create-rspack": "index.js"
},
"publishConfig": {
"access": "public",
"provenance": true
},
"homepage": "https://rspack.dev",
"bugs": "https://github.com/web-infra-dev/rspack/issues",
"repository": {
Expand Down
4 changes: 4 additions & 0 deletions packages/rspack-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
"version": "0.7.4",
"license": "MIT",
"description": "CLI for rspack",
"publishConfig": {
"access": "public",
"provenance": true
},
"bin": {
"rspack": "./bin/rspack"
},
Expand Down
4 changes: 4 additions & 0 deletions packages/rspack-dev-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
"description": "Development server for rspack",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"publishConfig": {
"access": "public",
"provenance": true
},
"exports": {
".": {
"default": "./dist/index.js"
Expand Down
3 changes: 2 additions & 1 deletion packages/rspack-plugin-minify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
"directory": "packages/rspack-plugin-minify"
},
"publishConfig": {
"access": "public"
"access": "public",
"provenance": true
},
"dependencies": {
"esbuild": "0.16.3",
Expand Down
3 changes: 2 additions & 1 deletion packages/rspack-plugin-preact-refresh/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
"dist"
],
"publishConfig": {
"access": "public"
"access": "public",
"provenance": true
},
"homepage": "https://rspack.dev",
"bugs": "https://github.com/web-infra-dev/rspack/issues",
Expand Down
3 changes: 2 additions & 1 deletion packages/rspack-plugin-react-refresh/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
"dist"
],
"publishConfig": {
"access": "public"
"access": "public",
"provenance": true
},
"homepage": "https://rspack.dev",
"bugs": "https://github.com/web-infra-dev/rspack/issues",
Expand Down
3 changes: 2 additions & 1 deletion packages/rspack-test-tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@
"jest.d.ts"
],
"publishConfig": {
"access": "public"
"access": "public",
"provenance": true
},
"homepage": "https://rspack.dev",
"bugs": "https://github.com/web-infra-dev/rspack/issues",
Expand Down
4 changes: 4 additions & 0 deletions packages/rspack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
"description": "The fast Rust-based web bundler with webpack-compatible API",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"publishConfig": {
"access": "public",
"provenance": true
},
"exports": {
".": {
"default": "./dist/index.js"
Expand Down

0 comments on commit 0d36ad6

Please sign in to comment.