@contember/engine-server 2.2.0-alpha.3 → 2.2.0-alpha.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/utils.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,GAAI,IAAI,MAAM,qBAG/B,CAAA"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/utils.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,OAAQ,MAAM,qBAG/B,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contember/engine-server",
3
- "version": "2.2.0-alpha.3",
3
+ "version": "2.2.0-alpha.6",
4
4
  "license": "Apache-2.0",
5
5
  "main": "./dist/production/index.js",
6
6
  "typings": "./dist/types/index.d.ts",
@@ -23,11 +23,12 @@
23
23
  }
24
24
  },
25
25
  "dependencies": {
26
- "@contember/engine-actions": "2.2.0-alpha.3",
27
- "@contember/engine-http": "2.2.0-alpha.3",
28
- "@contember/engine-plugins": "2.2.0-alpha.3",
29
- "@contember/engine-s3-plugin": "2.2.0-alpha.3",
30
- "@contember/engine-vimeo-plugin": "2.2.0-alpha.3",
26
+ "@contember/engine-actions": "2.2.0-alpha.6",
27
+ "@contember/engine-http": "2.2.0-alpha.6",
28
+ "@contember/engine-panel": "2.2.0-alpha.6",
29
+ "@contember/engine-plugins": "2.2.0-alpha.6",
30
+ "@contember/engine-s3-plugin": "2.2.0-alpha.6",
31
+ "@contember/engine-vimeo-plugin": "2.2.0-alpha.6",
31
32
  "graphql": "^16.13.1",
32
33
  "pg": "^8.20.0",
33
34
  "uuid": "^13.0.0"
@@ -1,8 +1,9 @@
1
1
  import ActionsPlugin from '@contember/engine-actions'
2
+ import PanelPlugin from '@contember/engine-panel'
2
3
  import { Plugin } from '@contember/engine-plugins'
3
4
  import S3Plugin from '@contember/engine-s3-plugin'
4
5
  import VimeoPlugin from '@contember/engine-vimeo-plugin'
5
6
 
6
7
  export default function loadPlugins(): Promise<Plugin[]> {
7
- return Promise.resolve([new S3Plugin(), new VimeoPlugin(), new ActionsPlugin()])
8
+ return Promise.resolve([new S3Plugin(), new VimeoPlugin(), new ActionsPlugin(), new PanelPlugin()])
8
9
  }
package/src/start.ts CHANGED
@@ -28,7 +28,7 @@ process.on('warning', message => {
28
28
  const version = await getServerVersion()
29
29
  printStartInfo({ version, isDebug }, logger)
30
30
  const plugins = await loadPlugins()
31
- const { serverConfig, projectConfigResolver, tenantConfigResolver } = await resolveServerConfig({ plugins, serverConfigSchema })
31
+ const { serverConfig, projectConfigResolver, tenantConfigResolver, env } = await resolveServerConfig({ plugins, serverConfigSchema })
32
32
 
33
33
  if (process.argv[2] === 'validate') {
34
34
  process.exit(0)
@@ -51,6 +51,7 @@ process.on('warning', message => {
51
51
  serverConfig,
52
52
  projectConfigResolver,
53
53
  tenantConfigResolver,
54
+ env,
54
55
  plugins,
55
56
  processType,
56
57
  version,
package/src/tsconfig.json CHANGED
@@ -6,6 +6,7 @@
6
6
  "references": [
7
7
  { "path": "../../engine-actions/src" },
8
8
  { "path": "../../engine-http/src" },
9
+ { "path": "../../engine-panel/src" },
9
10
  { "path": "../../engine-plugins/src" },
10
11
  { "path": "../../engine-s3-plugin/src" },
11
12
  { "path": "../../engine-vimeo-plugin/src" }