@depup/nestjs__cli 12.0.1-depup.0 → 12.0.3-depup.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.
package/README.md CHANGED
@@ -13,8 +13,8 @@ npm install @depup/nestjs__cli
13
13
 
14
14
  | Field | Value |
15
15
  |-------|-------|
16
- | Original | [@nestjs/cli](https://www.npmjs.com/package/@nestjs/cli) @ 12.0.1 |
17
- | Processed | 2026-09-14 |
16
+ | Original | [@nestjs/cli](https://www.npmjs.com/package/@nestjs/cli) @ 12.0.3 |
17
+ | Processed | 2026-09-16 |
18
18
  | Smoke test | failed |
19
19
  | Deps updated | 2 |
20
20
 
@@ -22,7 +22,7 @@ npm install @depup/nestjs__cli
22
22
 
23
23
  | Dependency | From | To |
24
24
  |------------|------|-----|
25
- | @nestjs/schematics | ^12.0.0 | ^12.0.2 |
25
+ | @nestjs/schematics | ^12.0.0 | ^12.0.3 |
26
26
  | typescript | ~6.0.2 | ^7.0.2 |
27
27
 
28
28
  ---
@@ -26,6 +26,9 @@ export class NewAction extends AbstractAction {
26
26
  await initializeGitRepository(projectDirectory);
27
27
  await createGitIgnoreFile(projectDirectory);
28
28
  }
29
+ if (context.observe) {
30
+ printObservabilityNextSteps();
31
+ }
29
32
  printCollective();
30
33
  }
31
34
  process.exit(0);
@@ -100,14 +103,15 @@ const installPackages = async (context, installDirectory) => {
100
103
  }
101
104
  };
102
105
  const askForObservability = async () => {
103
- // Without a TTY (CI, piped input, `execSync`) there is nobody to answer, so
104
- // fall back to the opt-out default instead of blocking the scaffold.
106
+ // The prompt below defaults to yes, but that only holds where someone is
107
+ // there to say no. Without a TTY (CI, piped input, `execSync`) nobody
108
+ // consented to the extra dependency, so stay off rather than block or assume.
105
109
  if (!isInteractive()) {
106
110
  return false;
107
111
  }
108
112
  return (await confirm({
109
113
  message: MESSAGES.OBSERVABILITY_QUESTION,
110
- default: false,
114
+ default: true,
111
115
  }).catch(gracefullyExitOnPromptError));
112
116
  };
113
117
  const askForPackageManager = async () => {
@@ -143,6 +147,14 @@ const createGitIgnoreFile = (dir, content) => {
143
147
  }
144
148
  return fs.promises.writeFile(filePath, fileContent);
145
149
  };
150
+ const printObservabilityNextSteps = () => {
151
+ console.info();
152
+ console.info(MESSAGES.OBSERVABILITY_NEXT_STEPS);
153
+ console.info();
154
+ console.info(ansis.underline(MESSAGES.OBSERVABILITY_SIGN_UP_URL));
155
+ console.info(ansis.gray(MESSAGES.OBSERVABILITY_KEYS_HINT));
156
+ console.info();
157
+ };
146
158
  const printCollective = () => {
147
159
  const dim = print('dim');
148
160
  const yellow = print('yellow');
package/changes.json CHANGED
@@ -2,13 +2,13 @@
2
2
  "bumped": {
3
3
  "@nestjs/schematics": {
4
4
  "from": "^12.0.0",
5
- "to": "^12.0.2"
5
+ "to": "^12.0.3"
6
6
  },
7
7
  "typescript": {
8
8
  "from": "~6.0.2",
9
9
  "to": "^7.0.2"
10
10
  }
11
11
  },
12
- "timestamp": "2026-09-14T16:08:56.059Z",
12
+ "timestamp": "2026-09-16T16:10:03.462Z",
13
13
  "totalUpdated": 2
14
14
  }
