create-nx-workspace 16.4.0-beta.9 → 16.5.0-beta.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.
|
@@ -372,7 +372,7 @@ function determineReactOptions(parsedArgs) {
|
|
|
372
372
|
let appName;
|
|
373
373
|
let bundler = undefined;
|
|
374
374
|
let nextAppDir = false;
|
|
375
|
-
if (parsedArgs.preset) {
|
|
375
|
+
if (parsedArgs.preset && parsedArgs.preset !== preset_1.Preset.React) {
|
|
376
376
|
preset = parsedArgs.preset;
|
|
377
377
|
if (preset === preset_1.Preset.ReactStandalone ||
|
|
378
378
|
preset === preset_1.Preset.NextJsStandalone) {
|
|
@@ -477,7 +477,7 @@ function determineAngularOptions(parsedArgs) {
|
|
|
477
477
|
let appName;
|
|
478
478
|
let standaloneApi;
|
|
479
479
|
let routing;
|
|
480
|
-
if (parsedArgs.preset) {
|
|
480
|
+
if (parsedArgs.preset && parsedArgs.preset !== preset_1.Preset.Angular) {
|
|
481
481
|
preset = parsedArgs.preset;
|
|
482
482
|
if (preset === preset_1.Preset.AngularStandalone) {
|
|
483
483
|
appName = parsedArgs.name;
|
|
@@ -789,7 +789,7 @@ function determineNodeFramework(parsedArgs) {
|
|
|
789
789
|
},
|
|
790
790
|
{
|
|
791
791
|
name: 'fastify',
|
|
792
|
-
message: 'Fastify [ https://www.fastify.
|
|
792
|
+
message: 'Fastify [ https://www.fastify.dev/ ]',
|
|
793
793
|
},
|
|
794
794
|
{
|
|
795
795
|
name: 'koa',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-nx-workspace",
|
|
3
|
-
"version": "16.
|
|
3
|
+
"version": "16.5.0-beta.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Smart, Fast and Extensible Build System",
|
|
6
6
|
"repository": {
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
},
|
|
44
44
|
"main": "./index.js",
|
|
45
45
|
"types": "./index.d.ts",
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "376d656cfc7f6390ff1cd6d9de348baf7bccbf33"
|
|
47
47
|
}
|
|
@@ -24,7 +24,7 @@ var Preset;
|
|
|
24
24
|
Preset["NodeStandalone"] = "node-standalone";
|
|
25
25
|
Preset["NodeMonorepo"] = "node-monorepo";
|
|
26
26
|
Preset["TsStandalone"] = "ts-standalone";
|
|
27
|
-
})(Preset
|
|
27
|
+
})(Preset || (exports.Preset = Preset = {}));
|
|
28
28
|
/**
|
|
29
29
|
* This function is used to check if a preset is a known Nx preset.
|
|
30
30
|
* @param preset
|