akanjs 2.0.0-beta.0 → 2.0.0-beta.1

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/cli/index.js CHANGED
@@ -867,7 +867,9 @@ import {
867
867
  import { readFileSync as readFileSync3 } from "fs";
868
868
  import { mkdir as mkdir2, readdir as readDirEntries, stat as stat2 } from "fs/promises";
869
869
  import path7 from "path";
870
+ var {$ } = globalThis.Bun;
870
871
  import chalk4 from "chalk";
872
+ import ts3 from "typescript";
871
873
 
872
874
  import fs from "fs";
873
875
  import path from "path";
@@ -1163,9 +1165,6 @@ var decreaseBuildNum = async (app) => {
1163
1165
  fs.writeFileSync(akanConfigPath, akanConfigContent);
1164
1166
  };
1165
1167
 
1166
- var {$ } = globalThis.Bun;
1167
- import ts3 from "typescript";
1168
-
1169
1168
  import path2 from "path";
1170
1169
  var getDirname = (url) => path2.dirname(new URL(url).pathname);
1171
1170
 
@@ -11362,8 +11361,7 @@ class WorkspaceScript extends script("workspace", [WorkspaceRunner, ApplicationS
11362
11361
 
11363
11362
  class WorkspaceCommand extends command("workspace", [WorkspaceScript], ({ public: target }) => ({
11364
11363
  createWorkspace: target({ desc: "Create a new Akan.js workspace", runsOnWorkspaceRoot: false }).arg("workspaceName", String, { desc: "what is the name of your organization?" }).option("app", String, {
11365
- desc: "what is the codename of your first application? (e.g. myapp)",
11366
- default: "app"
11364
+ desc: "what is the codename of your first application? (e.g. myapp)"
11367
11365
  }).option("dir", String, {
11368
11366
  desc: "directory of workspace",
11369
11367
  default: process.env.USE_AKANJS_PKGS === "true" ? "local" : "."
@@ -7,7 +7,6 @@ export class WorkspaceCommand extends command("workspace", [WorkspaceScript], ({
7
7
  .arg("workspaceName", String, { desc: "what is the name of your organization?" })
8
8
  .option("app", String, {
9
9
  desc: "what is the codename of your first application? (e.g. myapp)",
10
- default: "app",
11
10
  })
12
11
  .option("dir", String, {
13
12
  desc: "directory of workspace",
@@ -18,11 +18,10 @@ import {
18
18
  validatePageSourceFile,
19
19
  validateSubRoutePageKey,
20
20
  } from "akanjs/common";
21
- import chalk from "chalk";
22
- import { AkanAppConfig, AkanLibConfig, decreaseBuildNum, increaseBuildNum } from "./akanConfig";
23
-
24
21
  import { $ } from "bun";
22
+ import chalk from "chalk";
25
23
  import ts from "typescript";
24
+ import { AkanAppConfig, AkanLibConfig, decreaseBuildNum, increaseBuildNum } from "./akanConfig";
26
25
  import { FileSys } from "./fileSys";
27
26
  import { getDirname } from "./getDirname";
28
27
  import { Linter } from "./linter";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "akanjs",
3
- "version": "2.0.0-beta.0",
3
+ "version": "2.0.0-beta.1",
4
4
  "sourceType": "module",
5
5
  "type": "module",
6
6
  "bin": {