@sealcode/sealgen 0.1.3 → 0.1.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/.log/tsserver.log +5 -0
- package/lib/templates/form.js +1 -1
- package/lib/templates/form.js.map +1 -1
- package/package.json +1 -1
- package/src/templates/form.ts +1 -1
package/.log/tsserver.log
CHANGED
|
@@ -452,3 +452,8 @@ Info 411 [12:31:19.879] Finishing updateGraphWorker: Project: /home/kuba/projec
|
|
|
452
452
|
Info 412 [12:31:19.880] Different program with same set of files
|
|
453
453
|
Info 413 [12:31:48.356] FileWatcher:: Triggered with /home/kuba/projects/sealcode/sealgen/package.json 1:: WatchInfo: /home/kuba/projects/sealcode/sealgen/package.json 250 undefined WatchType: package.json file
|
|
454
454
|
Info 414 [12:31:48.359] Elapsed:: 2.5272159995511174ms FileWatcher:: Triggered with /home/kuba/projects/sealcode/sealgen/package.json 1:: WatchInfo: /home/kuba/projects/sealcode/sealgen/package.json 250 undefined WatchType: package.json file
|
|
455
|
+
Info 415 [12:35:32.823] Starting updateGraphWorker: Project: /home/kuba/projects/sealcode/sealgen/src/tsconfig.json
|
|
456
|
+
Info 416 [12:35:32.828] Finishing updateGraphWorker: Project: /home/kuba/projects/sealcode/sealgen/src/tsconfig.json Version: 81 structureChanged: false structureIsReused:: Completely Elapsed: 4.809010999277234ms
|
|
457
|
+
Info 417 [12:35:32.828] Different program with same set of files
|
|
458
|
+
Info 418 [12:35:50.447] FileWatcher:: Triggered with /home/kuba/projects/sealcode/sealgen/package.json 1:: WatchInfo: /home/kuba/projects/sealcode/sealgen/package.json 250 undefined WatchType: package.json file
|
|
459
|
+
Info 419 [12:35:50.448] Elapsed:: 0.5275960005819798ms FileWatcher:: Triggered with /home/kuba/projects/sealcode/sealgen/package.json 1:: WatchInfo: /home/kuba/projects/sealcode/sealgen/package.json 250 undefined WatchType: package.json file
|
package/lib/templates/form.js
CHANGED
|
@@ -5,7 +5,7 @@ const import_path_1 = require("../utils/import-path");
|
|
|
5
5
|
const formTemplate = (action_name, newfilefullpath) => {
|
|
6
6
|
const rel = import_path_1.curryImportPath(newfilefullpath);
|
|
7
7
|
return `import { BaseContext } from "koa";
|
|
8
|
-
import Users from "${rel("src/back/collections/
|
|
8
|
+
import Users from "${rel("src/back/collections/collections")}";
|
|
9
9
|
import { FormHeader, SimpleInput } from "${rel("src/back/forms/controls")}";
|
|
10
10
|
import { FormField } from "${rel("src/back/forms/field")}";
|
|
11
11
|
import Form, { FormData } from "${rel("src/back/forms/form")}";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form.js","sourceRoot":"","sources":["../../src/templates/form.ts"],"names":[],"mappings":";;;AAAA,sDAAuD;AAEhD,MAAM,YAAY,GAAG,CAAC,WAAmB,EAAE,eAAuB,EAAE,EAAE;IAC5E,MAAM,GAAG,GAAG,6BAAe,CAAC,eAAe,CAAC,CAAC;IAC7C,OAAO;qBACa,GAAG,CAAC,
|
|
1
|
+
{"version":3,"file":"form.js","sourceRoot":"","sources":["../../src/templates/form.ts"],"names":[],"mappings":";;;AAAA,sDAAuD;AAEhD,MAAM,YAAY,GAAG,CAAC,WAAmB,EAAE,eAAuB,EAAE,EAAE;IAC5E,MAAM,GAAG,GAAG,6BAAe,CAAC,eAAe,CAAC,CAAC;IAC7C,OAAO;qBACa,GAAG,CAAC,kCAAkC,CAAC;2CACjB,GAAG,CAAC,yBAAyB,CAAC;6BAC5C,GAAG,CAAC,sBAAsB,CAAC;kCACtB,GAAG,CAAC,qBAAqB,CAAC;4CAChB,GAAG,CAAC,0BAA0B,CAAC;oBACvD,GAAG,CAAC,eAAe,CAAC;;6BAEX,WAAW;;2BAEb,WAAW;;;;;;;;;;;;;;;;;;;;;;;sBAuBhB,WAAW;;;CAGhC,CAAC;AACF,CAAC,CAAC;AAvCW,QAAA,YAAY,gBAuCvB"}
|
package/package.json
CHANGED
package/src/templates/form.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { curryImportPath } from "../utils/import-path";
|
|
|
3
3
|
export const formTemplate = (action_name: string, newfilefullpath: string) => {
|
|
4
4
|
const rel = curryImportPath(newfilefullpath);
|
|
5
5
|
return `import { BaseContext } from "koa";
|
|
6
|
-
import Users from "${rel("src/back/collections/
|
|
6
|
+
import Users from "${rel("src/back/collections/collections")}";
|
|
7
7
|
import { FormHeader, SimpleInput } from "${rel("src/back/forms/controls")}";
|
|
8
8
|
import { FormField } from "${rel("src/back/forms/field")}";
|
|
9
9
|
import Form, { FormData } from "${rel("src/back/forms/form")}";
|