@aerogel/cli 0.0.0-next.d4e50d20bf4c270c2068f0a4398e9304ee4a062e → 0.0.0-next.deed5f96c88f54b3908a9da7fe630324e78aa4ac

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 (63) hide show
  1. package/bin/gel +1 -1
  2. package/dist/aerogel-cli.d.ts +1 -2
  3. package/dist/aerogel-cli.js +847 -0
  4. package/dist/aerogel-cli.js.map +1 -0
  5. package/package.json +20 -33
  6. package/src/cli.ts +11 -11
  7. package/src/commands/Command.ts +3 -3
  8. package/src/commands/create.test.ts +2 -2
  9. package/src/commands/create.ts +11 -11
  10. package/src/commands/generate-component.test.ts +1 -1
  11. package/src/commands/generate-component.ts +30 -19
  12. package/src/commands/generate-model.test.ts +1 -1
  13. package/src/commands/generate-model.ts +11 -11
  14. package/src/commands/generate-overrides.ts +10 -10
  15. package/src/commands/generate-service.test.ts +2 -2
  16. package/src/commands/generate-service.ts +14 -14
  17. package/src/commands/info.ts +7 -6
  18. package/src/commands/install.test.ts +1 -15
  19. package/src/commands/install.ts +11 -12
  20. package/src/lib/App.ts +9 -6
  21. package/src/lib/Editor.ts +3 -3
  22. package/src/lib/File.mock.ts +7 -11
  23. package/src/lib/File.ts +3 -3
  24. package/src/lib/Log.mock.ts +4 -8
  25. package/src/lib/Log.test.ts +4 -4
  26. package/src/lib/Log.ts +7 -7
  27. package/src/lib/Shell.mock.ts +2 -2
  28. package/src/lib/Shell.ts +2 -2
  29. package/src/lib/Template.ts +19 -16
  30. package/src/lib/utils/app.ts +2 -2
  31. package/src/lib/utils/edit.ts +2 -2
  32. package/src/lib/utils/paths.ts +15 -7
  33. package/src/plugins/Plugin.ts +7 -7
  34. package/src/plugins/Solid.ts +15 -14
  35. package/src/plugins/Soukai.ts +4 -4
  36. package/src/testing/setup.ts +30 -31
  37. package/templates/app/.github/workflows/ci.yml +4 -4
  38. package/templates/app/.nvmrc +1 -1
  39. package/templates/app/cypress/tsconfig.json +7 -8
  40. package/templates/app/package.json +12 -12
  41. package/templates/app/postcss.config.js +1 -1
  42. package/templates/app/src/main.ts +1 -1
  43. package/templates/app/tsconfig.json +3 -10
  44. package/templates/app/vite.config.ts +6 -4
  45. package/templates/component-checkbox/[component.name].vue +34 -0
  46. package/templates/component-checkbox-story/[component.name].story.vue +63 -0
  47. package/templates/component-input/[component.name].vue +1 -0
  48. package/templates/overrides/components/overrides/ConfirmModal.vue +3 -3
  49. package/templates/postcss-pseudo-classes/postcss.config.js +1 -1
  50. package/templates/service/[service.name].ts +1 -1
  51. package/.prettierignore +0 -1
  52. package/dist/aerogel-cli.cjs.js +0 -2
  53. package/dist/aerogel-cli.cjs.js.map +0 -1
  54. package/dist/aerogel-cli.esm.js +0 -2
  55. package/dist/aerogel-cli.esm.js.map +0 -1
  56. package/src/plugins/Histoire.ts +0 -105
  57. package/templates/histoire/histoire.config.ts +0 -7
  58. package/templates/histoire/patches/histoire+0.17.6.patch +0 -13
  59. package/templates/histoire/src/main.histoire.ts +0 -8
  60. package/tsconfig.json +0 -11
  61. package/vite.config.ts +0 -14
  62. /package/src/{main.ts → index.ts} +0 -0
  63. /package/templates/app/src/assets/css/{styles.css → main.css} +0 -0
package/bin/gel CHANGED
@@ -1,4 +1,4 @@
1
1
  #!/usr/bin/env node
2
- const { CLI } = require('../dist/aerogel-cli.cjs.js');
2
+ import { CLI } from '../dist/aerogel-cli.js';
3
3
 
4
4
  CLI.run();
@@ -1,7 +1,6 @@
1
- import { Constructor } from '@noeldemartin/utils';
2
1
  import { Facade } from '@noeldemartin/utils';
3
2
 
4
- export declare const CLI: Facade<CLIService, Constructor<CLIService>>;
3
+ export declare const CLI: Facade<CLIService>;
5
4
 
6
5
  declare class CLIService {
7
6
  run(argv?: string[]): void;