Introduce a ReloadSocketManager and client ReloadService for automatic page reloads when the server restarts. Serve UI assets from an embedded generated file and add Deno tasks to bundle the UI and compile native binaries for multiple platforms. Also update dev watch workflow and ignore generated embedded UI file.
35 lines
1.1 KiB
JSON
35 lines
1.1 KiB
JSON
{
|
|
"name": "@stack.gallery/registry",
|
|
"version": "1.0.1",
|
|
"private": true,
|
|
"description": "Enterprise-grade multi-protocol package registry",
|
|
"type": "module",
|
|
"scripts": {
|
|
"start": "deno run --allow-all mod.ts server",
|
|
"dev": "deno run --allow-all --watch mod.ts server --ephemeral",
|
|
"watch": "concurrently --kill-others --names \"BACKEND,UI,BUNDLER\" --prefix-colors \"cyan,magenta,yellow\" \"deno run --allow-all --watch mod.ts server --ephemeral\" \"cd ui && pnpm run watch\" \"deno task bundle-ui:watch\"",
|
|
"build": "cd ui && pnpm run build",
|
|
"test": "deno test --allow-all"
|
|
},
|
|
"keywords": [
|
|
"registry",
|
|
"npm",
|
|
"docker",
|
|
"oci",
|
|
"maven",
|
|
"cargo",
|
|
"pypi",
|
|
"rubygems",
|
|
"composer"
|
|
],
|
|
"author": "Stack.Gallery",
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"concurrently": "^9.1.2"
|
|
},
|
|
"dependencies": {
|
|
"@push.rocks/smartdata": "link:../../push.rocks/smartdata"
|
|
},
|
|
"packageManager": "pnpm@10.18.1+sha512.77a884a165cbba2d8d1c19e3b4880eee6d2fcabd0d879121e282196b80042351d5eb3ca0935fa599da1dc51265cc68816ad2bddd2a2de5ea9fdf92adbec7cd34"
|
|
}
|