@vc-shell/create-vc-app 2.6.0-rc.1-pr363.c856ba2 → 2.6.0-rc.1-pr364.e5e5c4c
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/dist/engine/codegen.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Add a module import and its `app.use()` registration to main.ts.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
* add by hand rather than reporting a change it did not make.
|
|
3
|
+
* Throws when either anchor is missing, so the caller can tell the user what to add by
|
|
4
|
+
* hand rather than reporting a change it did not make.
|
|
6
5
|
*/
|
|
7
6
|
export declare function addModuleToMain(mainTsPath: string, moduleName: string): void;
|
|
8
7
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"codegen.d.ts","sourceRoot":"","sources":["../../src/engine/codegen.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"codegen.d.ts","sourceRoot":"","sources":["../../src/engine/codegen.ts"],"names":[],"mappings":"AAyIA;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,IAAI,CA2B5E;AAiCD;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,aAAa,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,IAAI,CAsCtF"}
|
package/dist/engine/format.d.ts
CHANGED
|
@@ -1,12 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Format generated sources in place.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
* EJS control tags and the regex splicing in `codegen.ts` both emit code whose
|
|
6
|
-
* shape depends on runtime data. Running Prettier over the *output* is the only
|
|
7
|
-
* point where the result can be normalised.
|
|
8
|
-
*
|
|
9
|
-
* Formatting is best-effort: a file Prettier cannot parse is left untouched
|
|
2
|
+
* Format generated sources in place. Templates are `.ejs`, so neither Prettier nor ESLint
|
|
3
|
+
* can check them directly; running Prettier over the output is the only point where the
|
|
4
|
+
* result can be normalised. Best effort: a file Prettier cannot parse is left untouched
|
|
10
5
|
* rather than failing the scaffold.
|
|
11
6
|
*/
|
|
12
7
|
export declare function formatGenerated(targets: string[]): Promise<number>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"format.d.ts","sourceRoot":"","sources":["../../src/engine/format.ts"],"names":[],"mappings":"AAyBA
|
|
1
|
+
{"version":3,"file":"format.d.ts","sourceRoot":"","sources":["../../src/engine/format.ts"],"names":[],"mappings":"AAyBA;;;;;GAKG;AACH,wBAAsB,eAAe,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CA2BxE"}
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vc-shell/create-vc-app",
|
|
3
3
|
"description": "Application scaffolding",
|
|
4
|
-
"version": "2.6.0-rc.1-
|
|
4
|
+
"version": "2.6.0-rc.1-pr364.e5e5c4c",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": "./dist/index.js",
|
|
7
7
|
"files": [
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"devDependencies": {
|
|
17
17
|
"@types/ejs": "^3.1.5",
|
|
18
18
|
"@types/prompts": "^2.4.4",
|
|
19
|
-
"@vc-shell/ts-config": "2.6.0-rc.1-
|
|
19
|
+
"@vc-shell/ts-config": "2.6.0-rc.1-pr364.e5e5c4c",
|
|
20
20
|
"copyfiles": "^2.4.1",
|
|
21
21
|
"cross-env": "^7.0.3",
|
|
22
22
|
"shx": "^0.3.4",
|