mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-21 02:21:35 +03:00
2abef8b6ec
We should tag containers locally with git revision, so in case of concurrent builds using same docker, we not mark wrong containers with a new version. Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
141 lines
6.4 KiB
JSON
141 lines
6.4 KiB
JSON
{
|
|
"name": "@hcengineering/tool",
|
|
"version": "0.6.0",
|
|
"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",
|
|
"scripts": {
|
|
"build": "compile",
|
|
"build:watch": "compile",
|
|
"start": "ts-node src/__start.ts",
|
|
"_phase:bundle": "rushx bundle",
|
|
"_phase:docker-build": "rushx docker:build",
|
|
"_phase:docker-staging": "rushx docker:staging",
|
|
"bundle": "mkdir -p bundle && esbuild src/__start.ts --bundle --minify --platform=node --define:process.env.MODEL_VERSION=$(node ../../common/scripts/show_version.js) --define:process.env.GIT_REVISION=$(../../common/scripts/git_version.sh) > bundle/bundle.js",
|
|
"docker:build": "../../common/scripts/docker_build.sh hardcoreeng/tool",
|
|
"docker:staging": "../../common/scripts/docker_tag.sh hardcoreeng/tool staging",
|
|
"docker:push": "../../common/scripts/docker_tag.sh hardcoreeng/tool",
|
|
"run-local": "rush bundle --to @hcengineering/tool >/dev/null && cross-env SERVER_SECRET=secret MINIO_ACCESS_KEY=minioadmin MINIO_SECRET_KEY=minioadmin MINIO_ENDPOINT=localhost MONGO_URL=mongodb://localhost:27017 TRANSACTOR_URL=ws://localhost:3333 TELEGRAM_DATABASE=telegram-service ELASTIC_URL=http://localhost:9200 REKONI_URL=http://localhost:4004 MODEL_VERSION=$(node ../../common/scripts/show_version.js) GIT_REVISION=$(git describe --all --long) node --max-old-space-size=18000 ./bundle/bundle.js",
|
|
"run": "rush bundle --to @hcengineering/tool >/dev/null && cross-env node --max-old-space-size=8000 ./bundle/bundle.js",
|
|
"upgrade": "rushx run-local upgrade",
|
|
"format": "format src",
|
|
"test": "jest --passWithNoTests --silent --forceExit",
|
|
"_phase:build": "compile transpile src",
|
|
"_phase:test": "jest --passWithNoTests --silent --forceExit",
|
|
"_phase:format": "format src",
|
|
"_phase:validate": "compile validate"
|
|
},
|
|
"devDependencies": {
|
|
"cross-env": "~7.0.3",
|
|
"@hcengineering/platform-rig": "^0.6.0",
|
|
"@typescript-eslint/eslint-plugin": "^6.11.0",
|
|
"eslint-plugin-import": "^2.26.0",
|
|
"eslint-plugin-promise": "^6.1.1",
|
|
"eslint-plugin-n": "^15.4.0",
|
|
"eslint": "^8.54.0",
|
|
"ts-node": "^10.8.0",
|
|
"esbuild": "^0.20.0",
|
|
"@types/minio": "~7.0.11",
|
|
"@types/node": "~20.11.16",
|
|
"@typescript-eslint/parser": "^6.11.0",
|
|
"eslint-config-standard-with-typescript": "^40.0.0",
|
|
"prettier": "^3.1.0",
|
|
"typescript": "^5.3.3",
|
|
"@types/ws": "^8.5.3",
|
|
"@types/mime-types": "~2.1.1",
|
|
"@types/request": "~2.48.8",
|
|
"jest": "^29.7.0",
|
|
"ts-jest": "^29.1.1",
|
|
"@types/jest": "^29.5.5",
|
|
"prettier-plugin-svelte": "^3.1.0"
|
|
},
|
|
"dependencies": {
|
|
"@elastic/elasticsearch": "^7.14.0",
|
|
"@hcengineering/account": "^0.6.0",
|
|
"@hcengineering/attachment": "^0.6.9",
|
|
"@hcengineering/chunter": "^0.6.12",
|
|
"@hcengineering/client": "^0.6.14",
|
|
"@hcengineering/client-resources": "^0.6.23",
|
|
"@hcengineering/contact": "^0.6.20",
|
|
"@hcengineering/core": "^0.6.28",
|
|
"@hcengineering/dev-storage": "^0.6.6",
|
|
"@hcengineering/elastic": "^0.6.0",
|
|
"@hcengineering/lead": "^0.6.0",
|
|
"@hcengineering/minio": "^0.6.0",
|
|
"@hcengineering/model": "^0.6.7",
|
|
"@hcengineering/model-all": "^0.6.0",
|
|
"@hcengineering/model-attachment": "^0.6.0",
|
|
"@hcengineering/model-contact": "^0.6.1",
|
|
"@hcengineering/model-recruit": "^0.6.0",
|
|
"@hcengineering/model-telegram": "^0.6.0",
|
|
"@hcengineering/mongo": "^0.6.1",
|
|
"@hcengineering/openai": "^0.6.0",
|
|
"@hcengineering/platform": "^0.6.9",
|
|
"@hcengineering/recruit": "^0.6.21",
|
|
"@hcengineering/rekoni": "^0.6.0",
|
|
"@hcengineering/server-attachment": "^0.6.1",
|
|
"@hcengineering/server-attachment-resources": "^0.6.0",
|
|
"@hcengineering/server-collaboration": "^0.6.0",
|
|
"@hcengineering/server-collaboration-resources": "^0.6.0",
|
|
"@hcengineering/server-backup": "^0.6.0",
|
|
"@hcengineering/server-calendar": "^0.6.0",
|
|
"@hcengineering/server-calendar-resources": "^0.6.0",
|
|
"@hcengineering/server-chunter": "^0.6.0",
|
|
"@hcengineering/server-chunter-resources": "^0.6.0",
|
|
"@hcengineering/server-contact": "^0.6.1",
|
|
"@hcengineering/server-contact-resources": "^0.6.0",
|
|
"@hcengineering/server-core": "^0.6.1",
|
|
"@hcengineering/server-document": "^0.6.0",
|
|
"@hcengineering/server-document-resources": "^0.6.0",
|
|
"@hcengineering/server-gmail": "^0.6.0",
|
|
"@hcengineering/server-gmail-resources": "^0.6.0",
|
|
"@hcengineering/server-hr": "^0.6.0",
|
|
"@hcengineering/server-hr-resources": "^0.6.0",
|
|
"@hcengineering/server-inventory": "^0.6.1",
|
|
"@hcengineering/server-inventory-resources": "^0.6.0",
|
|
"@hcengineering/server-lead": "^0.6.0",
|
|
"@hcengineering/server-lead-resources": "^0.6.0",
|
|
"@hcengineering/server-notification": "^0.6.1",
|
|
"@hcengineering/server-notification-resources": "^0.6.0",
|
|
"@hcengineering/server-recruit": "^0.6.0",
|
|
"@hcengineering/server-recruit-resources": "^0.6.0",
|
|
"@hcengineering/server-request": "^0.6.0",
|
|
"@hcengineering/server-request-resources": "^0.6.0",
|
|
"@hcengineering/server-setting": "^0.6.0",
|
|
"@hcengineering/server-setting-resources": "^0.6.0",
|
|
"@hcengineering/server-tags": "^0.6.0",
|
|
"@hcengineering/server-tags-resources": "^0.6.0",
|
|
"@hcengineering/server-task": "^0.6.0",
|
|
"@hcengineering/server-task-resources": "^0.6.0",
|
|
"@hcengineering/server-telegram": "^0.6.0",
|
|
"@hcengineering/server-telegram-resources": "^0.6.0",
|
|
"@hcengineering/server-token": "^0.6.7",
|
|
"@hcengineering/server-tool": "^0.6.0",
|
|
"@hcengineering/server-tracker": "^0.6.0",
|
|
"@hcengineering/server-tracker-resources": "^0.6.0",
|
|
"@hcengineering/server-view": "^0.6.0",
|
|
"@hcengineering/server-view-resources": "^0.6.0",
|
|
"@hcengineering/server-activity": "^0.6.0",
|
|
"@hcengineering/server-activity-resources": "^0.6.0",
|
|
"@hcengineering/server-guest": "^0.6.0",
|
|
"@hcengineering/server-guest-resources": "^0.6.0",
|
|
"@hcengineering/setting": "^0.6.11",
|
|
"@hcengineering/tags": "^0.6.12",
|
|
"@hcengineering/task": "^0.6.13",
|
|
"@hcengineering/telegram": "^0.6.14",
|
|
"@hcengineering/tracker": "^0.6.13",
|
|
"commander": "^8.1.0",
|
|
"csv-parse": "~5.1.0",
|
|
"email-addresses": "^5.0.0",
|
|
"fast-equals": "^2.0.3",
|
|
"got": "^11.8.3",
|
|
"libphonenumber-js": "^1.9.46",
|
|
"mime-types": "~2.1.34",
|
|
"mongodb": "^6.3.0",
|
|
"ws": "^8.10.0"
|
|
}
|
|
}
|