@teispace/next-maker 1.13.1 → 1.15.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/CHANGELOG.md +19 -0
- package/LICENSE +21 -0
- package/README.md +149 -40
- package/dist/index.js +574 -339
- package/dist/index.js.map +4 -4
- package/dist/src/commands/app.d.ts +1 -1
- package/dist/src/commands/app.d.ts.map +1 -1
- package/dist/src/commands/component.d.ts +1 -1
- package/dist/src/commands/component.d.ts.map +1 -1
- package/dist/src/commands/feature.d.ts +1 -1
- package/dist/src/commands/feature.d.ts.map +1 -1
- package/dist/src/commands/hook.d.ts +1 -1
- package/dist/src/commands/hook.d.ts.map +1 -1
- package/dist/src/commands/index.d.ts +1 -1
- package/dist/src/commands/index.d.ts.map +1 -1
- package/dist/src/commands/locale.d.ts +1 -1
- package/dist/src/commands/locale.d.ts.map +1 -1
- package/dist/src/commands/page.d.ts +1 -1
- package/dist/src/commands/page.d.ts.map +1 -1
- package/dist/src/commands/service.d.ts +1 -1
- package/dist/src/commands/service.d.ts.map +1 -1
- package/dist/src/commands/setup.d.ts +1 -1
- package/dist/src/commands/setup.d.ts.map +1 -1
- package/dist/src/commands/slice.d.ts +1 -1
- package/dist/src/commands/slice.d.ts.map +1 -1
- package/dist/src/commands/test.d.ts +3 -0
- package/dist/src/commands/test.d.ts.map +1 -0
- package/dist/src/config/index.d.ts +1 -1
- package/dist/src/config/index.d.ts.map +1 -1
- package/dist/src/config/packages.d.ts +11 -1
- package/dist/src/config/packages.d.ts.map +1 -1
- package/dist/src/config/paths.d.ts +5 -2
- package/dist/src/config/paths.d.ts.map +1 -1
- package/dist/src/config/spinner.d.ts +1 -1
- package/dist/src/config/spinner.d.ts.map +1 -1
- package/dist/src/core/package-manager.d.ts +2 -0
- package/dist/src/core/package-manager.d.ts.map +1 -1
- package/dist/src/detection/index.d.ts +2 -2
- package/dist/src/detection/index.d.ts.map +1 -1
- package/dist/src/detection/project.detector.d.ts +1 -0
- package/dist/src/detection/project.detector.d.ts.map +1 -1
- package/dist/src/generators/index.d.ts +12 -10
- package/dist/src/generators/index.d.ts.map +1 -1
- package/dist/src/generators/templates/test.template.d.ts +27 -0
- package/dist/src/generators/templates/test.template.d.ts.map +1 -0
- package/dist/src/generators/test.generator.d.ts +19 -0
- package/dist/src/generators/test.generator.d.ts.map +1 -0
- package/dist/src/modifiers/index.d.ts +3 -3
- package/dist/src/modifiers/index.d.ts.map +1 -1
- package/dist/src/pipelines/feature.pipeline.d.ts.map +1 -1
- package/dist/src/pipelines/index.d.ts +5 -5
- package/dist/src/pipelines/index.d.ts.map +1 -1
- package/dist/src/prompts/component.prompt.d.ts.map +1 -1
- package/dist/src/prompts/create-app.prompt.d.ts +4 -1
- package/dist/src/prompts/create-app.prompt.d.ts.map +1 -1
- package/dist/src/prompts/feature.prompt.d.ts.map +1 -1
- package/dist/src/prompts/hook.prompt.d.ts.map +1 -1
- package/dist/src/prompts/locale.prompt.d.ts.map +1 -1
- package/dist/src/prompts/page.prompt.d.ts.map +1 -1
- package/dist/src/prompts/slice.prompt.d.ts.map +1 -1
- package/dist/src/services/common/test-utils.d.ts +12 -0
- package/dist/src/services/common/test-utils.d.ts.map +1 -0
- package/dist/src/services/init/cleanup/bundle-analyzer.cleanup.d.ts +3 -0
- package/dist/src/services/init/cleanup/bundle-analyzer.cleanup.d.ts.map +1 -0
- package/dist/src/services/init/cleanup/http.cleanup.d.ts.map +1 -1
- package/dist/src/services/init/cleanup/i18n.cleanup.d.ts.map +1 -1
- package/dist/src/services/init/cleanup/index.d.ts.map +1 -1
- package/dist/src/services/init/cleanup/react-compiler.cleanup.d.ts +3 -0
- package/dist/src/services/init/cleanup/react-compiler.cleanup.d.ts.map +1 -0
- package/dist/src/services/init/cleanup/redux.cleanup.d.ts.map +1 -1
- package/dist/src/services/init/cleanup/tests.cleanup.d.ts +3 -0
- package/dist/src/services/init/cleanup/tests.cleanup.d.ts.map +1 -0
- package/dist/src/services/init/config.service.d.ts +1 -1
- package/dist/src/services/init/config.service.d.ts.map +1 -1
- package/dist/src/services/init/devtools.service.d.ts +1 -1
- package/dist/src/services/init/devtools.service.d.ts.map +1 -1
- package/dist/src/services/init/providers.service.d.ts +1 -1
- package/dist/src/services/init/providers.service.d.ts.map +1 -1
- package/dist/src/services/setup/bundle-analyzer/index.d.ts +2 -0
- package/dist/src/services/setup/bundle-analyzer/index.d.ts.map +1 -0
- package/dist/src/services/setup/dark-theme/assets.d.ts +1 -1
- package/dist/src/services/setup/dark-theme/assets.d.ts.map +1 -1
- package/dist/src/services/setup/dark-theme/checks.d.ts.map +1 -1
- package/dist/src/services/setup/dark-theme/injectors.d.ts.map +1 -1
- package/dist/src/services/setup/http-client/assets.d.ts +1 -1
- package/dist/src/services/setup/http-client/assets.d.ts.map +1 -1
- package/dist/src/services/setup/i18n/assets.d.ts +1 -1
- package/dist/src/services/setup/i18n/assets.d.ts.map +1 -1
- package/dist/src/services/setup/i18n/checks.d.ts.map +1 -1
- package/dist/src/services/setup/i18n/index.d.ts.map +1 -1
- package/dist/src/services/setup/i18n/injectors.d.ts.map +1 -1
- package/dist/src/services/setup/react-compiler/index.d.ts +2 -0
- package/dist/src/services/setup/react-compiler/index.d.ts.map +1 -0
- package/dist/src/services/setup/redux/assets.d.ts +1 -1
- package/dist/src/services/setup/redux/assets.d.ts.map +1 -1
- package/dist/src/services/setup/redux/index.d.ts.map +1 -1
- package/dist/src/services/setup/redux/injectors.d.ts +1 -1
- package/dist/src/services/setup/redux/injectors.d.ts.map +1 -1
- package/dist/src/services/setup/tests/index.d.ts +2 -0
- package/dist/src/services/setup/tests/index.d.ts.map +1 -0
- package/package.json +4 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../../../src/commands/app.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../../../src/commands/app.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAczC,eAAO,MAAM,kBAAkB,GAAI,SAAS,OAAO,SAQlD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.d.ts","sourceRoot":"","sources":["../../../src/commands/component.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"component.d.ts","sourceRoot":"","sources":["../../../src/commands/component.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAgBzC,eAAO,MAAM,wBAAwB,GAAI,SAAS,OAAO,SA+FxD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feature.d.ts","sourceRoot":"","sources":["../../../src/commands/feature.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"feature.d.ts","sourceRoot":"","sources":["../../../src/commands/feature.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAezC,eAAO,MAAM,sBAAsB,GAAI,SAAS,OAAO,SAoEtD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hook.d.ts","sourceRoot":"","sources":["../../../src/commands/hook.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"hook.d.ts","sourceRoot":"","sources":["../../../src/commands/hook.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAezC,eAAO,MAAM,mBAAmB,GAAI,SAAS,OAAO,SAmEnD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commands/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commands/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAYzC,eAAO,MAAM,gBAAgB,GAAI,SAAS,OAAO,SAWhD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"locale.d.ts","sourceRoot":"","sources":["../../../src/commands/locale.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"locale.d.ts","sourceRoot":"","sources":["../../../src/commands/locale.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAYzC,eAAO,MAAM,qBAAqB,GAAI,SAAS,OAAO,SAsErD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"page.d.ts","sourceRoot":"","sources":["../../../src/commands/page.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"page.d.ts","sourceRoot":"","sources":["../../../src/commands/page.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAezC,eAAO,MAAM,mBAAmB,GAAI,SAAS,OAAO,SAqFnD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../../src/commands/service.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../../src/commands/service.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAgBzC,eAAO,MAAM,sBAAsB,GAAI,SAAS,OAAO,SAkGtD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setup.d.ts","sourceRoot":"","sources":["../../../src/commands/setup.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"setup.d.ts","sourceRoot":"","sources":["../../../src/commands/setup.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAwBzC,eAAO,MAAM,oBAAoB,GAAI,SAAS,OAAO,SAiFpD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slice.d.ts","sourceRoot":"","sources":["../../../src/commands/slice.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"slice.d.ts","sourceRoot":"","sources":["../../../src/commands/slice.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAiBzC,eAAO,MAAM,oBAAoB,GAAI,SAAS,OAAO,SA0FpD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"test.d.ts","sourceRoot":"","sources":["../../../src/commands/test.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAazC,eAAO,MAAM,mBAAmB,GAAI,SAAS,OAAO,SAsEnD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/config/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/config/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AAIxB,eAAO,MAAM,OAAO,mBAAQ,CAAC"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
export declare const PACKAGES: {
|
|
2
2
|
readonly REDUX_TOOLKIT: "@reduxjs/toolkit";
|
|
3
3
|
readonly REACT_REDUX: "react-redux";
|
|
4
|
+
readonly REDUX: "redux";
|
|
4
5
|
readonly REDUX_PERSIST: "redux-persist";
|
|
5
6
|
readonly REACT_SECURE_STORAGE: "react-secure-storage";
|
|
6
7
|
readonly NEXT_INTL: "next-intl";
|
|
7
|
-
readonly NEXT_THEMES: "next-themes";
|
|
8
|
+
readonly NEXT_THEMES: "@teispace/next-themes";
|
|
8
9
|
readonly AXIOS: "axios";
|
|
9
10
|
readonly HUSKY: "husky";
|
|
10
11
|
readonly COMMITLINT_CLI: "@commitlint/cli";
|
|
@@ -12,5 +13,14 @@ export declare const PACKAGES: {
|
|
|
12
13
|
readonly LINT_STAGED: "lint-staged";
|
|
13
14
|
readonly COMMITIZEN: "commitizen";
|
|
14
15
|
readonly CZ_CONVENTIONAL_CHANGELOG: "cz-conventional-changelog";
|
|
16
|
+
readonly VITEST: "vitest";
|
|
17
|
+
readonly JSDOM: "jsdom";
|
|
18
|
+
readonly VITE_PLUGIN_REACT: "@vitejs/plugin-react";
|
|
19
|
+
readonly TESTING_LIBRARY_DOM: "@testing-library/dom";
|
|
20
|
+
readonly TESTING_LIBRARY_JEST_DOM: "@testing-library/jest-dom";
|
|
21
|
+
readonly TESTING_LIBRARY_REACT: "@testing-library/react";
|
|
22
|
+
readonly TESTING_LIBRARY_USER_EVENT: "@testing-library/user-event";
|
|
23
|
+
readonly REACT_COMPILER_BABEL: "babel-plugin-react-compiler";
|
|
24
|
+
readonly NEXT_BUNDLE_ANALYZER: "@next/bundle-analyzer";
|
|
15
25
|
};
|
|
16
26
|
//# sourceMappingURL=packages.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"packages.d.ts","sourceRoot":"","sources":["../../../src/config/packages.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"packages.d.ts","sourceRoot":"","sources":["../../../src/config/packages.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;CA+BX,CAAC"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
export declare const PROJECT_PATHS: {
|
|
2
2
|
readonly NEXT_CONFIG: "next.config.ts";
|
|
3
|
-
readonly TAILWIND_CONFIG: "tailwind.config.ts";
|
|
4
3
|
readonly POSTCSS_CONFIG: "postcss.config.mjs";
|
|
5
|
-
readonly
|
|
4
|
+
readonly BIOME_CONFIG: "biome.json";
|
|
5
|
+
readonly VITEST_CONFIG: "vitest.config.ts";
|
|
6
|
+
readonly TEST_DIR: "test";
|
|
6
7
|
readonly TS_CONFIG: "tsconfig.json";
|
|
7
8
|
readonly PACKAGE_JSON: "package.json";
|
|
8
9
|
readonly ENV_EXAMPLE: ".env.example";
|
|
@@ -12,6 +13,8 @@ export declare const PROJECT_PATHS: {
|
|
|
12
13
|
readonly CHANGELOG: "CHANGELOG.md";
|
|
13
14
|
readonly NVM_RC: ".nvmrc";
|
|
14
15
|
readonly NPM_RC: ".npmrc";
|
|
16
|
+
readonly AGENTS_MD: "AGENTS.md";
|
|
17
|
+
readonly CLAUDE_MD: "CLAUDE.md";
|
|
15
18
|
readonly SRC: "src";
|
|
16
19
|
readonly APP: "src/app";
|
|
17
20
|
readonly COMPONENTS: "src/components";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"paths.d.ts","sourceRoot":"","sources":["../../../src/config/paths.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"paths.d.ts","sourceRoot":"","sources":["../../../src/config/paths.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+FhB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { type Options, type Ora } from 'ora';
|
|
2
2
|
export declare function startSpinner(text?: string, options?: Options): Ora;
|
|
3
3
|
export declare function stopSpinner(spinner: Ora): void;
|
|
4
4
|
export declare function succeedSpinner(spinner: Ora, text?: string): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spinner.d.ts","sourceRoot":"","sources":["../../../src/config/spinner.ts"],"names":[],"mappings":"AAAA,OAAY,EAAE,
|
|
1
|
+
{"version":3,"file":"spinner.d.ts","sourceRoot":"","sources":["../../../src/config/spinner.ts"],"names":[],"mappings":"AAAA,OAAY,EAAE,KAAK,OAAO,EAAE,KAAK,GAAG,EAAE,MAAM,KAAK,CAAC;AAGlD,wBAAgB,YAAY,CAAC,IAAI,SAAK,EAAE,OAAO,CAAC,EAAE,OAAO,GAAG,GAAG,CAI9D;AAGD,wBAAgB,WAAW,CAAC,OAAO,EAAE,GAAG,GAAG,IAAI,CAE9C;AAGD,wBAAgB,cAAc,CAAC,OAAO,EAAE,GAAG,EAAE,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAEhE;AAGD,wBAAgB,WAAW,CAAC,OAAO,EAAE,GAAG,EAAE,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAE7D;AAGD,wBAAsB,WAAW,CAAC,CAAC,EACjC,IAAI,EAAE,MAAM,EACZ,EAAE,EAAE,MAAM,OAAO,CAAC,CAAC,CAAC,EACpB,EACE,WAAW,EACX,QAAQ,EACR,OAAO,GACR,GAAE;IAAE,WAAW,CAAC,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,OAAO,CAAA;CAAO,GACrE,OAAO,CAAC,CAAC,CAAC,CAUZ;AAED,eAAe,YAAY,CAAC"}
|
|
@@ -5,6 +5,8 @@ export declare const getPackageManager: () => PackageManager;
|
|
|
5
5
|
export declare const detectPackageManager: (cwd: string) => Promise<PackageManager>;
|
|
6
6
|
export declare const installPackages: (cwd: string, manager: PackageManager, packages: string[]) => Promise<void>;
|
|
7
7
|
export declare const installPackage: (cwd: string, packageName: string) => Promise<void>;
|
|
8
|
+
export declare const installDevPackages: (cwd: string, manager: PackageManager, packages: string[]) => Promise<void>;
|
|
9
|
+
export declare const installDevPackage: (cwd: string, packageName: string) => Promise<void>;
|
|
8
10
|
export declare const uninstallPackages: (cwd: string, manager: PackageManager, packages: string[]) => Promise<void>;
|
|
9
11
|
export declare const uninstallPackage: (cwd: string, packageName: string) => Promise<void>;
|
|
10
12
|
//# sourceMappingURL=package-manager.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"package-manager.d.ts","sourceRoot":"","sources":["../../../src/core/package-manager.ts"],"names":[],"mappings":"AAKA,MAAM,MAAM,cAAc,GAAG,KAAK,GAAG,MAAM,GAAG,MAAM,GAAG,KAAK,CAAC;AAE7D,eAAO,MAAM,mBAAmB,GAAU,KAAK,MAAM,EAAE,SAAS,cAAc,KAAG,OAAO,CAAC,IAAI,CAO5F,CAAC;AAEF,eAAO,MAAM,SAAS,GACpB,KAAK,MAAM,EACX,SAAS,cAAc,EACvB,QAAQ,MAAM,KACb,OAAO,CAAC,IAAI,CASd,CAAC;AAEF,eAAO,MAAM,iBAAiB,QAAO,cAQpC,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAU,KAAK,MAAM,KAAG,OAAO,CAAC,cAAc,CAY9E,CAAC;AAEF,eAAO,MAAM,eAAe,GAC1B,KAAK,MAAM,EACX,SAAS,cAAc,EACvB,UAAU,MAAM,EAAE,KACjB,OAAO,CAAC,IAAI,CAWd,CAAC;AAiBF,eAAO,MAAM,cAAc,GAAU,KAAK,MAAM,EAAE,aAAa,MAAM,KAAG,OAAO,CAAC,IAAI,CAGnF,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAC5B,KAAK,MAAM,EACX,SAAS,cAAc,EACvB,UAAU,MAAM,EAAE,KACjB,OAAO,CAAC,IAAI,CAWd,CAAC;AAiBF,eAAO,MAAM,gBAAgB,GAAU,KAAK,MAAM,EAAE,aAAa,MAAM,KAAG,OAAO,CAAC,IAAI,CAGrF,CAAC"}
|
|
1
|
+
{"version":3,"file":"package-manager.d.ts","sourceRoot":"","sources":["../../../src/core/package-manager.ts"],"names":[],"mappings":"AAKA,MAAM,MAAM,cAAc,GAAG,KAAK,GAAG,MAAM,GAAG,MAAM,GAAG,KAAK,CAAC;AAE7D,eAAO,MAAM,mBAAmB,GAAU,KAAK,MAAM,EAAE,SAAS,cAAc,KAAG,OAAO,CAAC,IAAI,CAO5F,CAAC;AAEF,eAAO,MAAM,SAAS,GACpB,KAAK,MAAM,EACX,SAAS,cAAc,EACvB,QAAQ,MAAM,KACb,OAAO,CAAC,IAAI,CASd,CAAC;AAEF,eAAO,MAAM,iBAAiB,QAAO,cAQpC,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAU,KAAK,MAAM,KAAG,OAAO,CAAC,cAAc,CAY9E,CAAC;AAEF,eAAO,MAAM,eAAe,GAC1B,KAAK,MAAM,EACX,SAAS,cAAc,EACvB,UAAU,MAAM,EAAE,KACjB,OAAO,CAAC,IAAI,CAWd,CAAC;AAiBF,eAAO,MAAM,cAAc,GAAU,KAAK,MAAM,EAAE,aAAa,MAAM,KAAG,OAAO,CAAC,IAAI,CAGnF,CAAC;AAeF,eAAO,MAAM,kBAAkB,GAC7B,KAAK,MAAM,EACX,SAAS,cAAc,EACvB,UAAU,MAAM,EAAE,KACjB,OAAO,CAAC,IAAI,CAUd,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAU,KAAK,MAAM,EAAE,aAAa,MAAM,KAAG,OAAO,CAAC,IAAI,CAGtF,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAC5B,KAAK,MAAM,EACX,SAAS,cAAc,EACvB,UAAU,MAAM,EAAE,KACjB,OAAO,CAAC,IAAI,CAWd,CAAC;AAiBF,eAAO,MAAM,gBAAgB,GAAU,KAAK,MAAM,EAAE,aAAa,MAAM,KAAG,OAAO,CAAC,IAAI,CAGrF,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { detectProjectSetup } from './project.detector';
|
|
2
|
-
export type { ProjectDetection } from './project.detector';
|
|
3
1
|
export { directoryExists, fileExistsAt } from './existence.checker';
|
|
2
|
+
export type { ProjectDetection } from './project.detector';
|
|
3
|
+
export { detectProjectSetup } from './project.detector';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/detection/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/detection/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACpE,YAAY,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -2,6 +2,7 @@ export interface ProjectDetection {
|
|
|
2
2
|
hasRedux: boolean;
|
|
3
3
|
httpClient: 'axios' | 'fetch' | 'both' | 'none';
|
|
4
4
|
hasI18n: boolean;
|
|
5
|
+
hasTests: boolean;
|
|
5
6
|
}
|
|
6
7
|
export declare const detectProjectSetup: (projectPath: string) => Promise<ProjectDetection>;
|
|
7
8
|
//# sourceMappingURL=project.detector.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project.detector.d.ts","sourceRoot":"","sources":["../../../src/detection/project.detector.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,EAAE,OAAO,CAAC;IAClB,UAAU,EAAE,OAAO,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC;IAChD,OAAO,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"project.detector.d.ts","sourceRoot":"","sources":["../../../src/detection/project.detector.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,EAAE,OAAO,CAAC;IAClB,UAAU,EAAE,OAAO,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC;IAChD,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED,eAAO,MAAM,kBAAkB,GAAU,aAAa,MAAM,KAAG,OAAO,CAAC,gBAAgB,CA0DtF,CAAC"}
|
|
@@ -1,14 +1,16 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export { generateSlice } from './slice.generator';
|
|
3
|
-
export { generateService } from './service.generator';
|
|
4
|
-
export { generateCrudService } from './crud-service.generator';
|
|
5
|
-
export { generatePage } from './page.generator';
|
|
1
|
+
export type { ComponentGeneratorOptions } from './component.generator';
|
|
6
2
|
export { generateComponent } from './component.generator';
|
|
7
|
-
export {
|
|
3
|
+
export { generateCrudService } from './crud-service.generator';
|
|
4
|
+
export { generateFeature } from './feature.generator';
|
|
5
|
+
export type { HookGeneratorOptions } from './hook.generator';
|
|
8
6
|
export { generateHook } from './hook.generator';
|
|
9
|
-
export type { FeatureGeneratorOptions, SliceGeneratorOptions, ServiceGeneratorOptions, } from './types';
|
|
10
|
-
export type { PageGeneratorOptions } from './page.generator';
|
|
11
|
-
export type { ComponentGeneratorOptions } from './component.generator';
|
|
12
7
|
export type { LocaleGeneratorOptions } from './locale.generator';
|
|
13
|
-
export
|
|
8
|
+
export { generateLocale } from './locale.generator';
|
|
9
|
+
export type { PageGeneratorOptions } from './page.generator';
|
|
10
|
+
export { generatePage } from './page.generator';
|
|
11
|
+
export { generateService } from './service.generator';
|
|
12
|
+
export { generateSlice } from './slice.generator';
|
|
13
|
+
export type { GenerateTestOptions, TestKind } from './test.generator';
|
|
14
|
+
export { generateTest } from './test.generator';
|
|
15
|
+
export type { FeatureGeneratorOptions, ServiceGeneratorOptions, SliceGeneratorOptions, } from './types';
|
|
14
16
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/generators/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/generators/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAC;AACvE,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,YAAY,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAC7D,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,YAAY,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AACjE,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,YAAY,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAC7D,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,YAAY,EAAE,mBAAmB,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACtE,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,YAAY,EACV,uBAAuB,EACvB,uBAAuB,EACvB,qBAAqB,GACtB,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export type ComponentTestParams = {
|
|
2
|
+
componentName: string;
|
|
3
|
+
/** Import path from the test file to the component, without extension. */
|
|
4
|
+
sourceImportPath: string;
|
|
5
|
+
/** Import path from the test file to `test/test-utils`, without extension. */
|
|
6
|
+
testUtilsImportPath: string;
|
|
7
|
+
hasRedux: boolean;
|
|
8
|
+
hasI18n: boolean;
|
|
9
|
+
};
|
|
10
|
+
export declare const componentTestTemplate: (params: ComponentTestParams) => string;
|
|
11
|
+
export type HookTestParams = {
|
|
12
|
+
hookName: string;
|
|
13
|
+
sourceImportPath: string;
|
|
14
|
+
/** When the hook reads from the Redux store, wrap `renderHook` in TestProviders. */
|
|
15
|
+
withStore: boolean;
|
|
16
|
+
/** Only used when withStore is true. */
|
|
17
|
+
testUtilsImportPath?: string;
|
|
18
|
+
};
|
|
19
|
+
export declare const hookTestTemplate: (params: HookTestParams) => string;
|
|
20
|
+
export type SliceTestParams = {
|
|
21
|
+
/** e.g. `counter` */
|
|
22
|
+
camelName: string;
|
|
23
|
+
/** Import path from the test file to the `.slice` file, without extension. */
|
|
24
|
+
sourceImportPath: string;
|
|
25
|
+
};
|
|
26
|
+
export declare const sliceTestTemplate: (params: SliceTestParams) => string;
|
|
27
|
+
//# sourceMappingURL=test.template.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"test.template.d.ts","sourceRoot":"","sources":["../../../../src/generators/templates/test.template.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,mBAAmB,GAAG;IAChC,aAAa,EAAE,MAAM,CAAC;IACtB,0EAA0E;IAC1E,gBAAgB,EAAE,MAAM,CAAC;IACzB,8EAA8E;IAC9E,mBAAmB,EAAE,MAAM,CAAC;IAC5B,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,QAAQ,mBAAmB,KAAG,MAsBnE,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,QAAQ,EAAE,MAAM,CAAC;IACjB,gBAAgB,EAAE,MAAM,CAAC;IACzB,oFAAoF;IACpF,SAAS,EAAE,OAAO,CAAC;IACnB,wCAAwC;IACxC,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,QAAQ,cAAc,KAAG,MA6BzD,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,qBAAqB;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,8EAA8E;IAC9E,gBAAgB,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,QAAQ,eAAe,KAAG,MA8B3D,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export type TestKind = 'component' | 'hook' | 'slice';
|
|
2
|
+
export type GenerateTestOptions = {
|
|
3
|
+
projectPath: string;
|
|
4
|
+
/** Absolute path to the source file being tested. */
|
|
5
|
+
sourceFile: string;
|
|
6
|
+
kind: TestKind;
|
|
7
|
+
/** Component/hook/slice identifier (e.g. "Counter", "useCounter", "counter"). */
|
|
8
|
+
symbolName: string;
|
|
9
|
+
hasRedux?: boolean;
|
|
10
|
+
hasI18n?: boolean;
|
|
11
|
+
/** Whether the hook uses the Redux store (only relevant for `kind === 'hook'`). */
|
|
12
|
+
hookUsesStore?: boolean;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* Emit a sibling *.test.{ts,tsx} next to the source file. Returns the path
|
|
16
|
+
* that was written.
|
|
17
|
+
*/
|
|
18
|
+
export declare const generateTest: (options: GenerateTestOptions) => Promise<string>;
|
|
19
|
+
//# sourceMappingURL=test.generator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"test.generator.d.ts","sourceRoot":"","sources":["../../../src/generators/test.generator.ts"],"names":[],"mappings":"AAQA,MAAM,MAAM,QAAQ,GAAG,WAAW,GAAG,MAAM,GAAG,OAAO,CAAC;AAEtD,MAAM,MAAM,mBAAmB,GAAG;IAChC,WAAW,EAAE,MAAM,CAAC;IACpB,qDAAqD;IACrD,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,QAAQ,CAAC;IACf,iFAAiF;IACjF,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,mFAAmF;IACnF,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,YAAY,GAAU,SAAS,mBAAmB,KAAG,OAAO,CAAC,MAAM,CAmC/E,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { registerInRootReducer } from './root-reducer.modifier';
|
|
2
1
|
export { registerApiEndpoints } from './api-registration.modifier';
|
|
3
2
|
export { registerAppPath } from './app-paths.modifier';
|
|
3
|
+
export { addImportStatement, addToAppApis, addToCombineReducers } from './helpers';
|
|
4
|
+
export { registerInRootReducer } from './root-reducer.modifier';
|
|
4
5
|
export { addTranslationNamespace } from './translation.modifier';
|
|
5
|
-
export {
|
|
6
|
-
export type { RegisterReducerOptions, RegisterApiOptions } from './types';
|
|
6
|
+
export type { RegisterApiOptions, RegisterReducerOptions } from './types';
|
|
7
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/modifiers/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/modifiers/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,kBAAkB,EAAE,YAAY,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AACnF,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AACjE,YAAY,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feature.pipeline.d.ts","sourceRoot":"","sources":["../../../src/pipelines/feature.pipeline.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"feature.pipeline.d.ts","sourceRoot":"","sources":["../../../src/pipelines/feature.pipeline.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAIrD,OAAO,KAAK,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAE7D,MAAM,WAAW,sBAAuB,SAAQ,eAAe;IAC7D,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,OAAO,CAAC;IACrB,YAAY,EAAE,OAAO,CAAC;IACtB,aAAa,EAAE,OAAO,CAAC;IACvB,UAAU,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;IAC/B,SAAS,EAAE,gBAAgB,CAAC;CAC7B;AAED,eAAO,MAAM,0BAA0B,QAAO,YAAY,CAAC,sBAAsB,CAAC,EA8CjF,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export type { FeaturePipelineContext } from './feature.pipeline';
|
|
2
2
|
export { createFeaturePipelineSteps } from './feature.pipeline';
|
|
3
|
-
export {
|
|
3
|
+
export { executePipeline } from './runner';
|
|
4
|
+
export type { ServicePipelineContext } from './service.pipeline';
|
|
4
5
|
export { createServicePipelineSteps } from './service.pipeline';
|
|
5
|
-
export type { PipelineContext, PipelineStep } from './types';
|
|
6
|
-
export type { FeaturePipelineContext } from './feature.pipeline';
|
|
7
6
|
export type { SlicePipelineContext } from './slice.pipeline';
|
|
8
|
-
export
|
|
7
|
+
export { createSlicePipelineSteps } from './slice.pipeline';
|
|
8
|
+
export type { PipelineContext, PipelineStep } from './types';
|
|
9
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/pipelines/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/pipelines/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AACjE,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAC3C,YAAY,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AACjE,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,YAAY,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAC7D,OAAO,EAAE,wBAAwB,EAAE,MAAM,kBAAkB,CAAC;AAC5D,YAAY,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.prompt.d.ts","sourceRoot":"","sources":["../../../src/prompts/component.prompt.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"component.prompt.d.ts","sourceRoot":"","sources":["../../../src/prompts/component.prompt.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,qBAAqB;IACpC,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED,eAAO,MAAM,yBAAyB,GAAU,OAAO,MAAM,KAAG,OAAO,CAAC,qBAAqB,CA+B5F,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PackageManager } from '../core/package-manager';
|
|
1
|
+
import type { PackageManager } from '../core/package-manager';
|
|
2
2
|
export interface ProjectPrompts {
|
|
3
3
|
projectName: string;
|
|
4
4
|
description: string;
|
|
@@ -27,6 +27,9 @@ export interface ProjectPrompts {
|
|
|
27
27
|
preCommitHooks: boolean;
|
|
28
28
|
commitizen: boolean;
|
|
29
29
|
copyEnv: boolean;
|
|
30
|
+
tests: boolean;
|
|
31
|
+
reactCompiler: boolean;
|
|
32
|
+
bundleAnalyzer: boolean;
|
|
30
33
|
}
|
|
31
34
|
export declare const promptForProjectDetails: (initialName?: string) => Promise<ProjectPrompts>;
|
|
32
35
|
//# sourceMappingURL=create-app.prompt.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-app.prompt.d.ts","sourceRoot":"","sources":["../../../src/prompts/create-app.prompt.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"create-app.prompt.d.ts","sourceRoot":"","sources":["../../../src/prompts/create-app.prompt.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAS9D,MAAM,WAAW,cAAc;IAC7B,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,EAAE,cAAc,CAAC;IAC/B,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,OAAO,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,OAAO,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC;IAChD,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,OAAO,CAAC;IACvB,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,EAAE,OAAO,CAAC;IACf,IAAI,EAAE,OAAO,CAAC;IACd,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB,MAAM,EAAE,OAAO,CAAC;IAChB,MAAM,EAAE,OAAO,CAAC;IAChB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,EAAE,EAAE,OAAO,CAAC;IACZ,cAAc,EAAE,OAAO,CAAC;IACxB,UAAU,EAAE,OAAO,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,OAAO,CAAC;IACf,aAAa,EAAE,OAAO,CAAC;IACvB,cAAc,EAAE,OAAO,CAAC;CACzB;AAED,eAAO,MAAM,uBAAuB,GAAU,cAAc,MAAM,KAAG,OAAO,CAAC,cAAc,CAwR1F,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feature.prompt.d.ts","sourceRoot":"","sources":["../../../src/prompts/feature.prompt.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"feature.prompt.d.ts","sourceRoot":"","sources":["../../../src/prompts/feature.prompt.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,cAAc;IAC7B,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,OAAO,CAAC;IAClB,WAAW,EAAE,OAAO,CAAC;IACrB,YAAY,EAAE,OAAO,CAAC;IACtB,UAAU,EAAE,OAAO,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC;IAChD,aAAa,EAAE,OAAO,CAAC;IACvB,kBAAkB,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;CACxC;AAED,eAAO,MAAM,uBAAuB,GAClC,cAAc,MAAM,EACpB,WAAW,OAAO,EAClB,aAAa,OAAO,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,EAChD,YAAY,OAAO,EACnB,cAAc,SAAS,GAAG,YAAY,EACtC,cAAc,OAAO,EACrB,gBAAgB,OAAO,GAAG,OAAO,KAChC,OAAO,CAAC,cAAc,CAoGxB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hook.prompt.d.ts","sourceRoot":"","sources":["../../../src/prompts/hook.prompt.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"hook.prompt.d.ts","sourceRoot":"","sources":["../../../src/prompts/hook.prompt.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,oBAAoB,GAAU,OAAO,MAAM,KAAG,OAAO,CAAC,gBAAgB,CAiBlF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"locale.prompt.d.ts","sourceRoot":"","sources":["../../../src/prompts/locale.prompt.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"locale.prompt.d.ts","sourceRoot":"","sources":["../../../src/prompts/locale.prompt.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,gBAAgB,EAAE,OAAO,CAAC;CAC3B;AAED,eAAO,MAAM,sBAAsB,GAAU,OAAO,MAAM,KAAG,OAAO,CAAC,kBAAkB,CAsDtF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"page.prompt.d.ts","sourceRoot":"","sources":["../../../src/prompts/page.prompt.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"page.prompt.d.ts","sourceRoot":"","sources":["../../../src/prompts/page.prompt.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,OAAO,CAAC;IACrB,SAAS,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,oBAAoB,GAAU,OAAO,MAAM,KAAG,OAAO,CAAC,gBAAgB,CAwClF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slice.prompt.d.ts","sourceRoot":"","sources":["../../../src/prompts/slice.prompt.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"slice.prompt.d.ts","sourceRoot":"","sources":["../../../src/prompts/slice.prompt.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,YAAY;IAC3B,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,OAAO,CAAC;CACvB;AAED,eAAO,MAAM,qBAAqB,GAChC,YAAY,MAAM,EAClB,UAAU,OAAO,EACjB,YAAY,OAAO,KAClB,OAAO,CAAC,YAAY,CAwCtB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export type TestUtilsFeatures = {
|
|
2
|
+
redux: boolean;
|
|
3
|
+
i18n: boolean;
|
|
4
|
+
};
|
|
5
|
+
/**
|
|
6
|
+
* Emit `test/test-utils.tsx` tailored to the currently-enabled features.
|
|
7
|
+
* Selected between four pre-baked variants so the output stays readable and
|
|
8
|
+
* the cross-feature edge cases (redux-only / i18n-only / neither) produce
|
|
9
|
+
* a file that actually type-checks.
|
|
10
|
+
*/
|
|
11
|
+
export declare const writeTestUtils: (projectPath: string, features: TestUtilsFeatures) => Promise<void>;
|
|
12
|
+
//# sourceMappingURL=test-utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"test-utils.d.ts","sourceRoot":"","sources":["../../../../src/services/common/test-utils.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,iBAAiB,GAAG;IAC9B,KAAK,EAAE,OAAO,CAAC;IACf,IAAI,EAAE,OAAO,CAAC;CACf,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,cAAc,GACzB,aAAa,MAAM,EACnB,UAAU,iBAAiB,KAC1B,OAAO,CAAC,IAAI,CAGd,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-analyzer.cleanup.d.ts","sourceRoot":"","sources":["../../../../../src/services/init/cleanup/bundle-analyzer.cleanup.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAEzE,eAAO,MAAM,qBAAqB,GAChC,aAAa,MAAM,EACnB,SAAS,cAAc,KACtB,OAAO,CAAC,IAAI,CA4Bd,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"http.cleanup.d.ts","sourceRoot":"","sources":["../../../../../src/services/init/cleanup/http.cleanup.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"http.cleanup.d.ts","sourceRoot":"","sources":["../../../../../src/services/init/cleanup/http.cleanup.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAGzE,eAAO,MAAM,iBAAiB,GAC5B,aAAa,MAAM,EACnB,SAAS,cAAc,KACtB,OAAO,CAAC,IAAI,CAWd,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i18n.cleanup.d.ts","sourceRoot":"","sources":["../../../../../src/services/init/cleanup/i18n.cleanup.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAEzE,eAAO,MAAM,WAAW,GAAU,aAAa,MAAM,EAAE,SAAS,cAAc,KAAG,OAAO,CAAC,IAAI,
|
|
1
|
+
{"version":3,"file":"i18n.cleanup.d.ts","sourceRoot":"","sources":["../../../../../src/services/init/cleanup/i18n.cleanup.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAEzE,eAAO,MAAM,WAAW,GAAU,aAAa,MAAM,EAAE,SAAS,cAAc,KAAG,OAAO,CAAC,IAAI,CAQ5F,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/services/init/cleanup/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/services/init/cleanup/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAiBzE,eAAO,MAAM,eAAe,GAC1B,aAAa,MAAM,EACnB,SAAS,cAAc,KACtB,OAAO,CAAC,IAAI,CA4Bd,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"react-compiler.cleanup.d.ts","sourceRoot":"","sources":["../../../../../src/services/init/cleanup/react-compiler.cleanup.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAEzE,eAAO,MAAM,oBAAoB,GAC/B,aAAa,MAAM,EACnB,SAAS,cAAc,KACtB,OAAO,CAAC,IAAI,CAgBd,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"redux.cleanup.d.ts","sourceRoot":"","sources":["../../../../../src/services/init/cleanup/redux.cleanup.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAEzE,eAAO,MAAM,YAAY,GAAU,aAAa,MAAM,EAAE,SAAS,cAAc,KAAG,OAAO,CAAC,IAAI,
|
|
1
|
+
{"version":3,"file":"redux.cleanup.d.ts","sourceRoot":"","sources":["../../../../../src/services/init/cleanup/redux.cleanup.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAEzE,eAAO,MAAM,YAAY,GAAU,aAAa,MAAM,EAAE,SAAS,cAAc,KAAG,OAAO,CAAC,IAAI,CAW7F,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tests.cleanup.d.ts","sourceRoot":"","sources":["../../../../../src/services/init/cleanup/tests.cleanup.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAYzE,eAAO,MAAM,YAAY,GAAU,aAAa,MAAM,EAAE,SAAS,cAAc,KAAG,OAAO,CAAC,IAAI,CA0B7F,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ProjectPrompts } from '../../prompts/create-app.prompt';
|
|
1
|
+
import type { ProjectPrompts } from '../../prompts/create-app.prompt';
|
|
2
2
|
export declare const configurePackageJson: (projectPath: string, answers: ProjectPrompts) => Promise<void>;
|
|
3
3
|
//# sourceMappingURL=config.service.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.service.d.ts","sourceRoot":"","sources":["../../../../src/services/init/config.service.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"config.service.d.ts","sourceRoot":"","sources":["../../../../src/services/init/config.service.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAEtE,eAAO,MAAM,oBAAoB,GAC/B,aAAa,MAAM,EACnB,SAAS,cAAc,KACtB,OAAO,CAAC,IAAI,CAoFd,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ProjectPrompts } from '../../prompts/create-app.prompt';
|
|
1
|
+
import type { ProjectPrompts } from '../../prompts/create-app.prompt';
|
|
2
2
|
export declare const setupDevTools: (projectPath: string, answers: ProjectPrompts) => Promise<void>;
|
|
3
3
|
//# sourceMappingURL=devtools.service.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"devtools.service.d.ts","sourceRoot":"","sources":["../../../../src/services/init/devtools.service.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"devtools.service.d.ts","sourceRoot":"","sources":["../../../../src/services/init/devtools.service.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAEtE,eAAO,MAAM,aAAa,GACxB,aAAa,MAAM,EACnB,SAAS,cAAc,KACtB,OAAO,CAAC,IAAI,CAQd,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ProjectPrompts } from '../../prompts/create-app.prompt';
|
|
1
|
+
import type { ProjectPrompts } from '../../prompts/create-app.prompt';
|
|
2
2
|
export declare const generateRootProvider: (projectPath: string, answers: ProjectPrompts) => Promise<void>;
|
|
3
3
|
export declare const generateLayout: (projectPath: string, answers: ProjectPrompts) => Promise<void>;
|
|
4
4
|
//# sourceMappingURL=providers.service.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"providers.service.d.ts","sourceRoot":"","sources":["../../../../src/services/init/providers.service.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"providers.service.d.ts","sourceRoot":"","sources":["../../../../src/services/init/providers.service.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAEtE,eAAO,MAAM,oBAAoB,GAC/B,aAAa,MAAM,EACnB,SAAS,cAAc,KACtB,OAAO,CAAC,IAAI,CAiFd,CAAC;AAEF,eAAO,MAAM,cAAc,GACzB,aAAa,MAAM,EACnB,SAAS,cAAc,KACtB,OAAO,CAAC,IAAI,CAsDd,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/services/setup/bundle-analyzer/index.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,mBAAmB,GAAU,aAAa,MAAM,KAAG,OAAO,CAAC,IAAI,CA8C3E,CAAC"}
|