@powerhousedao/ph-clint-cli 0.1.0-dev.2 → 0.1.0-dev.4

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.
@@ -43,7 +43,6 @@ export function buildCliPackageJson(spec) {
43
43
  scripts['mastra:build'] = 'mastra build';
44
44
  scripts['mastra:start'] = 'mastra start';
45
45
  }
46
- scripts['publish:npm'] = 'pnpm build && pnpm publish --no-git-checks';
47
46
  const pkg = {
48
47
  name: pkgName,
49
48
  version: spec.version,
@@ -33,7 +33,7 @@ export function buildFrameworkGenTs(spec) {
33
33
  lines.push('/**');
34
34
  lines.push(' * THIS FILE IS GENERATED BY ph-clint-cli. DO NOT EDIT.');
35
35
  lines.push(' *');
36
- lines.push(' * Regenerated on every `ph-clint regen` and on every spec-change');
36
+ lines.push(' * Regenerated on every `ph-clint clint-project-regen` and on every spec-change');
37
37
  lines.push(' * tick. Put custom bindings in `framework.ts`, not here — edits to');
38
38
  lines.push(' * this file will be overwritten.');
39
39
  lines.push(' */');
@@ -30,7 +30,7 @@ export function buildReadme(spec) {
30
30
  lines.push('## Regenerate');
31
31
  lines.push('');
32
32
  lines.push('Toggle features or update metadata in `.ph/ph-clint-cli/project-spec.json`,');
33
- lines.push('then re-run `ph-clint` to regenerate.');
33
+ lines.push('then re-run `ph-clint clint-project-regen` to regenerate.');
34
34
  lines.push('');
35
35
  if (powerhouse.enabled) {
36
36
  lines.push('## Split layout');
@@ -1,5 +1,5 @@
1
1
  /**
2
- * `ph-clint init` — the project bootstrap wizard.
2
+ * `ph-clint clint-project-init` — the project bootstrap wizard.
3
3
  *
4
4
  * Behavior:
5
5
  * 1. Resolve target dir (positional `dir`, defaults to cwd).
@@ -159,7 +159,7 @@ export const init = defineCommand({
159
159
  next.push(' pnpm dev');
160
160
  }
161
161
  next.push('');
162
- next.push('Edit the project spec and run `ph-clint regen` to regenerate.');
162
+ next.push('Edit the project spec and run `ph-clint clint-project-regen` to regenerate.');
163
163
  return {
164
164
  text: next.join('\n'),
165
165
  data: { targetDir, spec, fileCount: result.files.length },
@@ -1,5 +1,5 @@
1
1
  /**
2
- * `ph-clint regen` — reconcile an existing project against its persisted
2
+ * `ph-clint clint-project-regen` — reconcile an existing project against its persisted
3
3
  * spec. Equivalent to running the generator in update mode.
4
4
  *
5
5
  * Run inside a project directory (or pass `--dir`). If the spec has flipped
@@ -31,7 +31,7 @@ export const regen = defineCommand({
31
31
  if (!spec) {
32
32
  return {
33
33
  text: `Error: no spec found at ${targetDir}/.ph/ph-clint-cli/project-spec.json.\n` +
34
- 'Run `ph-clint init` first to scaffold a new project.',
34
+ 'Run `ph-clint clint-project-init` first to scaffold a new project.',
35
35
  };
36
36
  }
37
37
  const warnings = [];
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * THIS FILE IS GENERATED BY ph-clint-cli. DO NOT EDIT.
3
3
  *
4
- * Regenerated on every `ph-clint regen` and on every spec-change tick.
4
+ * Regenerated on every `ph-clint clint-project-regen` and on every spec-change tick.
5
5
  * Put custom bindings in `framework.ts`, not here — edits to this file
6
6
  * will be overwritten.
7
7
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerhousedao/ph-clint-cli",
3
- "version": "0.1.0-dev.2",
3
+ "version": "0.1.0-dev.4",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -25,8 +25,8 @@
25
25
  "mastra:start": "mastra start"
26
26
  },
27
27
  "dependencies": {
28
- "@powerhousedao/ph-clint": "^0.1.0-dev.2",
29
- "@powerhousedao/ph-clint-app": "^0.1.0-dev.2",
28
+ "@powerhousedao/ph-clint": "^0.1.0-dev.4",
29
+ "@powerhousedao/ph-clint-app": "^0.1.0-dev.4",
30
30
  "@mastra/core": "^1.22.0",
31
31
  "@mastra/libsql": "^1.7.4",
32
32
  "@mastra/memory": "^1.13.1",
@@ -48,7 +48,7 @@
48
48
  "@jest/globals": "^30.2.0",
49
49
  "@types/node": "^25.5.2",
50
50
  "jest": "^30.2.0",
51
- "@powerhousedao/ph-clint-dev": "^0.1.0-dev.2",
51
+ "@powerhousedao/ph-clint-dev": "^0.1.0-dev.4",
52
52
  "ts-jest": "^29.4.6",
53
53
  "tsx": "^4.19.0",
54
54
  "typescript": "^6.0.2"