mirror of
https://github.com/hansjone/netxops.git
synced 2026-10-11 01:40:46 +08:00
Ship prebuilt lib/index.js so GitHub installs load under node_modules.
Node refuses TypeScript stripping inside node_modules; point package main at the host bundle and document GitHub as the default install. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
0fcff2d45a
commit
0040de078c
4 changed files with 150 additions and 7 deletions
14
package.json
14
package.json
|
|
@ -1,18 +1,19 @@
|
|||
{
|
||||
"name": "dsh-netxops",
|
||||
"version": "0.1.4",
|
||||
"version": "0.1.5",
|
||||
"description": "DeepSeek Harness Netx Ops: host bridge + Plugins settings card + agent preset",
|
||||
"license": "MIT",
|
||||
"type": "module",
|
||||
"private": false,
|
||||
"main": "./src/index.ts",
|
||||
"main": "./lib/index.js",
|
||||
"exports": {
|
||||
".": "./src/index.ts",
|
||||
".": "./lib/index.js",
|
||||
"./client": "./lib/client.js",
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"files": [
|
||||
"src/",
|
||||
"lib/index.js",
|
||||
"lib/client.js",
|
||||
"presets/",
|
||||
"cordis.patch.yml",
|
||||
|
|
@ -39,9 +40,10 @@
|
|||
},
|
||||
"homepage": "https://github.com/hansjone/netxops#readme",
|
||||
"scripts": {
|
||||
"bundle": "bun run scripts/build-client.mjs"
|
||||
},
|
||||
"dsh": {
|
||||
"bundle": "bun run scripts/build-host.mjs && bun run scripts/build-client.mjs",
|
||||
"bundle:host": "bun run scripts/build-host.mjs",
|
||||
"bundle:client": "bun run scripts/build-client.mjs"
|
||||
}, "dsh": {
|
||||
"bundle": {
|
||||
"patch": "./cordis.patch.yml"
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue