@olenbetong/appframe-cli 4.4.0 → 4.4.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,38 @@
1
1
  # Changelog
2
2
 
3
+ ## 4.4.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [7738eb1]
8
+ - @olenbetong/appframe-data@1.2.4
9
+ - @olenbetong/appframe-updater@0.4.4
10
+
11
+ ## 4.4.3
12
+
13
+ ### Patch Changes
14
+
15
+ - remove shared folder from published content
16
+ - Updated dependencies
17
+ - @olenbetong/appframe-data@1.2.3
18
+ - @olenbetong/appframe-updater@0.4.3
19
+
20
+ ## 4.4.2
21
+
22
+ ### Patch Changes
23
+
24
+ - Updated dependencies
25
+ - @olenbetong/appframe-data@1.2.2
26
+ - @olenbetong/appframe-updater@0.4.2
27
+
28
+ ## 4.4.1
29
+
30
+ ### Patch Changes
31
+
32
+ - Updated dependencies [374309f]
33
+ - @olenbetong/appframe-data@1.2.1
34
+ - @olenbetong/appframe-updater@0.4.1
35
+
3
36
  ## 4.4.0
4
37
 
5
38
  ### Minor Changes
package/cli/af-apply.js CHANGED
@@ -51,7 +51,7 @@ async function applyTransactions(namespaceArg, options) {
51
51
  console.log("");
52
52
  }
