Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/clean-env-runtime-detection.md

This file was deleted.

12 changes: 0 additions & 12 deletions .changeset/cli-login-and-pull-check.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/modern-tools-use-node-24.md

This file was deleted.

19 changes: 19 additions & 0 deletions packages/notcms/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
# notcms

## 0.2.0

### Minor Changes

- 24036a5: Add browser login to the CLI and a CI check mode for pull

- `notcms login`: opens the dashboard in the browser, mints a secret key for the selected workspace, and saves `NOTCMS_SECRET_KEY` / `NOTCMS_WORKSPACE_ID` to an env file (default `.env.local`)
- `notcms init`: offers to log in via browser when credentials are missing
- `notcms pull --check`: verifies the local schema is up to date without writing (exits 1 when stale, for CI/CD)
- `notcms --version` now reports the actual version from package.json
- The CLI now exits with code 1 on unhandled errors (previously errors were logged but the process exited 0)
- Env files written by login are kept owner-only (0600): new files are created with that mode, and existing files with group/other access are tightened after the secret is written (POSIX only)

- 39ea706: Use Node.js 24 and pnpm 11 for development while keeping the published packages compatible with Node.js 18.17 and later.

### Patch Changes

- 2fcf3c9: Remove the bundler-specific `import.meta.env` fallback while retaining runtime environment lookup for Node.js, Deno, and Bun.

## 0.1.0

### Minor Changes
Expand Down
6 changes: 4 additions & 2 deletions packages/notcms/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "notcms",
"version": "0.1.0",
"version": "0.2.0",
"description": "NotCMS makes it easy to build a CMS for your website.",
"type": "module",
"main": "./dist/index.cjs",
Expand All @@ -16,7 +16,9 @@
"bin": {
"notcms": "./dist/cli.cjs"
},
"files": ["dist/**/*"],
"files": [
"dist/**/*"
],
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
Expand Down
Loading