Commit Graph

9 Commits

Author SHA1 Message Date
hykocx 02da93135c refactor(cli): rename generated modules file and update gitignore pattern
- rename `modules.generated.js` to `modules.client.js` and add `'use client'` directive
- update gitignore to ignore entire `app/.zen/` directory instead of single file
- update layout import to reference new `modules.client.js` filename
2026-04-25 14:44:45 -04:00
hykocx d7bfe34bb1 feat(cli): integrate zen-modules sync into project initialization
- add postinstall, dev, and build scripts to run `zen-modules sync`
- append `app/.zen/modules.generated.js` to .gitignore during init
- add generated modules file template with empty modules export
- import modules.generated.js in app layout and pass modules to initializeZen
2026-04-25 14:26:22 -04:00
hykocx aeb5fb782b refactor: move inline templates to files and bump version to 1.3.8 2026-04-15 17:53:07 -04:00
hykocx ee8d3fcd12 fix: update import paths and jsconfig path aliases
- Update `authCatchAll` and `adminCatchAll` imports to use
  `@zen/core/features/` prefix instead of `@zen/core/`
- Replace generic `@*` path alias with specific aliases for
  `@styles/*` and `@components/*` in jsconfig.json
2026-04-14 20:20:33 -04:00
hykocx f3d45bad17 feat(cli): auto-copy .env from @zen/core template after install
Automatically copies `.env.example` from the installed `@zen/core`
package to `.env` in the project root if it doesn't already exist.
This removes the need for users to manually locate and configure
environment variables. Updated the post-install instructions to
reflect the new behavior.
2026-04-14 20:01:55 -04:00
hykocx 3df841897d chore: remove deprecated instrumentationHook config and bump to v1.3.2
Remove the `experimental.instrumentationHook` option from the generated
`next.config.mjs` template, as it is no longer needed in newer versions
of Next.js. Bump package version from 1.3.1 to 1.3.2.
2026-04-12 19:02:13 -04:00
hykocx c4e23ae31d fix: remove screenshot reference from README template
Remove the screenshot image link from the generated README.md
template as it references a non-existent asset path that would
cause broken image links in new projects. Bump version to 1.3.1.
2026-04-12 17:03:47 -04:00
hykocx e9d2f4d5d1 refactor(cli): improve output formatting and simplify init logic
Replace step-numbered logging with minimal ANSI-styled output
using `step`, `done`, and `fail` helpers. Consolidate redundant
README and package.json updates into a single block, remove
verbose inline comments, and simplify file creation by eliminating
unnecessary variable assignments.
2026-04-12 16:57:21 -04:00
hykocx fe84ec6a43 Initial commit 2026-04-12 16:53:58 -04:00