@@ -24,6 +24,9 @@ export declare const MESSAGES: {
24
24
  UPGRADE_IN_PROGRESS: string;
25
25
  UPGRADE_GLOBAL_CLI_HINT: string;
26
26
  OBSERVABILITY_QUESTION: string;
27
+ OBSERVABILITY_NEXT_STEPS: string;
28
+ OBSERVABILITY_SIGN_UP_URL: string;
29
+ OBSERVABILITY_KEYS_HINT: string;
27
30
  MAU_INSTALLATION_QUESTION: (name: string) => string;
28
31
  MAU_INSTALLATION_IN_PROGRESS: (name: string) => string;
29
32
  MAU_INSTALLATION_DECLINED: (name: string, command: string) => string;
@@ -27,7 +27,10 @@ export const MESSAGES = {
27
27
  LIBRARY_INSTALLATION_STARTS: 'Starting library setup...',
28
28
  UPGRADE_IN_PROGRESS: `${EMOJIS.ROCKET} Upgrading your project to NestJS v12...`,
29
29
  UPGRADE_GLOBAL_CLI_HINT: 'Only the local @nestjs/cli was updated. To update a globally installed CLI, run: npm i -g @nestjs/cli@latest',
30
- OBSERVABILITY_QUESTION: 'Would you like to enable auto-instrumented observability (@nestjs/observe)?',
30
+ OBSERVABILITY_QUESTION: 'Would you like to set up @nestjs/observe (distributed tracing, auto-correlated logs, metrics and alarms - free for 300k events/month, https://observe.nestjs.com)?',
31
+ OBSERVABILITY_NEXT_STEPS: `${EMOJIS.SPARKLES} @nestjs/observe is wired up. Create a free account to get your credentials:`,
32
+ OBSERVABILITY_SIGN_UP_URL: 'https://observe.nestjs.com',
33
+ OBSERVABILITY_KEYS_HINT: 'Then paste the app key and secret into ObserveModule.forRoot() in your AppModule.',
31
34
  MAU_INSTALLATION_QUESTION: (name) => `The ${name} package is required to deploy. Would you like to install it now?`,
32
35
  MAU_INSTALLATION_IN_PROGRESS: (name) => `Installing ${name}... ${EMOJIS.COFFEE}`,
33
36
  MAU_INSTALLATION_DECLINED: (name, command) => `Cannot deploy without ${name}. Install it with:\n\n ${command}\n`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@depup/nestjs__cli",
3
- "version": "12.0.1-depup.0",
3
+ "version": "12.0.3-depup.0",
4
4
  "type": "module",
5
5
  "description": "Nest - modern, fast, powerful node.js web framework (@cli) (with updated dependencies)",
6
6
  "engines": {
@@ -39,7 +39,7 @@
39
39
  "@angular-devkit/schematics": "22.1.8",
40
40
  "@angular-devkit/schematics-cli": "22.1.8",
41
41
  "@inquirer/prompts": "8.7.2",
42
- "@nestjs/schematics": "^12.0.2",
42
+ "@nestjs/schematics": "^12.0.3",
43
43
  "ansis": "4.4.0",
44
44
  "chokidar": "5.0.0",
45
45
  "cli-table3": "0.6.5",
@@ -56,7 +56,7 @@
56
56
  "@rspack/core": "^2.0.0",
57
57
  "@swc/cli": "0.8.1",
58
58
  "@swc/core": "1.16.2",
59
- "@types/node": "25.9.6",
59
+ "@types/node": "25.9.7",
60
60
  "@types/webpack-node-externals": "3.0.4",
61
61
  "delete-empty": "3.0.0",
62
62
  "fork-ts-checker-webpack-plugin": "9.1.0",
@@ -64,13 +64,13 @@
64
64
  "gulp-clean": "0.4.0",
65
65
  "husky": "9.1.7",
66
66
  "lint-staged": "17.5.1",
67
- "oxlint": "1.82.0",
67
+ "oxlint": "1.83.0",
68
68
  "prettier": "3.9.6",
69
69
  "release-it": "21.0.3",
70
70
  "ts-loader": "9.6.2",
71
71
  "tsconfig-paths-webpack-plugin": "4.2.0",
72
72
  "vite": "8.3.0",
73
- "vitest": "5.0.0",
73
+ "vitest": "5.0.1",
74
74
  "webpack": "5.111.0",
75
75
  "webpack-node-externals": "3.0.0"
76
76
  },
@@ -125,7 +125,7 @@
125
125
  "changes": {
126
126
  "@nestjs/schematics": {
127
127
  "from": "^12.0.0",
128
- "to": "^12.0.2"
128
+ "to": "^12.0.3"
129
129
  },
130
130
  "typescript": {
131
131
  "from": "~6.0.2",
@@ -134,8 +134,8 @@
134
134
  },
135
135
  "depsUpdated": 2,
136
136
  "originalPackage": "@nestjs/cli",
137
- "originalVersion": "12.0.1",
138
- "processedAt": "2026-09-14T16:09:17.970Z",
137
+ "originalVersion": "12.0.3",
138
+ "processedAt": "2026-09-16T16:10:23.897Z",
139
139
  "smokeTest": "failed"
140
140
  }
141
141
  }