@clovnet/plugin-cli 0.2.2 → 0.2.3
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 +14 -0
- package/README.md +2 -2
- package/dist/cli.js +1 -1
- package/package.json +1 -1
- package/templates/blank/README.md +1 -1
- package/templates/blank/package.json +1 -1
- package/templates/cashback/README.md +1 -1
- package/templates/cashback/package.json +1 -1
- package/templates/provider-skeleton/README.md +1 -1
- package/templates/provider-skeleton/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog — @clovnet/plugin-cli
|
|
2
2
|
|
|
3
|
+
## 0.2.3 (2026-09)
|
|
4
|
+
|
|
5
|
+
Documentation and branding — no behaviour change.
|
|
6
|
+
|
|
7
|
+
- The CLI is documented as `clovnet-plugin` everywhere, including its own `--help` description.
|
|
8
|
+
`cwe-plugin` remains a working alias and is unchanged.
|
|
9
|
+
- README rebranded to Clovnet.
|
|
10
|
+
- All three scaffold templates (blank, cashback, provider-skeleton) rebranded: the generated
|
|
11
|
+
README and the generated `package.json` description no longer say CasinoWebEngine, so newly
|
|
12
|
+
scaffolded plugins start out correctly branded.
|
|
13
|
+
- SDK resolution accepts both `@clovnet/plugin-sdk` and the legacy `@cwe-platform/plugin-sdk`
|
|
14
|
+
directory, so plugins scaffolded against the old published SDK keep working (shipped in 0.2.2's
|
|
15
|
+
source but worth calling out here).
|
|
16
|
+
|
|
3
17
|
## 0.2.2 (2026-07)
|
|
4
18
|
|
|
5
19
|
- `--version` reports the real package version. `CLI_VERSION` was a hardcoded literal in
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @clovnet/plugin-cli
|
|
2
2
|
|
|
3
|
-
`
|
|
3
|
+
`clovnet-plugin` — the Clovnet plugin developer CLI. One tool that carries you from
|
|
4
4
|
`create` → `login` → `env` → `dev` (hot reload + live logs) → lifecycle testing → `publish`.
|
|
5
5
|
|
|
6
6
|
## The golden path
|
|
@@ -85,7 +85,7 @@ invocation. Auth is auto-refreshing (single-flight, 30s server-side rotation gra
|
|
|
85
85
|
|
|
86
86
|
## Requirements
|
|
87
87
|
|
|
88
|
-
- Node ≥ 20, a
|
|
88
|
+
- Node ≥ 20, a Clovnet runtime with the dev harness enabled (`DEV_HARNESS_ENABLED=true`,
|
|
89
89
|
`CWE_ENV_CLASS=local|development`, sandbox tenant seeded — see the Runtime Core repo's
|
|
90
90
|
`docker-compose.plugindev.yml` for the one-command local stack).
|
|
91
91
|
- The target plugin project must have `@clovnet/plugin-sdk` installed (the CLI loads the
|
package/dist/cli.js
CHANGED
|
@@ -10256,7 +10256,7 @@ function handleError(rt2, error) {
|
|
|
10256
10256
|
process.exit(1);
|
|
10257
10257
|
}
|
|
10258
10258
|
function buildProgram(rt2 = createProcessRuntime({ debug: process.argv.includes("--debug-cli") })) {
|
|
10259
|
-
const program2 = new Command("cwe-plugin").version(CLI_VERSION).description("
|
|
10259
|
+
const program2 = new Command("cwe-plugin").version(CLI_VERSION).description("Clovnet plugin developer CLI \u2014 create, dev, lifecycle-test and publish plugins").option("--env <name>", "environment to target for this invocation (overrides the default)").option("--debug-cli", "print stack traces on CLI errors").configureHelp({ sortSubcommands: false });
|
|
10260
10260
|
const run = (fn) => async (...args) => {
|
|
10261
10261
|
try {
|
|
10262
10262
|
await fn(...args);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@clovnet/plugin-cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"description": "Clovnet plugin developer CLI \u2014 create, dev-loop (hot reload + live logs), lifecycle-test and publish plugins against a Clovnet runtime.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"private": false,
|