@aws/create-nx-workspace 0.111.0 → 0.112.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.
Files changed (2) hide show
  1. package/bin/index.cjs +15 -4
  2. package/package.json +1 -1
package/bin/index.cjs CHANGED
@@ -14,6 +14,8 @@ const NX_VERSION = {
14
14
  "@aws-sdk/client-s3": "3.1039.0",
15
15
  "@aws-sdk/client-sts": "3.1039.0",
16
16
  "@aws-sdk/credential-providers": "3.1039.0",
17
+ "@aws-sdk/client-secrets-manager": "3.1030.0",
18
+ "@aws-sdk/rds-signer": "3.1030.0",
17
19
  "@aws-smithy/server-apigateway": "1.0.0-alpha.10",
18
20
  "@aws-smithy/server-node": "1.0.0-alpha.10",
19
21
  "@aws-lambda-powertools/logger": "2.33.0",
@@ -49,9 +51,12 @@ const NX_VERSION = {
49
51
  "@trpc/tanstack-react-query": "11.17.0",
50
52
  "@trpc/client": "11.17.0",
51
53
  "@trpc/server": "11.17.0",
54
+ dockerode: "5.0.0",
55
+ "@types/dockerode": "4.0.1",
52
56
  "@types/node": "25.6.0",
53
57
  "@types/aws-lambda": "8.10.161",
54
58
  "@types/cors": "2.8.19",
59
+ "@types/pg": "8.20.0",
55
60
  "@types/ws": "8.18.1",
56
61
  "@types/express": "5.0.6",
57
62
  "@smithy/config-resolver": "4.4.17",
@@ -80,6 +85,9 @@ const NX_VERSION = {
80
85
  "@types/event-source-polyfill": "1.0.5",
81
86
  "@typescript-eslint/eslint-plugin": "8.59.1",
82
87
  "@typescript-eslint/parser": "8.59.1",
88
+ "@prisma/adapter-mariadb": "7.8.0",
89
+ "@prisma/adapter-pg": "7.8.0",
90
+ "@prisma/client": "7.8.0",
83
91
  "eslint-plugin-prettier": "5.5.5",
84
92
  express: "5.2.1",
85
93
  "fast-glob": "3.3.3",
@@ -88,10 +96,13 @@ const NX_VERSION = {
88
96
  "jsonc-eslint-parser": "3.1.0",
89
97
  "typescript-eslint": "8.59.1",
90
98
  "make-dir-cli": "4.0.0",
99
+ mariadb: "3.5.2",
91
100
  ncp: "2.0.0",
92
101
  "npm-check-updates": "19.6.6",
93
102
  "oidc-client-ts": "3.5.0",
94
103
  prettier: "3.8.3",
104
+ pg: "8.20.0",
105
+ prisma: "7.8.0",
95
106
  "react-oidc-context": "3.3.1",
96
107
  react: "19.2.5",
97
108
  "react-dom": "19.2.5",
@@ -128,10 +139,9 @@ const detectPackageManager = () => {
128
139
  if (userAgent.startsWith("bun/")) return "bun";
129
140
  if (userAgent.startsWith("npm/")) return "npm";
130
141
  };
131
- /**
132
- * Build the argument list for create-nx-workspace.
133
- * Positional args come first, then --preset and defaults, then user flags.
134
- */
142
+ const isNonInteractive = (flagArgs) => flagArgs.some((a) => a === "--no-interactive" || a === "--interactive=false");
143
+ const hasSkipGitFlag = (flagArgs) => flagArgs.some((a) => a === "--skipGit" || a.startsWith("--skipGit="));
144
+ const hasCiOverride = (flagArgs) => flagArgs.some((a) => a.startsWith("--ci") || a.startsWith("--nxCloud"));
135
145
  const buildArgs = (args) => {
136
146
  const positionalArgs = args.filter((a) => !a.startsWith("-"));
137
147
  const flagArgs = args.filter((a) => a.startsWith("-"));
@@ -140,6 +150,7 @@ const buildArgs = (args) => {
140
150
  const pm = detectPackageManager();
141
151
  if (pm) defaultFlags.push(`--pm=${pm}`);
142
152
  }
153
+ if (isNonInteractive(flagArgs) && !hasCiOverride(flagArgs) && !hasSkipGitFlag(flagArgs)) defaultFlags.push("--skipGit");
143
154
  const flagsToAdd = defaultFlags.filter((flag) => !flagArgs.some((a) => a.startsWith(flag.split("=")[0])));
144
155
  return [
145
156
  ...positionalArgs,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws/create-nx-workspace",
3
- "version": "0.111.0",
3
+ "version": "0.112.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/awslabs/nx-plugin-for-aws.git",