dinou 9.0.1 → 9.0.2

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
@@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/).
7
7
 
8
+ ## [9.0.2] - 2026-10-27
9
+
10
+ ### Performance
11
+ - **Direct NODE_OPTIONS Injection in Unvendorized Mode (`-u`)**: Injected `--conditions=unvendorized` directly into `process.env.NODE_OPTIONS` from `dinou/cli.js` when launching child commands. Downstream build scripts and adapters (`ensureVendorMode()`) now detect active unvendorized resolution on their very first boot, completely eliminating intermediate Node.js child process re-spawns and shaving ~700–1000 ms off production builds and dev server cold starts.
12
+
8
13
  ## [9.0.1] - 2026-10-27
9
14
 
10
15
  ### Fixed
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # **Dinou**
2
2
 
3
- [![Documentation](https://img.shields.io/badge/docs-dinou.dev-blue?style=flat-square)](https://dinou.dev) [![Version](https://img.shields.io/badge/version-9.0.1-orange?style=flat-square)](https://www.npmjs.com/package/dinou)
3
+ [![Documentation](https://img.shields.io/badge/docs-dinou.dev-blue?style=flat-square)](https://dinou.dev) [![Version](https://img.shields.io/badge/version-9.0.2-orange?style=flat-square)](https://www.npmjs.com/package/dinou)
4
4
 
5
5
  ### **Full-Stack React 19 Framework**
6
6
 
package/cli.js CHANGED
@@ -14,7 +14,7 @@ const projectRoot = process.cwd();
14
14
  program
15
15
  .name("dinou")
16
16
  .description("Full-stack React 19 framework with native RSC, progressive streaming, and dual-mode vendoring")
17
- .version("9.0.1")
17
+ .version("9.0.2")
18
18
  .option("-u, --unvendorized", "Run with standard node_modules dependencies instead of pre-bundled vendor packages");
19
19
 
20
20
  const isUnvendorizedRequested = () =>
@@ -32,12 +32,18 @@ const extendedPath = [projectBin, dinouBin, process.env[pathKey]].filter(Boolean
32
32
  const runCommand = (command, options = {}) => {
33
33
  try {
34
34
  const unvendorized = isUnvendorizedRequested();
35
+ const baseNodeOptions = process.env.NODE_OPTIONS || "";
36
+ const nodeOptions = unvendorized && !baseNodeOptions.includes("unvendorized")
37
+ ? (baseNodeOptions ? `${baseNodeOptions} ` : "") + "--conditions=unvendorized"
38
+ : baseNodeOptions;
39
+
35
40
  const env = {
36
41
  ...process.env,
37
42
  [pathKey]: extendedPath,
38
43
  Path: extendedPath,
39
44
  PATH: extendedPath,
40
45
  ...(unvendorized ? { DINOU_UNVENDORIZED: "true" } : {}),
46
+ ...(nodeOptions ? { NODE_OPTIONS: nodeOptions } : {}),
41
47
  ...(options.env || {}),
42
48
  };
43
49
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dinou-ejected",
3
- "version": "9.0.1",
3
+ "version": "9.0.2",
4
4
  "type": "module",
5
5
  "main": "index.js",
6
6
  "private": true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dinou",
3
- "version": "9.0.1",
3
+ "version": "9.0.2",
4
4
  "description": "Full-stack React 19 framework with native RSC, Server Functions, progressive streaming, and zero vendor lock-in.",
5
5
  "type": "module",
6
6
  "main": "./dinou/index.js",