No description
Find a file
Sanjay Bhangar 4c880728dc Begin ES modules migration and modern build infrastructure
This commit lays the foundation for migrating OxJS from its custom module
system to ES modules while maintaining backward compatibility.

Key changes:
- Set up npm project with Vite for modern build tooling
- Created ES module versions of core Ox utilities (Type, Collection, DOM, etc.)
- Implemented compatibility layer for legacy Ox.load() pattern
- Added Vitest for testing with initial test suite
- Created script to extract existing inline tests from documentation
- Updated .gitignore for Node.js/npm development

The migration preserves OxJS's innovative inline test system and maintains
backward compatibility. Original source files remain unchanged.

Next steps include migrating UI modules, replacing the Python build script,
and creating npm package distribution.

🤖 Generated with AI assistance
2026-02-09 17:17:52 +05:30
examples Ox.Checkbox: add indeterminate option 2016-02-10 12:56:19 +05:30
readme don't list https:// 2023-07-02 18:09:57 +05:30
scripts Begin ES modules migration and modern build infrastructure 2026-02-09 17:17:52 +05:30
source support disalogs without titlebar, i.e. preview vidieo player 2026-01-14 21:39:36 +00:00
src/ox Begin ES modules migration and modern build infrastructure 2026-02-09 17:17:52 +05:30
test Begin ES modules migration and modern build infrastructure 2026-02-09 17:17:52 +05:30
tools raw regexp 2025-08-05 15:22:21 +02:00
.editorconfig add .editorconfig 2018-09-12 17:53:25 +02:00
.gitignore Begin ES modules migration and modern build infrastructure 2026-02-09 17:17:52 +05:30
CLAUDE.md add CLAUDE.md with overall structure and plan to migrate to ES modules 2026-02-09 17:01:15 +05:30
ES_MODULE_MIGRATION_PLAN.md add CLAUDE.md with overall structure and plan to migrate to ES modules 2026-02-09 17:01:15 +05:30
index.css fix oxmedium theme oxjs.org byline css 2013-05-15 09:44:11 +02:00
index.html this is the future... 2012-04-05 17:28:40 +02:00
index.js use requestAnimationFrame for loading icon if available 2016-08-09 14:11:43 +02:00
package-lock.json Begin ES modules migration and modern build infrastructure 2026-02-09 17:17:52 +05:30
package.json Begin ES modules migration and modern build infrastructure 2026-02-09 17:17:52 +05:30
vite.config.js Begin ES modules migration and modern build infrastructure 2026-02-09 17:17:52 +05:30
vitest.config.js Begin ES modules migration and modern build infrastructure 2026-02-09 17:17:52 +05:30