@aerogel/cli 0.0.0 → 0.1.0
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/bin/gel +4 -0
- package/dist/aerogel-cli.d.ts +2 -2
- package/dist/aerogel-cli.js +790 -0
- package/dist/aerogel-cli.js.map +1 -0
- package/package.json +28 -33
- package/src/cli.ts +28 -6
- package/src/commands/Command.ts +14 -9
- package/src/commands/create.test.ts +4 -9
- package/src/commands/create.ts +40 -26
- package/src/commands/generate-component.test.ts +5 -7
- package/src/commands/generate-component.ts +114 -37
- package/src/commands/generate-model.test.ts +17 -6
- package/src/commands/generate-model.ts +47 -22
- package/src/commands/generate-service.test.ts +21 -0
- package/src/commands/generate-service.ts +151 -0
- package/src/commands/info.ts +15 -0
- package/src/commands/install.test.ts +90 -0
- package/src/commands/install.ts +47 -0
- package/src/lib/App.ts +76 -12
- package/src/lib/Editor.ts +57 -0
- package/src/lib/File.mock.ts +13 -11
- package/src/lib/File.ts +43 -3
- package/src/lib/Log.mock.ts +11 -6
- package/src/lib/Log.test.ts +22 -6
- package/src/lib/Log.ts +43 -27
- package/src/lib/Shell.mock.ts +7 -3
- package/src/lib/Shell.ts +2 -2
- package/src/lib/Template.ts +27 -19
- package/src/lib/utils/app.ts +15 -0
- package/src/lib/utils/edit.ts +44 -0
- package/src/lib/utils/paths.ts +46 -0
- package/src/plugins/LocalFirst.ts +9 -0
- package/src/plugins/Plugin.ts +176 -0
- package/src/plugins/Solid.ts +72 -0
- package/src/plugins/Soukai.ts +20 -0
- package/src/testing/setup.ts +62 -25
- package/src/utils/package.ts +23 -0
- package/templates/app/README.md +3 -0
- package/templates/service/[service.name].ts +8 -0
- package/.eslintrc.js +0 -7
- package/bin/ag +0 -4
- package/dist/aerogel-cli.cjs.js +0 -2
- package/dist/aerogel-cli.cjs.js.map +0 -1
- package/dist/aerogel-cli.esm.js +0 -2
- package/dist/aerogel-cli.esm.js.map +0 -1
- package/noeldemartin.config.js +0 -4
- package/src/lib/utils.test.ts +0 -33
- package/src/lib/utils.ts +0 -44
- package/templates/app/.github/workflows/ci.yml +0 -17
- package/templates/app/.nvmrc +0 -1
- package/templates/app/cypress/e2e/app.cy.ts +0 -9
- package/templates/app/cypress/support/e2e.ts +0 -3
- package/templates/app/cypress/tsconfig.json +0 -12
- package/templates/app/cypress.config.ts +0 -8
- package/templates/app/index.html +0 -12
- package/templates/app/package.json +0 -44
- package/templates/app/postcss.config.js +0 -6
- package/templates/app/src/App.vue +0 -10
- package/templates/app/src/assets/styles.css +0 -3
- package/templates/app/src/lang/en.yaml +0 -3
- package/templates/app/src/main.test.ts +0 -9
- package/templates/app/src/main.ts +0 -9
- package/templates/app/src/types/globals.d.ts +0 -3
- package/templates/app/src/types/shims.d.ts +0 -7
- package/templates/app/src/types/ts-reset.d.ts +0 -1
- package/templates/app/tailwind.config.js +0 -5
- package/templates/app/tsconfig.json +0 -18
- package/templates/app/vite.config.ts +0 -21
- package/templates/component-story/[component.name].story.vue +0 -7
- package/tsconfig.json +0 -11
- package/vite.config.ts +0 -14
- /package/src/{main.ts → index.ts} +0 -0
package/bin/gel
ADDED
package/dist/aerogel-cli.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Constructor } from '@noeldemartin/utils';
|
|
2
1
|
import { Facade } from '@noeldemartin/utils';
|
|
3
2
|
|
|
4
|
-
export declare const CLI: Facade<CLIService
|
|
3
|
+
export declare const CLI: Facade<CLIService>;
|
|
5
4
|
|
|
6
5
|
declare class CLIService {
|
|
7
6
|
run(argv?: string[]): void;
|
|
7
|
+
getVersion(): string;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
export { }
|