mirror of
https://github.com/hcengineering/platform.git
synced 2025-05-31 04:38:02 +00:00
parent
13db52c104
commit
171d0a6c5c
12
cloud/dev-server/app/Dockerfile
Normal file
12
cloud/dev-server/app/Dockerfile
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
FROM node:14
|
||||||
|
|
||||||
|
WORKDIR /usr/src/app
|
||||||
|
|
||||||
|
COPY package.json ./
|
||||||
|
|
||||||
|
RUN npm install
|
||||||
|
|
||||||
|
COPY ./lib ./lib
|
||||||
|
|
||||||
|
EXPOSE 3333
|
||||||
|
CMD [ "node", "lib/server.js" ]
|
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"changes": [
|
||||||
|
{
|
||||||
|
"packageName": "@anticrm/core",
|
||||||
|
"comment": "Minor changes for publish",
|
||||||
|
"type": "patch"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"packageName": "@anticrm/core"
|
||||||
|
}
|
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"changes": [
|
||||||
|
{
|
||||||
|
"packageName": "@anticrm/dev-server",
|
||||||
|
"comment": "Minor changes for publish",
|
||||||
|
"type": "patch"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"packageName": "@anticrm/dev-server"
|
||||||
|
}
|
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"changes": [
|
||||||
|
{
|
||||||
|
"packageName": "@anticrm/dev-storage",
|
||||||
|
"comment": "Minor changes for publish",
|
||||||
|
"type": "patch"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"packageName": "@anticrm/dev-storage"
|
||||||
|
}
|
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"changes": [
|
||||||
|
{
|
||||||
|
"packageName": "@anticrm/platform",
|
||||||
|
"comment": "Minor changes for publish",
|
||||||
|
"type": "patch"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"packageName": "@anticrm/platform"
|
||||||
|
}
|
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"changes": [
|
||||||
|
{
|
||||||
|
"packageName": "@anticrm/server-ws",
|
||||||
|
"comment": "Minor changes for publish",
|
||||||
|
"type": "patch"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"packageName": "@anticrm/server-ws"
|
||||||
|
}
|
@ -14,7 +14,4 @@
|
|||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
//
|
//
|
||||||
|
|
||||||
import { start } from './server'
|
export { start } from './server'
|
||||||
|
|
||||||
// eslint-disable-next-line @typescript-eslint/no-floating-promises
|
|
||||||
start(3333)
|
|
||||||
|
@ -85,8 +85,6 @@ class DevStorage implements ServerStorage {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @public
|
* @public
|
||||||
* @param handler -
|
|
||||||
* @returns
|
|
||||||
*/
|
*/
|
||||||
export async function createStorage (): Promise<ServerStorage> {
|
export async function createStorage (): Promise<ServerStorage> {
|
||||||
const txes = txJson as unknown as Tx[]
|
const txes = txJson as unknown as Tx[]
|
||||||
|
@ -15,6 +15,9 @@
|
|||||||
|
|
||||||
import type { IntlString, Asset, Resource } from '@anticrm/platform'
|
import type { IntlString, Asset, Resource } from '@anticrm/platform'
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @public
|
||||||
|
*/
|
||||||
export type Ref<T extends Doc> = string & { __ref: T }
|
export type Ref<T extends Doc> = string & { __ref: T }
|
||||||
export type PrimitiveType = number | string | boolean | undefined | Ref<Doc>
|
export type PrimitiveType = number | string | boolean | undefined | Ref<Doc>
|
||||||
export type Timestamp = number
|
export type Timestamp = number
|
||||||
|
@ -6,11 +6,7 @@
|
|||||||
"license": "EPL-2.0",
|
"license": "EPL-2.0",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "heft build",
|
"build": "heft build",
|
||||||
"build:docs": "api-extractor run --local",
|
"lint:fix": "eslint --fix ./src"
|
||||||
"test": "jest",
|
|
||||||
"lint": "ts-standard src",
|
|
||||||
"lint:fix": "eslint --fix ./src",
|
|
||||||
"format": "prettier --write 'src/**/*.{ts*,js*,yml}' && ts-standard --fix src"
|
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@anticrm/platform-rig":"~0.6.0",
|
"@anticrm/platform-rig":"~0.6.0",
|
||||||
|
@ -290,19 +290,19 @@
|
|||||||
* your PR branch, and in this situation "rush change" will also automatically invoke "git fetch"
|
* your PR branch, and in this situation "rush change" will also automatically invoke "git fetch"
|
||||||
* to retrieve the latest activity for the remote master branch.
|
* to retrieve the latest activity for the remote master branch.
|
||||||
*/
|
*/
|
||||||
// "url": "https://github.com/microsoft/rush-example",
|
"url": "https://github.com/hcengineering/anticrm",
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The default branch name. This tells "rush change" which remote branch to compare against.
|
* The default branch name. This tells "rush change" which remote branch to compare against.
|
||||||
* The default value is "master"
|
* The default value is "master"
|
||||||
*/
|
*/
|
||||||
// "defaultBranch": "master",
|
"defaultBranch": "main",
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The default remote. This tells "rush change" which remote to compare against if the remote URL is
|
* The default remote. This tells "rush change" which remote to compare against if the remote URL is
|
||||||
* not set or if a remote matching the provided remote URL is not found.
|
* not set or if a remote matching the provided remote URL is not found.
|
||||||
*/
|
*/
|
||||||
// "defaultRemote": "origin"
|
"defaultRemote": "origin"
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -6,11 +6,7 @@
|
|||||||
"license": "EPL-2.0",
|
"license": "EPL-2.0",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "heft build",
|
"build": "heft build",
|
||||||
"build:docs": "api-extractor run --local",
|
"lint:fix": "eslint --fix ./src"
|
||||||
"test": "jest",
|
|
||||||
"lint": "ts-standard src",
|
|
||||||
"lint:fix": "eslint --fix ./src",
|
|
||||||
"format": "prettier --write 'src/**/*.{ts*,js*,yml}' && ts-standard --fix src"
|
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@anticrm/platform-rig":"~0.6.0",
|
"@anticrm/platform-rig":"~0.6.0",
|
||||||
|
Loading…
Reference in New Issue
Block a user