Skip to content

Commit 02d049d

Browse files
committed
release version 0.0.0-dev
1 parent 777a870 commit 02d049d

File tree

8 files changed

+25
-17
lines changed

8 files changed

+25
-17
lines changed

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@ package-lock.json
99

1010
# Cinnabar Forge
1111
**/cinnabar.js
12+
**/cinnabar.ts
1213
cinnabar.json

cinnabar.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
{
22
"cinnabarMetaVersion": 1,
3-
"description": "Organize your workspaces and manage projects deploy fast and easy",
3+
"description": "Organize workspaces and manage projects deployment fast and easy",
44
"name": "Anca",
55
"version": {
66
"major": 0,
7-
"minor": 0,
7+
"minor": 1,
88
"patch": 0,
9+
"prefix": "dev",
910
"revision": 0,
10-
"text": "0.0.0",
11-
"timestamp": 0
11+
"text": "0.1.0-dev",
12+
"timestamp": 1720199005
1213
},
1314
"stack": {
1415
"nodejs": {

eslint.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import cinnabarPlugin from "@cinnabar-forge/eslint-plugin";
22

33
const files = ["src/**/*.ts"];
4-
const ignores = ["bin/**/*", "build/**/*", "dist/**/*"];
4+
const ignores = ["bin/**/*", "build/**/*", "dist/**/*", "src/cinnabar.ts"];
55

66
export default [
77
...cinnabarPlugin.default.map((config) => ({

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
{
22
"name": "anca",
3-
"version": "0.0.0",
4-
"private": true,
3+
"version": "0.1.0-dev",
54
"description": "Organize your workspaces and manage projects deploy fast and easy",
65
"repository": {
76
"type": "git",
8-
"url": "git+https://github.com/cinnabar-forge/anna.git"
7+
"url": "git+https://github.com/cinnabar-forge/anca.git"
98
},
109
"license": "ISC",
1110
"author": {

sea.build.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@ const buildCrossPlatform = function () {
1515

1616
const nodeBinaryPath = process.execPath;
1717
const baseName = "app";
18-
const destinationPath = path.join(BUILD_DIR, isWindows ? `${baseName}.exe` : baseName);
18+
const destinationPath = path.join(
19+
BUILD_DIR,
20+
isWindows ? `${baseName}.exe` : baseName,
21+
);
1922
fs.copyFileSync(nodeBinaryPath, destinationPath);
2023

2124
const postjectCommandBase = `npx postject ${destinationPath} NODE_SEA_BLOB ${path.join(BUILD_DIR, "prep.blob")} --sentinel-fuse NODE_SEA_FUSE_fce680ab2cc467b6e072b8b5df1996b2`;
@@ -39,4 +42,4 @@ build({
3942
.catch((e) => {
4043
console.log(`Error building ${ESBUILD_NAME}: ${e.message}`);
4144
process.exit(1);
42-
});
45+
});

src/cinnabar.js renamed to src/cinnabar.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,16 @@
22

33
export default {
44
"cinnabarMetaVersion": 1,
5-
"description": "Organize your workspaces and manage projects deploy fast and easy",
5+
"description": "Organize workspaces and manage projects deployment fast and easy",
66
"name": "Anca",
77
"version": {
88
"major": 0,
9-
"minor": 0,
9+
"minor": 1,
1010
"patch": 0,
11+
"prefix": "dev",
1112
"revision": 0,
12-
"text": "0.0.0",
13-
"timestamp": 0
13+
"text": "0.1.0-dev",
14+
"timestamp": 1720199005
1415
},
1516
"stack": {
1617
"nodejs": {

src/tui.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { promptMenu } from "clivo";
22

33
import { fixAncaConfig } from "./actions/anca.js";
4+
import cinnabarData from "./cinnabar.js";
45
import { getState } from "./config.js";
56
import {
67
clearDevelopmentDevelopmentCache,
@@ -18,6 +19,8 @@ interface ClivoAction {
1819
label: string;
1920
}
2021

22+
const APP_NAME_AND_VERSION = `${cinnabarData.name.toLocaleUpperCase()} v${cinnabarData.version.text}`;
23+
2124
/**
2225
*
2326
* @param development
@@ -191,7 +194,7 @@ async function showDevelopmentsMenu() {
191194
*
192195
*/
193196
export async function showMainMenu() {
194-
await promptMenu("\n[MAIN MENU]", [
197+
await promptMenu(`\n[${APP_NAME_AND_VERSION}]`, [
195198
{
196199
action: async () => {
197200
console.log("Bye.");

0 commit comments

Comments
 (0)