create-nx-workspace 20.7.1 → 20.8.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.
|
@@ -37,7 +37,7 @@ interface AngularArguments extends BaseArguments {
|
|
|
37
37
|
standaloneApi: boolean;
|
|
38
38
|
unitTestRunner: 'none' | 'jest' | 'vitest';
|
|
39
39
|
e2eTestRunner: 'none' | 'cypress' | 'playwright';
|
|
40
|
-
bundler: 'webpack' | 'esbuild';
|
|
40
|
+
bundler: 'webpack' | 'rspack' | 'esbuild';
|
|
41
41
|
ssr: boolean;
|
|
42
42
|
serverRouting: boolean;
|
|
43
43
|
prefix: string;
|
|
@@ -749,6 +749,10 @@ async function determineAngularOptions(parsedArgs) {
|
|
|
749
749
|
name: 'esbuild',
|
|
750
750
|
message: 'esbuild [ https://esbuild.github.io/ ]',
|
|
751
751
|
},
|
|
752
|
+
{
|
|
753
|
+
name: 'rspack',
|
|
754
|
+
message: 'Rspack [ https://rspack.dev/ ]',
|
|
755
|
+
},
|
|
752
756
|
{
|
|
753
757
|
name: 'webpack',
|
|
754
758
|
message: 'Webpack [ https://webpack.js.org/ ]',
|
|
@@ -795,7 +799,9 @@ async function determineAngularOptions(parsedArgs) {
|
|
|
795
799
|
const reply = await enquirer.prompt([
|
|
796
800
|
{
|
|
797
801
|
name: 'ssr',
|
|
798
|
-
message:
|
|
802
|
+
message: `Do you want to enable Server-Side Rendering (SSR)${bundler !== 'rspack'
|
|
803
|
+
? ' and Static Site Generation (SSG/Prerendering)?'
|
|
804
|
+
: '?'}`,
|
|
799
805
|
type: 'autocomplete',
|
|
800
806
|
choices: [{ name: 'Yes' }, { name: 'No' }],
|
|
801
807
|
initial: 1,
|