@akanjs/cli 0.9.60-canary.5 → 0.9.60-canary.7

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/cjs/index.js CHANGED
@@ -6452,12 +6452,12 @@ var ModuleRunner = class {
6452
6452
  },
6453
6453
  signal: {
6454
6454
  filename: `${module2.name}.signal.ts`,
6455
- content: module2.readFile(`${module2.name}.signal.spec.ts`)
6456
- },
6457
- test: {
6458
- filename: `${module2.name}.test.ts`,
6459
- content: module2.readFile(`${module2.name}.signal.test.ts`)
6455
+ content: module2.readFile(`${module2.name}.signal.ts`)
6460
6456
  },
6457
+ // test: {
6458
+ // filename: `${module.name}.test.ts`,
6459
+ // content: module.readFile(`${module.name}.signal.test.ts`),
6460
+ // },
6461
6461
  unit: {
6462
6462
  filename: `${module2.name}.Unit.tsx`,
6463
6463
  content: module2.readFile(`${module2.name}.Unit.tsx`)
@@ -33,7 +33,7 @@ import { Link } from "@akanjs/ui";
33
33
  export const Card = ({ ${dict.model}, href }: ModelProps<"${dict.model}", cnst.Light${dict.Model}>) => {
34
34
  const { l } = usePage();
35
35
  return (
36
- <Link href={href} className="animate-fadeIn w-full h-36 flex rounded-lg shadow-sm hover:shadow-lg duration-300">
36
+ <Link href={href} className="w-full">
37
37
  <div>{l("${dict.model}.id")}:{${dict.model}.id}</div>
38
38
  </Link>
39
39
  );
@@ -29,12 +29,11 @@ function getContent(scanInfo, dict) {
29
29
  import { clsx } from "@akanjs/client";
30
30
  import { cnst, usePage } from "@${dict.sysName}/client";
31
31
 
32
- interface ${dict.Model}ViewProps {
32
+ interface GeneralProps {
33
33
  className?: string;
34
34
  ${dict.model}: cnst.${dict.Model};
35
35
  }
36
-
37
- export const General = ({ className, ${dict.model} }: ${dict.Model}ViewProps) => {
36
+ export const General = ({ className, ${dict.model} }: GeneralProps) => {
38
37
  const { l } = usePage();
39
38
  return (
40
39
  <div className={clsx("w-full", className)}>
@@ -24,7 +24,6 @@ __export(model_constant_exports, {
24
24
  module.exports = __toCommonJS(model_constant_exports);
25
25
  function getContent(scanInfo, dict) {
26
26
  return `
27
- import { Int } from "@akanjs/base";
28
27
  import { via } from "@akanjs/constant";
29
28
 
30
29
  export class ${dict.Model}Input extends via((field) => ({
package/esm/index.js CHANGED
@@ -6433,12 +6433,12 @@ var ModuleRunner = class {
6433
6433
  },
6434
6434
  signal: {
6435
6435
  filename: `${module.name}.signal.ts`,
6436
- content: module.readFile(`${module.name}.signal.spec.ts`)
6437
- },
6438
- test: {
6439
- filename: `${module.name}.test.ts`,
6440
- content: module.readFile(`${module.name}.signal.test.ts`)
6436
+ content: module.readFile(`${module.name}.signal.ts`)
6441
6437
  },
6438
+ // test: {
6439
+ // filename: `${module.name}.test.ts`,
6440
+ // content: module.readFile(`${module.name}.signal.test.ts`),
6441
+ // },
6442
6442
  unit: {
6443
6443
  filename: `${module.name}.Unit.tsx`,
6444
6444
  content: module.readFile(`${module.name}.Unit.tsx`)
@@ -10,7 +10,7 @@ import { Link } from "@akanjs/ui";
10
10
  export const Card = ({ ${dict.model}, href }: ModelProps<"${dict.model}", cnst.Light${dict.Model}>) => {
11
11
  const { l } = usePage();
12
12
  return (
13
- <Link href={href} className="animate-fadeIn w-full h-36 flex rounded-lg shadow-sm hover:shadow-lg duration-300">
13
+ <Link href={href} className="w-full">
14
14
  <div>{l("${dict.model}.id")}:{${dict.model}.id}</div>
15
15
  </Link>
16
16
  );
@@ -6,12 +6,11 @@ function getContent(scanInfo, dict) {
6
6
  import { clsx } from "@akanjs/client";
7
7
  import { cnst, usePage } from "@${dict.sysName}/client";
8
8
 
9
- interface ${dict.Model}ViewProps {
9
+ interface GeneralProps {
10
10
  className?: string;
11
11
  ${dict.model}: cnst.${dict.Model};
12
12
  }
13
-
14
- export const General = ({ className, ${dict.model} }: ${dict.Model}ViewProps) => {
13
+ export const General = ({ className, ${dict.model} }: GeneralProps) => {
15
14
  const { l } = usePage();
16
15
  return (
17
16
  <div className={clsx("w-full", className)}>
@@ -1,7 +1,6 @@
1
1
  // pkgs/@akanjs/cli/src/templates/module/__model__.constant.ts
2
2
  function getContent(scanInfo, dict) {
3
3
  return `
4
- import { Int } from "@akanjs/base";
5
4
  import { via } from "@akanjs/constant";
6
5
 
7
6
  export class ${dict.Model}Input extends via((field) => ({
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "type": "module",
3
3
  "sourceType": "module",
4
4
  "name": "@akanjs/cli",
5
- "version": "0.9.60-canary.5",
5
+ "version": "0.9.60-canary.7",
6
6
  "bin": {
7
7
  "akan": "esm/index.js"
8
8
  },
@@ -29,10 +29,6 @@ export declare class ModuleRunner {
29
29
  filename: string;
30
30
  content: string;
31
31
  };
32
- test: {
33
- filename: string;
34
- content: string;
35
- };
36
32
  unit: {
37
33
  filename: string;
38
34
  content: string;