@vc-shell/create-vc-app 2.4.0-pr302.b052b38 → 2.4.0-pr303.f20ea90

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.
Files changed (30) hide show
  1. package/dist/commands/add-module.d.ts.map +1 -1
  2. package/dist/commands/init.d.ts.map +1 -1
  3. package/dist/engine/codegen.d.ts +2 -5
  4. package/dist/engine/codegen.d.ts.map +1 -1
  5. package/dist/index.js +233 -330
  6. package/dist/templates/dynamic-module/tsconfig.json +5 -1
  7. package/dist/templates/module/composables/useDetails.ts.ejs +0 -1
  8. package/dist/templates/module/composables/useList.ts.ejs +1 -2
  9. package/dist/templates/module/pages/list.vue.ejs +4 -24
  10. package/dist/templates/sample-module/composables/useList/index.ts +1 -1
  11. package/dist/templates/sample-module/pages/index.ts +1 -1
  12. package/dist/templates/sample-module/pages/list.vue +1 -9
  13. package/dist/templates/sample-module/sample-data/index.ts +2 -2
  14. package/dist/templates/standalone/_github/COMMIT_CONVENTION.md +12 -12
  15. package/dist/templates/standalone/_github/PULL_REQUEST_TEMPLATE.md +0 -3
  16. package/dist/templates/standalone/_vscode/extensions.json +3 -1
  17. package/dist/templates/standalone/_vscode/settings.json +8 -3
  18. package/dist/templates/standalone/eslint.config.mjs +0 -20
  19. package/dist/templates/standalone/src/api_client/README.md +37 -38
  20. package/dist/templates/standalone/src/bootstrap.ts.ejs +2 -1
  21. package/dist/templates/standalone/src/components/dashboard-widgets/Welcome.vue +2 -1
  22. package/dist/templates/standalone/src/pages/App.vue.ejs +0 -1
  23. package/dist/templates/standalone/src/pages/Dashboard.vue.ejs +1 -1
  24. package/dist/templates/standalone/src/router/routes.ts.ejs +15 -12
  25. package/dist/templates/standalone/tsconfig.json +9 -2
  26. package/package.json +3 -3
  27. package/dist/engine/codegen.test.d.ts +0 -2
  28. package/dist/engine/codegen.test.d.ts.map +0 -1
  29. package/dist/engine/format.d.ts +0 -13
  30. package/dist/engine/format.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"add-module.d.ts","sourceRoot":"","sources":["../../src/commands/add-module.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAE3C,wBAAsB,gBAAgB,CAAC,IAAI,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAoFzF"}
1
+ {"version":3,"file":"add-module.d.ts","sourceRoot":"","sources":["../../src/commands/add-module.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAE3C,wBAAsB,gBAAgB,CAAC,IAAI,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAgFzF"}
@@ -1 +1 @@
1
- {"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../../src/commands/init.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAA+B,MAAM,aAAa,CAAC;AAsBxE,wBAAsB,WAAW,CAAC,IAAI,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CA4NpF"}
1
+ {"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../../src/commands/init.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAA+B,MAAM,aAAa,CAAC;AAqBxE,wBAAsB,WAAW,CAAC,IAAI,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAuNpF"}
@@ -1,12 +1,9 @@
1
1
  /**
2
- * Add a module import and its `app.use()` registration to main.ts.
3
- *
4
- * Throws when either anchor is missing, so the caller can tell the user what to
5
- * add by hand rather than reporting a change it did not make.
2
+ * Add a module import and app.use() call to main.ts
6
3
  */
7
4
  export declare function addModuleToMain(mainTsPath: string, moduleName: string): void;
8
5
  /**
9
- * Add a menu item registration to bootstrap.ts, after the last existing one.
6
+ * Add a menu item registration to bootstrap.ts
10
7
  */
11
8
  export declare function addMenuItemToBootstrap(bootstrapPath: string, moduleName: string): void;
12
9
  //# sourceMappingURL=codegen.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"codegen.d.ts","sourceRoot":"","sources":["../../src/engine/codegen.ts"],"names":[],"mappings":"AA6IA;;;;;GAKG;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"}
1
+ {"version":3,"file":"codegen.d.ts","sourceRoot":"","sources":["../../src/engine/codegen.ts"],"names":[],"mappings":"AAuBA;;GAEG;AACH,wBAAgB,eAAe,CAAC,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,IAAI,CAuB5E;AAED;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,aAAa,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,IAAI,CAsCtF"}