@cloudflare/workers-shared
Advanced tools
Comparing version 0.0.0-e75c5812f to 0.0.0-f5bde6691
{ | ||
"name": "@cloudflare/workers-shared", | ||
"version": "0.0.0-e75c5812f", | ||
"version": "0.0.0-f5bde6691", | ||
"description": "Package that is used at Cloudflare to power some internal features of Cloudflare Workers.", | ||
@@ -30,4 +30,4 @@ "keywords": [ | ||
"typescript": "^5.5.4", | ||
"@cloudflare/workers-tsconfig": "0.0.0", | ||
"@cloudflare/eslint-config-worker": "1.1.0" | ||
"@cloudflare/eslint-config-worker": "1.1.0", | ||
"@cloudflare/workers-tsconfig": "0.0.0" | ||
}, | ||
@@ -44,10 +44,12 @@ "engines": { | ||
"scripts": { | ||
"build": "pnpm run clean && pnpm run bundle:asset-server:prod", | ||
"build": "pnpm run clean && pnpm run bundle:asset-server:prod && pnpm run bundle:router:prod", | ||
"bundle:asset-server": "esbuild asset-server-worker/src/index.ts --format=esm --bundle --outfile=dist/asset-server-worker.mjs --sourcemap=external", | ||
"bundle:asset-server:prod": "pnpm run bundle:asset-server --minify", | ||
"bundle:router": "esbuild router-worker/src/index.ts --format=esm --bundle --outfile=dist/router-worker.mjs --sourcemap=external", | ||
"bundle:router:prod": "pnpm run bundle:router --minify", | ||
"check:lint": "eslint . --max-warnings=0", | ||
"check:type": "tsc", | ||
"clean": "rimraf dist", | ||
"dev": "pnpm run clean && concurrently -n bundle:asset-server -c blue \"pnpm run bundle:asset-server --watch\"" | ||
"dev": "pnpm run clean && concurrently -n bundle:asset-server,bundle:router -c blue,magenta \"pnpm run bundle:asset-server --watch\" \"pnpm run bundle:router --watch\"" | ||
} | ||
} |
@@ -11,4 +11,10 @@ # `@cloudflare/workers-shared` | ||
## `router-worker` | ||
Router Worker. | ||
For more details please refer to the dedicated README file. | ||
> [!NOTE] | ||
> Since code in this package is used by the Workers infrastructure, it is important that PRs are given careful review with regards to how they could cause a failure in production. | ||
> Ideally, there should be comprehensive tests for changes being made to give extra confidence about the behavior. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
7150
6
3
20