@commercetools-frontend/mc-scripts 24.9.0 → 24.10.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/cli/dist/commercetools-frontend-mc-scripts-cli.cjs.dev.js +10 -8
- package/cli/dist/commercetools-frontend-mc-scripts-cli.cjs.prod.js +10 -8
- package/cli/dist/commercetools-frontend-mc-scripts-cli.esm.js +10 -8
- package/dist/{build-4c4732a6.cjs.prod.js → build-9c26fe58.cjs.prod.js} +3 -3
- package/dist/{build-d44c1454.cjs.dev.js → build-bd986bac.cjs.dev.js} +3 -3
- package/dist/{build-c98b5309.esm.js → build-c91d680c.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-cc8e443c.cjs.prod.js → config-sync-200c5df5.cjs.prod.js} +4 -4
- package/dist/{config-sync-94a1bab9.cjs.dev.js → config-sync-6977827c.cjs.dev.js} +4 -4
- package/dist/{config-sync-f89e965a.esm.js → config-sync-d57260cc.esm.js} +4 -4
- package/dist/{create-postcss-config-3c6e4082.esm.js → create-postcss-config-152ced99.esm.js} +1 -1
- package/dist/{create-postcss-config-7bd97267.cjs.dev.js → create-postcss-config-fd3dee79.cjs.dev.js} +1 -1
- package/dist/{create-postcss-config-6004d1b3.cjs.prod.js → create-postcss-config-fe3387fa.cjs.prod.js} +1 -1
- package/dist/{create-webpack-config-for-development-1d9166b6.cjs.dev.js → create-webpack-config-for-development-049a78d6.cjs.dev.js} +1 -1
- package/dist/{create-webpack-config-for-development-1ff29f29.esm.js → create-webpack-config-for-development-48e5e9d0.esm.js} +1 -1
- package/dist/{create-webpack-config-for-development-bad89362.cjs.prod.js → create-webpack-config-for-development-527a632e.cjs.prod.js} +1 -1
- package/dist/{create-webpack-config-for-production-d3715c1f.cjs.prod.js → create-webpack-config-for-production-5ef997a2.cjs.prod.js} +1 -1
- package/dist/{create-webpack-config-for-production-e7e9d73f.cjs.dev.js → create-webpack-config-for-production-9452f0ea.cjs.dev.js} +1 -1
- package/dist/{create-webpack-config-for-production-44398864.esm.js → create-webpack-config-for-production-991b35ad.esm.js} +1 -1
- package/dist/{credentials-storage-382cbd6c.cjs.prod.js → credentials-storage-0b89aa0e.cjs.prod.js} +0 -13
- package/dist/{credentials-storage-a0da40e8.esm.js → credentials-storage-4464313c.esm.js} +1 -12
- package/dist/{credentials-storage-0959d001.cjs.dev.js → credentials-storage-cbb5c559.cjs.dev.js} +0 -13
- package/dist/declarations/src/types.d.ts +6 -0
- package/dist/{deployment-previews-set-9e95bfa1.esm.js → deployment-previews-set-178cacbc.esm.js} +4 -4
- package/dist/{deployment-previews-set-485f4cf4.cjs.prod.js → deployment-previews-set-93927f50.cjs.prod.js} +4 -4
- package/dist/{deployment-previews-set-9e920f80.cjs.dev.js → deployment-previews-set-b9ebe08f.cjs.dev.js} +4 -4
- package/dist/{graphql-requests-2aa18200.cjs.prod.js → graphql-requests-5527b635.cjs.dev.js} +15 -6
- package/dist/{graphql-requests-bdc3f4b6.esm.js → graphql-requests-6043a20b.esm.js} +13 -5
- package/dist/{graphql-requests-d4d32da7.cjs.dev.js → graphql-requests-c5ecf40e.cjs.prod.js} +15 -6
- package/dist/login-2c875e0b.esm.js +214 -0
- package/dist/login-73e9f04f.cjs.prod.js +248 -0
- package/dist/login-d7cb2619.cjs.dev.js +248 -0
- package/dist/{package-0b5fe01d.cjs.prod.js → package-0d7eef40.cjs.dev.js} +8 -8
- package/dist/{package-ecec051f.esm.js → package-6a5c0475.esm.js} +8 -8
- package/dist/{package-fd9ca992.cjs.dev.js → package-c32ced1c.cjs.prod.js} +8 -8
- package/dist/{start-5c2c41a2.cjs.prod.js → start-296a8335.cjs.prod.js} +3 -3
- package/dist/{start-7d5da6e8.cjs.dev.js → start-66ec8479.cjs.dev.js} +3 -3
- package/dist/{start-4ad2de73.esm.js → start-f7aed0ed.esm.js} +3 -3
- package/package.json +8 -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-24a16f2b.esm.js +0 -229
- package/dist/login-2d480e6f.cjs.prod.js +0 -270
- package/dist/login-6625af4a.cjs.dev.js +0 -270
|
@@ -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-0d7eef40.cjs.dev.js');
|
|
14
14
|
var doesFileExist = require('../../dist/does-file-exist-eb86baca.cjs.dev.js');
|
|
15
15
|
require('node:fs');
|
|
16
16
|
|
|
@@ -54,7 +54,7 @@ async function run() {
|
|
|
54
54
|
console.log('Experimental Vite bundler enabled! 🚀');
|
|
55
55
|
console.log('');
|
|
56
56
|
}
|
|
57
|
-
const startCommand = shouldUseExperimentalBundler ? await Promise.resolve().then(function () { return require('../../dist/start-vite-068e9f73.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-068e9f73.cjs.dev.js'); }) : await Promise.resolve().then(function () { return require('../../dist/start-66ec8479.cjs.dev.js'); });
|
|
58
58
|
await startCommand.default();
|
|
59
59
|
});
|
|
60
60
|
|
|
@@ -73,7 +73,7 @@ async function run() {
|
|
|
73
73
|
console.log('Experimental Vite bundler enabled! 🚀');
|
|
74
74
|
console.log('');
|
|
75
75
|
}
|
|
76
|
-
const buildCommand = shouldUseExperimentalBundler ? await Promise.resolve().then(function () { return require('../../dist/build-vite-16b1a575.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-16b1a575.cjs.dev.js'); }) : await Promise.resolve().then(function () { return require('../../dist/build-bd986bac.cjs.dev.js'); });
|
|
77
77
|
await buildCommand.default();
|
|
78
78
|
const shouldAlsoCompile = !options.buildOnly;
|
|
79
79
|
if (shouldAlsoCompile) {
|
|
@@ -114,7 +114,9 @@ async function run() {
|
|
|
114
114
|
});
|
|
115
115
|
|
|
116
116
|
// Command: login
|
|
117
|
-
commander.program.command('login').description('Log in to your Merchant Center account through the CLI, using the cloud environment information from the Merchant Center customization config file. An API token is generated and stored in a configuration file for the related cloud environment, and valid for 36 hours.').
|
|
117
|
+
commander.program.command('login').description('Log in to your Merchant Center account through the CLI, using the cloud environment information from the Merchant Center customization config file. An API token is generated and stored in a configuration file for the related cloud environment, and valid for 36 hours.').option('--mc-api-url <url>', '(optional) The URL of the Merchant Center API. If not provided, the command will try to read it from the environment variable `MC_API_URL` or the Merchant Center Customization configuration file. In this case, the command needs to be executed from the folder where the Merchant Center Customization configuration file is located.').option('--project-key <key>', '(optional) The project key to issue an API access token for. If not provided, the command will try to read it from the environment variable `CTP_PROJECT_KEY` or the Merchant Center Customization configuration file. In this case, the command needs to be executed from the folder where the Merchant Center Customization configuration file is located.').option('--oauth-scope <scope...>',
|
|
118
|
+
// Variadic option. It allows multiple `--oauth-scope` options to be provided.
|
|
119
|
+
'(optional) The OAuth Scope to request when generating an API access token. Multiple flags are allowed. If not provided, the command will try to read it from the environment variable `CTP_OAUTH_SCOPES` (comma-separated list) or the Merchant Center Customization configuration file. In this case, the command needs to be executed from the folder where the Merchant Center Customization configuration file is located.').option('--force', '(optional) If defined, the command will force the login even if a valid session already exists.', false).action(async options => {
|
|
118
120
|
const globalOptions = commander.program.opts();
|
|
119
121
|
|
|
120
122
|
// Load dotenv files into the process environment.
|
|
@@ -123,8 +125,8 @@ async function run() {
|
|
|
123
125
|
|
|
124
126
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
125
127
|
process.env.NODE_ENV = 'production';
|
|
126
|
-
const loginCommand = await Promise.resolve().then(function () { return require('../../dist/login-
|
|
127
|
-
await loginCommand.default();
|
|
128
|
+
const loginCommand = await Promise.resolve().then(function () { return require('../../dist/login-d7cb2619.cjs.dev.js'); });
|
|
129
|
+
await loginCommand.default(options);
|
|
128
130
|
});
|
|
129
131
|
|
|
130
132
|
// Command: config:sync
|
|
@@ -137,7 +139,7 @@ async function run() {
|
|
|
137
139
|
|
|
138
140
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
139
141
|
process.env.NODE_ENV = 'production';
|
|
140
|
-
const configSyncCommand = await Promise.resolve().then(function () { return require('../../dist/config-sync-
|
|
142
|
+
const configSyncCommand = await Promise.resolve().then(function () { return require('../../dist/config-sync-6977827c.cjs.dev.js'); });
|
|
141
143
|
await configSyncCommand.default(options);
|
|
142
144
|
});
|
|
143
145
|
|
|
@@ -151,7 +153,7 @@ async function run() {
|
|
|
151
153
|
|
|
152
154
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
153
155
|
process.env.NODE_ENV = 'production';
|
|
154
|
-
const deploymentsSetCommand = await Promise.resolve().then(function () { return require('../../dist/deployment-previews-set-
|
|
156
|
+
const deploymentsSetCommand = await Promise.resolve().then(function () { return require('../../dist/deployment-previews-set-b9ebe08f.cjs.dev.js'); });
|
|
155
157
|
await deploymentsSetCommand.default(options);
|
|
156
158
|
});
|
|
157
159
|
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-c32ced1c.cjs.prod.js');
|
|
14
14
|
var doesFileExist = require('../../dist/does-file-exist-be53305d.cjs.prod.js');
|
|
15
15
|
require('node:fs');
|
|
16
16
|
|
|
@@ -54,7 +54,7 @@ async function run() {
|
|
|
54
54
|
console.log('Experimental Vite bundler enabled! 🚀');
|
|
55
55
|
console.log('');
|
|
56
56
|
}
|
|
57
|
-
const startCommand = shouldUseExperimentalBundler ? await Promise.resolve().then(function () { return require('../../dist/start-vite-29078b3a.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-29078b3a.cjs.prod.js'); }) : await Promise.resolve().then(function () { return require('../../dist/start-296a8335.cjs.prod.js'); });
|
|
58
58
|
await startCommand.default();
|
|
59
59
|
});
|
|
60
60
|
|
|
@@ -73,7 +73,7 @@ async function run() {
|
|
|
73
73
|
console.log('Experimental Vite bundler enabled! 🚀');
|
|
74
74
|
console.log('');
|
|
75
75
|
}
|
|
76
|
-
const buildCommand = shouldUseExperimentalBundler ? await Promise.resolve().then(function () { return require('../../dist/build-vite-5d317720.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-5d317720.cjs.prod.js'); }) : await Promise.resolve().then(function () { return require('../../dist/build-9c26fe58.cjs.prod.js'); });
|
|
77
77
|
await buildCommand.default();
|
|
78
78
|
const shouldAlsoCompile = !options.buildOnly;
|
|
79
79
|
if (shouldAlsoCompile) {
|
|
@@ -114,7 +114,9 @@ async function run() {
|
|
|
114
114
|
});
|
|
115
115
|
|
|
116
116
|
// Command: login
|
|
117
|
-
commander.program.command('login').description('Log in to your Merchant Center account through the CLI, using the cloud environment information from the Merchant Center customization config file. An API token is generated and stored in a configuration file for the related cloud environment, and valid for 36 hours.').
|
|
117
|
+
commander.program.command('login').description('Log in to your Merchant Center account through the CLI, using the cloud environment information from the Merchant Center customization config file. An API token is generated and stored in a configuration file for the related cloud environment, and valid for 36 hours.').option('--mc-api-url <url>', '(optional) The URL of the Merchant Center API. If not provided, the command will try to read it from the environment variable `MC_API_URL` or the Merchant Center Customization configuration file. In this case, the command needs to be executed from the folder where the Merchant Center Customization configuration file is located.').option('--project-key <key>', '(optional) The project key to issue an API access token for. If not provided, the command will try to read it from the environment variable `CTP_PROJECT_KEY` or the Merchant Center Customization configuration file. In this case, the command needs to be executed from the folder where the Merchant Center Customization configuration file is located.').option('--oauth-scope <scope...>',
|
|
118
|
+
// Variadic option. It allows multiple `--oauth-scope` options to be provided.
|
|
119
|
+
'(optional) The OAuth Scope to request when generating an API access token. Multiple flags are allowed. If not provided, the command will try to read it from the environment variable `CTP_OAUTH_SCOPES` (comma-separated list) or the Merchant Center Customization configuration file. In this case, the command needs to be executed from the folder where the Merchant Center Customization configuration file is located.').option('--force', '(optional) If defined, the command will force the login even if a valid session already exists.', false).action(async options => {
|
|
118
120
|
const globalOptions = commander.program.opts();
|
|
119
121
|
|
|
120
122
|
// Load dotenv files into the process environment.
|
|
@@ -123,8 +125,8 @@ async function run() {
|
|
|
123
125
|
|
|
124
126
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
125
127
|
process.env.NODE_ENV = 'production';
|
|
126
|
-
const loginCommand = await Promise.resolve().then(function () { return require('../../dist/login-
|
|
127
|
-
await loginCommand.default();
|
|
128
|
+
const loginCommand = await Promise.resolve().then(function () { return require('../../dist/login-73e9f04f.cjs.prod.js'); });
|
|
129
|
+
await loginCommand.default(options);
|
|
128
130
|
});
|
|
129
131
|
|
|
130
132
|
// Command: config:sync
|
|
@@ -137,7 +139,7 @@ async function run() {
|
|
|
137
139
|
|
|
138
140
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
139
141
|
process.env.NODE_ENV = 'production';
|
|
140
|
-
const configSyncCommand = await Promise.resolve().then(function () { return require('../../dist/config-sync-
|
|
142
|
+
const configSyncCommand = await Promise.resolve().then(function () { return require('../../dist/config-sync-200c5df5.cjs.prod.js'); });
|
|
141
143
|
await configSyncCommand.default(options);
|
|
142
144
|
});
|
|
143
145
|
|
|
@@ -151,7 +153,7 @@ async function run() {
|
|
|
151
153
|
|
|
152
154
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
153
155
|
process.env.NODE_ENV = 'production';
|
|
154
|
-
const deploymentsSetCommand = await Promise.resolve().then(function () { return require('../../dist/deployment-previews-set-
|
|
156
|
+
const deploymentsSetCommand = await Promise.resolve().then(function () { return require('../../dist/deployment-previews-set-93927f50.cjs.prod.js'); });
|
|
155
157
|
await deploymentsSetCommand.default(options);
|
|
156
158
|
});
|
|
157
159
|
commander.program.parse();
|
|
@@ -6,7 +6,7 @@ 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-6a5c0475.esm.js';
|
|
10
10
|
import { d as doesFileExist } from '../../dist/does-file-exist-32618334.esm.js';
|
|
11
11
|
import 'node:fs';
|
|
12
12
|
|
|
@@ -40,7 +40,7 @@ async function run() {
|
|
|
40
40
|
console.log('Experimental Vite bundler enabled! 🚀');
|
|
41
41
|
console.log('');
|
|
42
42
|
}
|
|
43
|
-
const startCommand = shouldUseExperimentalBundler ? await import('../../dist/start-vite-7d1161e8.esm.js') : await import('../../dist/start-
|
|
43
|
+
const startCommand = shouldUseExperimentalBundler ? await import('../../dist/start-vite-7d1161e8.esm.js') : await import('../../dist/start-f7aed0ed.esm.js');
|
|
44
44
|
await startCommand.default();
|
|
45
45
|
});
|
|
46
46
|
|
|
@@ -59,7 +59,7 @@ async function run() {
|
|
|
59
59
|
console.log('Experimental Vite bundler enabled! 🚀');
|
|
60
60
|
console.log('');
|
|
61
61
|
}
|
|
62
|
-
const buildCommand = shouldUseExperimentalBundler ? await import('../../dist/build-vite-59e1f185.esm.js') : await import('../../dist/build-
|
|
62
|
+
const buildCommand = shouldUseExperimentalBundler ? await import('../../dist/build-vite-59e1f185.esm.js') : await import('../../dist/build-c91d680c.esm.js');
|
|
63
63
|
await buildCommand.default();
|
|
64
64
|
const shouldAlsoCompile = !options.buildOnly;
|
|
65
65
|
if (shouldAlsoCompile) {
|
|
@@ -100,7 +100,9 @@ async function run() {
|
|
|
100
100
|
});
|
|
101
101
|
|
|
102
102
|
// Command: login
|
|
103
|
-
program.command('login').description('Log in to your Merchant Center account through the CLI, using the cloud environment information from the Merchant Center customization config file. An API token is generated and stored in a configuration file for the related cloud environment, and valid for 36 hours.').
|
|
103
|
+
program.command('login').description('Log in to your Merchant Center account through the CLI, using the cloud environment information from the Merchant Center customization config file. An API token is generated and stored in a configuration file for the related cloud environment, and valid for 36 hours.').option('--mc-api-url <url>', '(optional) The URL of the Merchant Center API. If not provided, the command will try to read it from the environment variable `MC_API_URL` or the Merchant Center Customization configuration file. In this case, the command needs to be executed from the folder where the Merchant Center Customization configuration file is located.').option('--project-key <key>', '(optional) The project key to issue an API access token for. If not provided, the command will try to read it from the environment variable `CTP_PROJECT_KEY` or the Merchant Center Customization configuration file. In this case, the command needs to be executed from the folder where the Merchant Center Customization configuration file is located.').option('--oauth-scope <scope...>',
|
|
104
|
+
// Variadic option. It allows multiple `--oauth-scope` options to be provided.
|
|
105
|
+
'(optional) The OAuth Scope to request when generating an API access token. Multiple flags are allowed. If not provided, the command will try to read it from the environment variable `CTP_OAUTH_SCOPES` (comma-separated list) or the Merchant Center Customization configuration file. In this case, the command needs to be executed from the folder where the Merchant Center Customization configuration file is located.').option('--force', '(optional) If defined, the command will force the login even if a valid session already exists.', false).action(async options => {
|
|
104
106
|
const globalOptions = program.opts();
|
|
105
107
|
|
|
106
108
|
// Load dotenv files into the process environment.
|
|
@@ -109,8 +111,8 @@ async function run() {
|
|
|
109
111
|
|
|
110
112
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
111
113
|
process.env.NODE_ENV = 'production';
|
|
112
|
-
const loginCommand = await import('../../dist/login-
|
|
113
|
-
await loginCommand.default();
|
|
114
|
+
const loginCommand = await import('../../dist/login-2c875e0b.esm.js');
|
|
115
|
+
await loginCommand.default(options);
|
|
114
116
|
});
|
|
115
117
|
|
|
116
118
|
// Command: config:sync
|
|
@@ -123,7 +125,7 @@ async function run() {
|
|
|
123
125
|
|
|
124
126
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
125
127
|
process.env.NODE_ENV = 'production';
|
|
126
|
-
const configSyncCommand = await import('../../dist/config-sync-
|
|
128
|
+
const configSyncCommand = await import('../../dist/config-sync-d57260cc.esm.js');
|
|
127
129
|
await configSyncCommand.default(options);
|
|
128
130
|
});
|
|
129
131
|
|
|
@@ -137,7 +139,7 @@ async function run() {
|
|
|
137
139
|
|
|
138
140
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
139
141
|
process.env.NODE_ENV = 'production';
|
|
140
|
-
const deploymentsSetCommand = await import('../../dist/deployment-previews-set-
|
|
142
|
+
const deploymentsSetCommand = await import('../../dist/deployment-previews-set-178cacbc.esm.js');
|
|
141
143
|
await deploymentsSetCommand.default(options);
|
|
142
144
|
});
|
|
143
145
|
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-5ef997a2.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-fe3387fa.cjs.prod.js');
|
|
44
44
|
require('@babel/runtime-corejs3/helpers/slicedToArray');
|
|
45
|
-
require('./package-
|
|
45
|
+
require('./package-c32ced1c.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-9452f0ea.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-fd3dee79.cjs.dev.js');
|
|
44
44
|
require('@babel/runtime-corejs3/helpers/slicedToArray');
|
|
45
|
-
require('./package-
|
|
45
|
+
require('./package-0d7eef40.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-991b35ad.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-152ced99.esm.js';
|
|
42
42
|
import '@babel/runtime-corejs3/helpers/slicedToArray';
|
|
43
|
-
import './package-
|
|
43
|
+
import './package-6a5c0475.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 = "24.
|
|
8
|
+
var version = "24.10.0";
|
|
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 = "24.
|
|
8
|
+
var version = "24.10.0";
|
|
9
9
|
|
|
10
10
|
// These exports are deprecated.
|
|
11
11
|
|
|
@@ -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-0b89aa0e.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,7 @@ 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-
|
|
25
|
-
require('@commercetools/http-user-agent');
|
|
26
|
-
require('./package-0b5fe01d.cjs.prod.js');
|
|
24
|
+
var graphqlRequests = require('./graphql-requests-c5ecf40e.cjs.prod.js');
|
|
27
25
|
require('@babel/runtime-corejs3/helpers/classCallCheck');
|
|
28
26
|
require('@babel/runtime-corejs3/helpers/createClass');
|
|
29
27
|
require('@babel/runtime-corejs3/core-js-stable/date/now');
|
|
@@ -35,6 +33,8 @@ require('@babel/runtime-corejs3/core-js-stable/instance/some');
|
|
|
35
33
|
require('graphql');
|
|
36
34
|
require('graphql-request');
|
|
37
35
|
require('@commercetools-frontend/constants');
|
|
36
|
+
require('@commercetools/http-user-agent');
|
|
37
|
+
require('./package-c32ced1c.cjs.prod.js');
|
|
38
38
|
|
|
39
39
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
40
40
|
|
|
@@ -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-cbb5c559.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,7 @@ 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-
|
|
25
|
-
require('@commercetools/http-user-agent');
|
|
26
|
-
require('./package-fd9ca992.cjs.dev.js');
|
|
24
|
+
var graphqlRequests = require('./graphql-requests-5527b635.cjs.dev.js');
|
|
27
25
|
require('@babel/runtime-corejs3/helpers/classCallCheck');
|
|
28
26
|
require('@babel/runtime-corejs3/helpers/createClass');
|
|
29
27
|
require('@babel/runtime-corejs3/core-js-stable/date/now');
|
|
@@ -35,6 +33,8 @@ require('@babel/runtime-corejs3/core-js-stable/instance/some');
|
|
|
35
33
|
require('graphql');
|
|
36
34
|
require('graphql-request');
|
|
37
35
|
require('@commercetools-frontend/constants');
|
|
36
|
+
require('@commercetools/http-user-agent');
|
|
37
|
+
require('./package-0d7eef40.cjs.dev.js');
|
|
38
38
|
|
|
39
39
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
40
40
|
|
|
@@ -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-4464313c.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,7 @@ 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-
|
|
23
|
-
import '@commercetools/http-user-agent';
|
|
24
|
-
import './package-ecec051f.esm.js';
|
|
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-6043a20b.esm.js';
|
|
25
23
|
import '@babel/runtime-corejs3/helpers/classCallCheck';
|
|
26
24
|
import '@babel/runtime-corejs3/helpers/createClass';
|
|
27
25
|
import '@babel/runtime-corejs3/core-js-stable/date/now';
|
|
@@ -33,6 +31,8 @@ import '@babel/runtime-corejs3/core-js-stable/instance/some';
|
|
|
33
31
|
import 'graphql';
|
|
34
32
|
import 'graphql-request';
|
|
35
33
|
import '@commercetools-frontend/constants';
|
|
34
|
+
import '@commercetools/http-user-agent';
|
|
35
|
+
import './package-6a5c0475.esm.js';
|
|
36
36
|
|
|
37
37
|
function ownKeys(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
38
38
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context7, _context8; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context7 = ownKeys(Object(t), !0)).call(_context7, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context8 = ownKeys(Object(t))).call(_context8, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
package/dist/{create-postcss-config-3c6e4082.esm.js → create-postcss-config-152ced99.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-6a5c0475.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-7bd97267.cjs.dev.js → create-postcss-config-fd3dee79.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-0d7eef40.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-c32ced1c.cjs.prod.js');
|
|
6
6
|
|
|
7
7
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
8
8
|
|
|
@@ -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-fd3dee79.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');
|
|
@@ -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-152ced99.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-fe3387fa.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');
|
|
@@ -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-fe3387fa.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');
|
|
@@ -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-fd3dee79.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');
|
|
@@ -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-152ced99.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-382cbd6c.cjs.prod.js → credentials-storage-0b89aa0e.cjs.prod.js}
RENAMED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var createHttpUserAgent = require('@commercetools/http-user-agent');
|
|
4
|
-
var _package = require('./package-0b5fe01d.cjs.prod.js');
|
|
5
3
|
var _classCallCheck = require('@babel/runtime-corejs3/helpers/classCallCheck');
|
|
6
4
|
var _createClass = require('@babel/runtime-corejs3/helpers/createClass');
|
|
7
5
|
var _JSON$stringify = require('@babel/runtime-corejs3/core-js-stable/json/stringify');
|
|
@@ -13,22 +11,12 @@ var doesFileExist = require('./does-file-exist-be53305d.cjs.prod.js');
|
|
|
13
11
|
|
|
14
12
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
15
13
|
|
|
16
|
-
var createHttpUserAgent__default = /*#__PURE__*/_interopDefault(createHttpUserAgent);
|
|
17
14
|
var _JSON$stringify__default = /*#__PURE__*/_interopDefault(_JSON$stringify);
|
|
18
15
|
var _Date$now__default = /*#__PURE__*/_interopDefault(_Date$now);
|
|
19
16
|
var fs__default = /*#__PURE__*/_interopDefault(fs);
|
|
20
17
|
var os__default = /*#__PURE__*/_interopDefault(os);
|
|
21
18
|
var path__default = /*#__PURE__*/_interopDefault(path);
|
|
22
19
|
|
|
23
|
-
const userAgent = createHttpUserAgent__default["default"]({
|
|
24
|
-
name: 'graphql-request',
|
|
25
|
-
libraryName: 'mc-scripts',
|
|
26
|
-
libraryVersion: _package.pkgJson.version,
|
|
27
|
-
contactUrl: 'https://git.io/fjuyC',
|
|
28
|
-
// points to the appkit repo issues
|
|
29
|
-
contactEmail: 'support@commercetools.com'
|
|
30
|
-
});
|
|
31
|
-
|
|
32
20
|
let CredentialsStorage = /*#__PURE__*/function () {
|
|
33
21
|
function CredentialsStorage() {
|
|
34
22
|
_classCallCheck(this, CredentialsStorage);
|
|
@@ -92,4 +80,3 @@ let CredentialsStorage = /*#__PURE__*/function () {
|
|
|
92
80
|
}();
|
|
93
81
|
|
|
94
82
|
exports.CredentialsStorage = CredentialsStorage;
|
|
95
|
-
exports.userAgent = userAgent;
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import createHttpUserAgent from '@commercetools/http-user-agent';
|
|
2
|
-
import { p as pkgJson } from './package-ecec051f.esm.js';
|
|
3
1
|
import _classCallCheck from '@babel/runtime-corejs3/helpers/esm/classCallCheck';
|
|
4
2
|
import _createClass from '@babel/runtime-corejs3/helpers/esm/createClass';
|
|
5
3
|
import _JSON$stringify from '@babel/runtime-corejs3/core-js-stable/json/stringify';
|
|
@@ -9,15 +7,6 @@ import os from 'node:os';
|
|
|
9
7
|
import path from 'node:path';
|
|
10
8
|
import { d as doesFileExist } from './does-file-exist-32618334.esm.js';
|
|
11
9
|
|
|
12
|
-
const userAgent = createHttpUserAgent({
|
|
13
|
-
name: 'graphql-request',
|
|
14
|
-
libraryName: 'mc-scripts',
|
|
15
|
-
libraryVersion: pkgJson.version,
|
|
16
|
-
contactUrl: 'https://git.io/fjuyC',
|
|
17
|
-
// points to the appkit repo issues
|
|
18
|
-
contactEmail: 'support@commercetools.com'
|
|
19
|
-
});
|
|
20
|
-
|
|
21
10
|
let CredentialsStorage = /*#__PURE__*/function () {
|
|
22
11
|
function CredentialsStorage() {
|
|
23
12
|
_classCallCheck(this, CredentialsStorage);
|
|
@@ -80,4 +69,4 @@ let CredentialsStorage = /*#__PURE__*/function () {
|
|
|
80
69
|
}]);
|
|
81
70
|
}();
|
|
82
71
|
|
|
83
|
-
export { CredentialsStorage as C
|
|
72
|
+
export { CredentialsStorage as C };
|
package/dist/{credentials-storage-0959d001.cjs.dev.js → credentials-storage-cbb5c559.cjs.dev.js}
RENAMED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var createHttpUserAgent = require('@commercetools/http-user-agent');
|
|
4
|
-
var _package = require('./package-fd9ca992.cjs.dev.js');
|
|
5
3
|
var _classCallCheck = require('@babel/runtime-corejs3/helpers/classCallCheck');
|
|
6
4
|
var _createClass = require('@babel/runtime-corejs3/helpers/createClass');
|
|
7
5
|
var _JSON$stringify = require('@babel/runtime-corejs3/core-js-stable/json/stringify');
|
|
@@ -13,22 +11,12 @@ var doesFileExist = require('./does-file-exist-eb86baca.cjs.dev.js');
|
|
|
13
11
|
|
|
14
12
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
15
13
|
|
|
16
|
-
var createHttpUserAgent__default = /*#__PURE__*/_interopDefault(createHttpUserAgent);
|
|
17
14
|
var _JSON$stringify__default = /*#__PURE__*/_interopDefault(_JSON$stringify);
|
|
18
15
|
var _Date$now__default = /*#__PURE__*/_interopDefault(_Date$now);
|
|
19
16
|
var fs__default = /*#__PURE__*/_interopDefault(fs);
|
|
20
17
|
var os__default = /*#__PURE__*/_interopDefault(os);
|
|
21
18
|
var path__default = /*#__PURE__*/_interopDefault(path);
|
|
22
19
|
|
|
23
|
-
const userAgent = createHttpUserAgent__default["default"]({
|
|
24
|
-
name: 'graphql-request',
|
|
25
|
-
libraryName: 'mc-scripts',
|
|
26
|
-
libraryVersion: _package.pkgJson.version,
|
|
27
|
-
contactUrl: 'https://git.io/fjuyC',
|
|
28
|
-
// points to the appkit repo issues
|
|
29
|
-
contactEmail: 'support@commercetools.com'
|
|
30
|
-
});
|
|
31
|
-
|
|
32
20
|
let CredentialsStorage = /*#__PURE__*/function () {
|
|
33
21
|
function CredentialsStorage() {
|
|
34
22
|
_classCallCheck(this, CredentialsStorage);
|
|
@@ -92,4 +80,3 @@ let CredentialsStorage = /*#__PURE__*/function () {
|
|
|
92
80
|
}();
|
|
93
81
|
|
|
94
82
|
exports.CredentialsStorage = CredentialsStorage;
|
|
95
|
-
exports.userAgent = userAgent;
|
|
@@ -11,6 +11,12 @@ export type TCliCommandCompileHtmlOptions = {
|
|
|
11
11
|
export type TCliCommandConfigSyncOptions = {
|
|
12
12
|
dryRun: boolean;
|
|
13
13
|
};
|
|
14
|
+
export type TCliCommandLoginOptions = {
|
|
15
|
+
mcApiUrl?: string;
|
|
16
|
+
projectKey?: string;
|
|
17
|
+
oauthScope?: string[];
|
|
18
|
+
force?: boolean;
|
|
19
|
+
};
|
|
14
20
|
export type TCliCommandSetDeploymentPreviewOptions = {
|
|
15
21
|
alias?: string;
|
|
16
22
|
url?: string;
|