@aerogel/cli 0.0.0-next.d824b40e5d06757cd9f47c9f771d916185df4f05 → 0.0.0-next.e3690204fb6f5fb723525710ac64e3b3fe4fd487

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 (68) hide show
  1. package/bin/gel +4 -0
  2. package/dist/aerogel-cli.d.ts +2 -2
  3. package/dist/aerogel-cli.js +758 -0
  4. package/dist/aerogel-cli.js.map +1 -0
  5. package/package.json +25 -32
  6. package/src/cli.ts +26 -8
  7. package/src/commands/Command.ts +14 -9
  8. package/src/commands/create.test.ts +3 -4
  9. package/src/commands/create.ts +11 -11
  10. package/src/commands/generate-component.test.ts +1 -14
  11. package/src/commands/generate-component.ts +20 -50
  12. package/src/commands/generate-model.test.ts +2 -2
  13. package/src/commands/generate-model.ts +13 -14
  14. package/src/commands/generate-service.test.ts +2 -2
  15. package/src/commands/generate-service.ts +16 -17
  16. package/src/commands/info.ts +15 -0
  17. package/src/commands/install.test.ts +19 -2
  18. package/src/commands/install.ts +12 -11
  19. package/src/lib/App.ts +9 -6
  20. package/src/lib/Editor.ts +12 -11
  21. package/src/lib/File.mock.ts +7 -11
  22. package/src/lib/File.ts +3 -3
  23. package/src/lib/Log.mock.ts +4 -8
  24. package/src/lib/Log.test.ts +4 -4
  25. package/src/lib/Log.ts +7 -7
  26. package/src/lib/Shell.mock.ts +3 -3
  27. package/src/lib/Shell.ts +2 -2
  28. package/src/lib/Template.ts +24 -17
  29. package/src/lib/utils/app.ts +3 -3
  30. package/src/lib/utils/edit.ts +2 -2
  31. package/src/lib/utils/paths.ts +16 -8
  32. package/src/plugins/LocalFirst.ts +9 -0
  33. package/src/plugins/Plugin.ts +49 -14
  34. package/src/plugins/Solid.ts +16 -59
  35. package/src/plugins/Soukai.ts +5 -5
  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/.vscode/launch.json +1 -0
  40. package/templates/app/{cypress.config.ts → cypress/cypress.config.ts} +2 -4
  41. package/templates/app/cypress/support/e2e.ts +1 -3
  42. package/templates/app/cypress/tsconfig.json +7 -8
  43. package/templates/app/index.html +5 -4
  44. package/templates/app/package.json +30 -18
  45. package/templates/app/src/App.vue +3 -3
  46. package/templates/app/src/assets/css/main.css +4 -0
  47. package/templates/app/src/assets/public/robots.txt +2 -0
  48. package/templates/app/src/main.ts +4 -4
  49. package/templates/app/tsconfig.json +3 -10
  50. package/templates/app/vite.config.ts +7 -4
  51. package/templates/service/[service.name].ts +1 -1
  52. package/.eslintrc.js +0 -7
  53. package/bin/ag +0 -4
  54. package/dist/aerogel-cli.cjs.js +0 -2
  55. package/dist/aerogel-cli.cjs.js.map +0 -1
  56. package/dist/aerogel-cli.esm.js +0 -2
  57. package/dist/aerogel-cli.esm.js.map +0 -1
  58. package/src/lib/utils/format.test.ts +0 -33
  59. package/src/lib/utils/format.ts +0 -38
  60. package/templates/app/.eslintrc.js +0 -3
  61. package/templates/app/postcss.config.js +0 -6
  62. package/templates/app/prettier.config.js +0 -5
  63. package/templates/app/src/assets/styles.css +0 -3
  64. package/templates/app/tailwind.config.js +0 -5
  65. package/templates/component-story/[component.name].story.vue +0 -7
  66. package/tsconfig.json +0 -11
  67. package/vite.config.ts +0 -14
  68. /package/src/{main.ts → index.ts} +0 -0
@@ -1,5 +0,0 @@
1
- /** @type {import('prettier').Config} */
2
- module.exports = {
3
- plugins: [require('prettier-plugin-tailwindcss')],
4
- printWidth: 120,
5
- };
@@ -1,3 +0,0 @@
1
- @tailwind base;
2
- @tailwind components;
3
- @tailwind utilities;
@@ -1,5 +0,0 @@
1
- /** @type {import('tailwindcss').Config} */
2
- module.exports = {
3
- content: ['./index.html', './src/**/*.{vue,ts}', '<% &contentPath %>'],
4
- plugins: [require('@tailwindcss/forms'), require('@tailwindcss/typography')],
5
- };
@@ -1,7 +0,0 @@
1
- <template>
2
- <Story>
3
- <Variant title="Primary">
4
- <<% component.name %> />
5
- </Variant>
6
- </Story>
7
- </template>
package/tsconfig.json DELETED
@@ -1,11 +0,0 @@
1
- {
2
- "extends": "../../tsconfig.json",
3
- "compilerOptions": {
4
- "types": ["node"],
5
- "baseUrl": ".",
6
- "paths": {
7
- "@/*": ["./src/*"]
8
- }
9
- },
10
- "include": ["src/**/*.ts"]
11
- }
package/vite.config.ts DELETED
@@ -1,14 +0,0 @@
1
- import { defineConfig } from 'vitest/config';
2
- import { resolve } from 'path';
3
-
4
- export default defineConfig({
5
- test: {
6
- clearMocks: true,
7
- setupFiles: ['./src/testing/setup.ts'],
8
- },
9
- resolve: {
10
- alias: {
11
- '@': resolve(__dirname, './src'),
12
- },
13
- },
14
- });
File without changes