diff --git a/packages/backrpc/package.json b/packages/backrpc/package.json index 5fe19f707e..a5294685d9 100644 --- a/packages/backrpc/package.json +++ b/packages/backrpc/package.json @@ -2,13 +2,19 @@ "name": "@hcengineering/network-backrpc", "version": "0.7.1", "main": "lib/index.js", - "svelte": "src/index.ts", "types": "types/index.d.ts", "author": "Anticrm Platform Contributors", "template": "@hcengineering/node-package", "license": "EPL-2.0", + "files": [ + "lib/**/*", + "types/**/*", + "README.md", + "CHANGELOG.md" + ], "scripts": { "build": "compile", + "prepublishOnly": "npm run build", "build:watch": "compile", "test": "jest --passWithNoTests --silent --forceExit", "format": "format src", @@ -40,6 +46,14 @@ "zeromq": "^6.5.0", "uuid": "^8.3.2" }, + "repository": "https://github.com/hcengineering/huly.net", + "exports": { + ".": { + "types": "./types/index.d.ts", + "import": "./lib/index.js", + "require": "./lib/index.js" + } + }, "publishConfig": { "access": "public" } diff --git a/packages/client/package.json b/packages/client/package.json index 2ea223f8f6..e379f04f82 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -2,13 +2,19 @@ "name": "@hcengineering/network-client", "version": "0.7.1", "main": "lib/index.js", - "svelte": "src/index.ts", "types": "types/index.d.ts", "author": "Anticrm Platform Contributors", "template": "@hcengineering/node-package", "license": "EPL-2.0", + "files": [ + "lib/**/*", + "types/**/*", + "README.md", + "CHANGELOG.md" + ], "scripts": { "build": "compile", + "prepublishOnly": "npm run build", "build:watch": "compile", "test": "jest --passWithNoTests --silent --forceExit", "format": "format src", @@ -40,6 +46,14 @@ "@hcengineering/network-backrpc": "workspace:^0.7.1", "uuid": "^8.3.2" }, + "repository": "https://github.com/hcengineering/huly.net", + "exports": { + ".": { + "types": "./types/index.d.ts", + "import": "./lib/index.js", + "require": "./lib/index.js" + } + }, "publishConfig": { "access": "public" } diff --git a/packages/core/package.json b/packages/core/package.json index 3bcdfffbb8..1551d833e5 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -2,13 +2,19 @@ "name": "@hcengineering/network-core", "version": "0.7.1", "main": "lib/index.js", - "svelte": "src/index.ts", "types": "types/index.d.ts", "author": "Huly Platform Contributors", "template": "@hcengineering/node-package", "license": "EPL-2.0", + "files": [ + "lib/**/*", + "types/**/*", + "README.md", + "CHANGELOG.md" + ], "scripts": { "build": "compile", + "prepublishOnly": "npm run build", "build:watch": "compile", "test": "jest --passWithNoTests --silent --forceExit", "format": "format src", @@ -38,7 +44,7 @@ "dependencies": { "uuid": "^8.3.2" }, - "repository": "https://github.com/hcengineering/platform", + "repository": "https://github.com/hcengineering/huly.net", "exports": { ".": { "types": "./types/index.d.ts", diff --git a/packages/server/package.json b/packages/server/package.json index 9a1ef5a63f..733bd080f6 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -2,13 +2,19 @@ "name": "@hcengineering/network-server", "version": "0.7.1", "main": "lib/index.js", - "svelte": "src/index.ts", "types": "types/index.d.ts", "author": "Anticrm Platform Contributors", "template": "@hcengineering/node-package", "license": "EPL-2.0", + "files": [ + "lib/**/*", + "types/**/*", + "README.md", + "CHANGELOG.md" + ], "scripts": { "build": "compile", + "prepublishOnly": "npm run build", "build:watch": "compile", "test": "jest --passWithNoTests --silent --forceExit", "format": "format src", @@ -41,6 +47,14 @@ "@hcengineering/network-client": "workspace:^0.7.1", "uuid": "^8.3.2" }, + "repository": "https://github.com/hcengineering/huly.net", + "exports": { + ".": { + "types": "./types/index.d.ts", + "import": "./lib/index.js", + "require": "./lib/index.js" + } + }, "publishConfig": { "access": "public" } diff --git a/pods/network-pod/package.json b/pods/network-pod/package.json index f3452534a0..7a5d53ca09 100644 --- a/pods/network-pod/package.json +++ b/pods/network-pod/package.json @@ -2,17 +2,23 @@ "name": "@hcengineering/network-pod", "version": "0.7.1", "main": "lib/index.js", - "svelte": "src/index.ts", "types": "types/index.d.ts", "author": "Huly Platform Contributors", "template": "@hcengineering/node-package", "license": "EPL-2.0", + "files": [ + "lib/**/*", + "types/**/*", + "README.md", + "CHANGELOG.md" + ], "scripts": { "start": "rush bundle --to @hcengineering/network-pod && cross-env NODE_ENV=production MODEL_VERSION=$(node ../../common/scripts/show_version.js) ACCOUNTS_URL=http://localhost:3000 REKONI_URL=http://localhost:4004 MONGO_URL=mongodb://localhost:27017 DB_URL=mongodb://localhost:27017 FRONT_URL=http://localhost:8087 UPLOAD_URL=/upload MINIO_ENDPOINT=localhost MINIO_ACCESS_KEY=minioadmin MINIO_SECRET_KEY=minioadmin METRICS_CONSOLE=true SERVER_SECRET=secret OPERATION_PROFILING=false MODEL_JSON=../../models/all/bundle/model.json STATS_URL=http://huly.local:4900 node --inspect bundle/bundle.js", "start-cr": "rush bundle --to @hcengineering/network-pod && cross-env NODE_ENV=production MODEL_VERSION=$(node ../../common/scripts/show_version.js) ACCOUNTS_URL=http://localhost:3000 REKONI_URL=http://localhost:4004 DB_URL=postgresql://root@huly.local:26257/defaultdb?sslmode=disable FRONT_URL=http://localhost:8087 UPLOAD_URL=/upload MINIO_ENDPOINT=localhost MINIO_ACCESS_KEY=minioadmin MINIO_SECRET_KEY=minioadmin METRICS_CONSOLE=true SERVER_SECRET=secret OPERATION_PROFILING=false MODEL_JSON=../../models/all/bundle/model.json STATS_URL=http://huly.local:4900 FULLTEXT_URL=http://huly.local:4702 SERVER_PORT=3332 node --inspect bundle/bundle.js", "start-flame": "rush bundle --to @hcengineering/network-pod && cross-env NODE_ENV=production MODEL_VERSION=$(node ../../common/scripts/show_version.js) ACCOUNTS_URL=http://localhost:3000 REKONI_URL=http://localhost:4004 MONGO_URL=mongodb://localhost:27017 FRONT_URL=http://localhost:8087 UPLOAD_URL=/upload MINIO_ENDPOINT=localhost MINIO_ACCESS_KEY=minioadmin MINIO_SECRET_KEY=minioadmin METRICS_CONSOLE=true SERVER_SECRET=secret MODEL_JSON=../../models/all/bundle/model.json clinic flame --dest ./out -- node --nolazy -r ts-node/register --enable-source-maps src/__start.ts", "start-raw": "ts-node src/__start.ts", "build": "compile", + "prepublishOnly": "npm run build", "_phase:bundle": "rushx bundle", "_phase:docker-build": "rushx docker:build", "_phase:docker-staging": "rushx docker:staging", @@ -55,7 +61,7 @@ "@hcengineering/network-server": "workspace:^0.7.1", "uuid": "^8.3.2" }, - "repository": "https://github.com/hcengineering/platform", + "repository": "https://github.com/hcengineering/huly.net", "exports": { ".": { "types": "./types/index.d.ts", diff --git a/pods/network-tool/package.json b/pods/network-tool/package.json index dfd34578c4..de56d0b580 100644 --- a/pods/network-tool/package.json +++ b/pods/network-tool/package.json @@ -2,17 +2,23 @@ "name": "@hcengineering/network-tool", "version": "0.7.1", "main": "lib/index.js", - "svelte": "src/index.ts", "types": "types/index.d.ts", "author": "Huly Platform Contributors", "template": "@hcengineering/node-package", "license": "EPL-2.0", + "files": [ + "lib/**/*", + "types/**/*", + "README.md", + "CHANGELOG.md" + ], "scripts": { "start": "rush bundle --to @hcengineering/network-tool && cross-env NODE_ENV=production MODEL_VERSION=$(node ../../common/scripts/show_version.js) ACCOUNTS_URL=http://localhost:3000 REKONI_URL=http://localhost:4004 MONGO_URL=mongodb://localhost:27017 DB_URL=mongodb://localhost:27017 FRONT_URL=http://localhost:8087 UPLOAD_URL=/upload MINIO_ENDPOINT=localhost MINIO_ACCESS_KEY=minioadmin MINIO_SECRET_KEY=minioadmin METRICS_CONSOLE=true SERVER_SECRET=secret OPERATION_PROFILING=false MODEL_JSON=../../models/all/bundle/model.json STATS_URL=http://huly.local:4900 node --inspect bundle/bundle.js", "start-cr": "rush bundle --to @hcengineering/network-tool && cross-env NODE_ENV=production MODEL_VERSION=$(node ../../common/scripts/show_version.js) ACCOUNTS_URL=http://localhost:3000 REKONI_URL=http://localhost:4004 DB_URL=postgresql://root@huly.local:26257/defaultdb?sslmode=disable FRONT_URL=http://localhost:8087 UPLOAD_URL=/upload MINIO_ENDPOINT=localhost MINIO_ACCESS_KEY=minioadmin MINIO_SECRET_KEY=minioadmin METRICS_CONSOLE=true SERVER_SECRET=secret OPERATION_PROFILING=false MODEL_JSON=../../models/all/bundle/model.json STATS_URL=http://huly.local:4900 FULLTEXT_URL=http://huly.local:4702 SERVER_PORT=3332 node --inspect bundle/bundle.js", "start-flame": "rush bundle --to @hcengineering/network-tool && cross-env NODE_ENV=production MODEL_VERSION=$(node ../../common/scripts/show_version.js) ACCOUNTS_URL=http://localhost:3000 REKONI_URL=http://localhost:4004 MONGO_URL=mongodb://localhost:27017 FRONT_URL=http://localhost:8087 UPLOAD_URL=/upload MINIO_ENDPOINT=localhost MINIO_ACCESS_KEY=minioadmin MINIO_SECRET_KEY=minioadmin METRICS_CONSOLE=true SERVER_SECRET=secret MODEL_JSON=../../models/all/bundle/model.json clinic flame --dest ./out -- node --nolazy -r ts-node/register --enable-source-maps src/__start.ts", "start-raw": "ts-node src/__start.ts", "build": "compile", + "prepublishOnly": "npm run build", "_phase:bundle": "rushx bundle", "_phase:docker-build": "rushx docker:build", "_phase:docker-staging": "rushx docker:staging", @@ -58,12 +64,12 @@ "commander": "^14.0.0", "zeromq": "^6.5.0" }, - "repository": "https://github.com/hcengineering/platform", + "repository": "https://github.com/hcengineering/huly.net", "exports": { ".": { "types": "./types/index.d.ts", - "require": "./lib/index.js", - "import": "./lib/index.js" + "import": "./lib/index.js", + "require": "./lib/index.js" } }, "publishConfig": {