@unchainedshop/platform 1.1.5 → 1.2.0
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.
- package/jest.config.js +5 -0
- package/lib/setup/setupAutoScheduling.js +1 -1
- package/lib/setup/setupAutoScheduling.js.map +1 -1
- package/lib/startPlatform.d.ts +5 -5
- package/lib/startPlatform.js +7 -6
- package/lib/startPlatform.js.map +1 -1
- package/package.json +24 -23
- package/src/setup/setupAutoScheduling.ts +1 -1
- package/src/startPlatform.ts +7 -5
- package/tsconfig.json +26 -5
- package/tsconfig.build.json +0 -26
package/jest.config.js
ADDED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { configureGenerateOrderAutoscheduling } from '@unchainedshop/plugins/
|
|
1
|
+
import { configureGenerateOrderAutoscheduling } from '@unchainedshop/plugins/worker/GenerateOrderWorker';
|
|
2
2
|
export const setupAutoScheduling = () => {
|
|
3
3
|
configureGenerateOrderAutoscheduling();
|
|
4
4
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setupAutoScheduling.js","sourceRoot":"","sources":["../../src/setup/setupAutoScheduling.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oCAAoC,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"setupAutoScheduling.js","sourceRoot":"","sources":["../../src/setup/setupAutoScheduling.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oCAAoC,EAAE,MAAM,mDAAmD,CAAC;AAEzG,MAAM,CAAC,MAAM,mBAAmB,GAAG,GAAG,EAAE;IACtC,oCAAoC,EAAE,CAAC;AACzC,CAAC,CAAC"}
|
package/lib/startPlatform.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { PlatformOptions, MessageTypes } from '@unchainedshop/types/platform';
|
|
2
|
-
import '@unchainedshop/plugins/
|
|
3
|
-
import '@unchainedshop/plugins/
|
|
4
|
-
import '@unchainedshop/plugins/
|
|
5
|
-
import '@unchainedshop/plugins/
|
|
2
|
+
import '@unchainedshop/plugins/worker/BulkImportWorker';
|
|
3
|
+
import '@unchainedshop/plugins/worker/ZombieKillerWorker';
|
|
4
|
+
import '@unchainedshop/plugins/worker/GenerateOrderWorker';
|
|
5
|
+
import '@unchainedshop/plugins/worker/MessageWorker';
|
|
6
6
|
export { MessageTypes };
|
|
7
7
|
export declare const queueWorkers: any[];
|
|
8
|
-
export declare const startPlatform: ({ modules, services, typeDefs, resolvers, options, rolesOptions, bulkImporter: bulkImporterOptions, schema, plugins, cache, workQueueOptions, context, introspection, playground, tracing, cacheControl, corsOrigins, }?: PlatformOptions) => Promise<import("@unchainedshop/types/core").UnchainedCore>;
|
|
8
|
+
export declare const startPlatform: ({ modules, services, typeDefs, resolvers, options, rolesOptions, expressApp, bulkImporter: bulkImporterOptions, schema, plugins, cache, workQueueOptions, context, introspection, playground, tracing, cacheControl, corsOrigins, }?: PlatformOptions) => Promise<import("@unchainedshop/types/core").UnchainedCore>;
|
package/lib/startPlatform.js
CHANGED
|
@@ -15,14 +15,14 @@ import { setupTemplates } from './setup/setupTemplates';
|
|
|
15
15
|
import { setupWorkqueue } from './setup/setupWorkqueue';
|
|
16
16
|
import { createMigrationRepository } from './migrations/migrationRepository';
|
|
17
17
|
// Workers
|
|
18
|
-
import '@unchainedshop/plugins/
|
|
19
|
-
import '@unchainedshop/plugins/
|
|
20
|
-
import '@unchainedshop/plugins/
|
|
21
|
-
import '@unchainedshop/plugins/
|
|
18
|
+
import '@unchainedshop/plugins/worker/BulkImportWorker';
|
|
19
|
+
import '@unchainedshop/plugins/worker/ZombieKillerWorker';
|
|
20
|
+
import '@unchainedshop/plugins/worker/GenerateOrderWorker';
|
|
21
|
+
import '@unchainedshop/plugins/worker/MessageWorker';
|
|
22
22
|
export { MessageTypes };
|
|
23
23
|
const logger = createLogger('unchained');
|
|
24
24
|
const REQUIRED_ENV_VARIABLES = ['EMAIL_WEBSITE_NAME', 'EMAIL_WEBSITE_URL', 'EMAIL_FROM'];
|
|
25
|
-
const {
|
|
25
|
+
const { UNCHAINED_DISABLE_WORKER } = process.env;
|
|
26
26
|
const exitOnMissingEnvironmentVariables = () => {
|
|
27
27
|
const failedEnv = REQUIRED_ENV_VARIABLES.filter((key) => !process.env[key]);
|
|
28
28
|
if (failedEnv.length > 0) {
|
|
@@ -36,7 +36,7 @@ const checkWorkQueueEnabled = (options) => {
|
|
|
36
36
|
return !UNCHAINED_DISABLE_WORKER;
|
|
37
37
|
};
|
|
38
38
|
export const queueWorkers = [];
|
|
39
|
-
export const startPlatform = async ({ modules = {}, services = {}, typeDefs = [], resolvers = [], options = {}, rolesOptions = {}, bulkImporter: bulkImporterOptions, schema, plugins, cache, workQueueOptions, context, introspection, playground, tracing, cacheControl, corsOrigins, } = {
|
|
39
|
+
export const startPlatform = async ({ modules = {}, services = {}, typeDefs = [], resolvers = [], options = {}, rolesOptions = {}, expressApp, bulkImporter: bulkImporterOptions, schema, plugins, cache, workQueueOptions, context, introspection, playground, tracing, cacheControl, corsOrigins, } = {
|
|
40
40
|
modules: {},
|
|
41
41
|
services: {},
|
|
42
42
|
typeDefs: [],
|
|
@@ -80,6 +80,7 @@ export const startPlatform = async ({ modules = {}, services = {}, typeDefs = []
|
|
|
80
80
|
resolvers,
|
|
81
81
|
schema,
|
|
82
82
|
plugins,
|
|
83
|
+
expressApp,
|
|
83
84
|
cache,
|
|
84
85
|
context,
|
|
85
86
|
introspection,
|
package/lib/startPlatform.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"startPlatform.js","sourceRoot":"","sources":["../src/startPlatform.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0C,YAAY,EAAE,MAAM,+BAA+B,CAAC;AACrG,OAAO,EAAE,cAAc,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC/C,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CA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AAwB;IACxB,cAAc,EAAE,CAAC;IAEjB,MAAM,iBAAiB,GAAG;QACxB,GAAG,qBAAqB,EAAE;QAC1B,GAAG,sBAAsB,EAAE;QAC3B,GAAG,0BAA0B,EAAE;KAChC,CAAC;IAEF,2BAA2B;IAC3B,cAAc,CAAC;QACb,YAAY;QACZ,KAAK,EAAE,eAAe;QACtB,QAAQ,EAAE,CAAC,GAAG,iBAAiB,EAAE,GAAG,QAAQ,CAAC;QAC7C,SAAS;QACT,MAAM;QACN,OAAO;QACP,UAAU;QACV,KAAK;QACL,OAAO;QACP,aAAa;QACb,UAAU;QACV,OAAO;QACP,WAAW;QACX,YAAY;KACb,CAAC,CAAC;IAEH,uCAAuC;IACvC,IAAI,kBAAkB,EAAE;QACtB,MAAM,QAAQ,GAAG,cAAc,CAAC,YAAY,EAAE,gBAAgB,CAAC,CAAC;QAChE,QAAQ,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;QAC1D,MAAM,UAAU,CAAC,YAAY,EAAE,gBAAgB,CAAC,CAAC;QAEjD,mBAAmB,EAAE,CAAC;KACvB;IAED,qBAAqB;IACrB,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,yBAAyB,EAAE;QAC/C,YAAY,CAAC,GAAG,EAAE,CAAC,YAAY,CAAC,OAAO,CAAC,OAAO,CAAC,eAAe,CAAC,EAAE,EAAE,YAAY,CAAC,CAAC,CAAC;KACpF;IAED,OAAO,YAAY,CAAC;AACtB,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,15 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unchainedshop/platform",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"main": "lib/platform-index.js",
|
|
5
|
+
"exports": {
|
|
6
|
+
".": "./lib/platform-index.js",
|
|
7
|
+
"./*": "./lib/*"
|
|
8
|
+
},
|
|
5
9
|
"types": "lib/platform-index.d.ts",
|
|
6
10
|
"type": "module",
|
|
7
11
|
"scripts": {
|
|
12
|
+
"prepublishOnly": "npm install && npm run build || :",
|
|
8
13
|
"clean": "rm -rf lib",
|
|
9
|
-
"build": "npm run clean && tsc
|
|
10
|
-
"watch": "tsc
|
|
11
|
-
"
|
|
12
|
-
"test": "TEST_CLIENT=0 TEST_WATCH=1 meteor test-packages ./ --driver-package meteortesting:mocha --port 4200"
|
|
14
|
+
"build": "npm run clean && tsc",
|
|
15
|
+
"watch": "tsc -w",
|
|
16
|
+
"test": "jest --watch"
|
|
13
17
|
},
|
|
14
18
|
"repository": {
|
|
15
19
|
"type": "git",
|
|
@@ -27,30 +31,27 @@
|
|
|
27
31
|
},
|
|
28
32
|
"homepage": "https://github.com/unchainedshop/unchained#readme",
|
|
29
33
|
"dependencies": {
|
|
30
|
-
"
|
|
34
|
+
"@unchainedshop/api": "^1.1.9",
|
|
35
|
+
"@unchainedshop/core": "^1.1.9",
|
|
36
|
+
"@unchainedshop/events": "^1.1.9",
|
|
37
|
+
"@unchainedshop/file-upload": "^1.1.9",
|
|
38
|
+
"@unchainedshop/logger": "^1.1.9",
|
|
39
|
+
"@unchainedshop/mongodb": "^1.1.9",
|
|
40
|
+
"@unchainedshop/plugins": "^1.1.9",
|
|
41
|
+
"@unchainedshop/roles": "^1.1.9",
|
|
42
|
+
"@unchainedshop/utils": "^1.1.9",
|
|
31
43
|
"event-iterator": "^2.0.0",
|
|
44
|
+
"JSONStream": "^1.3.5",
|
|
32
45
|
"moniker": "0.1.2",
|
|
33
|
-
"open": "^8.4.0"
|
|
34
|
-
"@unchainedshop/events": "1.1.x",
|
|
35
|
-
"@unchainedshop/file-upload": "1.1.x",
|
|
36
|
-
"@unchainedshop/logger": "1.1.x",
|
|
37
|
-
"@unchainedshop/mongodb": "1.1.x",
|
|
38
|
-
"@unchainedshop/roles": "1.1.x",
|
|
39
|
-
"@unchainedshop/utils": "1.1.x",
|
|
40
|
-
"@unchainedshop/api": "1.1.x",
|
|
41
|
-
"@unchainedshop/core": "1.1.x"
|
|
42
|
-
},
|
|
43
|
-
"peerDependencies": {
|
|
44
|
-
"@unchainedshop/plugins": "1.1.x"
|
|
46
|
+
"open": "^8.4.0"
|
|
45
47
|
},
|
|
46
48
|
"devDependencies": {
|
|
47
|
-
"@types/chai": "^4.3.1",
|
|
48
|
-
"@types/mocha": "^9.1.1",
|
|
49
49
|
"@types/moment": "^2.13.0",
|
|
50
|
-
"@
|
|
51
|
-
"@unchainedshop/types": "1.1.
|
|
52
|
-
"chai": "^4.3.6",
|
|
50
|
+
"@types/node": "^16.11.44",
|
|
51
|
+
"@unchainedshop/types": "^1.1.9",
|
|
53
52
|
"cross-env": "^7.0.3",
|
|
53
|
+
"jest": "^28.1.2",
|
|
54
|
+
"ts-jest": "^28.0.5",
|
|
54
55
|
"typescript": "^4.7.4"
|
|
55
56
|
}
|
|
56
57
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { configureGenerateOrderAutoscheduling } from '@unchainedshop/plugins/
|
|
1
|
+
import { configureGenerateOrderAutoscheduling } from '@unchainedshop/plugins/worker/GenerateOrderWorker';
|
|
2
2
|
|
|
3
3
|
export const setupAutoScheduling = () => {
|
|
4
4
|
configureGenerateOrderAutoscheduling();
|
package/src/startPlatform.ts
CHANGED
|
@@ -16,10 +16,10 @@ import { setupWorkqueue } from './setup/setupWorkqueue';
|
|
|
16
16
|
import { createMigrationRepository } from './migrations/migrationRepository';
|
|
17
17
|
|
|
18
18
|
// Workers
|
|
19
|
-
import '@unchainedshop/plugins/
|
|
20
|
-
import '@unchainedshop/plugins/
|
|
21
|
-
import '@unchainedshop/plugins/
|
|
22
|
-
import '@unchainedshop/plugins/
|
|
19
|
+
import '@unchainedshop/plugins/worker/BulkImportWorker';
|
|
20
|
+
import '@unchainedshop/plugins/worker/ZombieKillerWorker';
|
|
21
|
+
import '@unchainedshop/plugins/worker/GenerateOrderWorker';
|
|
22
|
+
import '@unchainedshop/plugins/worker/MessageWorker';
|
|
23
23
|
|
|
24
24
|
export { MessageTypes };
|
|
25
25
|
|
|
@@ -27,7 +27,7 @@ const logger = createLogger('unchained');
|
|
|
27
27
|
|
|
28
28
|
const REQUIRED_ENV_VARIABLES = ['EMAIL_WEBSITE_NAME', 'EMAIL_WEBSITE_URL', 'EMAIL_FROM'];
|
|
29
29
|
|
|
30
|
-
const {
|
|
30
|
+
const { UNCHAINED_DISABLE_WORKER } = process.env;
|
|
31
31
|
|
|
32
32
|
const exitOnMissingEnvironmentVariables = () => {
|
|
33
33
|
const failedEnv = REQUIRED_ENV_VARIABLES.filter((key) => !process.env[key]);
|
|
@@ -52,6 +52,7 @@ export const startPlatform = async (
|
|
|
52
52
|
resolvers = [],
|
|
53
53
|
options = {},
|
|
54
54
|
rolesOptions = {},
|
|
55
|
+
expressApp,
|
|
55
56
|
bulkImporter: bulkImporterOptions,
|
|
56
57
|
schema,
|
|
57
58
|
plugins,
|
|
@@ -117,6 +118,7 @@ export const startPlatform = async (
|
|
|
117
118
|
resolvers,
|
|
118
119
|
schema,
|
|
119
120
|
plugins,
|
|
121
|
+
expressApp,
|
|
120
122
|
cache,
|
|
121
123
|
context,
|
|
122
124
|
introspection,
|
package/tsconfig.json
CHANGED
|
@@ -1,8 +1,29 @@
|
|
|
1
1
|
{
|
|
2
|
-
"extends": "./tsconfig.build.json",
|
|
3
2
|
"compilerOptions": {
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"allowJs": true,
|
|
4
|
+
"allowSyntheticDefaultImports": true,
|
|
5
|
+
"declaration": true,
|
|
6
|
+
"esModuleInterop": true,
|
|
7
|
+
"experimentalDecorators": true,
|
|
8
|
+
"forceConsistentCasingInFileNames": true,
|
|
9
|
+
"lib": [
|
|
10
|
+
"esnext"
|
|
11
|
+
],
|
|
12
|
+
"module": "esnext",
|
|
13
|
+
"moduleResolution": "node",
|
|
14
|
+
"noImplicitReturns": true,
|
|
15
|
+
"noUnusedLocals": false,
|
|
16
|
+
"outDir": "lib",
|
|
17
|
+
"preserveWatchOutput": true,
|
|
18
|
+
"skipLibCheck": true,
|
|
19
|
+
"sourceMap": true,
|
|
20
|
+
"target": "esnext",
|
|
21
|
+
"types": [
|
|
22
|
+
"node",
|
|
23
|
+
"jest"
|
|
24
|
+
]
|
|
6
25
|
},
|
|
7
|
-
"include": [
|
|
8
|
-
|
|
26
|
+
"include": [
|
|
27
|
+
"src"
|
|
28
|
+
]
|
|
29
|
+
}
|
package/tsconfig.build.json
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"allowJs": true,
|
|
4
|
-
"allowSyntheticDefaultImports": true,
|
|
5
|
-
"declaration": true,
|
|
6
|
-
"esModuleInterop": true,
|
|
7
|
-
"experimentalDecorators": true,
|
|
8
|
-
"forceConsistentCasingInFileNames": true,
|
|
9
|
-
"lib": ["esnext"],
|
|
10
|
-
"module": "esnext",
|
|
11
|
-
"moduleResolution": "node",
|
|
12
|
-
"noImplicitReturns": true,
|
|
13
|
-
"noUnusedLocals": false,
|
|
14
|
-
"outDir": "lib",
|
|
15
|
-
"preserveWatchOutput": true,
|
|
16
|
-
"skipLibCheck": true,
|
|
17
|
-
"sourceMap": true,
|
|
18
|
-
"target": "esnext",
|
|
19
|
-
"types": ["node"],
|
|
20
|
-
"baseUrl": ".", // This must be specified if "paths" is.
|
|
21
|
-
"paths": {
|
|
22
|
-
"meteor/unchained:*": ["node_modules/@unchainedshop/types/index.d.ts"]
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
"include": ["src"]
|
|
26
|
-
}
|