create-nx-workspace 17.3.0 → 17.3.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.
@@ -103,7 +103,7 @@ exports.commandsObject = yargs
103
103
  }, [
104
104
  normalizeArgsMiddleware,
105
105
  normalizeAndWarnOnDeprecatedPreset({
106
- // TODO(v18): Remove Empty and Core presets
106
+ // TODO(v19): Remove Empty and Core presets
107
107
  [preset_1.Preset.Core]: preset_1.Preset.NPM,
108
108
  [preset_1.Preset.Empty]: preset_1.Preset.Apps,
109
109
  }),
@@ -170,8 +170,6 @@ async function normalizeArgsMiddleware(argv) {
170
170
  });
171
171
  try {
172
172
  let thirdPartyPreset;
173
- // Node options
174
- let docker;
175
173
  try {
176
174
  thirdPartyPreset = await (0, get_third_party_preset_1.getThirdPartyPreset)(argv.preset);
177
175
  }
@@ -448,11 +446,11 @@ async function determineReactOptions(parsedArgs) {
448
446
  },
449
447
  {
450
448
  name: 'scss',
451
- message: 'SASS(.scss) [ http://sass-lang.com ]',
449
+ message: 'SASS(.scss) [ https://sass-lang.com ]',
452
450
  },
453
451
  {
454
452
  name: 'less',
455
- message: 'LESS [ http://lesscss.org ]',
453
+ message: 'LESS [ https://lesscss.org ]',
456
454
  },
457
455
  {
458
456
  name: 'styled-components',
@@ -539,11 +537,11 @@ async function determineVueOptions(parsedArgs) {
539
537
  },
540
538
  {
541
539
  name: 'scss',
542
- message: 'SASS(.scss) [ http://sass-lang.com ]',
540
+ message: 'SASS(.scss) [ https://sass-lang.com ]',
543
541
  },
544
542
  {
545
543
  name: 'less',
546
- message: 'LESS [ http://lesscss.org ]',
544
+ message: 'LESS [ https://lesscss.org ]',
547
545
  },
548
546
  {
549
547
  name: 'none',
@@ -626,11 +624,11 @@ async function determineAngularOptions(parsedArgs) {
626
624
  },
627
625
  {
628
626
  name: 'scss',
629
- message: 'SASS(.scss) [ http://sass-lang.com ]',
627
+ message: 'SASS(.scss) [ https://sass-lang.com ]',
630
628
  },
631
629
  {
632
630
  name: 'less',
633
- message: 'LESS [ http://lesscss.org ]',
631
+ message: 'LESS [ https://lesscss.org ]',
634
632
  },
635
633
  ],
636
634
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-nx-workspace",
3
- "version": "17.3.0",
3
+ "version": "17.3.1",
4
4
  "private": false,
5
5
  "description": "Smart Monorepos · Fast CI",
6
6
  "repository": {
@@ -16,10 +16,10 @@ async function createWorkspace(preset, options) {
16
16
  output_1.output.setCliName(cliName ?? 'NX');
17
17
  }
18
18
  const tmpDir = await (0, create_sandbox_1.createSandbox)(packageManager);
19
- // nx new requires preset currently. We should probably make it optional.
19
+ // nx new requires a preset currently. We should probably make it optional.
20
20
  const directory = await (0, create_empty_workspace_1.createEmptyWorkspace)(tmpDir, name, packageManager, { ...options, preset });
21
21
  // If the preset is a third-party preset, we need to call createPreset to install it
22
- // For first-party presets, it will created by createEmptyWorkspace instead.
22
+ // For first-party presets, it will be created by createEmptyWorkspace instead.
23
23
  // In createEmptyWorkspace, it will call `nx new` -> `@nx/workspace newGenerator` -> `@nx/workspace generatePreset`.
24
24
  const thirdPartyPreset = await (0, get_third_party_preset_1.getThirdPartyPreset)(preset);
25
25
  if (thirdPartyPreset) {