53
53
  let { action } = await inquirer.prompt({
54
- type: "list",
54
+ type: "select",
55
55
  name: "action",
56
56
  message: "Apply these transactions?",
57
57
  choices: [
package/cli/af-deploy.js CHANGED
@@ -24,7 +24,7 @@ async function deployTransactions(namespaceArg, options) {
24
24
  break;
25
25
  }
26
26
  let { action } = await inquirer.prompt({
27
- type: "list",
27
+ type: "select",
28
28
  name: "action",
29
29
  message: "Are you sure you want to deploy these transactions? (n)",
30
30
  choices: [
package/cli/af-list.js CHANGED
@@ -14,7 +14,7 @@ async function getType(options) {
14
14
  if (options.type) return options.type;
15
15
  if (isInteractive) {
16
16
  let result = await inquirer.prompt({
17
- type: "list",
17
+ type: "select",
18
18
  name: "type",
19
19
  message: "Which type of transactions do you want to list?",
20
20
  choices: [
@@ -23,7 +23,7 @@ async function runStageOperations(namespace, hostname, operations = ["download"]
23
23
  for (let transactions = await server.getTransactions("apply", namespace); transactions.length > 0; transactions = await server.getTransactions("apply", namespace)) {
24
24
  listTransactions(transactions);
25
25
  let { action } = await inquirer.prompt({
26
- type: "list",
26
+ type: "select",
27
27
  name: "action",
28
28
  message: "Are you sure you want to apply these transactions? (y)",
29
29
  choices: [
@@ -51,7 +51,7 @@ async function runStageOperations(namespace, hostname, operations = ["download"]
51
51
  for (let transactions = await server.getTransactions("deploy", namespace); transactions.length > 0; transactions = await server.getTransactions("deploy", namespace)) {
52
52
  listTransactions(transactions);
53
53
  let { action } = await inquirer.prompt({
54
- type: "list",
54
+ type: "select",
55
55
  name: "action",
56
56
  message: "Are you sure you want to deploy these transactions? (y)",
57
57
  choices: [
@@ -106,7 +106,7 @@ async function publishFromDev(namespaceArg, options) {
106
106
  break;
107
107
  }
108
108
  let { action } = await inquirer.prompt({
109
- type: "list",
109
+ type: "select",
110
110
  name: "action",
111
111
  message: "Are you sure you want to put these transactions on hold? (y)",
112
112
  choices: [
@@ -135,7 +135,8 @@ async function publishFromDev(namespaceArg, options) {
135
135
  }
136
136
  }
137
137
  console.log("");
138
- console.log(`Transactions downloaded on ${chalk.green("test.obet.no")}`);
138
+ let transactionStatus = options.apply ? "applied" : "downloaded";
139
+ console.log(`Transactions ${transactionStatus} on ${chalk.green("test.obet.no")}`);
139
140
  if (!options.apply) {
140
141
  console.log(`Run ${chalk.blue(`af apply ${namespace}`)} to apply updates.`);
141
142
  }
@@ -3,7 +3,7 @@ import inquirer from "inquirer";
3
3
  export async function getServerFromOptions(options) {
4
4
  if (options.server) return;
5
5
  let { server } = await inquirer.prompt({
6
- type: "list",
6
+ type: "select",
7
7
  name: "server",
8
8
  message: "Select server to connect to",
9
9
  choices: [
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "af": "./cli/af.js"
6
6
  },
7
7
  "type": "module",
8
- "version": "4.4.0",
8
+ "version": "4.4.4",
9
9
  "license": "MIT",
10
10
  "keywords": [
11
11
  "appframe",
@@ -16,13 +16,13 @@
16
16
  "@types/d3": "^7.4.3",
17
17
  "@types/degit": "^2.8.6",
18
18
  "@types/inquirer": "^9.0.9",
19
- "@types/react": "^19.2.0",
19
+ "@types/react": "19.2.7",
20
20
  "@types/semver": "^7.7.1",
21
- "esbuild": "^0.25.10",
21
+ "esbuild": "0.27.0",
22
22
  "tough-cookie": "^6.0.0"
23
23
  },
24
24
  "dependencies": {
25
- "@biomejs/biome": "^2.2.5",
25
+ "@biomejs/biome": "2.3.7",
26
26
  "chalk": "^5.6.2",
27
27
  "commander": "^14.0.1",
28
28
  "compare-versions": "^6.1.1",
@@ -40,13 +40,14 @@
40
40
  "semver": "^7.7.2",
41
41
  "signal-exit": "^4.1.0",
42
42
  "typescript": "^5.9.3",
43
- "@olenbetong/appframe-data": "1.1.1",
44
- "@olenbetong/appframe-updater": "0.4.0"
43
+ "@olenbetong/appframe-data": "1.2.4",
44
+ "@olenbetong/appframe-updater": "0.4.4"
45
45
  },
46
46
  "optionalDependencies": {
47
47
  "keytar": "^8.3.1"
48
48
  },
49
49
  "repository": "https://github.com/olenbetong/SynergiWeb.git",
50
+ "peerDependencies": {},
50
51
  "scripts": {
51
52
  "build": "rm -rf ./cli && tsc -p tsconfig.build.json && esbuild ./src/*.ts ./src/**/*.ts ./src/*.tsx ./src/**/*.tsx --target=node24 --outdir=cli",
52
53
  "check": "pnpm dlx npm-check-updates -i -p pnpm --pre 1 --format group"
package/src/af-apply.ts CHANGED
@@ -64,7 +64,7 @@ async function applyTransactions(namespaceArg: string, options: ApplyOptions) {
64
64
  }
65
65
 
66
66
  let { action } = await inquirer.prompt({
67
- type: "list",
67
+ type: "select",
68
68
  name: "action",
69
69
  message: "Apply these transactions?",
70
70
  choices: [
package/src/af-deploy.ts CHANGED
@@ -30,7 +30,7 @@ async function deployTransactions(namespaceArg: string, options: { server: strin
30
30
  }
31
31
 
32
32
  let { action } = await inquirer.prompt({
33
- type: "list",
33
+ type: "select",
34
34
  name: "action",
35
35
  message: "Are you sure you want to deploy these transactions? (n)",
36
36
  choices: [
package/src/af-list.ts CHANGED
@@ -17,7 +17,7 @@ async function getType(options: { type?: "apply" | "deploy" }) {
17
17
 
18
18
  if (isInteractive) {
19
19
  let result = await inquirer.prompt({
20
- type: "list",
20
+ type: "select",
21
21
  name: "type",
22
22
  message: "Which type of transactions do you want to list?",
23
23
  choices: [
@@ -33,7 +33,7 @@ async function runStageOperations(namespace: string, hostname: string, operation
33
33
  ) {
34
34
  listTransactions(transactions);
35
35
  let { action } = await inquirer.prompt({
36
- type: "list",
36
+ type: "select",
37
37
  name: "action",
38
38
  message: "Are you sure you want to apply these transactions? (y)",
39
39
  choices: [
@@ -70,7 +70,7 @@ async function runStageOperations(namespace: string, hostname: string, operation
70
70
  ) {
71
71
  listTransactions(transactions);
72
72
  let { action } = await inquirer.prompt({
73
- type: "list",
73
+ type: "select",
74
74
  name: "action",
75
75
  message: "Are you sure you want to deploy these transactions? (y)",
76
76
  choices: [
@@ -139,7 +139,7 @@ async function publishFromDev(
139
139
  }
140
140
 
141
141
  let { action } = await inquirer.prompt({
142
- type: "list",
142
+ type: "select",
143
143
  name: "action",
144
144
  message: "Are you sure you want to put these transactions on hold? (y)",
145
145
  choices: [
@@ -173,7 +173,8 @@ async function publishFromDev(
173
173
  }
174
174
 
175
175
  console.log("");
176
- console.log(`Transactions downloaded on ${chalk.green("test.obet.no")}`);
176
+ let transactionStatus = options.apply ? "applied" : "downloaded";
177
+ console.log(`Transactions ${transactionStatus} on ${chalk.green("test.obet.no")}`);
177
178
  if (!options.apply) {
178
179
  console.log(`Run ${chalk.blue(`af apply ${namespace}`)} to apply updates.`);
179
180
  }
@@ -4,7 +4,7 @@ export async function getServerFromOptions(options: { server?: string | undefine
4
4
  if (options.server) return;
5
5
 
6
6
  let { server } = await inquirer.prompt({
7
- type: "list",
7
+ type: "select",
8
8
  name: "server",
9
9
  message: "Select server to connect to",
10
10
  choices: [