@phreshos/cli 0.1.19 → 0.1.20

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/dist/create.js CHANGED
@@ -83,7 +83,10 @@ function template() {
83
83
  function customize(directory, identity, name, manager) {
84
84
  for (const path of textFiles(directory)) {
85
85
  let content = readFileSync(path, "utf-8");
86
- content = content.replaceAll("phresh-program", identity).replaceAll("Phresh Program", name);
86
+ if (basename(path) === "phresh.config.ts") {
87
+ content = content.replace('identity: "phresh"', `identity: ${JSON.stringify(identity)}`);
88
+ }
89
+ content = content.replaceAll("Phresh Program", name);
87
90
  if (basename(path) === "README.md") {
88
91
  content = content
89
92
  .replaceAll("bun install", `${manager} install`)
@@ -1,7 +1,7 @@
1
1
  {
2
- "name": "phresh-program",
2
+ "name": "phresh",
3
3
  "private": true,
4
- "version": "0.1.11",
4
+ "version": "0.1.12",
5
5
  "description": "The official PhreshOS starter Program.",
6
6
  "type": "module",
7
7
  "scripts": {
@@ -22,7 +22,7 @@
22
22
  "react-dom": "^19.2.8"
23
23
  },
24
24
  "devDependencies": {
25
- "@phreshos/cli": "^0.1.19",
25
+ "@phreshos/cli": "^0.1.20",
26
26
  "@types/node": "^26.2.0",
27
27
  "@types/react": "^19.2.18",
28
28
  "@types/react-dom": "^19.2.4",
@@ -1,10 +1,10 @@
1
1
  import { defineConfig } from "@phreshos/core"
2
2
 
3
3
  export default defineConfig({
4
- identity: "phresh-program",
4
+ identity: "phresh",
5
5
  name: "Phresh Program",
6
6
  description: "A minimal counter with direct Client and Server endpoints.",
7
- version: "0.1.11",
7
+ version: "0.1.12",
8
8
  icon: "icon.png",
9
9
  buildCommand: "vite-node scripts/build.ts",
10
10
  server: {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "repository": "PhreshOS/phresh-program",
3
- "version": "0.1.11",
4
- "sha256": "70248597565f2e02bb8f8b052758321d92fe54d30ef47e8e1b9347034d4a93b8",
3
+ "version": "0.1.12",
4
+ "sha256": "408d2a1353c32d5ffe69773d115663d125311586394f8bcddd0a0e07f33da914",
5
5
  "development": true
6
6
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@phreshos/cli",
3
3
  "type": "module",
4
- "version": "0.1.19",
4
+ "version": "0.1.20",
5
5
  "description": "The Phresh command-line interface for Program projects and system management.",
6
6
  "engines": {
7
7
  "node": ">=20.10"