netlify-cli 17.21.1 → 17.21.2
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/dist/commands/dev/dev.js +1 -1
- package/dist/commands/functions/functions-create.d.ts.map +1 -1
- package/dist/commands/functions/functions-create.js +0 -1
- package/dist/commands/functions/functions-invoke.d.ts.map +1 -1
- package/dist/commands/functions/functions-invoke.js +0 -1
- package/dist/commands/integration/deploy.d.ts.map +1 -1
- package/dist/commands/integration/deploy.js +0 -4
- package/dist/lib/geo-location.d.ts.map +1 -1
- package/dist/lib/geo-location.js +0 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/utils/detect-server-settings.js +1 -1
- package/dist/utils/live-tunnel.d.ts.map +1 -1
- package/dist/utils/live-tunnel.js +0 -1
- package/dist/utils/read-repo-url.d.ts.map +1 -1
- package/dist/utils/read-repo-url.js +0 -1
- package/dist/utils/sign-redirect.d.ts +1 -1
- package/dist/utils/sign-redirect.d.ts.map +1 -1
- package/dist/utils/sign-redirect.js +0 -1
- package/dist/utils/sites/utils.d.ts.map +1 -1
- package/dist/utils/sites/utils.js +0 -1
- package/dist/utils/telemetry/request.js +0 -1
- package/npm-shrinkwrap.json +78 -608
- package/package.json +6 -6
package/dist/commands/dev/dev.js
CHANGED
|
@@ -206,7 +206,7 @@ export const createDevCommand = (program) => {
|
|
|
206
206
|
.addOption(new Option('--targetPort <port>', 'Old, prefer --target-port. Port of target app server')
|
|
207
207
|
.argParser((value) => Number.parseInt(value))
|
|
208
208
|
.hideHelp(true))
|
|
209
|
-
.
|
|
209
|
+
.addOption(new Option('--skip-wait-port', 'disables waiting for target port to become available').hideHelp(true))
|
|
210
210
|
.addOption(new Option('--no-open', 'disables the automatic opening of a browser window'))
|
|
211
211
|
.option('--target-port <port>', 'port of target app server', (value) => Number.parseInt(value))
|
|
212
212
|
.option('--framework <name>', 'framework to use. Defaults to #auto which automatically detects a framework')
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"functions-create.d.ts","sourceRoot":"","sources":["../../../src/commands/functions/functions-create.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;
|
|
1
|
+
{"version":3,"file":"functions-create.d.ts","sourceRoot":"","sources":["../../../src/commands/functions/functions-create.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAexC,OAAO,WAAW,MAAM,oBAAoB,CAAA;AA0tB5C,eAAO,MAAM,eAAe,SAAgB,MAAM,WAAW,YAAY,WAAW,WAAW,kBAQ9F,CAAA"}
|
|
@@ -11,7 +11,6 @@ import copyTemplateDirOriginal from 'copy-template-dir';
|
|
|
11
11
|
import { findUp } from 'find-up';
|
|
12
12
|
import fuzzy from 'fuzzy';
|
|
13
13
|
import inquirer from 'inquirer';
|
|
14
|
-
// @ts-expect-error TS(7016) FIXME: Could not find a declaration file for module 'node... Remove this comment to see the full error message
|
|
15
14
|
import fetch from 'node-fetch';
|
|
16
15
|
import ora from 'ora';
|
|
17
16
|
import { fileExistsAsync } from '../../lib/fs.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"functions-invoke.d.ts","sourceRoot":"","sources":["../../../src/commands/functions/functions-invoke.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;
|
|
1
|
+
{"version":3,"file":"functions-invoke.d.ts","sourceRoot":"","sources":["../../../src/commands/functions/functions-invoke.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAMxC,OAAO,WAAW,MAAM,oBAAoB,CAAA;AAwI5C,eAAO,MAAM,eAAe,iBAAwB,MAAM,WAAW,YAAY,WAAW,WAAW,kBA6FtG,CAAA"}
|
|
@@ -2,7 +2,6 @@ import fs from 'fs';
|
|
|
2
2
|
import { createRequire } from 'module';
|
|
3
3
|
import path from 'path';
|
|
4
4
|
import inquirer from 'inquirer';
|
|
5
|
-
// @ts-expect-error TS(7016) FIXME: Could not find a declaration file for module 'node... Remove this comment to see the full error message
|
|
6
5
|
import fetch from 'node-fetch';
|
|
7
6
|
import { NETLIFYDEVWARN, chalk, error, exit } from '../../utils/command-helpers.js';
|
|
8
7
|
import { BACKGROUND, CLOCKWORK_USERAGENT, getFunctions } from '../../utils/functions/index.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deploy.d.ts","sourceRoot":"","sources":["../../../src/commands/integration/deploy.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;
|
|
1
|
+
{"version":3,"file":"deploy.d.ts","sourceRoot":"","sources":["../../../src/commands/integration/deploy.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAUxC,OAAO,WAAW,MAAM,oBAAoB,CAAA;AAS5C,wBAAgB,cAAc,CAAC,WAAW,KAAA,EAAE,YAAY,KAAA,OAOvD;AA0FD,wBAAsB,mBAAmB,CAAC,UAAU,KAAA,EAAE,MAAM,KAAA,EAAE,SAAS,KAAA,EAAE,sBAAsB,KAAA,EAAE,KAAK,KAAA,iBAuErG;AAED,wBAAsB,iBAAiB,CAErC,UAAU,KAAA,EAEV,OAAO,KAAA,EAEP,MAAM,KAAA,EAEN,SAAS,KAAA,EAET,sBAAsB,KAAA,EAEtB,KAAK,KAAA,EAEL,qBAAqB,KAAA,iBA4HtB;AA4BD,eAAO,MAAM,gBAAgB,0BA6B5B,CAAA;AAED,eAAO,MAAM,MAAM,YAAmB,YAAY,WAAW,WAAW,kBAkEvE,CAAA"}
|
|
@@ -4,7 +4,6 @@ import { exit, env } from 'process';
|
|
|
4
4
|
import inquirer from 'inquirer';
|
|
5
5
|
// @ts-expect-error TS(7016) FIXME: Could not find a declaration file for module 'js-y... Remove this comment to see the full error message
|
|
6
6
|
import yaml from 'js-yaml';
|
|
7
|
-
// @ts-expect-error TS(7016) FIXME: Could not find a declaration file for module 'node... Remove this comment to see the full error message
|
|
8
7
|
import fetch from 'node-fetch';
|
|
9
8
|
import { z } from 'zod';
|
|
10
9
|
import { getBuildOptions } from '../../lib/build.js';
|
|
@@ -97,7 +96,6 @@ function verifyRequiredFieldsAreInConfig(name, description, scopes, integrationL
|
|
|
97
96
|
return true;
|
|
98
97
|
}
|
|
99
98
|
// @ts-expect-error TS(7006) FIXME: Parameter 'workingDir' implicitly has an 'any' typ... Remove this comment to see the full error message
|
|
100
|
-
// eslint-disable-next-line max-params
|
|
101
99
|
export async function registerIntegration(workingDir, siteId, accountId, localIntegrationConfig, token) {
|
|
102
100
|
const { description, integrationLevel, name, scopes, slug } = localIntegrationConfig;
|
|
103
101
|
log(chalk.yellow(`An integration associated with the site ID ${siteId} is not registered.`));
|
|
@@ -131,7 +129,6 @@ export async function registerIntegration(workingDir, siteId, accountId, localIn
|
|
|
131
129
|
scopes: formatScopesForRemote(scopes),
|
|
132
130
|
integrationLevel,
|
|
133
131
|
}),
|
|
134
|
-
// @ts-expect-error TS(7006) FIXME: Parameter 'res' implicitly has an 'any' type.
|
|
135
132
|
}).then(async (res) => {
|
|
136
133
|
const response = await res.json();
|
|
137
134
|
return { body: response, statusCode: res.status };
|
|
@@ -154,7 +151,6 @@ export async function registerIntegration(workingDir, siteId, accountId, localIn
|
|
|
154
151
|
await fs.promises.writeFile(filePath, updatedIntegrationConfig);
|
|
155
152
|
log(chalk.yellow('Your integration.yaml file has been updated. Please commit and push these changes.'));
|
|
156
153
|
}
|
|
157
|
-
// eslint-disable-next-line max-params
|
|
158
154
|
export async function updateIntegration(
|
|
159
155
|
// @ts-expect-error TS(7006) FIXME: Parameter 'workingDir' implicitly has an 'any' typ... Remove this comment to see the full error message
|
|
160
156
|
workingDir,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"geo-location.d.ts","sourceRoot":"","sources":["../../src/lib/geo-location.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"geo-location.d.ts","sourceRoot":"","sources":["../../src/lib/geo-location.ts"],"names":[],"mappings":"AAUA;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;CAOxB,CAAA;AAED;;;;;;;;;;GAUG;AAEH,eAAO,MAAM,cAAc;;;;;kBAyD1B,CAAA"}
|
package/dist/lib/geo-location.js
CHANGED