@commercetools-frontend/mc-scripts 23.2.1 → 23.2.3
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/cli/dist/commercetools-frontend-mc-scripts-cli.cjs.dev.js +11 -9
- package/cli/dist/commercetools-frontend-mc-scripts-cli.cjs.prod.js +11 -9
- package/cli/dist/commercetools-frontend-mc-scripts-cli.esm.js +11 -9
- package/dist/{build-6bd0ac22.cjs.prod.js → build-38b63c1d.cjs.prod.js} +3 -3
- package/dist/{build-360f081d.cjs.dev.js → build-766e8b1f.cjs.dev.js} +3 -3
- package/dist/{build-d10bc41b.esm.js → build-7cf1c59d.esm.js} +3 -3
- package/dist/commercetools-frontend-mc-scripts.cjs.dev.js +1 -1
- package/dist/commercetools-frontend-mc-scripts.cjs.prod.js +1 -1
- package/dist/commercetools-frontend-mc-scripts.esm.js +1 -1
- package/dist/{config-sync-1b8ae40b.esm.js → config-sync-b938b2bd.esm.js} +3 -3
- package/dist/{config-sync-482a69fe.cjs.dev.js → config-sync-da0f180c.cjs.dev.js} +3 -3
- package/dist/{config-sync-d53518fd.cjs.prod.js → config-sync-dce56250.cjs.prod.js} +3 -3
- package/dist/{create-postcss-config-c5cf6d30.esm.js → create-postcss-config-451f01ac.esm.js} +1 -1
- package/dist/{create-postcss-config-fe0eda38.cjs.dev.js → create-postcss-config-556e8979.cjs.dev.js} +1 -1
- package/dist/{create-postcss-config-5e470fa7.cjs.prod.js → create-postcss-config-a45dc69a.cjs.prod.js} +1 -1
- package/dist/{create-webpack-config-for-development-bde94f6a.esm.js → create-webpack-config-for-development-12f499e6.esm.js} +1 -1
- package/dist/{create-webpack-config-for-development-48c400cd.cjs.prod.js → create-webpack-config-for-development-b6fd96b4.cjs.prod.js} +1 -1
- package/dist/{create-webpack-config-for-development-ea1e020f.cjs.dev.js → create-webpack-config-for-development-c2ee14e5.cjs.dev.js} +1 -1
- package/dist/{create-webpack-config-for-production-c5364376.cjs.dev.js → create-webpack-config-for-production-c0d65bed.cjs.dev.js} +1 -1
- package/dist/{create-webpack-config-for-production-03fb373c.cjs.prod.js → create-webpack-config-for-production-ce997721.cjs.prod.js} +1 -1
- package/dist/{create-webpack-config-for-production-98949ba8.esm.js → create-webpack-config-for-production-d1cab2fd.esm.js} +1 -1
- package/dist/{credentials-storage-8cf72194.cjs.prod.js → credentials-storage-52529612.cjs.prod.js} +1 -1
- package/dist/{credentials-storage-8246aab4.cjs.dev.js → credentials-storage-6d91b6da.cjs.dev.js} +1 -1
- package/dist/{credentials-storage-caf1c2ad.esm.js → credentials-storage-e094db15.esm.js} +1 -1
- package/dist/declarations/src/utils/auth-callback.d.ts +11 -0
- package/dist/declarations/src/vite-plugins/vite-plugin-merchant-center-customization.d.ts +1 -0
- package/dist/{deployment-previews-set-b2dc5c83.cjs.prod.js → deployment-previews-set-213d2aba.cjs.prod.js} +3 -3
- package/dist/{deployment-previews-set-b6c92418.esm.js → deployment-previews-set-2fd24531.esm.js} +3 -3
- package/dist/{deployment-previews-set-14da3831.cjs.dev.js → deployment-previews-set-626ac65e.cjs.dev.js} +3 -3
- package/dist/{graphql-requests-02024fb9.cjs.dev.js → graphql-requests-28c9c031.cjs.prod.js} +8 -4
- package/dist/{graphql-requests-9b0cf79b.esm.js → graphql-requests-5b3a9ffc.esm.js} +9 -5
- package/dist/{graphql-requests-a42d578d.cjs.prod.js → graphql-requests-8b3897b7.cjs.dev.js} +8 -4
- package/dist/login-05350511.cjs.prod.js +217 -0
- package/dist/login-77a5805e.cjs.dev.js +217 -0
- package/dist/login-c5a096cb.esm.js +176 -0
- package/dist/{package-fdee3971.esm.js → package-12437f2f.esm.js} +10 -8
- package/dist/{package-68bccd43.cjs.dev.js → package-325393f8.cjs.prod.js} +10 -8
- package/dist/{package-9161a458.cjs.prod.js → package-da809c85.cjs.dev.js} +10 -8
- package/dist/{start-13e3a0ba.esm.js → start-7052aaaa.esm.js} +3 -3
- package/dist/{start-be2ffdfc.cjs.dev.js → start-a35affd1.cjs.dev.js} +3 -3
- package/dist/{start-5dc189f3.cjs.prod.js → start-cb3a361d.cjs.prod.js} +3 -3
- package/package.json +10 -8
- package/postcss/dist/commercetools-frontend-mc-scripts-postcss.cjs.dev.js +2 -2
- package/postcss/dist/commercetools-frontend-mc-scripts-postcss.cjs.prod.js +2 -2
- package/postcss/dist/commercetools-frontend-mc-scripts-postcss.esm.js +2 -2
- package/webpack/dist/commercetools-frontend-mc-scripts-webpack.cjs.dev.js +4 -4
- package/webpack/dist/commercetools-frontend-mc-scripts-webpack.cjs.prod.js +4 -4
- package/webpack/dist/commercetools-frontend-mc-scripts-webpack.esm.js +4 -4
- package/dist/login-35a7c23c.esm.js +0 -85
- package/dist/login-ecf933dc.cjs.dev.js +0 -102
- package/dist/login-f13ca0a8.cjs.prod.js +0 -102
|
@@ -10,7 +10,7 @@ var path = require('path');
|
|
|
10
10
|
var commander = require('commander');
|
|
11
11
|
var dotenv = require('dotenv');
|
|
12
12
|
var dotenvExpand = require('dotenv-expand');
|
|
13
|
-
var _package = require('../../dist/package-
|
|
13
|
+
var _package = require('../../dist/package-da809c85.cjs.dev.js');
|
|
14
14
|
var doesFileExist = require('../../dist/does-file-exist-eb86baca.cjs.dev.js');
|
|
15
15
|
require('node:fs');
|
|
16
16
|
|
|
@@ -24,7 +24,9 @@ var path__default = /*#__PURE__*/_interopDefault(path);
|
|
|
24
24
|
var dotenv__default = /*#__PURE__*/_interopDefault(dotenv);
|
|
25
25
|
var dotenvExpand__default = /*#__PURE__*/_interopDefault(dotenvExpand);
|
|
26
26
|
|
|
27
|
-
commander.program.name('mc-scripts').description('CLI to develop and build Merchant Center customizations.').version(_package.pkgJson.version).option('--env
|
|
27
|
+
commander.program.name('mc-scripts').description('CLI to develop and build Merchant Center customizations.').version(_package.pkgJson.version).option('-e, --env <path...>',
|
|
28
|
+
// Variadic option. It allows multiple `--env` options to be provided.
|
|
29
|
+
`(optional) Parses the file path as a dotenv file and adds the variables to the environment. Multiple flags are allowed.`);
|
|
28
30
|
|
|
29
31
|
// Makes the script crash on unhandled rejections instead of silently
|
|
30
32
|
// ignoring them. In the future, promise rejections that are not handled will
|
|
@@ -52,7 +54,7 @@ async function run() {
|
|
|
52
54
|
console.log('Experimental Vite bundler enabled! 🚀');
|
|
53
55
|
console.log('');
|
|
54
56
|
}
|
|
55
|
-
const startCommand = shouldUseExperimentalBundler ? await Promise.resolve().then(function () { return require('../../dist/start-vite-b93c91c5.cjs.dev.js'); }) : await Promise.resolve().then(function () { return require('../../dist/start-
|
|
57
|
+
const startCommand = shouldUseExperimentalBundler ? await Promise.resolve().then(function () { return require('../../dist/start-vite-b93c91c5.cjs.dev.js'); }) : await Promise.resolve().then(function () { return require('../../dist/start-a35affd1.cjs.dev.js'); });
|
|
56
58
|
await startCommand.default();
|
|
57
59
|
});
|
|
58
60
|
|
|
@@ -71,7 +73,7 @@ async function run() {
|
|
|
71
73
|
console.log('Experimental Vite bundler enabled! 🚀');
|
|
72
74
|
console.log('');
|
|
73
75
|
}
|
|
74
|
-
const buildCommand = shouldUseExperimentalBundler ? await Promise.resolve().then(function () { return require('../../dist/build-vite-8131eae2.cjs.dev.js'); }) : await Promise.resolve().then(function () { return require('../../dist/build-
|
|
76
|
+
const buildCommand = shouldUseExperimentalBundler ? await Promise.resolve().then(function () { return require('../../dist/build-vite-8131eae2.cjs.dev.js'); }) : await Promise.resolve().then(function () { return require('../../dist/build-766e8b1f.cjs.dev.js'); });
|
|
75
77
|
await buildCommand.default();
|
|
76
78
|
const shouldAlsoCompile = !options.buildOnly;
|
|
77
79
|
if (shouldAlsoCompile) {
|
|
@@ -84,7 +86,7 @@ async function run() {
|
|
|
84
86
|
});
|
|
85
87
|
|
|
86
88
|
// Command: compile-html
|
|
87
|
-
commander.program.command('compile-html').description('Compiles "index.html.template" file into a "index.html" with all the required runtime configuration. The security headers are also compiled and injected into the "index.html".').option('--transformer
|
|
89
|
+
commander.program.command('compile-html').description('Compiles "index.html.template" file into a "index.html" with all the required runtime configuration. The security headers are also compiled and injected into the "index.html".').option('--transformer <path>', '(optional) The path to a JS module that can be used to generate a configuration for a specific cloud provider (e.g. Vercel, Netlify).').option('--print-security-headers', '(optional) If defined, the compiled security headers are printed to stdout.', false).action(async options => {
|
|
88
90
|
const globalOptions = commander.program.opts();
|
|
89
91
|
|
|
90
92
|
// Load dotenv files into the process environment.
|
|
@@ -121,7 +123,7 @@ async function run() {
|
|
|
121
123
|
|
|
122
124
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
123
125
|
process.env.NODE_ENV = 'production';
|
|
124
|
-
const loginCommand = await Promise.resolve().then(function () { return require('../../dist/login-
|
|
126
|
+
const loginCommand = await Promise.resolve().then(function () { return require('../../dist/login-77a5805e.cjs.dev.js'); });
|
|
125
127
|
await loginCommand.default();
|
|
126
128
|
});
|
|
127
129
|
|
|
@@ -135,12 +137,12 @@ async function run() {
|
|
|
135
137
|
|
|
136
138
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
137
139
|
process.env.NODE_ENV = 'production';
|
|
138
|
-
const configSyncCommand = await Promise.resolve().then(function () { return require('../../dist/config-sync-
|
|
140
|
+
const configSyncCommand = await Promise.resolve().then(function () { return require('../../dist/config-sync-da0f180c.cjs.dev.js'); });
|
|
139
141
|
await configSyncCommand.default(options);
|
|
140
142
|
});
|
|
141
143
|
|
|
142
144
|
// Command: deployment-previews:set
|
|
143
|
-
commander.program.command('deployment-previews:set').description('Creates or updates a deployment preview for the Custom Application.').option('--alias
|
|
145
|
+
commander.program.command('deployment-previews:set').description('Creates or updates a deployment preview for the Custom Application.').option('--alias <deployment-preview-alias>', "(optional) Alias to be used for the deployment preview. If you don't provide an alias, the command will prompt you for it.").option('--url <deployment-preview-url>', "(optional) URL to be used for the deployment preview. If you don't provide a URL, the command will prompt you for it.").option('--dry-run', '(optional) Executes the command but does not send any mutation request.', false).action(async options => {
|
|
144
146
|
const globalOptions = commander.program.opts();
|
|
145
147
|
|
|
146
148
|
// Load dotenv files into the process environment.
|
|
@@ -149,7 +151,7 @@ async function run() {
|
|
|
149
151
|
|
|
150
152
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
151
153
|
process.env.NODE_ENV = 'production';
|
|
152
|
-
const deploymentsSetCommand = await Promise.resolve().then(function () { return require('../../dist/deployment-previews-set-
|
|
154
|
+
const deploymentsSetCommand = await Promise.resolve().then(function () { return require('../../dist/deployment-previews-set-626ac65e.cjs.dev.js'); });
|
|
153
155
|
await deploymentsSetCommand.default(options);
|
|
154
156
|
});
|
|
155
157
|
commander.program.parse();
|
|
@@ -10,7 +10,7 @@ var path = require('path');
|
|
|
10
10
|
var commander = require('commander');
|
|
11
11
|
var dotenv = require('dotenv');
|
|
12
12
|
var dotenvExpand = require('dotenv-expand');
|
|
13
|
-
var _package = require('../../dist/package-
|
|
13
|
+
var _package = require('../../dist/package-325393f8.cjs.prod.js');
|
|
14
14
|
var doesFileExist = require('../../dist/does-file-exist-be53305d.cjs.prod.js');
|
|
15
15
|
require('node:fs');
|
|
16
16
|
|
|
@@ -24,7 +24,9 @@ var path__default = /*#__PURE__*/_interopDefault(path);
|
|
|
24
24
|
var dotenv__default = /*#__PURE__*/_interopDefault(dotenv);
|
|
25
25
|
var dotenvExpand__default = /*#__PURE__*/_interopDefault(dotenvExpand);
|
|
26
26
|
|
|
27
|
-
commander.program.name('mc-scripts').description('CLI to develop and build Merchant Center customizations.').version(_package.pkgJson.version).option('--env
|
|
27
|
+
commander.program.name('mc-scripts').description('CLI to develop and build Merchant Center customizations.').version(_package.pkgJson.version).option('-e, --env <path...>',
|
|
28
|
+
// Variadic option. It allows multiple `--env` options to be provided.
|
|
29
|
+
`(optional) Parses the file path as a dotenv file and adds the variables to the environment. Multiple flags are allowed.`);
|
|
28
30
|
|
|
29
31
|
// Makes the script crash on unhandled rejections instead of silently
|
|
30
32
|
// ignoring them. In the future, promise rejections that are not handled will
|
|
@@ -52,7 +54,7 @@ async function run() {
|
|
|
52
54
|
console.log('Experimental Vite bundler enabled! 🚀');
|
|
53
55
|
console.log('');
|
|
54
56
|
}
|
|
55
|
-
const startCommand = shouldUseExperimentalBundler ? await Promise.resolve().then(function () { return require('../../dist/start-vite-7b4df74e.cjs.prod.js'); }) : await Promise.resolve().then(function () { return require('../../dist/start-
|
|
57
|
+
const startCommand = shouldUseExperimentalBundler ? await Promise.resolve().then(function () { return require('../../dist/start-vite-7b4df74e.cjs.prod.js'); }) : await Promise.resolve().then(function () { return require('../../dist/start-cb3a361d.cjs.prod.js'); });
|
|
56
58
|
await startCommand.default();
|
|
57
59
|
});
|
|
58
60
|
|
|
@@ -71,7 +73,7 @@ async function run() {
|
|
|
71
73
|
console.log('Experimental Vite bundler enabled! 🚀');
|
|
72
74
|
console.log('');
|
|
73
75
|
}
|
|
74
|
-
const buildCommand = shouldUseExperimentalBundler ? await Promise.resolve().then(function () { return require('../../dist/build-vite-44c5100f.cjs.prod.js'); }) : await Promise.resolve().then(function () { return require('../../dist/build-
|
|
76
|
+
const buildCommand = shouldUseExperimentalBundler ? await Promise.resolve().then(function () { return require('../../dist/build-vite-44c5100f.cjs.prod.js'); }) : await Promise.resolve().then(function () { return require('../../dist/build-38b63c1d.cjs.prod.js'); });
|
|
75
77
|
await buildCommand.default();
|
|
76
78
|
const shouldAlsoCompile = !options.buildOnly;
|
|
77
79
|
if (shouldAlsoCompile) {
|
|
@@ -84,7 +86,7 @@ async function run() {
|
|
|
84
86
|
});
|
|
85
87
|
|
|
86
88
|
// Command: compile-html
|
|
87
|
-
commander.program.command('compile-html').description('Compiles "index.html.template" file into a "index.html" with all the required runtime configuration. The security headers are also compiled and injected into the "index.html".').option('--transformer
|
|
89
|
+
commander.program.command('compile-html').description('Compiles "index.html.template" file into a "index.html" with all the required runtime configuration. The security headers are also compiled and injected into the "index.html".').option('--transformer <path>', '(optional) The path to a JS module that can be used to generate a configuration for a specific cloud provider (e.g. Vercel, Netlify).').option('--print-security-headers', '(optional) If defined, the compiled security headers are printed to stdout.', false).action(async options => {
|
|
88
90
|
const globalOptions = commander.program.opts();
|
|
89
91
|
|
|
90
92
|
// Load dotenv files into the process environment.
|
|
@@ -121,7 +123,7 @@ async function run() {
|
|
|
121
123
|
|
|
122
124
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
123
125
|
process.env.NODE_ENV = 'production';
|
|
124
|
-
const loginCommand = await Promise.resolve().then(function () { return require('../../dist/login-
|
|
126
|
+
const loginCommand = await Promise.resolve().then(function () { return require('../../dist/login-05350511.cjs.prod.js'); });
|
|
125
127
|
await loginCommand.default();
|
|
126
128
|
});
|
|
127
129
|
|
|
@@ -135,12 +137,12 @@ async function run() {
|
|
|
135
137
|
|
|
136
138
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
137
139
|
process.env.NODE_ENV = 'production';
|
|
138
|
-
const configSyncCommand = await Promise.resolve().then(function () { return require('../../dist/config-sync-
|
|
140
|
+
const configSyncCommand = await Promise.resolve().then(function () { return require('../../dist/config-sync-dce56250.cjs.prod.js'); });
|
|
139
141
|
await configSyncCommand.default(options);
|
|
140
142
|
});
|
|
141
143
|
|
|
142
144
|
// Command: deployment-previews:set
|
|
143
|
-
commander.program.command('deployment-previews:set').description('Creates or updates a deployment preview for the Custom Application.').option('--alias
|
|
145
|
+
commander.program.command('deployment-previews:set').description('Creates or updates a deployment preview for the Custom Application.').option('--alias <deployment-preview-alias>', "(optional) Alias to be used for the deployment preview. If you don't provide an alias, the command will prompt you for it.").option('--url <deployment-preview-url>', "(optional) URL to be used for the deployment preview. If you don't provide a URL, the command will prompt you for it.").option('--dry-run', '(optional) Executes the command but does not send any mutation request.', false).action(async options => {
|
|
144
146
|
const globalOptions = commander.program.opts();
|
|
145
147
|
|
|
146
148
|
// Load dotenv files into the process environment.
|
|
@@ -149,7 +151,7 @@ async function run() {
|
|
|
149
151
|
|
|
150
152
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
151
153
|
process.env.NODE_ENV = 'production';
|
|
152
|
-
const deploymentsSetCommand = await Promise.resolve().then(function () { return require('../../dist/deployment-previews-set-
|
|
154
|
+
const deploymentsSetCommand = await Promise.resolve().then(function () { return require('../../dist/deployment-previews-set-213d2aba.cjs.prod.js'); });
|
|
153
155
|
await deploymentsSetCommand.default(options);
|
|
154
156
|
});
|
|
155
157
|
commander.program.parse();
|
|
@@ -6,11 +6,13 @@ import path from 'path';
|
|
|
6
6
|
import { program } from 'commander';
|
|
7
7
|
import dotenv from 'dotenv';
|
|
8
8
|
import dotenvExpand from 'dotenv-expand';
|
|
9
|
-
import { p as pkgJson } from '../../dist/package-
|
|
9
|
+
import { p as pkgJson } from '../../dist/package-12437f2f.esm.js';
|
|
10
10
|
import { d as doesFileExist } from '../../dist/does-file-exist-32618334.esm.js';
|
|
11
11
|
import 'node:fs';
|
|
12
12
|
|
|
13
|
-
program.name('mc-scripts').description('CLI to develop and build Merchant Center customizations.').version(pkgJson.version).option('--env
|
|
13
|
+
program.name('mc-scripts').description('CLI to develop and build Merchant Center customizations.').version(pkgJson.version).option('-e, --env <path...>',
|
|
14
|
+
// Variadic option. It allows multiple `--env` options to be provided.
|
|
15
|
+
`(optional) Parses the file path as a dotenv file and adds the variables to the environment. Multiple flags are allowed.`);
|
|
14
16
|
|
|
15
17
|
// Makes the script crash on unhandled rejections instead of silently
|
|
16
18
|
// ignoring them. In the future, promise rejections that are not handled will
|
|
@@ -38,7 +40,7 @@ async function run() {
|
|
|
38
40
|
console.log('Experimental Vite bundler enabled! 🚀');
|
|
39
41
|
console.log('');
|
|
40
42
|
}
|
|
41
|
-
const startCommand = shouldUseExperimentalBundler ? await import('../../dist/start-vite-91fe1256.esm.js') : await import('../../dist/start-
|
|
43
|
+
const startCommand = shouldUseExperimentalBundler ? await import('../../dist/start-vite-91fe1256.esm.js') : await import('../../dist/start-7052aaaa.esm.js');
|
|
42
44
|
await startCommand.default();
|
|
43
45
|
});
|
|
44
46
|
|
|
@@ -57,7 +59,7 @@ async function run() {
|
|
|
57
59
|
console.log('Experimental Vite bundler enabled! 🚀');
|
|
58
60
|
console.log('');
|
|
59
61
|
}
|
|
60
|
-
const buildCommand = shouldUseExperimentalBundler ? await import('../../dist/build-vite-23f6852c.esm.js') : await import('../../dist/build-
|
|
62
|
+
const buildCommand = shouldUseExperimentalBundler ? await import('../../dist/build-vite-23f6852c.esm.js') : await import('../../dist/build-7cf1c59d.esm.js');
|
|
61
63
|
await buildCommand.default();
|
|
62
64
|
const shouldAlsoCompile = !options.buildOnly;
|
|
63
65
|
if (shouldAlsoCompile) {
|
|
@@ -70,7 +72,7 @@ async function run() {
|
|
|
70
72
|
});
|
|
71
73
|
|
|
72
74
|
// Command: compile-html
|
|
73
|
-
program.command('compile-html').description('Compiles "index.html.template" file into a "index.html" with all the required runtime configuration. The security headers are also compiled and injected into the "index.html".').option('--transformer
|
|
75
|
+
program.command('compile-html').description('Compiles "index.html.template" file into a "index.html" with all the required runtime configuration. The security headers are also compiled and injected into the "index.html".').option('--transformer <path>', '(optional) The path to a JS module that can be used to generate a configuration for a specific cloud provider (e.g. Vercel, Netlify).').option('--print-security-headers', '(optional) If defined, the compiled security headers are printed to stdout.', false).action(async options => {
|
|
74
76
|
const globalOptions = program.opts();
|
|
75
77
|
|
|
76
78
|
// Load dotenv files into the process environment.
|
|
@@ -107,7 +109,7 @@ async function run() {
|
|
|
107
109
|
|
|
108
110
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
109
111
|
process.env.NODE_ENV = 'production';
|
|
110
|
-
const loginCommand = await import('../../dist/login-
|
|
112
|
+
const loginCommand = await import('../../dist/login-c5a096cb.esm.js');
|
|
111
113
|
await loginCommand.default();
|
|
112
114
|
});
|
|
113
115
|
|
|
@@ -121,12 +123,12 @@ async function run() {
|
|
|
121
123
|
|
|
122
124
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
123
125
|
process.env.NODE_ENV = 'production';
|
|
124
|
-
const configSyncCommand = await import('../../dist/config-sync-
|
|
126
|
+
const configSyncCommand = await import('../../dist/config-sync-b938b2bd.esm.js');
|
|
125
127
|
await configSyncCommand.default(options);
|
|
126
128
|
});
|
|
127
129
|
|
|
128
130
|
// Command: deployment-previews:set
|
|
129
|
-
program.command('deployment-previews:set').description('Creates or updates a deployment preview for the Custom Application.').option('--alias
|
|
131
|
+
program.command('deployment-previews:set').description('Creates or updates a deployment preview for the Custom Application.').option('--alias <deployment-preview-alias>', "(optional) Alias to be used for the deployment preview. If you don't provide an alias, the command will prompt you for it.").option('--url <deployment-preview-url>', "(optional) URL to be used for the deployment preview. If you don't provide a URL, the command will prompt you for it.").option('--dry-run', '(optional) Executes the command but does not send any mutation request.', false).action(async options => {
|
|
130
132
|
const globalOptions = program.opts();
|
|
131
133
|
|
|
132
134
|
// Load dotenv files into the process environment.
|
|
@@ -135,7 +137,7 @@ async function run() {
|
|
|
135
137
|
|
|
136
138
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
137
139
|
process.env.NODE_ENV = 'production';
|
|
138
|
-
const deploymentsSetCommand = await import('../../dist/deployment-previews-set-
|
|
140
|
+
const deploymentsSetCommand = await import('../../dist/deployment-previews-set-2fd24531.esm.js');
|
|
139
141
|
await deploymentsSetCommand.default(options);
|
|
140
142
|
});
|
|
141
143
|
program.parse();
|
|
@@ -10,7 +10,7 @@ var formatWebpackMessages = require('react-dev-utils/formatWebpackMessages');
|
|
|
10
10
|
var printBuildError = require('react-dev-utils/printBuildError');
|
|
11
11
|
var webpack = require('webpack');
|
|
12
12
|
var assets = require('@commercetools-frontend/assets');
|
|
13
|
-
var createWebpackConfigForProduction = require('./create-webpack-config-for-production-
|
|
13
|
+
var createWebpackConfigForProduction = require('./create-webpack-config-for-production-ce997721.cjs.prod.js');
|
|
14
14
|
var paths = require('./paths-7768b440.cjs.prod.js');
|
|
15
15
|
var doesFileExist = require('./does-file-exist-be53305d.cjs.prod.js');
|
|
16
16
|
require('@babel/runtime-corejs3/core-js-stable/object/keys');
|
|
@@ -40,9 +40,9 @@ require('@babel/runtime-corejs3/core-js-stable/instance/bind');
|
|
|
40
40
|
require('@babel/runtime-corejs3/core-js-stable/instance/reduce');
|
|
41
41
|
require('@babel/runtime-corejs3/core-js-stable/object/assign');
|
|
42
42
|
require('fs');
|
|
43
|
-
require('./create-postcss-config-
|
|
43
|
+
require('./create-postcss-config-a45dc69a.cjs.prod.js');
|
|
44
44
|
require('@babel/runtime-corejs3/helpers/slicedToArray');
|
|
45
|
-
require('./package-
|
|
45
|
+
require('./package-325393f8.cjs.prod.js');
|
|
46
46
|
require('./has-jsx-runtime-c3202df5.cjs.prod.js');
|
|
47
47
|
require('./optimizations-fb93514f.cjs.prod.js');
|
|
48
48
|
require('@babel/runtime-corejs3/core-js-stable/object/entries');
|
|
@@ -10,7 +10,7 @@ var formatWebpackMessages = require('react-dev-utils/formatWebpackMessages');
|
|
|
10
10
|
var printBuildError = require('react-dev-utils/printBuildError');
|
|
11
11
|
var webpack = require('webpack');
|
|
12
12
|
var assets = require('@commercetools-frontend/assets');
|
|
13
|
-
var createWebpackConfigForProduction = require('./create-webpack-config-for-production-
|
|
13
|
+
var createWebpackConfigForProduction = require('./create-webpack-config-for-production-c0d65bed.cjs.dev.js');
|
|
14
14
|
var paths = require('./paths-b76fc753.cjs.dev.js');
|
|
15
15
|
var doesFileExist = require('./does-file-exist-eb86baca.cjs.dev.js');
|
|
16
16
|
require('@babel/runtime-corejs3/core-js-stable/object/keys');
|
|
@@ -40,9 +40,9 @@ require('@babel/runtime-corejs3/core-js-stable/instance/bind');
|
|
|
40
40
|
require('@babel/runtime-corejs3/core-js-stable/instance/reduce');
|
|
41
41
|
require('@babel/runtime-corejs3/core-js-stable/object/assign');
|
|
42
42
|
require('fs');
|
|
43
|
-
require('./create-postcss-config-
|
|
43
|
+
require('./create-postcss-config-556e8979.cjs.dev.js');
|
|
44
44
|
require('@babel/runtime-corejs3/helpers/slicedToArray');
|
|
45
|
-
require('./package-
|
|
45
|
+
require('./package-da809c85.cjs.dev.js');
|
|
46
46
|
require('./has-jsx-runtime-aa5d21ee.cjs.dev.js');
|
|
47
47
|
require('./optimizations-7789145e.cjs.dev.js');
|
|
48
48
|
require('@babel/runtime-corejs3/core-js-stable/object/entries');
|
|
@@ -8,7 +8,7 @@ import formatWebpackMessages from 'react-dev-utils/formatWebpackMessages';
|
|
|
8
8
|
import printBuildError from 'react-dev-utils/printBuildError';
|
|
9
9
|
import webpack from 'webpack';
|
|
10
10
|
import { packageLocation } from '@commercetools-frontend/assets';
|
|
11
|
-
import { c as createWebpackConfigForProduction } from './create-webpack-config-for-production-
|
|
11
|
+
import { c as createWebpackConfigForProduction } from './create-webpack-config-for-production-d1cab2fd.esm.js';
|
|
12
12
|
import { p as paths } from './paths-39f22b8b.esm.js';
|
|
13
13
|
import { d as doesFileExist } from './does-file-exist-32618334.esm.js';
|
|
14
14
|
import '@babel/runtime-corejs3/core-js-stable/object/keys';
|
|
@@ -38,9 +38,9 @@ import '@babel/runtime-corejs3/core-js-stable/instance/bind';
|
|
|
38
38
|
import '@babel/runtime-corejs3/core-js-stable/instance/reduce';
|
|
39
39
|
import '@babel/runtime-corejs3/core-js-stable/object/assign';
|
|
40
40
|
import 'fs';
|
|
41
|
-
import './create-postcss-config-
|
|
41
|
+
import './create-postcss-config-451f01ac.esm.js';
|
|
42
42
|
import '@babel/runtime-corejs3/helpers/slicedToArray';
|
|
43
|
-
import './package-
|
|
43
|
+
import './package-12437f2f.esm.js';
|
|
44
44
|
import './has-jsx-runtime-e3ecb09b.esm.js';
|
|
45
45
|
import './optimizations-bf991634.esm.js';
|
|
46
46
|
import '@babel/runtime-corejs3/core-js-stable/object/entries';
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var vendorsToTranspile = require('./vendors-to-transpile-6ab4ea06.cjs.dev.js');
|
|
6
6
|
|
|
7
7
|
// NOTE: This string will be replaced on build time with the package version.
|
|
8
|
-
var version = "23.2.
|
|
8
|
+
var version = "23.2.3";
|
|
9
9
|
|
|
10
10
|
// These exports are deprecated.
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var vendorsToTranspile = require('./vendors-to-transpile-04a49d40.cjs.prod.js');
|
|
6
6
|
|
|
7
7
|
// NOTE: This string will be replaced on build time with the package version.
|
|
8
|
-
var version = "23.2.
|
|
8
|
+
var version = "23.2.3";
|
|
9
9
|
|
|
10
10
|
// These exports are deprecated.
|
|
11
11
|
|
|
@@ -7,7 +7,7 @@ import chalk from 'chalk';
|
|
|
7
7
|
import omit from 'lodash/omit';
|
|
8
8
|
import prompts from 'prompts';
|
|
9
9
|
import { sanitizeSvg, processConfig } from '@commercetools-frontend/application-config';
|
|
10
|
-
import { C as CredentialsStorage } from './credentials-storage-
|
|
10
|
+
import { C as CredentialsStorage } from './credentials-storage-e094db15.esm.js';
|
|
11
11
|
import _Object$getOwnPropertySymbols from '@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols';
|
|
12
12
|
import _Object$getOwnPropertyDescriptor from '@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor';
|
|
13
13
|
import _Object$getOwnPropertyDescriptors from '@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors';
|
|
@@ -19,9 +19,9 @@ import _Set from '@babel/runtime-corejs3/core-js-stable/set';
|
|
|
19
19
|
import _forEachInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/for-each';
|
|
20
20
|
import _reduceInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/reduce';
|
|
21
21
|
import _Object$keys from '@babel/runtime-corejs3/core-js-stable/object/keys';
|
|
22
|
-
import { f as fetchCustomApplication, a as fetchUserOrganizations, c as createCustomApplication, u as updateCustomApplication, b as fetchCustomView, d as createCustomView, e as updateCustomView } from './graphql-requests-
|
|
22
|
+
import { f as fetchCustomApplication, a as fetchUserOrganizations, c as createCustomApplication, u as updateCustomApplication, b as fetchCustomView, d as createCustomView, e as updateCustomView } from './graphql-requests-5b3a9ffc.esm.js';
|
|
23
23
|
import '@commercetools/http-user-agent';
|
|
24
|
-
import './package-
|
|
24
|
+
import './package-12437f2f.esm.js';
|
|
25
25
|
import '@babel/runtime-corejs3/helpers/classCallCheck';
|
|
26
26
|
import '@babel/runtime-corejs3/helpers/createClass';
|
|
27
27
|
import '@babel/runtime-corejs3/core-js-stable/date/now';
|
|
@@ -9,7 +9,7 @@ var chalk = require('chalk');
|
|
|
9
9
|
var omit = require('lodash/omit');
|
|
10
10
|
var prompts = require('prompts');
|
|
11
11
|
var applicationConfig = require('@commercetools-frontend/application-config');
|
|
12
|
-
var credentialsStorage$1 = require('./credentials-storage-
|
|
12
|
+
var credentialsStorage$1 = require('./credentials-storage-6d91b6da.cjs.dev.js');
|
|
13
13
|
var _Object$getOwnPropertySymbols = require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols');
|
|
14
14
|
var _Object$getOwnPropertyDescriptor = require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor');
|
|
15
15
|
var _Object$getOwnPropertyDescriptors = require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors');
|
|
@@ -21,9 +21,9 @@ var _Set = require('@babel/runtime-corejs3/core-js-stable/set');
|
|
|
21
21
|
var _forEachInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/for-each');
|
|
22
22
|
var _reduceInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/reduce');
|
|
23
23
|
var _Object$keys = require('@babel/runtime-corejs3/core-js-stable/object/keys');
|
|
24
|
-
var graphqlRequests = require('./graphql-requests-
|
|
24
|
+
var graphqlRequests = require('./graphql-requests-8b3897b7.cjs.dev.js');
|
|
25
25
|
require('@commercetools/http-user-agent');
|
|
26
|
-
require('./package-
|
|
26
|
+
require('./package-da809c85.cjs.dev.js');
|
|
27
27
|
require('@babel/runtime-corejs3/helpers/classCallCheck');
|
|
28
28
|
require('@babel/runtime-corejs3/helpers/createClass');
|
|
29
29
|
require('@babel/runtime-corejs3/core-js-stable/date/now');
|
|
@@ -9,7 +9,7 @@ var chalk = require('chalk');
|
|
|
9
9
|
var omit = require('lodash/omit');
|
|
10
10
|
var prompts = require('prompts');
|
|
11
11
|
var applicationConfig = require('@commercetools-frontend/application-config');
|
|
12
|
-
var credentialsStorage$1 = require('./credentials-storage-
|
|
12
|
+
var credentialsStorage$1 = require('./credentials-storage-52529612.cjs.prod.js');
|
|
13
13
|
var _Object$getOwnPropertySymbols = require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols');
|
|
14
14
|
var _Object$getOwnPropertyDescriptor = require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor');
|
|
15
15
|
var _Object$getOwnPropertyDescriptors = require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors');
|
|
@@ -21,9 +21,9 @@ var _Set = require('@babel/runtime-corejs3/core-js-stable/set');
|
|
|
21
21
|
var _forEachInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/for-each');
|
|
22
22
|
var _reduceInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/reduce');
|
|
23
23
|
var _Object$keys = require('@babel/runtime-corejs3/core-js-stable/object/keys');
|
|
24
|
-
var graphqlRequests = require('./graphql-requests-
|
|
24
|
+
var graphqlRequests = require('./graphql-requests-28c9c031.cjs.prod.js');
|
|
25
25
|
require('@commercetools/http-user-agent');
|
|
26
|
-
require('./package-
|
|
26
|
+
require('./package-325393f8.cjs.prod.js');
|
|
27
27
|
require('@babel/runtime-corejs3/helpers/classCallCheck');
|
|
28
28
|
require('@babel/runtime-corejs3/helpers/createClass');
|
|
29
29
|
require('@babel/runtime-corejs3/core-js-stable/date/now');
|
package/dist/{create-postcss-config-c5cf6d30.esm.js → create-postcss-config-451f01ac.esm.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _slicedToArray from '@babel/runtime-corejs3/helpers/esm/slicedToArray';
|
|
2
2
|
import path from 'path';
|
|
3
|
-
import { p as pkgJson } from './package-
|
|
3
|
+
import { p as pkgJson } from './package-12437f2f.esm.js';
|
|
4
4
|
|
|
5
5
|
// This function aims to return the same result as `require.resolve`.
|
|
6
6
|
// However, resolving a path to a `.css` file does not return the real
|
package/dist/{create-postcss-config-fe0eda38.cjs.dev.js → create-postcss-config-556e8979.cjs.dev.js}
RENAMED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var _slicedToArray = require('@babel/runtime-corejs3/helpers/slicedToArray');
|
|
4
4
|
var path = require('path');
|
|
5
|
-
var _package = require('./package-
|
|
5
|
+
var _package = require('./package-da809c85.cjs.dev.js');
|
|
6
6
|
|
|
7
7
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var _slicedToArray = require('@babel/runtime-corejs3/helpers/slicedToArray');
|
|
4
4
|
var path = require('path');
|
|
5
|
-
var _package = require('./package-
|
|
5
|
+
var _package = require('./package-325393f8.cjs.prod.js');
|
|
6
6
|
|
|
7
7
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
8
8
|
|
|
@@ -23,7 +23,7 @@ import _createClass from '@babel/runtime-corejs3/helpers/esm/createClass';
|
|
|
23
23
|
import _Object$assign from '@babel/runtime-corejs3/core-js-stable/object/assign';
|
|
24
24
|
import { processConfig } from '@commercetools-frontend/application-config';
|
|
25
25
|
import { replaceHtmlPlaceholders } from '@commercetools-frontend/mc-html-template';
|
|
26
|
-
import { c as createPostcssConfig } from './create-postcss-config-
|
|
26
|
+
import { c as createPostcssConfig } from './create-postcss-config-451f01ac.esm.js';
|
|
27
27
|
import { h as hasJsxRuntime } from './has-jsx-runtime-e3ecb09b.esm.js';
|
|
28
28
|
import { g as getWepbackCacheGroups } from './optimizations-bf991634.esm.js';
|
|
29
29
|
import { p as paths } from './paths-39f22b8b.esm.js';
|
|
@@ -25,7 +25,7 @@ var _createClass = require('@babel/runtime-corejs3/helpers/createClass');
|
|
|
25
25
|
var _Object$assign = require('@babel/runtime-corejs3/core-js-stable/object/assign');
|
|
26
26
|
var applicationConfig = require('@commercetools-frontend/application-config');
|
|
27
27
|
var mcHtmlTemplate = require('@commercetools-frontend/mc-html-template');
|
|
28
|
-
var createPostcssConfig = require('./create-postcss-config-
|
|
28
|
+
var createPostcssConfig = require('./create-postcss-config-a45dc69a.cjs.prod.js');
|
|
29
29
|
var hasJsxRuntime = require('./has-jsx-runtime-c3202df5.cjs.prod.js');
|
|
30
30
|
var optimizations = require('./optimizations-fb93514f.cjs.prod.js');
|
|
31
31
|
var paths = require('./paths-7768b440.cjs.prod.js');
|
|
@@ -25,7 +25,7 @@ var _createClass = require('@babel/runtime-corejs3/helpers/createClass');
|
|
|
25
25
|
var _Object$assign = require('@babel/runtime-corejs3/core-js-stable/object/assign');
|
|
26
26
|
var applicationConfig = require('@commercetools-frontend/application-config');
|
|
27
27
|
var mcHtmlTemplate = require('@commercetools-frontend/mc-html-template');
|
|
28
|
-
var createPostcssConfig = require('./create-postcss-config-
|
|
28
|
+
var createPostcssConfig = require('./create-postcss-config-556e8979.cjs.dev.js');
|
|
29
29
|
var hasJsxRuntime = require('./has-jsx-runtime-aa5d21ee.cjs.dev.js');
|
|
30
30
|
var optimizations = require('./optimizations-7789145e.cjs.dev.js');
|
|
31
31
|
var paths = require('./paths-b76fc753.cjs.dev.js');
|
|
@@ -29,7 +29,7 @@ var _reduceInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/ins
|
|
|
29
29
|
var _Object$assign = require('@babel/runtime-corejs3/core-js-stable/object/assign');
|
|
30
30
|
var fs = require('fs');
|
|
31
31
|
var path = require('path');
|
|
32
|
-
var createPostcssConfig = require('./create-postcss-config-
|
|
32
|
+
var createPostcssConfig = require('./create-postcss-config-556e8979.cjs.dev.js');
|
|
33
33
|
var hasJsxRuntime = require('./has-jsx-runtime-aa5d21ee.cjs.dev.js');
|
|
34
34
|
var optimizations = require('./optimizations-7789145e.cjs.dev.js');
|
|
35
35
|
var paths = require('./paths-b76fc753.cjs.dev.js');
|
|
@@ -29,7 +29,7 @@ var _reduceInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/ins
|
|
|
29
29
|
var _Object$assign = require('@babel/runtime-corejs3/core-js-stable/object/assign');
|
|
30
30
|
var fs = require('fs');
|
|
31
31
|
var path = require('path');
|
|
32
|
-
var createPostcssConfig = require('./create-postcss-config-
|
|
32
|
+
var createPostcssConfig = require('./create-postcss-config-a45dc69a.cjs.prod.js');
|
|
33
33
|
var hasJsxRuntime = require('./has-jsx-runtime-c3202df5.cjs.prod.js');
|
|
34
34
|
var optimizations = require('./optimizations-fb93514f.cjs.prod.js');
|
|
35
35
|
var paths = require('./paths-7768b440.cjs.prod.js');
|
|
@@ -27,7 +27,7 @@ import _reduceInstanceProperty from '@babel/runtime-corejs3/core-js-stable/insta
|
|
|
27
27
|
import _Object$assign from '@babel/runtime-corejs3/core-js-stable/object/assign';
|
|
28
28
|
import fs from 'fs';
|
|
29
29
|
import path from 'path';
|
|
30
|
-
import { c as createPostcssConfig } from './create-postcss-config-
|
|
30
|
+
import { c as createPostcssConfig } from './create-postcss-config-451f01ac.esm.js';
|
|
31
31
|
import { h as hasJsxRuntime } from './has-jsx-runtime-e3ecb09b.esm.js';
|
|
32
32
|
import { g as getWepbackCacheGroups } from './optimizations-bf991634.esm.js';
|
|
33
33
|
import { p as paths } from './paths-39f22b8b.esm.js';
|
package/dist/{credentials-storage-8cf72194.cjs.prod.js → credentials-storage-52529612.cjs.prod.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var createHttpUserAgent = require('@commercetools/http-user-agent');
|
|
4
|
-
var _package = require('./package-
|
|
4
|
+
var _package = require('./package-325393f8.cjs.prod.js');
|
|
5
5
|
var _classCallCheck = require('@babel/runtime-corejs3/helpers/classCallCheck');
|
|
6
6
|
var _createClass = require('@babel/runtime-corejs3/helpers/createClass');
|
|
7
7
|
var _JSON$stringify = require('@babel/runtime-corejs3/core-js-stable/json/stringify');
|
package/dist/{credentials-storage-8246aab4.cjs.dev.js → credentials-storage-6d91b6da.cjs.dev.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var createHttpUserAgent = require('@commercetools/http-user-agent');
|
|
4
|
-
var _package = require('./package-
|
|
4
|
+
var _package = require('./package-da809c85.cjs.dev.js');
|
|
5
5
|
var _classCallCheck = require('@babel/runtime-corejs3/helpers/classCallCheck');
|
|
6
6
|
var _createClass = require('@babel/runtime-corejs3/helpers/createClass');
|
|
7
7
|
var _JSON$stringify = require('@babel/runtime-corejs3/core-js-stable/json/stringify');
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import createHttpUserAgent from '@commercetools/http-user-agent';
|
|
2
|
-
import { p as pkgJson } from './package-
|
|
2
|
+
import { p as pkgJson } from './package-12437f2f.esm.js';
|
|
3
3
|
import _classCallCheck from '@babel/runtime-corejs3/helpers/esm/classCallCheck';
|
|
4
4
|
import _createClass from '@babel/runtime-corejs3/helpers/esm/createClass';
|
|
5
5
|
import _JSON$stringify from '@babel/runtime-corejs3/core-js-stable/json/stringify';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
import http from 'node:http';
|
|
3
|
+
import type { TMcCliAuthToken } from '../types';
|
|
4
|
+
type TAuthCallbackServerOptions = {
|
|
5
|
+
clientIdentifier: string;
|
|
6
|
+
state: string;
|
|
7
|
+
nonce: string;
|
|
8
|
+
onSuccess: (tokenContext: TMcCliAuthToken) => void;
|
|
9
|
+
};
|
|
10
|
+
declare function createAuthCallbackServer(options: TAuthCallbackServerOptions): http.Server<typeof http.IncomingMessage, typeof http.ServerResponse>;
|
|
11
|
+
export { createAuthCallbackServer };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { Plugin } from 'vite';
|
|
1
2
|
import type { ApplicationRuntimeConfig } from '@commercetools-frontend/application-config';
|
|
2
3
|
declare const vitePluginCustomApplication: (applicationConfig: ApplicationRuntimeConfig) => Plugin;
|
|
3
4
|
export default vitePluginCustomApplication;
|
|
@@ -7,10 +7,10 @@ var _findInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/insta
|
|
|
7
7
|
var chalk = require('chalk');
|
|
8
8
|
var prompts = require('prompts');
|
|
9
9
|
var applicationConfig = require('@commercetools-frontend/application-config');
|
|
10
|
-
var credentialsStorage$1 = require('./credentials-storage-
|
|
11
|
-
var graphqlRequests = require('./graphql-requests-
|
|
10
|
+
var credentialsStorage$1 = require('./credentials-storage-52529612.cjs.prod.js');
|
|
11
|
+
var graphqlRequests = require('./graphql-requests-28c9c031.cjs.prod.js');
|
|
12
12
|
require('@commercetools/http-user-agent');
|
|
13
|
-
require('./package-
|
|
13
|
+
require('./package-325393f8.cjs.prod.js');
|
|
14
14
|
require('@babel/runtime-corejs3/helpers/classCallCheck');
|
|
15
15
|
require('@babel/runtime-corejs3/helpers/createClass');
|
|
16
16
|
require('@babel/runtime-corejs3/core-js-stable/json/stringify');
|
package/dist/{deployment-previews-set-b6c92418.esm.js → deployment-previews-set-2fd24531.esm.js}
RENAMED
|
@@ -5,10 +5,10 @@ import _findInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instanc
|
|
|
5
5
|
import chalk from 'chalk';
|
|
6
6
|
import prompts from 'prompts';
|
|
7
7
|
import { processConfig } from '@commercetools-frontend/application-config';
|
|
8
|
-
import { C as CredentialsStorage } from './credentials-storage-
|
|
9
|
-
import { f as fetchCustomApplication, g as updateCustomApplicationDeploymentPreview, h as createCustomApplicationDeploymentPreview } from './graphql-requests-
|
|
8
|
+
import { C as CredentialsStorage } from './credentials-storage-e094db15.esm.js';
|
|
9
|
+
import { f as fetchCustomApplication, g as updateCustomApplicationDeploymentPreview, h as createCustomApplicationDeploymentPreview } from './graphql-requests-5b3a9ffc.esm.js';
|
|
10
10
|
import '@commercetools/http-user-agent';
|
|
11
|
-
import './package-
|
|
11
|
+
import './package-12437f2f.esm.js';
|
|
12
12
|
import '@babel/runtime-corejs3/helpers/classCallCheck';
|
|
13
13
|
import '@babel/runtime-corejs3/helpers/createClass';
|
|
14
14
|
import '@babel/runtime-corejs3/core-js-stable/json/stringify';
|
|
@@ -7,10 +7,10 @@ var _findInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/insta
|
|
|
7
7
|
var chalk = require('chalk');
|
|
8
8
|
var prompts = require('prompts');
|
|
9
9
|
var applicationConfig = require('@commercetools-frontend/application-config');
|
|
10
|
-
var credentialsStorage$1 = require('./credentials-storage-
|
|
11
|
-
var graphqlRequests = require('./graphql-requests-
|
|
10
|
+
var credentialsStorage$1 = require('./credentials-storage-6d91b6da.cjs.dev.js');
|
|
11
|
+
var graphqlRequests = require('./graphql-requests-8b3897b7.cjs.dev.js');
|
|
12
12
|
require('@commercetools/http-user-agent');
|
|
13
|
-
require('./package-
|
|
13
|
+
require('./package-da809c85.cjs.dev.js');
|
|
14
14
|
require('@babel/runtime-corejs3/helpers/classCallCheck');
|
|
15
15
|
require('@babel/runtime-corejs3/helpers/createClass');
|
|
16
16
|
require('@babel/runtime-corejs3/core-js-stable/json/stringify');
|