From 47938f85463f2a8f5ecb02819d41e4b17e6b4fdc Mon Sep 17 00:00:00 2001 From: Andrey Platov Date: Wed, 4 Aug 2021 23:17:53 +0200 Subject: [PATCH] fix Signed-off-by: Andrey Platov --- cloud/dev-server/app/Dockerfile | 4 +-- cloud/dev-server/app/package-lock.json | 36 +++++++++++++------------- cloud/dev-server/app/package.json | 2 +- dev/server/package.json | 1 - dev/server/src/index.ts | 2 +- dev/storage/package.json | 6 +---- dev/storage/src/index.ts | 2 +- packages/core/package.json | 12 +++------ packages/core/src/classes.ts | 1 + packages/platform/package.json | 2 +- packages/platform/src/i18n.ts | 1 + server/ws/package.json | 2 +- server/ws/src/index.ts | 2 +- 13 files changed, 33 insertions(+), 40 deletions(-) diff --git a/cloud/dev-server/app/Dockerfile b/cloud/dev-server/app/Dockerfile index 8b9ef3ee5f..3ae63716e5 100644 --- a/cloud/dev-server/app/Dockerfile +++ b/cloud/dev-server/app/Dockerfile @@ -3,10 +3,10 @@ FROM node:14 WORKDIR /usr/src/app COPY package.json ./ +COPY index.mjs ./ RUN npm install -COPY ./lib ./lib EXPOSE 3333 -CMD [ "node", "lib/server.js" ] +CMD [ "node", "index.mjs" ] diff --git a/cloud/dev-server/app/package-lock.json b/cloud/dev-server/app/package-lock.json index bcdc19fe16..06d70967a5 100644 --- a/cloud/dev-server/app/package-lock.json +++ b/cloud/dev-server/app/package-lock.json @@ -5,32 +5,32 @@ "requires": true, "dependencies": { "@anticrm/core": { - "version": "0.6.5", - "resolved": "https://registry.npmjs.org/@anticrm/core/-/core-0.6.5.tgz", - "integrity": "sha512-+Ap6OGh8o+79yGgYlxbZOoLeQ+bTPFH3B+r29yioFuqZ4M8E+k8gGgToZiYuyHZFI+pKLodwAoN8u347XqmYjA==", + "version": "0.6.6", + "resolved": "https://registry.npmjs.org/@anticrm/core/-/core-0.6.6.tgz", + "integrity": "sha512-meVZkivRhe9RxbHz/xU69rdhPOIsQ4f+Bv1Edm5mifXT7zw8x6m6BZGtgWvRXoyHfBF9HbY1MjXcMGbkLFQrsg==", "requires": { - "@anticrm/platform": "~0.6.1", + "@anticrm/platform": "~0.6.2", "simplytyped": "^3.3.0" } }, "@anticrm/dev-server": { - "version": "0.6.3", - "resolved": "https://registry.npmjs.org/@anticrm/dev-server/-/dev-server-0.6.3.tgz", - "integrity": "sha512-g4Ugx4u/+m4ZSlvY6xgJcHOHK/WwZI6BVa90ziz5bCKaucuJ+vMGOR6k9EWS9pBLTI6TzKDieXU2ID8L1evYuw==", + "version": "0.6.4", + "resolved": "https://registry.npmjs.org/@anticrm/dev-server/-/dev-server-0.6.4.tgz", + "integrity": "sha512-ftkMubfIMUrIXrvs94Lw7q3h2SZMFjOZlzp7KI0zg+82+mTlk9AArVslfF1/qkYa8tpEkcG6tpUgX0FJ2CTt5A==", "requires": { - "@anticrm/core": "~0.6.5", - "@anticrm/dev-storage": "~0.6.1", + "@anticrm/core": "~0.6.6", + "@anticrm/dev-storage": "~0.6.2", "@anticrm/platform": "~0.6.2", - "@anticrm/server-ws": "~0.6.2" + "@anticrm/server-ws": "~0.6.3" } }, "@anticrm/dev-storage": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/@anticrm/dev-storage/-/dev-storage-0.6.1.tgz", - "integrity": "sha512-MSmHqp6O50FMYtisuDZdVFds6wslHYhypMZ4QN+DqRaDYWa+rkEIETW3FKs3YLaMvrPCHphcHI8ZCsHL3eX3ew==", + "version": "0.6.2", + "resolved": "https://registry.npmjs.org/@anticrm/dev-storage/-/dev-storage-0.6.2.tgz", + "integrity": "sha512-wOErKrAifettQRx++g1WNuMxFVZbmQf/hevQrLNs1SATkbNVRJe2jY8G1mp8NA9/n+jwoNAlld801BNKnrqalg==", "requires": { - "@anticrm/core": "~0.6.1", - "@anticrm/platform": "~0.6.1" + "@anticrm/core": "~0.6.6", + "@anticrm/platform": "~0.6.2" } }, "@anticrm/platform": { @@ -42,9 +42,9 @@ } }, "@anticrm/server-ws": { - "version": "0.6.2", - "resolved": "https://registry.npmjs.org/@anticrm/server-ws/-/server-ws-0.6.2.tgz", - "integrity": "sha512-vmwrqXj5y5COHX+BgaDgMYR4IKLf8jHNqL5sMquBDz42JVJAW6CkqskVg3JJ79sLo36r5MliR05za1pM1e11HQ==", + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/@anticrm/server-ws/-/server-ws-0.6.3.tgz", + "integrity": "sha512-kiPZnTgzkVxVlakcOmH8HMaPCjZX50jW39ZzlLd1r2qDJv548AZjPS3M1mb/qJkJoZhOXhUUavNUSjxfaYuggg==", "requires": { "@anticrm/platform": "~0.6.2", "jwt-simple": "^0.5.6", diff --git a/cloud/dev-server/app/package.json b/cloud/dev-server/app/package.json index 40d8fb4eb2..960d5404e7 100644 --- a/cloud/dev-server/app/package.json +++ b/cloud/dev-server/app/package.json @@ -7,6 +7,6 @@ "start": "node ./index.js" }, "dependencies": { - "@anticrm/dev-server": "^0.6.3" + "@anticrm/dev-server": "^0.6.4" } } diff --git a/dev/server/package.json b/dev/server/package.json index 54aa23f508..7699b501cf 100644 --- a/dev/server/package.json +++ b/dev/server/package.json @@ -6,7 +6,6 @@ "license": "EPL-2.0", "scripts": { "build": "heft build", - "start": "node lib/index.js", "lint:fix": "eslint --fix src" }, "devDependencies": { diff --git a/dev/server/src/index.ts b/dev/server/src/index.ts index 65ead4648c..f21098492a 100644 --- a/dev/server/src/index.ts +++ b/dev/server/src/index.ts @@ -1,6 +1,6 @@ // // Copyright © 2020, 2021 Anticrm Platform Contributors. -// Copyright © 2021 Hardcore Engineering Inc. +// Copyright © 2021, 2022 Hardcore Engineering Inc. // // Licensed under the Eclipse Public License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. You may diff --git a/dev/storage/package.json b/dev/storage/package.json index b51fbbcbc1..a9bf9f3d6d 100644 --- a/dev/storage/package.json +++ b/dev/storage/package.json @@ -6,11 +6,7 @@ "license": "EPL-2.0", "scripts": { "build": "heft build", - "build:docs": "api-extractor run --local", - "test": "jest", - "lint": "ts-standard src", - "lint:fix": "eslint --fix ./src", - "format": "prettier --write 'src/**/*.{ts*,js*,yml}' && ts-standard --fix src" + "lint:fix": "eslint --fix src" }, "devDependencies": { "@anticrm/platform-rig":"~0.6.0", diff --git a/dev/storage/src/index.ts b/dev/storage/src/index.ts index f421063726..7f3c6e4773 100644 --- a/dev/storage/src/index.ts +++ b/dev/storage/src/index.ts @@ -1,6 +1,6 @@ // // Copyright © 2020, 2021 Anticrm Platform Contributors. -// Copyright © 2021 Hardcore Engineering Inc. +// Copyright © 2021, 2022 Hardcore Engineering Inc. // // Licensed under the Eclipse Public License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. You may diff --git a/packages/core/package.json b/packages/core/package.json index e25f40885e..e7b0abb75a 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -6,11 +6,7 @@ "license": "EPL-2.0", "scripts": { "build": "heft build", - "build:docs": "api-extractor run --local", - "test": "jest", - "lint": "ts-standard src", - "lint:fix": "eslint --fix ./src", - "format": "prettier --write 'src/**/*.{ts*,js*,yml}' && ts-standard --fix src" + "lint:fix": "eslint --fix src" }, "devDependencies": { "@anticrm/platform-rig":"~0.6.0", @@ -19,10 +15,10 @@ "eslint-plugin-import":"2", "eslint-plugin-promise":"4", "eslint-plugin-node":"11", - "eslint":"^7.32.0" + "eslint":"^7.32.0", + "simplytyped": "^3.3.0" }, "dependencies": { - "@anticrm/platform": "~0.6.2", - "simplytyped": "^3.3.0" + "@anticrm/platform": "~0.6.2" } } diff --git a/packages/core/src/classes.ts b/packages/core/src/classes.ts index d1a924bd52..7a290d3859 100644 --- a/packages/core/src/classes.ts +++ b/packages/core/src/classes.ts @@ -1,5 +1,6 @@ // // Copyright © 2020, 2021 Anticrm Platform Contributors. +// Copyright © 2021 Hardcore Engineering Inc. // // Licensed under the Eclipse Public License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. You may diff --git a/packages/platform/package.json b/packages/platform/package.json index 5f9debbc10..9554d28a4d 100644 --- a/packages/platform/package.json +++ b/packages/platform/package.json @@ -6,7 +6,7 @@ "license": "EPL-2.0", "scripts": { "build": "heft build", - "lint:fix": "eslint --fix ./src" + "lint:fix": "eslint --fix src" }, "devDependencies": { "@anticrm/platform-rig":"~0.6.0", diff --git a/packages/platform/src/i18n.ts b/packages/platform/src/i18n.ts index 097fd37047..b415fbbb88 100644 --- a/packages/platform/src/i18n.ts +++ b/packages/platform/src/i18n.ts @@ -1,5 +1,6 @@ // // Copyright © 2020, 2021 Anticrm Platform Contributors. +// Copyright © 2021 Hardcore Engineering Inc. // // Licensed under the Eclipse Public License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. You may diff --git a/server/ws/package.json b/server/ws/package.json index ba53a07f35..364afb4585 100644 --- a/server/ws/package.json +++ b/server/ws/package.json @@ -6,7 +6,7 @@ "license": "EPL-2.0", "scripts": { "build": "heft build", - "lint:fix": "eslint --fix ./src" + "lint:fix": "eslint --fix src" }, "devDependencies": { "@anticrm/platform-rig":"~0.6.0", diff --git a/server/ws/src/index.ts b/server/ws/src/index.ts index 8bf678393a..a62adfe154 100644 --- a/server/ws/src/index.ts +++ b/server/ws/src/index.ts @@ -1,6 +1,6 @@ // // Copyright © 2020, 2021 Anticrm Platform Contributors. -// Copyright © 2021 Hardcore Engineering Inc. +// Copyright © 2021, 2022 Hardcore Engineering Inc. // // Licensed under the Eclipse Public License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. You may