Database Structure Cleanup: - Move all SQL files from ./db/ to ./internal/db/ - Update sqlc.yaml to use new paths (preserving schema+setup.sql hack) - Consolidate database-related code in single directory - Remove empty ./db/ directory Injector Migration: - Move injector.go from content package to engine package - Update ContentClient interface to return map instead of slice for GetBulkContent - Update database client implementation to match interface - Remove injector dependency from enhancer (stub implementation) Demo-Site Consolidation: - Move demo-site to test-sites/demo-site for better organization - Update build scripts to use new demo-site location - Maintain all functionality while improving project structure This continues the unified architecture consolidation by moving core content processing logic to the engine and organizing related files properly.
37 lines
836 B
JSON
37 lines
836 B
JSON
{
|
|
"name": "@insertr/lib",
|
|
"version": "1.0.0",
|
|
"type": "module",
|
|
"description": "The Tailwind of CMS - Client-side library for content injection and editing",
|
|
"main": "dist/insertr.js",
|
|
"module": "src/index.js",
|
|
"files": [
|
|
"dist/",
|
|
"src/"
|
|
],
|
|
"scripts": {
|
|
"build": "rollup -c && npm run copy:demo",
|
|
"build:only": "rollup -c",
|
|
"copy:demo": "cp dist/insertr.js ../test-sites/demo-site/insertr.js",
|
|
"watch": "rollup -c -w",
|
|
"dev": "rollup -c -w"
|
|
},
|
|
"keywords": [
|
|
"cms",
|
|
"content",
|
|
"headless",
|
|
"inline-editing"
|
|
],
|
|
"author": "Insertr Team",
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"@rollup/plugin-node-resolve": "^15.0.0",
|
|
"@rollup/plugin-terser": "^0.4.0",
|
|
"rollup": "^3.0.0"
|
|
},
|
|
"dependencies": {
|
|
"marked": "^16.2.1",
|
|
"turndown": "^7.2.1"
|
|
}
|
|
}
|