feat: complete code cleanup and create feature parity plan
Major Architecture Improvements: - Separate JavaScript library (lib/) with proper build system - Go CLI with embedded library using go:embed - Hot reload development with Air integration - Library + CLI build pipeline with npm run build Code Cleanup: - Remove obsolete assets (insertr-cli/assets/editor/) - Clean up package.json metadata and dependencies - Update .gitignore for new architecture - Remove unused 'marked' dependency New Documentation: - Add comprehensive TODO.md with feature gap analysis - Document critical gaps between prototype and current library - Create phased implementation plan for feature parity - Update DEVELOPMENT.md with hot reload workflow - Add LIBRARY.md documenting new architecture Hot Reload System: - Air watches both Go CLI and JavaScript library - Library changes trigger: rebuild → copy → CLI rebuild → serve - Seamless development experience across full stack Next Steps: - Current library is basic proof-of-concept (prompt() editing) - Archived prototype has production-ready features - Phase 1 focuses on professional forms and authentication - Phase 2 adds validation and content persistence
This commit is contained in:
20
package.json
20
package.json
@@ -1,15 +1,15 @@
|
||||
{
|
||||
"name": "insertr",
|
||||
"version": "0.1.0",
|
||||
"description": "Edit-in-place CMS for client websites - simple integration with class-based content editing",
|
||||
"main": "demo-site/insertr/insertr.js",
|
||||
"description": "The Tailwind of CMS - Zero-configuration content editing for any static site",
|
||||
"main": "lib/dist/insertr.js",
|
||||
"scripts": {
|
||||
"dev": "node scripts/dev.js serve",
|
||||
"dev:about": "live-server demo-site --port=3000 --open=/about.html",
|
||||
"dev:check": "node scripts/dev.js check",
|
||||
"dev:demo": "node scripts/dev.js demo",
|
||||
"dev:help": "node scripts/dev.js help",
|
||||
"build": "echo 'Build script placeholder - will bundle insertr.js for distribution'",
|
||||
"build": "node scripts/build.js",
|
||||
"test": "echo 'Test script placeholder - will add tests for insertr.js'",
|
||||
"lint": "echo 'Linting placeholder - will add ESLint'",
|
||||
"serve": "npm run dev",
|
||||
@@ -17,13 +17,13 @@
|
||||
},
|
||||
"keywords": [
|
||||
"cms",
|
||||
"edit-in-place",
|
||||
"inline-editing",
|
||||
"headless-cms",
|
||||
"static-site-generator",
|
||||
"content-management",
|
||||
"client-websites",
|
||||
"build-time-enhancement",
|
||||
"zero-config",
|
||||
"go",
|
||||
"htmx",
|
||||
"alpine"
|
||||
"javascript"
|
||||
],
|
||||
"author": "Your Name",
|
||||
"license": "MIT",
|
||||
@@ -42,7 +42,5 @@
|
||||
"defaults",
|
||||
"not IE 11"
|
||||
],
|
||||
"dependencies": {
|
||||
"marked": "^16.2.1"
|
||||
}
|
||||
"dependencies": {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user