@sealcode/sealgen 0.1.4 → 0.1.5
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 +8 -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
|
@@ -457,3 +457,11 @@ Info 416 [12:35:32.828] Finishing updateGraphWorker: Project: /home/kuba/projec
|
|
|
457
457
|
Info 417 [12:35:32.828] Different program with same set of files
|
|
458
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
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
|
|
460
|
+
Info 420 [12:37:45.262] Starting updateGraphWorker: Project: /home/kuba/projects/sealcode/sealgen/src/tsconfig.json
|
|
461
|
+
Info 421 [12:37:45.272] Finishing updateGraphWorker: Project: /home/kuba/projects/sealcode/sealgen/src/tsconfig.json Version: 82 structureChanged: false structureIsReused:: Completely Elapsed: 9.895839000120759ms
|
|
462
|
+
Info 422 [12:37:45.272] Different program with same set of files
|
|
463
|
+
Info 423 [12:37:45.613] Starting updateGraphWorker: Project: /home/kuba/projects/sealcode/sealgen/src/tsconfig.json
|
|
464
|
+
Info 424 [12:37:45.627] Finishing updateGraphWorker: Project: /home/kuba/projects/sealcode/sealgen/src/tsconfig.json Version: 83 structureChanged: false structureIsReused:: Completely Elapsed: 14.655261999927461ms
|
|
465
|
+
Info 425 [12:37:45.628] Different program with same set of files
|
|
466
|
+
Info 426 [12:38:26.491] 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
|
|
467
|
+
Info 427 [12:38:26.492] Elapsed:: 0.5766350002959371ms 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/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;
|
|
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;uBACe,GAAG,CAAC,kCAAkC,CAAC;2CACnB,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/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")}";
|