@commercetools-frontend/create-mc-app 24.7.2 → 24.8.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/CHANGELOG.md +9 -0
- package/dist/commercetools-frontend-create-mc-app.cjs.d.ts +2 -2
- package/dist/commercetools-frontend-create-mc-app.cjs.dev.js +3 -3
- package/dist/commercetools-frontend-create-mc-app.cjs.prod.js +3 -3
- package/dist/commercetools-frontend-create-mc-app.esm.js +3 -3
- package/dist/declarations/src/index.d.ts +1 -1
- package/package.json +3 -3
- package/dist/commercetools-frontend-create-mc-app.cjs.d.ts.map +0 -1
- package/dist/declarations/src/constants.d.ts +0 -9
- package/dist/declarations/src/get-latest-release-version.d.ts +0 -2
- package/dist/declarations/src/hint-outdated-version.d.ts +0 -2
- package/dist/declarations/src/process-options.d.ts +0 -3
- package/dist/declarations/src/tasks/download-template.d.ts +0 -4
- package/dist/declarations/src/tasks/index.d.ts +0 -5
- package/dist/declarations/src/tasks/install-dependencies.d.ts +0 -4
- package/dist/declarations/src/tasks/update-application-config.d.ts +0 -4
- package/dist/declarations/src/tasks/update-application-constants.d.ts +0 -4
- package/dist/declarations/src/tasks/update-package-json.d.ts +0 -4
- package/dist/declarations/src/types.d.ts +0 -29
- package/dist/declarations/src/utils.d.ts +0 -14
- package/dist/declarations/src/validations.d.ts +0 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @commercetools-frontend/create-mc-app
|
|
2
2
|
|
|
3
|
+
## 24.8.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#3639](https://github.com/commercetools/merchant-center-application-kit/pull/3639) [`f2d1596`](https://github.com/commercetools/merchant-center-application-kit/commit/f2d1596c3b8d88105b543e8c2a7c76062549f74a) Thanks [@renovate](https://github.com/apps/renovate)! - Update dependencies to latest minor versions, see https://github.com/commercetools/merchant-center-application-kit/pull/3639 for details
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`f2d1596`](https://github.com/commercetools/merchant-center-application-kit/commit/f2d1596c3b8d88105b543e8c2a7c76062549f74a)]:
|
|
10
|
+
- @commercetools-frontend/application-config@24.8.0
|
|
11
|
+
|
|
3
12
|
## 24.7.2
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "./declarations/src/index";
|
|
2
|
-
//# sourceMappingURL=
|
|
1
|
+
export * from "./declarations/src/index.js";
|
|
2
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbWVyY2V0b29scy1mcm9udGVuZC1jcmVhdGUtbWMtYXBwLmNqcy5kLnRzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi9kZWNsYXJhdGlvbnMvc3JjL2luZGV4LmQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEifQ==
|
|
@@ -72,7 +72,7 @@ var prettier__default = /*#__PURE__*/_interopDefault(prettier);
|
|
|
72
72
|
|
|
73
73
|
var pkgJson = {
|
|
74
74
|
name: "@commercetools-frontend/create-mc-app",
|
|
75
|
-
version: "24.
|
|
75
|
+
version: "24.8.0",
|
|
76
76
|
description: "Create Merchant Center applications to quickly get up and running",
|
|
77
77
|
bugs: "https://github.com/commercetools/merchant-center-application-kit/issues",
|
|
78
78
|
repository: {
|
|
@@ -98,14 +98,14 @@ var pkgJson = {
|
|
|
98
98
|
"@babel/core": "^7.22.17",
|
|
99
99
|
"@babel/runtime": "^7.22.15",
|
|
100
100
|
"@babel/runtime-corejs3": "^7.22.15",
|
|
101
|
-
"@commercetools-frontend/application-config": "^24.
|
|
101
|
+
"@commercetools-frontend/application-config": "^24.8.0",
|
|
102
102
|
"@types/babel__core": "^7.20.1",
|
|
103
103
|
"@types/semver": "^7.5.1",
|
|
104
104
|
commander: "^13.1.0",
|
|
105
105
|
execa: "5.1.1",
|
|
106
106
|
listr2: "5.0.8",
|
|
107
107
|
prettier: "2.8.8",
|
|
108
|
-
semver: "7.
|
|
108
|
+
semver: "7.7.2"
|
|
109
109
|
},
|
|
110
110
|
devDependencies: {
|
|
111
111
|
"@tsconfig/node22": "^22.0.0",
|
|
@@ -72,7 +72,7 @@ var prettier__default = /*#__PURE__*/_interopDefault(prettier);
|
|
|
72
72
|
|
|
73
73
|
var pkgJson = {
|
|
74
74
|
name: "@commercetools-frontend/create-mc-app",
|
|
75
|
-
version: "24.
|
|
75
|
+
version: "24.8.0",
|
|
76
76
|
description: "Create Merchant Center applications to quickly get up and running",
|
|
77
77
|
bugs: "https://github.com/commercetools/merchant-center-application-kit/issues",
|
|
78
78
|
repository: {
|
|
@@ -98,14 +98,14 @@ var pkgJson = {
|
|
|
98
98
|
"@babel/core": "^7.22.17",
|
|
99
99
|
"@babel/runtime": "^7.22.15",
|
|
100
100
|
"@babel/runtime-corejs3": "^7.22.15",
|
|
101
|
-
"@commercetools-frontend/application-config": "^24.
|
|
101
|
+
"@commercetools-frontend/application-config": "^24.8.0",
|
|
102
102
|
"@types/babel__core": "^7.20.1",
|
|
103
103
|
"@types/semver": "^7.5.1",
|
|
104
104
|
commander: "^13.1.0",
|
|
105
105
|
execa: "5.1.1",
|
|
106
106
|
listr2: "5.0.8",
|
|
107
107
|
prettier: "2.8.8",
|
|
108
|
-
semver: "7.
|
|
108
|
+
semver: "7.7.2"
|
|
109
109
|
},
|
|
110
110
|
devDependencies: {
|
|
111
111
|
"@tsconfig/node22": "^22.0.0",
|
|
@@ -36,7 +36,7 @@ import prettier from 'prettier';
|
|
|
36
36
|
|
|
37
37
|
var pkgJson = {
|
|
38
38
|
name: "@commercetools-frontend/create-mc-app",
|
|
39
|
-
version: "24.
|
|
39
|
+
version: "24.8.0",
|
|
40
40
|
description: "Create Merchant Center applications to quickly get up and running",
|
|
41
41
|
bugs: "https://github.com/commercetools/merchant-center-application-kit/issues",
|
|
42
42
|
repository: {
|
|
@@ -62,14 +62,14 @@ var pkgJson = {
|
|
|
62
62
|
"@babel/core": "^7.22.17",
|
|
63
63
|
"@babel/runtime": "^7.22.15",
|
|
64
64
|
"@babel/runtime-corejs3": "^7.22.15",
|
|
65
|
-
"@commercetools-frontend/application-config": "^24.
|
|
65
|
+
"@commercetools-frontend/application-config": "^24.8.0",
|
|
66
66
|
"@types/babel__core": "^7.20.1",
|
|
67
67
|
"@types/semver": "^7.5.1",
|
|
68
68
|
commander: "^13.1.0",
|
|
69
69
|
execa: "5.1.1",
|
|
70
70
|
listr2: "5.0.8",
|
|
71
71
|
prettier: "2.8.8",
|
|
72
|
-
semver: "7.
|
|
72
|
+
semver: "7.7.2"
|
|
73
73
|
},
|
|
74
74
|
devDependencies: {
|
|
75
75
|
"@tsconfig/node22": "^22.0.0",
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import cli from
|
|
1
|
+
import cli from "./cli.js";
|
|
2
2
|
export { cli };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-frontend/create-mc-app",
|
|
3
|
-
"version": "24.
|
|
3
|
+
"version": "24.8.0",
|
|
4
4
|
"description": "Create Merchant Center applications to quickly get up and running",
|
|
5
5
|
"bugs": "https://github.com/commercetools/merchant-center-application-kit/issues",
|
|
6
6
|
"repository": {
|
|
@@ -26,14 +26,14 @@
|
|
|
26
26
|
"@babel/core": "^7.22.17",
|
|
27
27
|
"@babel/runtime": "^7.22.15",
|
|
28
28
|
"@babel/runtime-corejs3": "^7.22.15",
|
|
29
|
-
"@commercetools-frontend/application-config": "^24.
|
|
29
|
+
"@commercetools-frontend/application-config": "^24.8.0",
|
|
30
30
|
"@types/babel__core": "^7.20.1",
|
|
31
31
|
"@types/semver": "^7.5.1",
|
|
32
32
|
"commander": "^13.1.0",
|
|
33
33
|
"execa": "5.1.1",
|
|
34
34
|
"listr2": "5.0.8",
|
|
35
35
|
"prettier": "2.8.8",
|
|
36
|
-
"semver": "7.
|
|
36
|
+
"semver": "7.7.2"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@tsconfig/node22": "^22.0.0",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"commercetools-frontend-create-mc-app.cjs.d.ts","sourceRoot":"","sources":["./declarations/src/index.d.ts"],"names":[],"mappings":"AAAA"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
declare const applicationTypes: {
|
|
2
|
-
readonly 'custom-application': "custom-application";
|
|
3
|
-
readonly 'custom-view': "custom-view";
|
|
4
|
-
};
|
|
5
|
-
declare const availableTemplates: {
|
|
6
|
-
readonly starter: "starter";
|
|
7
|
-
readonly 'starter-typescript': "starter-typescript";
|
|
8
|
-
};
|
|
9
|
-
export { applicationTypes, availableTemplates };
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export { default as downloadTemplate } from './download-template';
|
|
2
|
-
export { default as installDependencies } from './install-dependencies';
|
|
3
|
-
export { default as updatePackageJson } from './update-package-json';
|
|
4
|
-
export { default as updateApplicationConfig } from './update-application-config';
|
|
5
|
-
export { default as updateApplicationConstants } from './update-application-constants';
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { applicationTypes, availableTemplates } from './constants';
|
|
2
|
-
export type TCliGlobalOptions = {
|
|
3
|
-
'--'?: string[];
|
|
4
|
-
};
|
|
5
|
-
export type TApplicationType = keyof typeof applicationTypes;
|
|
6
|
-
export type TTemplate = keyof typeof availableTemplates;
|
|
7
|
-
export type TPackageManager = 'npm' | 'yarn' | 'pnpm';
|
|
8
|
-
export type TCliCommandOptions = {
|
|
9
|
-
applicationType: TApplicationType;
|
|
10
|
-
template: TTemplate;
|
|
11
|
-
templateVersion: string;
|
|
12
|
-
skipInstall: boolean;
|
|
13
|
-
yes: boolean;
|
|
14
|
-
entryPointUriPath?: string;
|
|
15
|
-
initialProjectKey?: string;
|
|
16
|
-
cloudIdentifier?: string;
|
|
17
|
-
packageManager?: TPackageManager;
|
|
18
|
-
};
|
|
19
|
-
export type TCliTaskOptions = {
|
|
20
|
-
applicationType: TApplicationType;
|
|
21
|
-
projectDirectoryName: string;
|
|
22
|
-
projectDirectoryPath: string;
|
|
23
|
-
templateName: TCliCommandOptions['template'];
|
|
24
|
-
tagOrBranchVersion: string;
|
|
25
|
-
entryPointUriPath?: string;
|
|
26
|
-
initialProjectKey: string;
|
|
27
|
-
cloudIdentifier: string;
|
|
28
|
-
packageManager: TCliCommandOptions['packageManager'];
|
|
29
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { TApplicationType, TCliTaskOptions, TPackageManager } from './types';
|
|
2
|
-
declare const isSemVer: (version: string) => boolean;
|
|
3
|
-
declare const doesFileExist: (path: string) => boolean;
|
|
4
|
-
declare const shouldUseYarn: () => boolean;
|
|
5
|
-
declare const getYarnVersion: () => string | null;
|
|
6
|
-
declare const configureYarn: (projectDirectoryPath: string) => void;
|
|
7
|
-
declare const getPreferredPackageManager: (options: TCliTaskOptions) => TPackageManager;
|
|
8
|
-
declare const getInstallCommand: (options: TCliTaskOptions) => string;
|
|
9
|
-
declare const slugify: (name: string) => string;
|
|
10
|
-
declare const upperFirst: (value: string) => string;
|
|
11
|
-
declare const wordify: (slug: string) => string;
|
|
12
|
-
declare const resolveFilePathByExtension: (requestedModule: string) => string;
|
|
13
|
-
declare const isCustomView: (applicationType: TApplicationType) => boolean;
|
|
14
|
-
export { isSemVer, shouldUseYarn, getYarnVersion, configureYarn, slugify, wordify, upperFirst, resolveFilePathByExtension, getPreferredPackageManager, getInstallCommand, isCustomView, doesFileExist, };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { TApplicationType, TTemplate } from './types';
|
|
2
|
-
declare const throwIfApplicationTypeIsNotSupported: (applicationType: TApplicationType) => void;
|
|
3
|
-
declare const throwIfTemplateIsNotSupported: (templateName: TTemplate) => void;
|
|
4
|
-
declare const throwIfProjectDirectoryExists: (dirName: string, dirPath: string) => void;
|
|
5
|
-
declare const throwIfTemplateVersionDoesNotExist: (templateName: string, templateFolderPath: string, versionToCheck: string) => void;
|
|
6
|
-
declare const throwIfInitialProjectKeyIsMissing: (initialProjectKey?: string) => void;
|
|
7
|
-
declare const throwIfNodeVersionIsNotSupported: (currentNodeVersion: string, expectedVersionRange: string) => void;
|
|
8
|
-
declare const throwIfCloudIdentifierIsNotSupported: (cloudIdentifier: string) => void;
|
|
9
|
-
export { throwIfApplicationTypeIsNotSupported, throwIfTemplateIsNotSupported, throwIfProjectDirectoryExists, throwIfTemplateVersionDoesNotExist, throwIfInitialProjectKeyIsMissing, throwIfNodeVersionIsNotSupported, throwIfCloudIdentifierIsNotSupported, };
|