metaowl 0.3.5 → 0.3.7

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
@@ -4,10 +4,12 @@
4
4
 
5
5
  [![npm version](https://img.shields.io/npm/v/metaowl.svg)](https://www.npmjs.com/package/metaowl)
6
6
  [![License: LGPL v3](https://img.shields.io/badge/License-LGPL_v3-blue.svg)](LICENSE)
7
- [![Node.js >=18](https://img.shields.io/badge/node-%3E%3D18-brightgreen.svg)](https://nodejs.org)
7
+ [![Node.js >=20](https://img.shields.io/badge/node-%3E%3D20-brightgreen.svg)](https://nodejs.org)
8
8
  [![GitHub Issues](https://img.shields.io/github/issues/dennisschott/metaowl.svg)](https://github.com/dennisschott/metaowl/issues)
9
9
 
10
- metaowl is a complete solution for building production-ready OWL applications with everything you need out of the box:
10
+ > ⚠️ **Work in progress:** metaowl is not production-ready yet. APIs may change without notice, and features may still break between releases.
11
+
12
+ metaowl is a complete solution for building OWL applications with everything you need out of the box:
11
13
 
12
14
  **Core Infrastructure:** File-based routing with dynamic routes, layout system, navigation guards, Pinia-inspired state management, and zero-config app mounting.
13
15
 
@@ -99,7 +101,7 @@ All powered by a batteries-included Vite plugin that handles the build pipeline,
99
101
 
100
102
  | Dependency | Version |
101
103
  |---|---|
102
- | Node.js | `>=18` |
104
+ | Node.js | `>=20` |
103
105
  | `@odoo/owl` | bundled |
104
106
 
105
107
  ---
@@ -1464,6 +1466,20 @@ npx serve -s dist
1464
1466
 
1465
1467
  ---
1466
1468
 
1469
+ ## Changelog
1470
+
1471
+ ### v0.3.7 (2026-03-24)
1472
+
1473
+ **Fixed:**
1474
+
1475
+ - **bin/metaowl-lint.js**: Fixed inconsistent default lint paths. Changed from `src/owl/pages/**` and `src/owl/components/**` to `src/pages/**` and `src/components/**` to match the documented project structure.
1476
+
1477
+ - **eslint.js**: Fixed `ignores` configuration placement. Moved `ignores` to a separate configuration object as required by ESLint Flat Config format. Also added `.metaowl/**` to the ignore list for the auto-generated component declarations.
1478
+
1479
+ - **modules/auto-import.js**: Fixed missing `node:` prefix for Node.js built-in module import.
1480
+
1481
+ ---
1482
+
1467
1483
  ## Contributing
1468
1484
 
1469
1485
  Contributions are welcome! Please open an issue before submitting a pull request so we can discuss the change.
@@ -27,8 +27,8 @@ try {
27
27
  const defaults = [
28
28
  'src/metaowl.js',
29
29
  'src/css.js',
30
- 'src/owl/pages/**',
31
- 'src/owl/components/**'
30
+ 'src/pages/**',
31
+ 'src/components/**'
32
32
  ]
33
33
 
34
34
  const candidates = lintTargets ?? defaults
package/eslint.js CHANGED
@@ -39,11 +39,14 @@ export const eslintConfig = [
39
39
  'quotes': ['error', 'single'],
40
40
  'comma-dangle': ['error', 'never'],
41
41
  'no-undef': 'off'
42
- },
42
+ }
43
+ },
44
+ {
43
45
  ignores: [
44
46
  'node_modules/**',
45
47
  'dist/**',
46
- 'build/**'
48
+ 'build/**',
49
+ '.metaowl/**'
47
50
  ]
48
51
  }
49
52
  ]
@@ -23,7 +23,7 @@
23
23
  */
24
24
 
25
25
  import { globSync } from 'glob'
26
- import { resolve, relative, basename, extname, dirname } from 'path'
26
+ import { resolve, relative, basename, extname, dirname } from 'node:path'
27
27
 
28
28
  /**
29
29
  * Registry of auto-discovered components.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "metaowl",
3
- "version": "0.3.5",
3
+ "version": "0.3.7",
4
4
  "description": "Lightweight meta-framework for Odoo OWL — file-based routing, app mounting, Fetch helper, Cache, Meta tags, SSG generator, and a Vite plugin.",
5
5
  "type": "module",
6
6
  "main": "index.js",