@contember/create 0.12.0-alpha.12

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.
@@ -0,0 +1,13 @@
1
+ import { Command, CommandConfiguration, Input } from '@contember/cli-common';
2
+ declare type Args = {
3
+ workspaceName: string;
4
+ };
5
+ declare type Options = {
6
+ template?: string;
7
+ };
8
+ export declare class WorkspaceCreateCommand extends Command<Args, Options> {
9
+ protected configure(configuration: CommandConfiguration<Args, Options>): void;
10
+ protected execute(input: Input<Args, Options>): Promise<void>;
11
+ }
12
+ export {};
13
+ //# sourceMappingURL=WorkspaceCreateCommand.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WorkspaceCreateCommand.d.ts","sourceRoot":"","sources":["../../../src/commands/WorkspaceCreateCommand.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,OAAO,EAAE,oBAAoB,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAA;AAG7F,aAAK,IAAI,GAAG;IACX,aAAa,EAAE,MAAM,CAAA;CACrB,CAAA;AAED,aAAK,OAAO,GAAG;IACd,QAAQ,CAAC,EAAE,MAAM,CAAA;CACjB,CAAA;AAED,qBAAa,sBAAuB,SAAQ,OAAO,CAAC,IAAI,EAAE,OAAO,CAAC;IACjE,SAAS,CAAC,SAAS,CAAC,aAAa,EAAE,oBAAoB,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,IAAI;cAK7D,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC;CAQnE"}
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.WorkspaceCreateCommand = void 0;
7
+ const cli_common_1 = require("@contember/cli-common");
8
+ const path_1 = require("path");
9
+ const chalk_1 = __importDefault(require("chalk"));
10
+ class WorkspaceCreateCommand extends cli_common_1.Command {
11
+ configure(configuration) {
12
+ configuration.description('Creates a new Contember workspace');
13
+ configuration.argument('workspaceName');
14
+ }
15
+ async execute(input) {
16
+ const workspaceName = input.getArgument('workspaceName');
17
+ const workspaceDirectory = path_1.join(process.cwd(), workspaceName);
18
+ const template = input.getOption('template');
19
+ await cli_common_1.createWorkspace({ workspaceDirectory, workspaceName, template });
20
+ // eslint-disable-next-line no-console
21
+ console.log(createDocs(workspaceDirectory, workspaceName));
22
+ }
23
+ }
24
+ exports.WorkspaceCreateCommand = WorkspaceCreateCommand;
25
+ const createDocs = (workspaceDirectory, workspaceName) => `
26
+ Contember workspace was successfully created inside the directory ${workspaceDirectory}
27
+
28
+ You can now enter this directory:
29
+ $ ${chalk_1.default.greenBright(`cd ${workspaceName}`)}
30
+
31
+ Install NPM dependencies:
32
+ $ ${chalk_1.default.greenBright(`npm install`)}
33
+ (of course, you can use any alternative package manager like pnpm or yarn)
34
+
35
+ Check the default configuration in docker-compose.override.yaml if it fits your needs.
36
+
37
+ Now you are ready to start the Contember stack:
38
+ $ ${chalk_1.default.greenBright('docker-compose up')}
39
+
40
+ The following services are now be accessible (with default settings):
41
+
42
+ - Admin at http://localhost:1480
43
+ - API endpoints at http://localhost:1481 (you can authorize with token 0000000000000000000000000000000000000000)
44
+ - To connect to the GraphQL you can use pre-packed client (Apollo Playground) available at http://localhost:1481/playground
45
+ - Adminer database management tool at http://localhost:1485
46
+ - Minio local S3 provider at http://localhost:1483 (you can sign in with contembeer / contember credentials)
47
+ - Mailhog testing SMTP at http://localhost:1484
48
+ - PostgreSQL database at localhost:1482 (you can sign in with contember / contember credentials)
49
+
50
+ If you have any issues or questions, just ask here: https://github.com/contember/engine/discussions
51
+ `;
52
+ //# sourceMappingURL=WorkspaceCreateCommand.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WorkspaceCreateCommand.js","sourceRoot":"","sources":["../../../src/commands/WorkspaceCreateCommand.ts"],"names":[],"mappings":";;;;;;AAAA,sDAA6F;AAC7F,+BAA2B;AAC3B,kDAAyB;AASzB,MAAa,sBAAuB,SAAQ,oBAAsB;IACvD,SAAS,CAAC,aAAkD;QACrE,aAAa,CAAC,WAAW,CAAC,mCAAmC,CAAC,CAAA;QAC9D,aAAa,CAAC,QAAQ,CAAC,eAAe,CAAC,CAAA;IACxC,CAAC;IAES,KAAK,CAAC,OAAO,CAAC,KAA2B;QAClD,MAAM,aAAa,GAAG,KAAK,CAAC,WAAW,CAAC,eAAe,CAAC,CAAA;QACxD,MAAM,kBAAkB,GAAG,WAAI,CAAC,OAAO,CAAC,GAAG,EAAE,EAAE,aAAa,CAAC,CAAA;QAC7D,MAAM,QAAQ,GAAG,KAAK,CAAC,SAAS,CAAC,UAAU,CAAC,CAAA;QAC5C,MAAM,4BAAe,CAAC,EAAE,kBAAkB,EAAE,aAAa,EAAE,QAAQ,EAAE,CAAC,CAAA;QACtE,sCAAsC;QACtC,OAAO,CAAC,GAAG,CAAC,UAAU,CAAC,kBAAkB,EAAE,aAAa,CAAC,CAAC,CAAA;IAC3D,CAAC;CACD;AAdD,wDAcC;AAED,MAAM,UAAU,GAAG,CAAC,kBAA0B,EAAE,aAAqB,EAAE,EAAE,CAAC;oEACN,kBAAkB;;;IAGlF,eAAK,CAAC,WAAW,CAAC,MAAM,aAAa,EAAE,CAAC;;;IAGxC,eAAK,CAAC,WAAW,CAAC,aAAa,CAAC;;;;;;IAMhC,eAAK,CAAC,WAAW,CAAC,mBAAmB,CAAC;;;;;;;;;;;;;CAazC,CAAA"}
@@ -0,0 +1,2 @@
1
+ export * from './WorkspaceCreateCommand';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commands/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAA"}
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
+ }) : (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ o[k2] = m[k];
8
+ }));
9
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
+ };
12
+ Object.defineProperty(exports, "__esModule", { value: true });
13
+ __exportStar(require("./WorkspaceCreateCommand"), exports);
14
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/commands/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2DAAwC"}
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env node
2
+ export {};
3
+ //# sourceMappingURL=run.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"run.d.ts","sourceRoot":"","sources":["../../src/run.ts"],"names":[],"mappings":""}
@@ -0,0 +1,21 @@
1
+ #!/usr/bin/env node
2
+ "use strict";
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ const cli_common_1 = require("@contember/cli-common");
5
+ const commands_1 = require("./commands");
6
+ (async () => {
7
+ const commandManager = new cli_common_1.CommandManager({
8
+ ['workspace']: () => new commands_1.WorkspaceCreateCommand(),
9
+ });
10
+ const nodeVersion = process.version.match(/^v?(\d+)\..+$/);
11
+ if (nodeVersion && Number(nodeVersion[1]) < 12) {
12
+ throw `Node >= 12 is required`;
13
+ }
14
+ const app = new cli_common_1.Application(commandManager, `Contember installer`);
15
+ await app.runCommand('workspace', process.argv.slice(2));
16
+ })().catch(e => {
17
+ // eslint-disable-next-line no-console
18
+ console.log(e);
19
+ process.exit(1);
20
+ });
21
+ //# sourceMappingURL=run.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"run.js","sourceRoot":"","sources":["../../src/run.ts"],"names":[],"mappings":";;;AACA,sDAAmE;AACnE,yCACC;AAAA,CAAC,KAAK,IAAI,EAAE;IACZ,MAAM,cAAc,GAAG,IAAI,2BAAc,CAAC;QACzC,CAAC,WAAW,CAAC,EAAE,GAAG,EAAE,CAAC,IAAI,iCAAsB,EAAE;KACjD,CAAC,CAAA;IAEF,MAAM,WAAW,GAAG,OAAO,CAAC,OAAO,CAAC,KAAK,CAAC,eAAe,CAAC,CAAA;IAC1D,IAAI,WAAW,IAAI,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,GAAG,EAAE,EAAE;QAC/C,MAAM,wBAAwB,CAAA;KAC9B;IACD,MAAM,GAAG,GAAG,IAAI,wBAAW,CAAC,cAAc,EAAE,qBAAqB,CAAC,CAAA;IAClE,MAAM,GAAG,CAAC,UAAU,CAAC,WAAW,EAAE,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAA;AACzD,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE;IACd,sCAAsC;IACtC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAA;IACd,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;AAChB,CAAC,CAAC,CAAA"}
@@ -0,0 +1 @@
1
+ {"program":{"fileNames":["../../../../node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../../node_modules/typescript/lib/lib.es2021.d.ts","../../../../node_modules/typescript/lib/lib.esnext.d.ts","../../../../node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../cli-common/dist/src/application/Argument.d.ts","../../../cli-common/dist/src/application/Option.d.ts","../../../cli-common/dist/src/application/Input.d.ts","../../../cli-common/dist/src/application/InputParser.d.ts","../../../cli-common/dist/src/application/UsageFormatter.d.ts","../../../cli-common/dist/src/application/CommandConfiguration.d.ts","../../../cli-common/dist/src/application/Command.d.ts","../../../cli-common/dist/src/application/CommandManager.d.ts","../../../cli-common/dist/src/application/Application.d.ts","../../../cli-common/dist/src/application/assertNever.d.ts","../../../cli-common/dist/src/application/index.d.ts","../../../cli-common/dist/src/utils/version.d.ts","../../../cli-common/dist/src/utils/Project.d.ts","../../../cli-common/dist/src/utils/ProjectManager.d.ts","../../../cli-common/dist/src/utils/PathMapping.d.ts","../../../cli-common/dist/src/utils/Workspace.d.ts","../../../cli-common/dist/src/utils/fs.d.ts","../../../cli-common/dist/src/utils/index.d.ts","../../../cli-common/dist/src/index.d.ts","../../../../node_modules/chalk/index.d.ts","../../src/commands/WorkspaceCreateCommand.ts","../../src/commands/index.ts","../../src/run.ts","../../../../node_modules/@types/node/assert/strict.d.ts","../../../../node_modules/@types/node/globals.d.ts","../../../../node_modules/@types/node/async_hooks.d.ts","../../../../node_modules/@types/node/buffer.d.ts","../../../../node_modules/@types/node/child_process.d.ts","../../../../node_modules/@types/node/cluster.d.ts","../../../../node_modules/@types/node/console.d.ts","../../../../node_modules/@types/node/constants.d.ts","../../../../node_modules/@types/node/crypto.d.ts","../../../../node_modules/@types/node/dgram.d.ts","../../../../node_modules/@types/node/diagnostic_channel.d.ts","../../../../node_modules/@types/node/dns.d.ts","../../../../node_modules/@types/node/dns/promises.d.ts","../../../../node_modules/@types/node/domain.d.ts","../../../../node_modules/@types/node/events.d.ts","../../../../node_modules/@types/node/fs.d.ts","../../../../node_modules/@types/node/fs/promises.d.ts","../../../../node_modules/@types/node/http.d.ts","../../../../node_modules/@types/node/http2.d.ts","../../../../node_modules/@types/node/https.d.ts","../../../../node_modules/@types/node/inspector.d.ts","../../../../node_modules/@types/node/module.d.ts","../../../../node_modules/@types/node/net.d.ts","../../../../node_modules/@types/node/os.d.ts","../../../../node_modules/@types/node/path.d.ts","../../../../node_modules/@types/node/perf_hooks.d.ts","../../../../node_modules/@types/node/process.d.ts","../../../../node_modules/@types/node/punycode.d.ts","../../../../node_modules/@types/node/querystring.d.ts","../../../../node_modules/@types/node/readline.d.ts","../../../../node_modules/@types/node/repl.d.ts","../../../../node_modules/@types/node/stream.d.ts","../../../../node_modules/@types/node/stream/promises.d.ts","../../../../node_modules/@types/node/string_decoder.d.ts","../../../../node_modules/@types/node/timers.d.ts","../../../../node_modules/@types/node/timers/promises.d.ts","../../../../node_modules/@types/node/tls.d.ts","../../../../node_modules/@types/node/trace_events.d.ts","../../../../node_modules/@types/node/tty.d.ts","../../../../node_modules/@types/node/url.d.ts","../../../../node_modules/@types/node/util.d.ts","../../../../node_modules/@types/node/util/types.d.ts","../../../../node_modules/@types/node/v8.d.ts","../../../../node_modules/@types/node/vm.d.ts","../../../../node_modules/@types/node/worker_threads.d.ts","../../../../node_modules/@types/node/zlib.d.ts","../../../../node_modules/@types/node/globals.global.d.ts","../../../../node_modules/@types/node/wasi.d.ts","../../../../node_modules/@types/node/ts3.6/base.d.ts","../../../../node_modules/@types/node/assert.d.ts","../../../../node_modules/@types/node/base.d.ts","../../../../node_modules/@types/node/index.d.ts","../../../../node_modules/@types/accepts/index.d.ts","../../../../node_modules/@types/bcrypt/index.d.ts","../../../../node_modules/@types/connect/index.d.ts","../../../../node_modules/@types/body-parser/index.d.ts","../../../../node_modules/@types/keyv/index.d.ts","../../../../node_modules/@types/http-cache-semantics/index.d.ts","../../../../node_modules/@types/responselike/index.d.ts","../../../../node_modules/@types/cacheable-request/index.d.ts","../../../../node_modules/@types/caseless/index.d.ts","../../../../node_modules/@types/content-disposition/index.d.ts","../../../../node_modules/@types/cookiejar/index.d.ts","../../../../node_modules/@types/keygrip/index.d.ts","../../../../node_modules/@types/range-parser/index.d.ts","../../../../node_modules/@types/qs/index.d.ts","../../../../node_modules/@types/express-serve-static-core/index.d.ts","../../../../node_modules/@types/mime/index.d.ts","../../../../node_modules/@types/serve-static/index.d.ts","../../../../node_modules/@types/express/index.d.ts","../../../../node_modules/@types/cookies/index.d.ts","../../../../node_modules/@types/fs-extra/index.d.ts","../../../../node_modules/@types/http-assert/index.d.ts","../../../../node_modules/@types/http-errors/index.d.ts","../../../../node_modules/@types/http-proxy-agent/index.d.ts","../../../../node_modules/@types/js-yaml/index.d.ts","../../../../node_modules/@types/json-schema/index.d.ts","../../../../node_modules/@types/json-stable-stringify/index.d.ts","../../../../node_modules/@types/jsonwebtoken/index.d.ts","../../../../node_modules/@types/koa-compose/index.d.ts","../../../../node_modules/@types/koa/index.d.ts","../../../../node_modules/@types/koa-bodyparser/index.d.ts","../../../../node_modules/@types/koa-compress/index.d.ts","../../../../node_modules/@types/koa__cors/index.d.ts","../../../../node_modules/@types/lru-cache/index.d.ts","../../../../node_modules/@types/mime-types/index.d.ts","../../../../node_modules/@types/mustache/index.d.ts","../../../../node_modules/form-data/index.d.ts","../../../../node_modules/@types/node-fetch/externals.d.ts","../../../../node_modules/@types/node-fetch/index.d.ts","../../../../node_modules/@types/nodemailer/lib/dkim/index.d.ts","../../../../node_modules/@types/nodemailer/lib/mailer/mail-message.d.ts","../../../../node_modules/@types/nodemailer/lib/xoauth2.d.ts","../../../../node_modules/@types/nodemailer/lib/mailer/index.d.ts","../../../../node_modules/@types/nodemailer/lib/mime-node/index.d.ts","../../../../node_modules/@types/nodemailer/lib/smtp-connection/index.d.ts","../../../../node_modules/@types/nodemailer/lib/shared.d.ts","../../../../node_modules/@types/nodemailer/lib/json-transport.d.ts","../../../../node_modules/@types/nodemailer/lib/sendmail-transport/index.d.ts","../../../../node_modules/@types/nodemailer/lib/ses-transport.d.ts","../../../../node_modules/@types/nodemailer/lib/smtp-pool/index.d.ts","../../../../node_modules/@types/nodemailer/lib/smtp-transport.d.ts","../../../../node_modules/@types/nodemailer/lib/stream-transport.d.ts","../../../../node_modules/@types/nodemailer/index.d.ts","../../../../node_modules/@types/npm-package-arg/index.d.ts","../../../../node_modules/@types/parse-json/index.d.ts","../../../../node_modules/pg-types/index.d.ts","../../../../node_modules/pg-protocol/dist/messages.d.ts","../../../../node_modules/pg-protocol/dist/serializer.d.ts","../../../../node_modules/pg-protocol/dist/parser.d.ts","../../../../node_modules/pg-protocol/dist/index.d.ts","../../../../node_modules/@types/pg/index.d.ts","../../../../node_modules/@types/prompts/index.d.ts","../../../../node_modules/@types/request/node_modules/form-data/index.d.ts","../../../../node_modules/@types/tough-cookie/index.d.ts","../../../../node_modules/@types/request/index.d.ts","../../../../node_modules/@sinonjs/fake-timers/types/fake-timers-src.d.ts","../../../../node_modules/@types/sinon/index.d.ts","../../../../node_modules/@types/superagent/index.d.ts","../../../../node_modules/@types/supertest/index.d.ts","../../../../node_modules/@types/uuid/index.d.ts","../../../../node_modules/@types/websocket/index.d.ts"],"fileInfos":[{"version":"ac3a8c4040e183ce38da69d23b96939112457d1936198e6542672b7963cf0fce","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","e21c071ca3e1b4a815d5f04a7475adcaeea5d64367e840dd0154096d705c3940","eb75e89d63b3b72dd9ca8b0cac801cecae5be352307c004adeaa60bc9d6df51f","2cc028cd0bdb35b1b5eb723d84666a255933fffbea607f72cbd0c7c7b4bee144",{"version":"1dad4fe1561d99dfd6709127608b99a76e5c2643626c800434f99c48038567ee","affectsGlobalScope":true},{"version":"cce43d02223f8049864f8568bed322c39424013275cd3bcc3f51492d8b546cb3","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"8dff1b4c2df638fcd976cbb0e636f23ab5968e836cd45084cc31d47d1ab19c49","affectsGlobalScope":true},{"version":"2bb4b3927299434052b37851a47bf5c39764f2ba88a888a107b32262e9292b7c","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"62d80405c46c3f4c527ee657ae9d43fda65a0bf582292429aea1e69144a522a6","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"8f4c9f651c8294a2eb1cbd12581fe25bfb901ab1d474bb93cd38c7e2f4be7a30","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"df9c8a72ca8b0ed62f5470b41208a0587f0f73f0a7db28e5a1272cf92537518e","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"93544ca2f26a48716c1b6c5091842cad63129daac422dfa4bc52460465f22bb1","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"60761e6ea886034af0f294f025a7199360ce4e2c8ba4ec6408bc049cf9b89799","affectsGlobalScope":true},{"version":"7435b75fdf3509622e79622dbe5091cf4b09688410ee2034e4fc17d0c99d0862","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"9f1817f7c3f02f6d56e0f403b927e90bb133f371dcebc36fa7d6d208ef6899da","affectsGlobalScope":true},{"version":"cd6efb9467a8b6338ece2e2855e37765700f2cd061ca54b01b33878cf5c7677e","affectsGlobalScope":true},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true},{"version":"5b0ca94ec819d68d33da516306c15297acec88efeb0ae9e2b39f71dbd9685ef7","affectsGlobalScope":true},{"version":"506b80b9951c9381dc5f11897b31fca5e2a65731d96ddefa19687fbc26b23c6e","affectsGlobalScope":true},"54abee9e8c7eacaf90431f00341e75b6bae70647d0511b0ff1a5ae1c33dccd47","7d78b26bdc4d097b4f7ae37a09f36f6f50cff6fa36af449240f4962a68a7c4d1","7316be77f65fa55ead124cdfadf7274f748d5e0e54f262cb7b8f7a61b791595e","b94d2d3a5b5c34ec95cd4fd45dbb0250bd6d2bbb18c86dc0212a755eba57a8c0","bd020fe88b7822e622bc1335cff695fb175de51f17ef84a550dc4fcd4d2bd26b","efb191a2547a259d94ec02756d0109707ad700de6148b9a0bd758c96406c5828","0afc3e79ac7616ebd0494e1f6a9a4030ae835fdb9cbd624a1d71b1c8ebacf489","9e4a7efde4118c5716363bf8dcbac14b3b812a4e79b7f440607c26104914eadd","1d0e49a6e363e6dc30cd9a341b80ccbfd56ae955e4495b75bc7d1f8fc94d9057","15be5bd580a13feacf1da73771a1325d35aea3c76baf8cf9d3bac422a03c86c8","1680f7bfa7127d469593324661ad2b64d302510c668b769c64308526773e67cb","7b1b42b51b5d2c3fd673fa8075c127d1ea31b817c375a94c835c16b8105163ba","c17e9f2384fe39982e2e896c42113f7d788ac00d07eb516f32ad89c5f4b8da98","83c9d958fde7337f0915f6cba4b6aecc7e2c9c57a86c9986480a18f698420176","547eb4d979c9c6de6942c72253febcbb9bf13507952f018b31b976bd117b8056","f2ab3618169ff3b485cee7d8fdb1b2cfceb4174c84d1ec48f939cae07bbc8b91","893611588570c14be2db5bf15983b41130b42b7e12ba918fb02b620f3fc2db79","fd0afdd0bd948ca7220fbadc3c0a7075e2241163c2c51180bf6896b1ad397dae","1f93b33c349bb828f6866f134eed585738d291fd101e23b7c7165be456415113","0d14fa22c41fdc7277e6f71473b20ebc07f40f00e38875142335d5b63cdfc9d2","61439644f2ad9a67be6c1c7ee85d8ae190b04a4113f0058f85bbec21819ca6ff","979d04aaaa93c1cc34294b1d93351ad5ec70bc6aeeae38edfb9dea38018b1ff2","1388aa393f0c6c823df502ded9e390894fe2dcc4a657edaadca318f0e9805439","c7bdc99177a2a94d25fb13722adaaf5b3291bf70b4d1b27584ba189dd3889ba3",{"version":"7c4064a324cd755a9b281d5795fc6ebd9dd713b1c356220185c61eb1b2d0f1af","affectsGlobalScope":true},"e23424b97418eca3226fd24de079f1203eb70360622e4e093af2aff14d4be6ec","ff16181fe134bb123283eb6777c624f6f3ee3f5c17d70b8447fa68af0935d312","54868134aa26f98b6fbc8d28040d8a0f5e64a1cb0dfac7f059b35cac99d626f2","04eaa93bd75f937f9184dcb95a7983800c5770cf8ddd8ac0f3734dc02f5b20ef",{"version":"7ddd5487c03df04c01a8618e06d875e167524902ed3dd9a2a9345a0ef5202d6f","affectsGlobalScope":true},"45ac321f2e15d268fd74a90ddaa6467dcaaff2c5b13f95b4b85831520fb7a491","91550fb52e0781808bb5796aad0c084c006620f061793e6717c41085245fda47","c9f5f2920ff61d7158417b8440d5181ddc34a3dfef811a5677dd8a9fb91471e9","5cc0a492da3602510b8f5ed1852b1e0390002780d8758fbc8c0cd023ca7085f8","ec7dafafe751a5121f8f1c80201ebe7e7238c47e6329280a73c4d1ca4bb7fa28","64debeb10e4b7ae4ec9e89bfb4e04c6101ab98c3cc806d14e5488607cfec2753",{"version":"2866a528b2708aa272ec3eaafd3c980abb23aec1ef831cfc5eb2186b98c37ce5","affectsGlobalScope":true},{"version":"a5782d6cea81fe43d2db7ed41e789458c933ab3ab60602f7b5b14c4da3370496","affectsGlobalScope":true},"b86b7ff709a82ef3cba2184136c025989958bad483ffb13e4ca35d720245adf4","05b1c856de9c8f2c09c86a89455e25965342496ebe6d089760a9646c51295c76","c0d983dfc997b446ec8e456dea90e8c0c97ba896d55d7e34dfc351f32c405eb9","b447e123210c68f205f67b20c996c04a1eb64b0e591c5e06e164cd3d3a869b28","13257840c0850d4ebd7c2b17604a9e006f752de76c2400ebc752bc465c330452","42176966283d3835c34278b9b5c0f470d484c0c0c6a55c20a2c916a1ce69b6e8","0cff7901aedfe78e314f7d44088f07e2afa1b6e4f0473a4169b8456ca2fb245d","6ea59cf5479f3fad5db2caa4513d8d06d6cfee8d8df69e7a040c9b5b7f25f39c","e2236264a811ed1d09a2487a433e8f5216ae62378cf233954ae220cf886f6717","3ec1e108d587a5661ec790db607f482605ba9f3830e118ce578e3ffa3c42e22b","100b3bb9d39d2b1b5340f1bf45a52e94ef1692b45232b4ba00fac5c3cc56d331",{"version":"bb32813f45c423a6ad5b94b086cc0991ff29271293bc3209493fd8563d548aa0","affectsGlobalScope":true},"7f77304372efe3c9967e5f9ea2061f1b4bf41dc3cda3c83cdd676f2e5af6b7e6","992c6f6be16c0a1d2eec13ece33adeea2c747ba27fcd078353a8f4bb5b4fea58","2597718d91e306949d89e285bf34c44192014ef541c3bd7cbb825c022749e974","a6b0abdb67d63ebe964ba5fee31bc3daf10c12eecd46b24d778426010c04c67e","ac4801ebc2355ba32329070123b1cd15891bf71b41dcaf9e75b4744832126a59","fd2298fba0640e7295e7bd545e2dfbfcccbb00c27019e501c87965a02bbdebf6","4fd3c4debadce3e9ab9dec3eb45f7f5e2e3d4ad65cf975a6d938d883cfb25a50","71ddd49185b68f27bfac127ef5d22cb2672c278e53e5370d9020ef50ca9c377d","b1ea7a6eaa7608e0e0529aebd323b526a79c6c05a4e519ae5c779675004dcdf1","9fcb033a6208485d8f3fadde31eb5cbcaf99149cff3e40c0dc53ebc6d0dff4e9","7df562288f949945cf69c21cd912100c2afedeeb7cdb219085f7f4b46cb7dde4","9d16690485ff1eb4f6fc57aebe237728fd8e03130c460919da3a35f4d9bd97f5","dcc6910d95a3625fd2b0487fda055988e46ab46c357a1b3618c27b4a8dd739c9","f4149f1aa299474c7040a35fe8f8ac2ad078cc1b190415adc1fff3ed52d490ea","3730099ed008776216268a97771de31753ef71e0a7d0ec650f588cba2a06ce44","8d649dbc429d7139a1d9a14ea2bf8af1dc089e0a879447539587463d4b6c248c","60c9e27816ec8ac8df7240598bb086e95b47edfb454c5cbf4003c812e0ed6e39","e361aecf17fc4034b4c122a1564471cdcd22ef3a51407803cb5a5fc020c04d02","4926467de88a92a4fc9971d8c6f21b91eca1c0e7fc2a46cc4638ab9440c73875",{"version":"2708349d5a11a5c2e5f3a0765259ebe7ee00cdcc8161cb9990cb4910328442a1","affectsGlobalScope":true},"fc0ae4a8ad3c762b96f9d2c3700cb879a373458cb0bf3175478e3b4f85f7ef2f","fabbec378e1ddd86fcf2662e716c2b8318acedb664ee3a4cba6f9e8ee8269cf1","b3593bd345ebea5e4d0a894c03251a3774b34df3d6db57075c18e089a599ba76","e61a21e9418f279bc480394a94d1581b2dee73747adcbdef999b6737e34d721b","13c7832f048b08604b7e88b69247aecf955bb7b27a0881c2f7f23bb645435479","6738101ae8e56cd3879ab3f99630ada7d78097fc9fd334df7e766216778ca219","57ddc4e066366bbe04f497f9afce1c88e088dbd09be0618e072754450de3acbb","81c14b89fa607b86dd726e2e3e91360cf8155ce97468404324d404a5bd65b2eb","ebddbd167c2fabd0151f50e5df94ca6d845149c47521280d8867afe3429dd078","9e7f7ac4d964992cf1b77612ca07e5695821881aa1a9acb0ef0509f192a5ea23","0bf440ab914e79e890cb15e5ffacb5e18bec678338b3eab069a5829d3d5c96e3","3cfb0cb51cc2c2e1b313d7c4df04dbf7e5bda0a133c6b309bf6af77cf614b971","73c05cca1bb5aa8e93efd089af51643b7ff005e47064a0e624a74ee20480a2eb","5343f3c160282dfbaab9af350119a0c3b59b7076ef0117bb5995a66e240dab28","e51de415deb172e3595b5194113cb82c416822bcce55d9a8ca0d8fac57510546","8d48b8f8a377ade8dd1f000625bc276eea067f2529cc9cafdf082d17142107d6","ce013414484233b24f42c0fcfca48a60bb66ab4e13c82953662305e8f1ee4925","4e88b833be14c7f384e0dcd57bb30acd799e8e34d212635d693e41a75a71164b","98437d5a640b67c41534f0de2dcb64c75433dcdff54ff8f8432e613663619a2e",{"version":"b9b0f507c31eebe33faaee248ab994c77fc297b285283ae191797734957f4ac3","affectsGlobalScope":true},"84e3bbd6f80983d468260fdbfeeb431cc81f7ea98d284d836e4d168e36875e86","3b02517f9be71f255eadab9892406055d069167891f1e1ea16c96c4ff1ddda01","3b05c396564e51753e921e1cc4aae1cf7cd9be53c891cf2e81fa29f11c0bd373","00574a8bdd163e2888014e23e7b1c42a24cecdf11c0ca2181e2de0541a3b4514","8d01c38ccb9af3a4035a68818799e5ef32ccc8cf70bdb83e181e1921d7ad32f6","97fd9fd06a67deac133ddeac0b4a266db5eede2e40ec6ad67b31b0b862559643","85e7ed2eea56d4ecaf94420c82f541dd30ed657f4b82efc34f6377c774db7fc8","83a7cfba7c10d3ac5f06776ca07bd131b893e7464da092b2a9eedb6cbb447993","73a371996ab8b5f895fc4aff8018ad79804254ae32648c9ac11e87f2fce5658a","3a1e165b22a1cb8df82c44c9a09502fd2b33f160cd277de2cd3a055d8e5c6b27","0ff503ae2e4623981da229c3bd11b812985e36199641993159e7b65457c3ea48","82e7f072b82bff83fd5aefd1bbbcbfefc857d53b5c51a42f6785445c0227e188","5006668996956580886022c05108e32c742823e1b5652aff7914917233731518","a1e19adcea36ab49de3439ade36c960feb059d028505bba2dc52444df166e31f","9997b5f32ca71c399f083b22c0851cd325105de3bfd28339fdc412b31ffdf38f","43bd9252f5a8b18d795c5f34b0e5dc46abf7bd8662fbcd5ffc3113b3d59abab0","6899e5a76b8422903aa37368cc64e8627fe405abdf6b3aa4783ad433f328d3a3","db80fcbd0c9693ac9964c31c11979a3d33550a612981021d99e935c0e3d9c36c","f17dd220e27f33e3f1c5bb6f00999420520a6dd1e7f71ee66c11cfc1c2990f20","e02e9cd5036228fc8b1273da2979179b39cfb9490982d2219445c812cf590797","736097ddbb2903bef918bb3b5811ef1c9c5656f2a73bd39b22a91b9cc2525e50","8fe9135b86994075c4192f3358a4350389e80d3abec712db2a82061962d9d21c","e0014889f31fee76a572b6b15e74b2174cbcf6346ae8ab5c69eb553a10e5c944","971b6006a4610efd734e051f5d1421f87bc0c73bfc3cd205819236d497cba1e4","db90f54098b237753ac9c846e39cd49aa538dcad07a2e1c68a138f3c0f8e621d","a9d32ef46fa1075bfeff4a4ab96c1331254558865ca9c7bf383712baa297f065","048510c5f323f62e6c55b9584e3ec751a5e79932e36d40f1bb5ec8727351db4e","689b62c8e45e8f63dacf3a6de1655e06d524cf853f9a96f9446461553c49bd84","559d3b5e23b28a26355233cd54b496701c6837fd9b539511158e44c028d7b8c5","06fdb97fb4733b9ff5a24fc3bf9c0713c93231d361f27ea95ed05bfab679ac61","62e2205fec383efe0e0aa9fba99428efc233725d47d4c40449bec37cf2409433","ec1c9e82031e9fc027ecafd75fe8a447eec4c0d7d3c4b82b71e4735854e7ce50","9dd2022f209f9d4b05bc9069dda0d8da8aedd7cfcf0eef11c43e2c545383bd7d","cf44296340b72a6fac11ba3ee7f73645a9e67e9acdb738df07449d20eba3bba4","1f4593a37ddc084c13dd962b93efe2d48669984c5333f09acd443272562fd82e","d81ef5243cf49a2d4b2422fcc1e511f503756e36a83bdb5690f0f0f636889b20","4cf0d22744a56af6ff6ebb4d4165e84679c3c6b90966e4b76cc520a36e3db716","157ae6e8039ab48b0f9273df548438dbc08afcd6462272dae4579c212af80f7e","2b8264b2fefd7367e0f20e2c04eed5d3038831fe00f5efbc110ff0131aab899b","f60e3e3060207ac982da13363181fd7ee4beecc19a7c569f0d6bb034331066c2","17230b34bb564a3a2e36f9d3985372ccab4ad1722df2c43f7c5c2b553f68e5db","87ed0f84f0691d5c724b23159db96342e6b04ac69201b02c65936f4281ce1fbe","13868c5792808236b17dfe2803eafce911ea4d09d3b2fda95391891a494f988f","0dfe35191a04e8f9dc7caeb9f52f2ee07402736563d12cbccd15fb5f31ac877f","b3e7176bed0257521bf125ebfefbbb5f5dbdfe10e66155167cd0cf1a18872a18","db6347c1934b46b5bab02cc6a4c3323d604a5cd4a72f92d5c7cfc24ea8dcd4ec","e91ad231af87f864b3f07cd0e39b1cf6c133988156f087c1c3ccb0a5491c9115","a6c4cc913246a4f40423d0c6e618239072d7662bd54f6d8b8be59aec55d59873","d3c7c28e24c242c1054c6865bb6704914dfdb212063701c6fb02a8a477d00098","6b40029289530423f407a22755c85b81740f9acfd88d2b53564f8c1657c26660","15b043358a9bac56ee6a567d61adf545b3a09e2f2ead9c3ef3cc617ed3522e71","5ea07f5b82ba98f3d53bef789553b6a87294097caf758de104ea7d476d6a8385","e57360b3f53ec41ed30cfb0eaed6e689be92bf311d7c25175a4e127f46158079","96b49a9de749afcf92b5bce1d8cc42cfae6816cdf5ea36584fd9256b8b2e5292","4266ccd2cf1d6a281efd9c7ddf9efd7daecf76575364148bd233e18919cac3ed"],"options":{"composite":true,"declaration":true,"declarationMap":true,"esModuleInterop":true,"experimentalDecorators":true,"module":1,"noEmitOnError":true,"outDir":"./","sourceMap":true,"strict":true,"target":5},"fileIdsList":[[85,119],[119],[85,119,122],[82,85,107,119,124,125,126],[85,119,122,131,137],[82,85,119,132,133],[123,133,134,136],[83,119],[85,107,119],[82,119],[148],[113,119,148],[82,85,86,90,96,107,119,120,129,131,138,140,141,147],[85,107,119,155,156],[117],[116,117],[71,76],[82,83,90,99],[72,82,90],[108],[76,83,91],[99,104],[79,82,90],[80],[79],[82],[82,84,99,107],[82,83],[90,99,107],[82,83,85,90,99,104,107],[85,104,107],[118],[107],[79,82,99],[92],[70],[106],[97,108,111],[82,100],[99],[102],[76,90],[68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115],[90],[96],[109],[71,76,82,84,93,99,107,111],[119,159,161,165,166,167,168,169,170],[99,119],[82,119,159,161,162,164,171],[82,90,99,107,119,158,159,160,162,163,164,171],[99,119,161,162],[99,119,161,163],[119,159,161,162,164,171],[99,119,163],[82,90,99,104,119,160,162,164],[82,119,159,161,162,163,164,171],[82,99,119,159,160,161,162,163,164,171],[82,99,119,159,161,162,164,171],[85,99,119,164],[82,99,104,119,174,175,178,179],[83,85,87,90,99,104,107,119,128,181,182],[85,99,119],[85,119,135],[184],[83,85,99,119,130],[186],[82,85,87,90,107,119],[119,175,176,177],[99,119,175],[52],[47,50],[45,46,47,48,49],[51],[45,46,47],[45,46],[45,46,47,48,49,50,51,52,53,54],[55,62],[60],[57,60],[58,59],[56,57,60,61],[63,64,92],[65],[63,66]],"referencedMap":[[120,1],[121,2],[123,3],[127,4],[122,1],[138,5],[134,6],[137,7],[139,8],[142,9],[146,2],[124,10],[149,11],[147,11],[150,12],[148,13],[151,11],[157,14],[68,15],[118,16],[71,17],[72,18],[73,19],[74,20],[75,21],[76,22],[77,23],[79,24],[80,25],[81,26],[82,26],[83,27],[84,28],[85,29],[86,30],[87,31],[119,32],[88,26],[89,33],[90,34],[92,35],[93,36],[94,37],[97,26],[98,38],[99,39],[100,40],[102,26],[103,41],[104,42],[116,43],[106,44],[107,45],[108,46],[110,40],[112,47],[113,40],[171,48],[158,49],[165,50],[161,51],[159,52],[162,53],[166,54],[167,50],[164,55],[163,56],[168,57],[169,58],[170,59],[160,60],[179,61],[180,49],[183,62],[181,63],[126,63],[136,64],[185,65],[186,66],[187,67],[189,68],[155,63],[178,69],[175,2],[177,70],[176,2],[53,71],[51,72],[50,73],[52,74],[48,75],[49,76],[55,77],[63,78],[57,79],[58,80],[60,81],[62,82],[65,83],[66,84],[67,85]],"exportedModulesMap":[[120,1],[121,2],[123,3],[127,4],[122,1],[138,5],[134,6],[137,7],[139,8],[142,9],[146,2],[124,10],[149,11],[147,11],[150,12],[148,13],[151,11],[157,14],[68,15],[118,16],[71,17],[72,18],[73,19],[74,20],[75,21],[76,22],[77,23],[79,24],[80,25],[81,26],[82,26],[83,27],[84,28],[85,29],[86,30],[87,31],[119,32],[88,26],[89,33],[90,34],[92,35],[93,36],[94,37],[97,26],[98,38],[99,39],[100,40],[102,26],[103,41],[104,42],[116,43],[106,44],[107,45],[108,46],[110,40],[112,47],[113,40],[171,48],[158,49],[165,50],[161,51],[159,52],[162,53],[166,54],[167,50],[164,55],[163,56],[168,57],[169,58],[170,59],[160,60],[179,61],[180,49],[183,62],[181,63],[126,63],[136,64],[185,65],[186,66],[187,67],[189,68],[155,63],[178,69],[175,2],[177,70],[176,2],[53,71],[51,72],[50,73],[52,74],[48,75],[49,76],[55,77],[63,78],[57,79],[58,80],[60,81],[62,82],[65,83],[66,84],[67,85]],"semanticDiagnosticsPerFile":[184,120,121,123,127,128,122,129,130,138,134,137,139,140,125,141,142,143,144,145,146,131,124,149,147,150,148,151,152,153,135,154,156,157,117,68,70,118,71,72,73,74,75,76,77,78,79,80,81,82,83,84,69,114,85,86,87,119,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,116,106,107,108,109,110,111,115,112,113,171,158,165,161,159,162,166,167,164,163,168,169,170,160,172,173,179,180,133,132,183,181,126,136,185,186,187,182,188,189,64,155,178,175,177,176,174,10,12,11,2,13,14,15,16,17,18,19,20,3,4,24,21,22,23,25,26,27,5,28,29,30,31,6,32,33,34,35,7,40,36,37,38,39,8,41,42,43,1,9,44,53,45,51,50,52,47,48,46,49,54,55,63,59,57,58,60,61,62,56,65,66,67]},"version":"4.3.5"}
package/package.json ADDED
@@ -0,0 +1,13 @@
1
+ {
2
+ "name": "@contember/create",
3
+ "version": "0.12.0-alpha.12",
4
+ "license": "Apache-2.0",
5
+ "bin": "dist/src/run.js",
6
+ "scripts": {
7
+ "test": "echo 'No tests'"
8
+ },
9
+ "devDependencies": {},
10
+ "dependencies": {
11
+ "@contember/cli-common": "^0.12.0-alpha.12"
12
+ }
13
+ }
@@ -0,0 +1,54 @@
1
+ import { createWorkspace, Command, CommandConfiguration, Input } from '@contember/cli-common'
2
+ import { join } from 'path'
3
+ import chalk from 'chalk'
4
+ type Args = {
5
+ workspaceName: string
6
+ }
7
+
8
+ type Options = {
9
+ template?: string
10
+ }
11
+
12
+ export class WorkspaceCreateCommand extends Command<Args, Options> {
13
+ protected configure(configuration: CommandConfiguration<Args, Options>): void {
14
+ configuration.description('Creates a new Contember workspace')
15
+ configuration.argument('workspaceName')
16
+ }
17
+
18
+ protected async execute(input: Input<Args, Options>): Promise<void> {
19
+ const workspaceName = input.getArgument('workspaceName')
20
+ const workspaceDirectory = join(process.cwd(), workspaceName)
21
+ const template = input.getOption('template')
22
+ await createWorkspace({ workspaceDirectory, workspaceName, template })
23
+ // eslint-disable-next-line no-console
24
+ console.log(createDocs(workspaceDirectory, workspaceName))
25
+ }
26
+ }
27
+
28
+ const createDocs = (workspaceDirectory: string, workspaceName: string) => `
29
+ Contember workspace was successfully created inside the directory ${workspaceDirectory}
30
+
31
+ You can now enter this directory:
32
+ $ ${chalk.greenBright(`cd ${workspaceName}`)}
33
+
34
+ Install NPM dependencies:
35
+ $ ${chalk.greenBright(`npm install`)}
36
+ (of course, you can use any alternative package manager like pnpm or yarn)
37
+
38
+ Check the default configuration in docker-compose.override.yaml if it fits your needs.
39
+
40
+ Now you are ready to start the Contember stack:
41
+ $ ${chalk.greenBright('docker-compose up')}
42
+
43
+ The following services are now be accessible (with default settings):
44
+
45
+ - Admin at http://localhost:1480
46
+ - API endpoints at http://localhost:1481 (you can authorize with token 0000000000000000000000000000000000000000)
47
+ - To connect to the GraphQL you can use pre-packed client (Apollo Playground) available at http://localhost:1481/playground
48
+ - Adminer database management tool at http://localhost:1485
49
+ - Minio local S3 provider at http://localhost:1483 (you can sign in with contembeer / contember credentials)
50
+ - Mailhog testing SMTP at http://localhost:1484
51
+ - PostgreSQL database at localhost:1482 (you can sign in with contember / contember credentials)
52
+
53
+ If you have any issues or questions, just ask here: https://github.com/contember/engine/discussions
54
+ `
@@ -0,0 +1 @@
1
+ export * from './WorkspaceCreateCommand'
package/src/run.ts ADDED
@@ -0,0 +1,19 @@
1
+ #!/usr/bin/env node
2
+ import { CommandManager, Application } from '@contember/cli-common'
3
+ import { WorkspaceCreateCommand } from './commands'
4
+ ;(async () => {
5
+ const commandManager = new CommandManager({
6
+ ['workspace']: () => new WorkspaceCreateCommand(),
7
+ })
8
+
9
+ const nodeVersion = process.version.match(/^v?(\d+)\..+$/)
10
+ if (nodeVersion && Number(nodeVersion[1]) < 12) {
11
+ throw `Node >= 12 is required`
12
+ }
13
+ const app = new Application(commandManager, `Contember installer`)
14
+ await app.runCommand('workspace', process.argv.slice(2))
15
+ })().catch(e => {
16
+ // eslint-disable-next-line no-console
17
+ console.log(e)
18
+ process.exit(1)
19
+ })
@@ -0,0 +1,11 @@
1
+ {
2
+ "extends": "../tsconfig.settings.json",
3
+ "compilerOptions": {
4
+ "outDir": "../dist/src"
5
+ },
6
+ "references": [
7
+ {
8
+ "path": "../../cli-common/src"
9
+ }
10
+ ]
11
+ }
package/tsconfig.json ADDED
@@ -0,0 +1,5 @@
1
+ {
2
+ "files": [],
3
+ "include": [],
4
+ "references": [{ "path": "./src" }]
5
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "compilerOptions": {
3
+ "esModuleInterop": true
4
+ },
5
+ "extends": "../../tsconfig.settings.json"
6
+ }