@depup/nestjs__cli 12.0.6-depup.0 → 12.0.8-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.6 |
17
- | Processed | 2026-09-24 |
16
+ | Original | [@nestjs/cli](https://www.npmjs.com/package/@nestjs/cli) @ 12.0.8 |
17
+ | Processed | 2026-09-28 |
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.5 |
25
+ | @nestjs/schematics | ^12.0.0 | ^12.0.6 |
26
26
  | typescript | ~6.0.2 | ^7.0.2 |
27
27
 
28
28
  ---
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.5"
5
+ "to": "^12.0.6"
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-24T08:13:03.346Z",
12
+ "timestamp": "2026-09-28T16:10:32.494Z",
13
13
  "totalUpdated": 2
14
14
  }
@@ -48,6 +48,7 @@ export const rspackDefaultsFactory = (sourceRoot, relativeSourceRoot, entryFilen
48
48
  chunkFormat: 'module',
49
49
  chunkLoading: 'import',
50
50
  }),
51
+ ...(!isEsm && { library: { type: 'commonjs2' } }),
51
52
  },
52
53
  ...(isEsm && {
53
54
  experiments: { outputModule: true, topLevelAwait: true },
@@ -56,6 +56,7 @@ export const webpackDefaultsFactory = (sourceRoot, relativeSourceRoot, entryFile
56
56
  target: 'node',
57
57
  output: {
58
58
  filename: join(relativeSourceRoot, `${entryFilename}.js`).replace(/\\/g, '/'),
59
+ library: { type: 'commonjs2' },
59
60
  },
60
61
  ignoreWarnings: [/^(?!CriticalDependenciesWarning$)/],
61
62
  externals: [externals()],
@@ -36,6 +36,8 @@ export function tsconfigPathsBeforeHookFactory(compilerOptions) {
36
36
  }
37
37
  else {
38
38
  const updatedNode = tsBinary.factory.updateExportDeclaration(node, node.modifiers, node.isTypeOnly, node.exportClause, moduleSpecifier, node.assertClause);
39
+ // Decorator emit resolves generated export names through their source file.
40
+ updatedNode.parent = node.parent;
39
41
  updatedNode.flags = node.flags;
40
42
  return updatedNode;
41
43
  }
@@ -80,7 +80,10 @@ export class SwcCompiler extends BaseCompiler {
80
80
  // from this value, so it has to be the built application's source
81
81
  // root, not the monorepo's default project one.
82
82
  getValueOrDefault(configuration, 'sourceRoot', appName, 'sourceRoot') ?? 'src',
83
- JSON.stringify(configuration.compilerOptions.plugins ?? []),
83
+ // Same for the plugins: a monorepo application can declare its own
84
+ // "compilerOptions.plugins", and the non-watch path loads them per
85
+ // application through loadPlugins().
86
+ JSON.stringify(getValueOrDefault(configuration, 'compilerOptions.plugins', appName) ?? []),
84
87
  ];
85
88
  const childProcessRef = fork(join(__dirname, 'forked-type-checker.js'), args, {
86
89
  cwd: process.cwd(),
@@ -1,6 +1,6 @@
1
1
  import { existsSync } from 'fs';
2
2
  import { createRequire } from 'module';
3
- import { join } from 'path';
3
+ import { resolve } from 'path';
4
4
  import { ERROR_PREFIX, INFO_PREFIX } from '../ui/index.js';
5
5
  import { isEsmProject } from '../utils/is-esm-project.js';
6
6
  import { BaseCompiler } from './base-compiler.js';
@@ -25,7 +25,7 @@ export class WebpackCompiler extends BaseCompiler {
25
25
  }
26
26
  run(configuration, tsConfigPath, appName, extras, onSuccess) {
27
27
  const cwd = process.cwd();
28
- const configPath = join(cwd, tsConfigPath);
28
+ const configPath = resolve(cwd, tsConfigPath);
29
29
  if (!existsSync(configPath)) {
30
30
  throw new Error(`Could not find TypeScript configuration file "${tsConfigPath}".`);
31
31
  }
@@ -39,7 +39,7 @@ export class WebpackCompiler extends BaseCompiler {
39
39
  'or use --builder rspack on the command line.');
40
40
  }
41
41
  console.warn(`\n${INFO_PREFIX} ${WEBPACK_DEPRECATION_MSG}\n`);
42
- const defaultOptions = webpackDefaultsFactory(pathToSource, entryFileRoot, entryFile, extras.debug ?? false, tsConfigPath, plugins);
42
+ const defaultOptions = webpackDefaultsFactory(pathToSource, entryFileRoot, entryFile, extras.debug ?? false, configPath, plugins);
43
43
  const wp = loadWebpack();
44
44
  let compiler;
45
45
  let watchOptions;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@depup/nestjs__cli",
3
- "version": "12.0.6-depup.0",
3
+ "version": "12.0.8-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.2.0",
40
40
  "@angular-devkit/schematics-cli": "22.2.0",
41
41
  "@inquirer/prompts": "8.7.2",
42
- "@nestjs/schematics": "^12.0.5",
42
+ "@nestjs/schematics": "^12.0.6",
43
43
  "ansis": "4.4.0",
44
44
  "chokidar": "5.0.0",
45
45
  "cli-table3": "0.6.5",
@@ -64,14 +64,14 @@
64
64
  "gulp": "5.0.1",
65
65
  "gulp-clean": "0.4.0",
66
66
  "husky": "9.1.7",
67
- "lint-staged": "17.5.1",
67
+ "lint-staged": "17.6.0",
68
68
  "oxlint": "1.85.0",
69
69
  "prettier": "3.9.9",
70
70
  "release-it": "21.1.0",
71
71
  "ts-loader": "9.6.2",
72
72
  "tsconfig-paths-webpack-plugin": "4.2.0",
73
- "vite": "8.3.0",
74
- "vitest": "5.0.1",
73
+ "vite": "8.3.1",
74
+ "vitest": "5.0.2",
75
75
  "webpack": "5.111.1",
76
76
  "webpack-node-externals": "3.0.0"
77
77
  },
@@ -126,7 +126,7 @@
126
126
  "changes": {
127
127
  "@nestjs/schematics": {
128
128
  "from": "^12.0.0",
129
- "to": "^12.0.5"
129
+ "to": "^12.0.6"
130
130
  },
131
131
  "typescript": {
132
132
  "from": "~6.0.2",
@@ -135,8 +135,8 @@
135
135
  },
136
136
  "depsUpdated": 2,
137
137
  "originalPackage": "@nestjs/cli",
138
- "originalVersion": "12.0.6",
139
- "processedAt": "2026-09-24T08:13:25.308Z",
138
+ "originalVersion": "12.0.8",
139
+ "processedAt": "2026-09-28T16:10:51.129Z",
140
140
  "smokeTest": "failed"
141
141
  }
142
142
  }