create-moria 0.4.30 → 0.4.32

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.
@@ -1,4 +1,4 @@
1
1
 
2
- > create-moria@0.4.30 build C:\Codes\node\2026\github\moriajs\packages\create-moria
2
+ > create-moria@0.4.32 build C:\Codes\node\2026\github\moriajs\packages\create-moria
3
3
  > tsc
4
4
 
package/dist/index.js CHANGED
@@ -186,7 +186,7 @@ async function main() {
186
186
  const app = await createApp({
187
187
  config: {
188
188
  ...config,
189
- mode: process.env.NODE_ENV === 'development' ? 'development' : 'production',
189
+ mode: process.env.NODE_ENV === 'production' ? 'production' : 'development',
190
190
  rootDir: path.resolve(import.meta.dirname, '..'),
191
191
  },
192
192
  });
@@ -525,7 +525,7 @@ async function main() {
525
525
  const app = await createApp({
526
526
  config: {
527
527
  ...config,
528
- mode: process.env.NODE_ENV === 'development' ? 'development' : 'production',
528
+ mode: process.env.NODE_ENV === 'production' ? 'production' : 'development',
529
529
  rootDir: __appRoot,
530
530
  },
531
531
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-moria",
3
- "version": "0.4.30",
3
+ "version": "0.4.32",
4
4
  "type": "module",
5
5
  "description": "Create a new MoriaJS project",
6
6
  "main": "./dist/index.js",
package/src/index.ts CHANGED
@@ -208,7 +208,7 @@ async function main() {
208
208
  const app = await createApp({
209
209
  config: {
210
210
  ...config,
211
- mode: process.env.NODE_ENV === 'development' ? 'development' : 'production',
211
+ mode: process.env.NODE_ENV === 'production' ? 'production' : 'development',
212
212
  rootDir: path.resolve(import.meta.dirname, '..'),
213
213
  },
214
214
  });
@@ -561,7 +561,7 @@ async function main() {
561
561
  const app = await createApp({
562
562
  config: {
563
563
  ...config,
564
- mode: process.env.NODE_ENV === 'development' ? 'development' : 'production',
564
+ mode: process.env.NODE_ENV === 'production' ? 'production' : 'development',
565
565
  rootDir: __appRoot,
566
566
  },
567
567
  });