netlify-cli 17.20.1 → 17.21.1

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.
@@ -1 +1 @@
1
- {"version":3,"file":"dev.d.ts","sourceRoot":"","sources":["../../../src/commands/dev/dev.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAU,MAAM,WAAW,CAAA;AA0BhD,OAAO,WAAW,MAAM,oBAAoB,CAAA;AA4D5C,eAAO,MAAM,GAAG,YAAmB,YAAY,WAAW,WAAW,kBAyJpE,CAAA;AAED,eAAO,MAAM,gBAAgB,YAAa,WAAW,gBAuGpD,CAAA"}
1
+ {"version":3,"file":"dev.d.ts","sourceRoot":"","sources":["../../../src/commands/dev/dev.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAU,MAAM,WAAW,CAAA;AA0BhD,OAAO,WAAW,MAAM,oBAAoB,CAAA;AA4D5C,eAAO,MAAM,GAAG,YAAmB,YAAY,WAAW,WAAW,kBAyJpE,CAAA;AAED,eAAO,MAAM,gBAAgB,YAAa,WAAW,gBAwGpD,CAAA"}
@@ -206,6 +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
+ .option('--skip-wait-port', 'disables waiting for target port to become available')
209
210
  .addOption(new Option('--no-open', 'disables the automatic opening of a browser window'))
210
211
  .option('--target-port <port>', 'port of target app server', (value) => Number.parseInt(value))
211
212
  .option('--framework <name>', 'framework to use. Defaults to #auto which automatically detects a framework')
@@ -3,7 +3,7 @@ import { createRequire } from 'module';
3
3
  import path from 'path';
4
4
  import { zipFunction, listFunction } from '@netlify/zip-it-and-ship-it';
5
5
  import decache from 'decache';
6
- import { readPackageUp } from 'read-pkg-up';
6
+ import { readPackageUp } from 'read-package-up';
7
7
  // @ts-expect-error TS(7016) FIXME: Could not find a declaration file for module 'sour... Remove this comment to see the full error message
8
8
  import sourceMapSupport from 'source-map-support';
9
9
  import { NETLIFYDEVERR } from '../../../../../utils/command-helpers.js';