Commit Graph

17 Commits

Author SHA1 Message Date
hykocx 70f76a05b3 chore: bump version from 1.3.5 to 1.3.6 2026-04-14 20:20:52 -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 c041997a5e chore: bump version from 1.3.4 to 1.3.5 2026-04-14 20:07:44 -04:00
hykocx af526f66d3 fix: update ZenProvider import path to features subdirectory 2026-04-14 20:07:32 -04:00
hykocx f80d32eb92 chore: bump version from 1.3.3 to 1.3.4 2026-04-14 20:02:07 -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 23859c87c8 chore: bump version from 1.3.2 to 1.3.3 2026-04-13 15:19:57 -04:00
hykocx ca0fafe6ff docs: rewrite DEV.md with security guidelines and structure
Expand the development guide from a minimal overview into a
comprehensive reference covering:

- Code standards: single responsibility, control flow, input
  validation, promise handling, and variable scoping
- Security section: treat all external input as malicious, use
  path.join over string concatenation, no secrets in code
- Reorganize publication steps to include version bump before
  build/publish for a logical workflow
- Add project context note clarifying the scaffolding role of
  @zen/start
2026-04-13 15:19:41 -04:00
hykocx 59a33380df feat(icons): support PNG as fallback source for favicon generation
Add PNG source file detection in `make-favicon.js` so the script can
use either `favicon.svg` or `favicon.png` as input. Previously, only
SVG was supported, causing failures when no SVG was present.

- Introduce `detectSourceFile()` to check for SVG first, then PNG
- Rename variables to avoid shadowing (`pngPath` → `outPath`, loop var)
- Log detected source type for better visibility during generation
- Update generated `favicon.ico` accordingly
2026-04-13 13:23:05 -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 7779f529ea docs: update README with scoped registry configuration
Separate the registry setup step from the CLI usage command,
making it clearer that the `@zen` registry only needs to be
configured once via `npm config set` before running `npx @zen/start`.
2026-04-12 17:01:21 -04:00
hykocx dd4abeda85 docs: add usage instructions with npx command to README 2026-04-12 16:59:53 -04:00
hykocx 4b02e5d51a chore: bump version from 1.0.0 to 1.3.0 2026-04-12 16:57:42 -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
hykocx 48c2356383 Initial commit 2026-04-12 16:45:57 -04:00