@nestbridge/vite 2.4.2 → 2.5.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # @nestbridge/vite
2
2
 
3
+ ## 2.5.1
4
+
5
+ ### Patch Changes
6
+
7
+ - @nestbridge/unplugin@2.5.1
8
+
9
+ ## 2.5.0
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies [c2eb7ba]
14
+ - @nestbridge/unplugin@2.5.0
15
+
3
16
  ## 2.4.2
4
17
 
5
18
  ### Patch Changes
package/README.md CHANGED
@@ -59,7 +59,7 @@ files so the plugin can intercept them. A matching `paths` entry in
59
59
  {
60
60
  "compilerOptions": {
61
61
  "paths": {
62
- "@server/*": ["./.nestbridge/server/src/*"]
62
+ "@server/*": ["../../../.nestbridge/apps/web/server/src/*"]
63
63
  }
64
64
  }
65
65
  }
@@ -95,7 +95,7 @@ nestBridge([
95
95
 
96
96
  A relative `root` resolves against Vite's `root`. Declarations land in
97
97
  `<outputDir>/<name>/`, so add one alias and one `paths` entry per app
98
- (`"@identity/*": ["./.nestbridge/identity/src/*"]`), and each app keeps its own
98
+ (`"@identity/*": ["../../.nestbridge/identity/apps/identity/src/*"]`), and each app keeps its own
99
99
  `baseURL`, bootstrap file, global prefix and versioning. See
100
100
  [Several server apps](../../README.md#several-server-apps) in the repository
101
101
  README, and [`MIGRATION.md`](../../MIGRATION.md) when upgrading from 2.1.
@@ -113,7 +113,7 @@ interface NestBridgeOptions {
113
113
  versioning?: VersioningOption | false; // replaces the versioning read from `enableVersioning()`; `false` ignores it
114
114
  debug?: boolean; // logs discovery/analysis/watch activity
115
115
  logLevel?: 'info' | 'warn' | 'error' | 'silent'; // how much the plugin logs; defaults to the bundler's own level (Vite's logLevel, webpack's infrastructureLogging.level)
116
- outputDir?: string; // defaults to ".nestbridge", resolved from the Vite root — independent of `root`
116
+ outputDir?: string; // defaults to ".nestbridge" at the workspace root (nearest nx.json / pnpm-workspace.yaml / turbo.json / lerna.json / package.json with "workspaces"), or at the project root when there is no workspace; an explicit value is resolved from the bundler's own root
117
117
  root?: string; // base for discovering controllers/resolvers and the bootstrap file; relative paths resolve against the Vite root, which is also the default
118
118
  }
119
119
 
@@ -1,7 +1,7 @@
1
1
  import { nestBridgeUnplugin } from "@nestbridge/unplugin";
2
2
  //#endregion
3
3
  //#region src/version.ts
4
- var VERSION = "2.4.2";
4
+ var VERSION = "2.5.1";
5
5
  //#endregion
6
6
  //#region src/main.ts
7
7
  var nestBridge = nestBridgeUnplugin.vite;
@@ -1 +1 @@
1
- {"version":3,"file":"nestbridge.vite.js","names":[],"sources":["../package.json","../src/version.ts","../src/main.ts"],"sourcesContent":["{\n \"name\": \"@nestbridge/vite\",\n \"version\": \"2.4.2\",\n \"type\": \"module\",\n \"license\": \"MIT\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git+https://github.com/MDReal32/nestbridge.git\",\n \"directory\": \"packages/vite\"\n },\n \"main\": \"./build/nestbridge.vite.js\",\n \"types\": \"./build/nestbridge.vite.d.ts\",\n \"exports\": {\n \".\": {\n \"types\": \"./build/nestbridge.vite.d.ts\",\n \"import\": \"./build/nestbridge.vite.js\"\n }\n },\n \"files\": [\n \"build\"\n ],\n \"scripts\": {\n \"build\": \"vite build\",\n \"test\": \"vitest run\",\n \"typecheck\": \"tsc -p tsconfig.json --noEmit\",\n \"lint\": \"biome check .\"\n },\n \"dependencies\": {\n \"@nestbridge/unplugin\": \"workspace:*\"\n },\n \"devDependencies\": {\n \"@types/node\": \"^26.4.1\",\n \"rolldown-plugin-dts\": \"^0.28.5\",\n \"typescript\": \"^7.0.2\",\n \"vite\": \"^8.2.2\",\n \"vitest\": \"^5.0.0\"\n },\n \"peerDependencies\": {\n \"vite\": \"^8.2.2\"\n }\n}\n","import { version } from '../package.json';\n\nexport const VERSION: string = version;\n","import { type NestBridgePluginOptions, nestBridgeUnplugin } from '@nestbridge/unplugin';\nimport type { Plugin } from 'vite';\n\nexport type {\n GlobalPrefixOption,\n NestBridgeLogLevel,\n NestBridgeOptions,\n NestBridgePluginOptions,\n VersioningOption,\n} from '@nestbridge/unplugin';\nexport const nestBridge: (options: NestBridgePluginOptions) => Plugin = nestBridgeUnplugin.vite;\nexport { VERSION } from './version';\n"],"mappings":";;;ACEA,IAAa,UAAkB;;;ACQ/B,IAAa,aAA2D,mBAAmB"}
1
+ {"version":3,"file":"nestbridge.vite.js","names":[],"sources":["../package.json","../src/version.ts","../src/main.ts"],"sourcesContent":["{\n \"name\": \"@nestbridge/vite\",\n \"version\": \"2.5.1\",\n \"type\": \"module\",\n \"license\": \"MIT\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git+https://github.com/MDReal32/nestbridge.git\",\n \"directory\": \"packages/vite\"\n },\n \"main\": \"./build/nestbridge.vite.js\",\n \"types\": \"./build/nestbridge.vite.d.ts\",\n \"exports\": {\n \".\": {\n \"types\": \"./build/nestbridge.vite.d.ts\",\n \"import\": \"./build/nestbridge.vite.js\"\n }\n },\n \"files\": [\n \"build\"\n ],\n \"scripts\": {\n \"build\": \"vite build\",\n \"test\": \"vitest run\",\n \"typecheck\": \"tsc -p tsconfig.json --noEmit\",\n \"lint\": \"biome check .\"\n },\n \"dependencies\": {\n \"@nestbridge/unplugin\": \"workspace:*\"\n },\n \"devDependencies\": {\n \"@types/node\": \"^26.4.1\",\n \"rolldown-plugin-dts\": \"^0.28.5\",\n \"typescript\": \"^7.0.2\",\n \"vite\": \"^8.2.2\",\n \"vitest\": \"^5.0.0\"\n },\n \"peerDependencies\": {\n \"vite\": \"^8.2.2\"\n }\n}\n","import { version } from '../package.json';\n\nexport const VERSION: string = version;\n","import { type NestBridgePluginOptions, nestBridgeUnplugin } from '@nestbridge/unplugin';\nimport type { Plugin } from 'vite';\n\nexport type {\n GlobalPrefixOption,\n NestBridgeLogLevel,\n NestBridgeOptions,\n NestBridgePluginOptions,\n VersioningOption,\n} from '@nestbridge/unplugin';\nexport const nestBridge: (options: NestBridgePluginOptions) => Plugin = nestBridgeUnplugin.vite;\nexport { VERSION } from './version';\n"],"mappings":";;;ACEA,IAAa,UAAkB;;;ACQ/B,IAAa,aAA2D,mBAAmB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nestbridge/vite",
3
- "version": "2.4.2",
3
+ "version": "2.5.1",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -26,7 +26,7 @@
26
26
  "lint": "biome check ."
27
27
  },
28
28
  "dependencies": {
29
- "@nestbridge/unplugin": "2.4.2"
29
+ "@nestbridge/unplugin": "2.5.1"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@types/node": "^26.4.1",