@greatstore/cli 0.0.11-beta.3 → 0.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5 -20
- package/dist/cli.js +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,34 +3,19 @@
|
|
|
3
3
|
All notable changes to `@greatstore/cli` are recorded here. The format
|
|
4
4
|
follows [Keep a Changelog](https://keepachangelog.com/).
|
|
5
5
|
|
|
6
|
-
## 0.0.11
|
|
7
|
-
|
|
8
|
-
### Added
|
|
9
|
-
- Public `CHANGELOG.md`. `gs --version` now prints the most recent entries.
|
|
10
|
-
|
|
11
|
-
## 0.0.11-beta.2 — 2026-05-24
|
|
6
|
+
## 0.0.11 — 2026-05-24
|
|
12
7
|
|
|
13
8
|
### Added
|
|
9
|
+
- Multi-component projects: scaffold one root, then add N components under `components/<name>/`. `gs init` (no args) writes the project root; `gs init <name>` adds a component (auto-scaffolds the root if missing).
|
|
14
10
|
- `gs build [<name>]` — compiles every `components/<name>/bundle.js` via the project's local Vite. Externals + runtime shim paths now live in the CLI, so future versions can adjust them without a re-scaffold.
|
|
15
|
-
|
|
16
|
-
### Changed
|
|
17
|
-
- `gs init` no longer writes a `build.mjs`. Scaffolded `package.json` scripts run `gs build`.
|
|
18
|
-
|
|
19
|
-
## 0.0.11-beta.1 — 2026-05-24
|
|
20
|
-
|
|
21
|
-
### Changed
|
|
22
|
-
- `gs init` errors on a fresh root without `--store <slug>` (no placeholder slug is written). On an existing root, passing `--store` errors — a project is pinned to one store.
|
|
23
|
-
|
|
24
|
-
## 0.0.11-beta.0 — 2026-05-24
|
|
25
|
-
|
|
26
|
-
### Added
|
|
27
|
-
- Multi-component projects: scaffold one root, then add N components under `components/<name>/`.
|
|
28
|
-
- `gs init` (no args) writes the project root. `gs init <name>` adds a component (auto-scaffolds the root if missing).
|
|
29
11
|
- `gs push` (no args) hashes each component against `.gssync.json` and uploads only the changed ones.
|
|
30
12
|
- `gs pull` (no args, or `*`) batch-pulls every remote component. Components with uncommitted local edits are skipped with a warning; `--force` overwrites.
|
|
13
|
+
- Public `CHANGELOG.md`. `gs --version` now prints the most recent entries.
|
|
31
14
|
|
|
32
15
|
### Changed
|
|
33
16
|
- A project folder ships to exactly one store. Only `gs init` accepts `--store`; every other command reads the slug from `.gsrc`. The legacy single-component layout is rejected with a migration hint.
|
|
17
|
+
- `gs init` errors on a fresh root without `--store <slug>` (no placeholder slug is written). On an existing root, passing `--store` errors.
|
|
18
|
+
- `gs init` no longer writes `build.mjs`. Scaffolded `package.json` scripts run `gs build`.
|
|
34
19
|
|
|
35
20
|
## 0.0.10 — 2026-05-23
|
|
36
21
|
|
package/dist/cli.js
CHANGED
|
@@ -1339,8 +1339,8 @@ function recentChangelog(text, minItems = 15) {
|
|
|
1339
1339
|
}
|
|
1340
1340
|
|
|
1341
1341
|
// src/index.ts
|
|
1342
|
-
var VERSION = true ? "0.0.11
|
|
1343
|
-
var CHANGELOG = true ? "# Changelog\n\nAll notable changes to `@greatstore/cli` are recorded here. The format\nfollows [Keep a Changelog](https://keepachangelog.com/).\n\n## 0.0.11
|
|
1342
|
+
var VERSION = true ? "0.0.11" : "0.0.0-dev";
|
|
1343
|
+
var CHANGELOG = true ? "# Changelog\n\nAll notable changes to `@greatstore/cli` are recorded here. The format\nfollows [Keep a Changelog](https://keepachangelog.com/).\n\n## 0.0.11 \u2014 2026-05-24\n\n### Added\n- Multi-component projects: scaffold one root, then add N components under `components/<name>/`. `gs init` (no args) writes the project root; `gs init <name>` adds a component (auto-scaffolds the root if missing).\n- `gs build [<name>]` \u2014 compiles every `components/<name>/bundle.js` via the project's local Vite. Externals + runtime shim paths now live in the CLI, so future versions can adjust them without a re-scaffold.\n- `gs push` (no args) hashes each component against `.gssync.json` and uploads only the changed ones.\n- `gs pull` (no args, or `*`) batch-pulls every remote component. Components with uncommitted local edits are skipped with a warning; `--force` overwrites.\n- Public `CHANGELOG.md`. `gs --version` now prints the most recent entries.\n\n### Changed\n- A project folder ships to exactly one store. Only `gs init` accepts `--store`; every other command reads the slug from `.gsrc`. The legacy single-component layout is rejected with a migration hint.\n- `gs init` errors on a fresh root without `--store <slug>` (no placeholder slug is written). On an existing root, passing `--store` errors.\n- `gs init` no longer writes `build.mjs`. Scaffolded `package.json` scripts run `gs build`.\n\n## 0.0.10 \u2014 2026-05-23\n\n### Changed\n- The OAuth callback tab opened by `gs login` auto-closes once credentials are persisted.\n\n## 0.0.9 \u2014 2026-05-23\n\n### Changed\n- `gs init` scaffold writes a `displayName` into the generated manifest so the admin Builder UI has a friendlier label.\n\n## 0.0.8 \u2014 2026-05-23\n\n### Changed\n- `gs push` and `gs publish` print a permalink to the component's card in the admin Builder panel.\n\n## 0.0.6 \u2014 2026-05-23\n\n### Changed\n- `gs --version` reads the version from `cli/package.json` at build time so it can't drift from the published release.\n\n## 0.0.4 \u2014 2026-05-23\n\n### Changed\n- Scaffolded projects produce browser-ready bundles (React + runtime shim wired up).\n\n## 0.0.3 \u2014 2026-05-23\n\n### Changed\n- Trimmed public README to the essentials.\n\n## 0.0.2 \u2014 2026-05-23\n\n### Fixed\n- Read the nav OAuth callback parameter as `code` instead of `token`.\n" : "";
|
|
1344
1344
|
var HELP = `gs \u2014 GreatStore CLI (v${VERSION})
|
|
1345
1345
|
|
|
1346
1346
|
Usage:
|