@vyriy/create 0.5.2

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 (55) hide show
  1. package/AGENTS.md +102 -0
  2. package/LICENSE +21 -0
  3. package/README.md +46 -0
  4. package/bin/vyriy-create.js +13 -0
  5. package/create.d.ts +2 -0
  6. package/create.js +130 -0
  7. package/index.d.ts +2 -0
  8. package/index.js +1 -0
  9. package/package.json +356 -0
  10. package/plan/index.d.ts +4 -0
  11. package/plan/index.js +3 -0
  12. package/plan/plan.d.ts +7 -0
  13. package/plan/plan.js +35 -0
  14. package/plan/question.d.ts +2 -0
  15. package/plan/question.js +25 -0
  16. package/plan/types.d.ts +12 -0
  17. package/preset/api.d.ts +2 -0
  18. package/preset/api.js +63 -0
  19. package/preset/base.d.ts +2 -0
  20. package/preset/base.js +159 -0
  21. package/preset/fullstack.d.ts +2 -0
  22. package/preset/fullstack.js +158 -0
  23. package/preset/gql.d.ts +2 -0
  24. package/preset/gql.js +744 -0
  25. package/preset/index.d.ts +52 -0
  26. package/preset/index.js +62 -0
  27. package/preset/library.d.ts +2 -0
  28. package/preset/library.js +247 -0
  29. package/preset/mfe.d.ts +2 -0
  30. package/preset/mfe.js +326 -0
  31. package/preset/rest.d.ts +2 -0
  32. package/preset/rest.js +242 -0
  33. package/preset/shared.d.ts +116 -0
  34. package/preset/shared.js +245 -0
  35. package/preset/spa.d.ts +2 -0
  36. package/preset/spa.js +132 -0
  37. package/preset/ssg.d.ts +2 -0
  38. package/preset/ssg.js +171 -0
  39. package/preset/ssr.d.ts +2 -0
  40. package/preset/ssr.js +179 -0
  41. package/preset/types.d.ts +9 -0
  42. package/prompt/conflict-strategy.d.ts +5 -0
  43. package/prompt/conflict-strategy.js +22 -0
  44. package/prompt/index.d.ts +6 -0
  45. package/prompt/index.js +5 -0
  46. package/prompt/preset.d.ts +4 -0
  47. package/prompt/preset.js +11 -0
  48. package/prompt/prompt.d.ts +2 -0
  49. package/prompt/prompt.js +4 -0
  50. package/prompt/resolve-option.d.ts +6 -0
  51. package/prompt/resolve-option.js +8 -0
  52. package/prompt/scope.d.ts +2 -0
  53. package/prompt/scope.js +2 -0
  54. package/prompt/types.d.ts +4 -0
  55. package/types.d.ts +9 -0
package/AGENTS.md ADDED
@@ -0,0 +1,102 @@
1
+ # Project Agent Guide
2
+
3
+ This repository follows a calm engineering style: changes should be explicit, reusable, typed, documented, tested, and easy to reason about.
4
+
5
+ Use this guide as the default behavior for AI agents and contributors working in this repository. Prefer local package conventions when they are more specific than this document.
6
+
7
+ ## Core Principles
8
+
9
+ - Prefer simple modules over clever frameworks or hidden conventions.
10
+ - Keep package and project boundaries explicit.
11
+ - Avoid project-specific coupling in reusable code.
12
+ - Extract only proven reusable behavior.
13
+ - Keep public APIs small, typed, documented, and stable.
14
+ - Prefer SSR-friendly and SSG-friendly code paths when working with frontend or shared code.
15
+ - Keep integrations replaceable and avoid hard coupling to a CMS, framework, vendor, or runtime host.
16
+ - Prefer infrastructure assumptions that are easy to deploy, observe, and replace.
17
+ - Prefer the option that is simpler to explain, easier to evolve, and calmer to maintain.
18
+
19
+ ## File Shape
20
+
21
+ - Prefer one exported runtime method, component, helper, or class per production file when it stays readable.
22
+ - Prefer one matching test file per production file, for example `feature.ts` and `feature.test.ts`.
23
+ - Use focused folders when behavior naturally splits into several related files.
24
+ - Keep `index.ts` as a public re-export surface only. Do not place implementation logic in it.
25
+ - Use relative import and export specifiers that match the package module style.
26
+ - Use `.js` relative specifiers in TypeScript source for ESM/NodeNext packages.
27
+ - Add `types.ts` when public shared types are part of the package contract.
28
+ - Keep constants near the code that owns them unless they are shared or clarify repeated behavior.
29
+
30
+ ## Public Surface
31
+
32
+ - Every new public export must be re-exported from the package or module public entry point.
33
+ - Add or update public-surface tests when exports change.
34
+ - Add JSDoc for public exports when behavior, parameters, return values, or usage expectations need explanation.
35
+ - Avoid exporting internal helpers only to make tests easier.
36
+ - Do not hand-maintain package `exports` maps unless the project has a real custom publishing need.
37
+
38
+ ## Tests
39
+
40
+ - Cover public behavior and meaningful edge cases.
41
+ - Prefer behavior-focused tests over private implementation lock-in.
42
+ - Keep tests deterministic.
43
+ - Avoid real network, filesystem, timers, browser, or cloud dependencies unless the behavior specifically requires them.
44
+ - When mocking modules, install mocks before loading the module under test.
45
+ - Use focused validation when changing behavior.
46
+
47
+ Example validation commands:
48
+
49
+ ```bash
50
+ yarn test
51
+ ```
52
+
53
+ For workspaces, prefer the project convention, for example:
54
+
55
+ ```bash
56
+ yarn workspace <package-name> test
57
+ ```
58
+
59
+ For Jest-based packages, focused validation may look like:
60
+
61
+ ```bash
62
+ yarn jest packages/<package> --runInBand --coverage=false
63
+ ```
64
+
65
+ ## Documentation
66
+
67
+ - Keep `README.md` concise and usage-oriented.
68
+ - Start package READMEs with `# <package>`.
69
+ - Document real public exports, supported options, and examples that actually work.
70
+ - Update docs when public behavior changes.
71
+ - Keep generated docs wrappers, such as `doc.mdx`, aligned with the README when the project uses them.
72
+ - For component packages, include visual documentation or stories for supported states and common usage.
73
+
74
+ ## Components
75
+
76
+ - Prefer lightweight React components with TypeScript when working in React packages.
77
+ - Keep components SSR-friendly and avoid browser globals during render.
78
+ - Prefer composable props and predictable ergonomics.
79
+ - Put each public component in its own file with a matching test.
80
+ - Add stories or examples when a component has visual states, variants, or interaction states.
81
+ - Keep styling explicit and reusable. Avoid hidden theme assumptions unless they are part of the package contract.
82
+
83
+ ## Change Discipline
84
+
85
+ - Keep changes scoped to the requested behavior.
86
+ - Avoid unrelated refactors and metadata churn.
87
+ - Sync implementation, tests, docs, examples, and public re-exports together.
88
+ - Do not introduce new dependencies unless they clearly reduce complexity or are already part of the project direction.
89
+ - Prefer small, reviewable changes over broad rewrites.
90
+ - Preserve existing conventions unless there is a clear reason to change them.
91
+
92
+ ## Before Finishing
93
+
94
+ Check that the change is complete:
95
+
96
+ - Public exports are updated.
97
+ - Public-surface tests are updated when exports change.
98
+ - Matching unit tests exist for new behavior.
99
+ - README examples still match the real API.
100
+ - Visual docs, stories, or examples are updated for visible component behavior.
101
+ - TypeScript imports follow the package module style.
102
+ - No unrelated files, formatting churn, or generated artifacts were changed.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Vyriy contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,46 @@
1
+ # @vyriy/create
2
+
3
+ Vyriy project creation CLI and programmatic scaffold API.
4
+
5
+ ## CLI
6
+
7
+ Install globally:
8
+
9
+ ```bash
10
+ npm install --global @vyriy/create
11
+ ```
12
+
13
+ Run the project creator:
14
+
15
+ ```bash
16
+ vyriy-create app
17
+ vyriy-create app --dry-run
18
+ vyriy-create . --overwrite
19
+ vyriy-create app --no-install
20
+ vyriy-create app --no-verify
21
+ ```
22
+
23
+ ## API
24
+
25
+ Install as a project dependency:
26
+
27
+ ```bash
28
+ npm install @vyriy/create
29
+ ```
30
+
31
+ Use the creator from code:
32
+
33
+ ```ts
34
+ import { create } from '@vyriy/create';
35
+
36
+ const code = await create({
37
+ directory: 'app',
38
+ dryRun: false,
39
+ overwrite: false,
40
+ skipExisting: false,
41
+ install: true,
42
+ verify: true,
43
+ });
44
+ ```
45
+
46
+ `create(options)` creates a Vyriy project from the configured starter options and returns a process-style exit code.
@@ -0,0 +1,13 @@
1
+ #!/usr/bin/env node
2
+ import { create } from '../index.js';
3
+ const args = process.argv.slice(2);
4
+ const directory = args.find((arg) => !arg.startsWith('-')) ?? '';
5
+ const install = !args.includes('--no-install');
6
+ process.exitCode = await create({
7
+ directory,
8
+ dryRun: args.includes('--dry-run'),
9
+ overwrite: args.includes('--overwrite'),
10
+ skipExisting: args.includes('--skip-existing'),
11
+ install,
12
+ verify: install && !args.includes('--no-verify'),
13
+ });
package/create.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ import type { Create } from './types.js';
2
+ export declare const create: Create;
package/create.js ADDED
@@ -0,0 +1,130 @@
1
+ import { cwd } from 'node:process';
2
+ import { basename, dirname, resolve } from 'node:path';
3
+ import { existsSync, mkdirSync, writeFileSync } from 'node:fs';
4
+ import { exec as processExec } from 'node:child_process';
5
+ import { promisify } from 'node:util';
6
+ import { checkEnv } from '@vyriy/check';
7
+ import { plan } from './plan/index.js';
8
+ import { conflictStrategy as promptConflictStrategy } from './prompt/index.js';
9
+ import { presets } from './preset/index.js';
10
+ const exec = promisify(processExec);
11
+ const isPresetName = (preset) => preset in presets;
12
+ const mergeFiles = (planOption) => {
13
+ if (!isPresetName(planOption.preset)) {
14
+ return undefined;
15
+ }
16
+ const preset = presets[planOption.preset].preset;
17
+ return preset(planOption);
18
+ };
19
+ const getSortedFileNames = (files) => Object.keys(files).sort((a, b) => a.localeCompare(b));
20
+ const logFilePlan = (target, files) => {
21
+ console.log(`\nFile plan (${target}):`);
22
+ console.log(' ', getSortedFileNames(files).join('\n '));
23
+ };
24
+ const getExistingFiles = (target, files) => {
25
+ const existingFiles = getSortedFileNames(files).filter((file) => existsSync(resolve(target, file)));
26
+ if (existingFiles.length) {
27
+ console.log('\nExisting files found:\n');
28
+ existingFiles.forEach((file) => console.log(' ', file));
29
+ }
30
+ return existingFiles;
31
+ };
32
+ const resolveConflictStrategy = async (filesExist, overwrite, skipExisting) => {
33
+ if (!filesExist || overwrite || skipExisting) {
34
+ return { overwrite, skipExisting };
35
+ }
36
+ const strategy = await promptConflictStrategy();
37
+ if (strategy) {
38
+ return strategy;
39
+ }
40
+ console.error('\nCannot continue without a conflict strategy.\n');
41
+ console.error('Use one of:\n\n vyriy create --overwrite\n vyriy create --skip-existing\n vyriy create --dry-run');
42
+ return undefined;
43
+ };
44
+ const writeFiles = (target, files, overwrite) => {
45
+ console.log(`\nFile creating (${target}):`);
46
+ getSortedFileNames(files).forEach((file) => {
47
+ if (!existsSync(resolve(target, file)) || overwrite) {
48
+ console.log(' ', file);
49
+ const filePath = resolve(target, file);
50
+ mkdirSync(dirname(filePath), { recursive: true });
51
+ writeFileSync(filePath, files[file]);
52
+ }
53
+ });
54
+ };
55
+ const verifyProject = async (target) => {
56
+ console.log('Running checks...');
57
+ try {
58
+ await exec(`yarn --cwd ${target} check`);
59
+ }
60
+ catch {
61
+ console.log('Running fixes...');
62
+ await exec(`yarn --cwd ${target} fix`);
63
+ console.log('Running checks...');
64
+ await exec(`yarn --cwd ${target} check`);
65
+ }
66
+ };
67
+ const installAndVerify = async (target, install, verify) => {
68
+ if (install) {
69
+ console.log('Installing dependencies...');
70
+ await exec(`yarn --cwd ${target} set version berry`);
71
+ await exec(`yarn --cwd ${target} install`);
72
+ }
73
+ else {
74
+ console.log('Installing dependencies... SKIPPED');
75
+ console.log('Running checks... SKIPPED');
76
+ console.log('\nProject files were created.');
77
+ return 0;
78
+ }
79
+ if (verify) {
80
+ await verifyProject(target);
81
+ }
82
+ else {
83
+ console.log('Running checks... SKIPPED');
84
+ console.log('\nProject files were created.');
85
+ return 0;
86
+ }
87
+ return 0;
88
+ };
89
+ export const create = async (options) => {
90
+ const { directory, dryRun, overwrite, skipExisting, install, verify } = options;
91
+ const checkEnvCode = await checkEnv();
92
+ if (checkEnvCode) {
93
+ return checkEnvCode;
94
+ }
95
+ const cliPath = cwd();
96
+ let dirName = 'app';
97
+ let appPath = resolve(cliPath, dirName);
98
+ if (directory) {
99
+ if (directory === '.') {
100
+ dirName = basename(cliPath);
101
+ appPath = cliPath;
102
+ }
103
+ else {
104
+ dirName = directory;
105
+ appPath = resolve(cwd(), dirName);
106
+ }
107
+ }
108
+ const planOption = await plan(dirName, appPath);
109
+ if (planOption) {
110
+ const { target } = planOption;
111
+ const files = mergeFiles(planOption);
112
+ if (!files) {
113
+ console.error(`Unknown preset: ${planOption.preset}`);
114
+ return 1;
115
+ }
116
+ if (dryRun) {
117
+ logFilePlan(target, files);
118
+ return 0;
119
+ }
120
+ console.log(`\nFile checking (${target})...`);
121
+ const existingFiles = getExistingFiles(target, files);
122
+ const conflictStrategy = await resolveConflictStrategy(Boolean(existingFiles.length), overwrite, skipExisting);
123
+ if (!conflictStrategy) {
124
+ return 1;
125
+ }
126
+ writeFiles(target, files, conflictStrategy.overwrite);
127
+ return installAndVerify(target, install, verify);
128
+ }
129
+ return 1;
130
+ };
package/index.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ export * from './create.js';
2
+ export type * from './types.js';
package/index.js ADDED
@@ -0,0 +1 @@
1
+ export * from './create.js';
package/package.json ADDED
@@ -0,0 +1,356 @@
1
+ {
2
+ "name": "@vyriy/create",
3
+ "version": "0.5.2",
4
+ "description": "Vyriy project creation CLI.",
5
+ "type": "module",
6
+ "engines": {
7
+ "node": ">=24.0.0"
8
+ },
9
+ "packageManager": "yarn@4.15.0",
10
+ "bin": "./bin/vyriy-create.js",
11
+ "dependencies": {
12
+ "@vyriy/check": "0.5.2"
13
+ },
14
+ "peerDependencies": {
15
+ "@testing-library/dom": "^10.4.1",
16
+ "@testing-library/react": "^16.3.2",
17
+ "@types/jest": "^30.0.0",
18
+ "@types/react": "^19.2.16",
19
+ "@types/react-dom": "^19.2.3",
20
+ "cross-env": "^10.1.0",
21
+ "eslint": "^10.4.1",
22
+ "graphql": "^16.14.1",
23
+ "husky": "^9.1.7",
24
+ "jest": "^30.4.2",
25
+ "npm-run-all2": "^9.0.1",
26
+ "prettier": "^3.8.3",
27
+ "react": "^19.2.7",
28
+ "react-dom": "^19.2.7",
29
+ "rimraf": "^6.1.3",
30
+ "sass": "^1.100.0",
31
+ "serve": "^14.2.6",
32
+ "storybook": "^10.4.2",
33
+ "stylelint": "^17.12.0",
34
+ "tsx": "^4.22.4",
35
+ "typescript": "^6.0.3",
36
+ "webpack": "^5.107.2",
37
+ "webpack-cli": "^7.0.3"
38
+ },
39
+ "peerDependenciesMeta": {
40
+ "@testing-library/dom": {
41
+ "optional": true
42
+ },
43
+ "@testing-library/react": {
44
+ "optional": true
45
+ },
46
+ "@types/jest": {
47
+ "optional": true
48
+ },
49
+ "@types/react": {
50
+ "optional": true
51
+ },
52
+ "@types/react-dom": {
53
+ "optional": true
54
+ },
55
+ "cross-env": {
56
+ "optional": true
57
+ },
58
+ "eslint": {
59
+ "optional": true
60
+ },
61
+ "graphql": {
62
+ "optional": true
63
+ },
64
+ "husky": {
65
+ "optional": true
66
+ },
67
+ "jest": {
68
+ "optional": true
69
+ },
70
+ "npm-run-all2": {
71
+ "optional": true
72
+ },
73
+ "prettier": {
74
+ "optional": true
75
+ },
76
+ "react": {
77
+ "optional": true
78
+ },
79
+ "react-dom": {
80
+ "optional": true
81
+ },
82
+ "rimraf": {
83
+ "optional": true
84
+ },
85
+ "sass": {
86
+ "optional": true
87
+ },
88
+ "serve": {
89
+ "optional": true
90
+ },
91
+ "storybook": {
92
+ "optional": true
93
+ },
94
+ "stylelint": {
95
+ "optional": true
96
+ },
97
+ "tsx": {
98
+ "optional": true
99
+ },
100
+ "typescript": {
101
+ "optional": true
102
+ },
103
+ "webpack": {
104
+ "optional": true
105
+ },
106
+ "webpack-cli": {
107
+ "optional": true
108
+ }
109
+ },
110
+ "agents": "./AGENTS.md",
111
+ "license": "MIT",
112
+ "repository": {
113
+ "type": "git",
114
+ "url": "https://github.com/evheniy/vyriy",
115
+ "directory": "packages/create"
116
+ },
117
+ "main": "./index.js",
118
+ "types": "./index.d.ts",
119
+ "exports": {
120
+ ".": {
121
+ "types": "./index.d.ts",
122
+ "import": "./index.js",
123
+ "default": "./index.js"
124
+ },
125
+ "./create": {
126
+ "types": "./create.d.ts",
127
+ "import": "./create.js",
128
+ "default": "./create.js"
129
+ },
130
+ "./create.js": {
131
+ "types": "./create.d.ts",
132
+ "import": "./create.js",
133
+ "default": "./create.js"
134
+ },
135
+ "./index": {
136
+ "types": "./index.d.ts",
137
+ "import": "./index.js",
138
+ "default": "./index.js"
139
+ },
140
+ "./index.js": {
141
+ "types": "./index.d.ts",
142
+ "import": "./index.js",
143
+ "default": "./index.js"
144
+ },
145
+ "./plan/index": {
146
+ "types": "./plan/index.d.ts",
147
+ "import": "./plan/index.js",
148
+ "default": "./plan/index.js"
149
+ },
150
+ "./plan/index.js": {
151
+ "types": "./plan/index.d.ts",
152
+ "import": "./plan/index.js",
153
+ "default": "./plan/index.js"
154
+ },
155
+ "./plan/plan": {
156
+ "types": "./plan/plan.d.ts",
157
+ "import": "./plan/plan.js",
158
+ "default": "./plan/plan.js"
159
+ },
160
+ "./plan/plan.js": {
161
+ "types": "./plan/plan.d.ts",
162
+ "import": "./plan/plan.js",
163
+ "default": "./plan/plan.js"
164
+ },
165
+ "./plan/question": {
166
+ "types": "./plan/question.d.ts",
167
+ "import": "./plan/question.js",
168
+ "default": "./plan/question.js"
169
+ },
170
+ "./plan/question.js": {
171
+ "types": "./plan/question.d.ts",
172
+ "import": "./plan/question.js",
173
+ "default": "./plan/question.js"
174
+ },
175
+ "./preset/api": {
176
+ "types": "./preset/api.d.ts",
177
+ "import": "./preset/api.js",
178
+ "default": "./preset/api.js"
179
+ },
180
+ "./preset/api.js": {
181
+ "types": "./preset/api.d.ts",
182
+ "import": "./preset/api.js",
183
+ "default": "./preset/api.js"
184
+ },
185
+ "./preset/base": {
186
+ "types": "./preset/base.d.ts",
187
+ "import": "./preset/base.js",
188
+ "default": "./preset/base.js"
189
+ },
190
+ "./preset/base.js": {
191
+ "types": "./preset/base.d.ts",
192
+ "import": "./preset/base.js",
193
+ "default": "./preset/base.js"
194
+ },
195
+ "./preset/fullstack": {
196
+ "types": "./preset/fullstack.d.ts",
197
+ "import": "./preset/fullstack.js",
198
+ "default": "./preset/fullstack.js"
199
+ },
200
+ "./preset/fullstack.js": {
201
+ "types": "./preset/fullstack.d.ts",
202
+ "import": "./preset/fullstack.js",
203
+ "default": "./preset/fullstack.js"
204
+ },
205
+ "./preset/gql": {
206
+ "types": "./preset/gql.d.ts",
207
+ "import": "./preset/gql.js",
208
+ "default": "./preset/gql.js"
209
+ },
210
+ "./preset/gql.js": {
211
+ "types": "./preset/gql.d.ts",
212
+ "import": "./preset/gql.js",
213
+ "default": "./preset/gql.js"
214
+ },
215
+ "./preset/index": {
216
+ "types": "./preset/index.d.ts",
217
+ "import": "./preset/index.js",
218
+ "default": "./preset/index.js"
219
+ },
220
+ "./preset/index.js": {
221
+ "types": "./preset/index.d.ts",
222
+ "import": "./preset/index.js",
223
+ "default": "./preset/index.js"
224
+ },
225
+ "./preset/library": {
226
+ "types": "./preset/library.d.ts",
227
+ "import": "./preset/library.js",
228
+ "default": "./preset/library.js"
229
+ },
230
+ "./preset/library.js": {
231
+ "types": "./preset/library.d.ts",
232
+ "import": "./preset/library.js",
233
+ "default": "./preset/library.js"
234
+ },
235
+ "./preset/mfe": {
236
+ "types": "./preset/mfe.d.ts",
237
+ "import": "./preset/mfe.js",
238
+ "default": "./preset/mfe.js"
239
+ },
240
+ "./preset/mfe.js": {
241
+ "types": "./preset/mfe.d.ts",
242
+ "import": "./preset/mfe.js",
243
+ "default": "./preset/mfe.js"
244
+ },
245
+ "./preset/rest": {
246
+ "types": "./preset/rest.d.ts",
247
+ "import": "./preset/rest.js",
248
+ "default": "./preset/rest.js"
249
+ },
250
+ "./preset/rest.js": {
251
+ "types": "./preset/rest.d.ts",
252
+ "import": "./preset/rest.js",
253
+ "default": "./preset/rest.js"
254
+ },
255
+ "./preset/shared": {
256
+ "types": "./preset/shared.d.ts",
257
+ "import": "./preset/shared.js",
258
+ "default": "./preset/shared.js"
259
+ },
260
+ "./preset/shared.js": {
261
+ "types": "./preset/shared.d.ts",
262
+ "import": "./preset/shared.js",
263
+ "default": "./preset/shared.js"
264
+ },
265
+ "./preset/spa": {
266
+ "types": "./preset/spa.d.ts",
267
+ "import": "./preset/spa.js",
268
+ "default": "./preset/spa.js"
269
+ },
270
+ "./preset/spa.js": {
271
+ "types": "./preset/spa.d.ts",
272
+ "import": "./preset/spa.js",
273
+ "default": "./preset/spa.js"
274
+ },
275
+ "./preset/ssg": {
276
+ "types": "./preset/ssg.d.ts",
277
+ "import": "./preset/ssg.js",
278
+ "default": "./preset/ssg.js"
279
+ },
280
+ "./preset/ssg.js": {
281
+ "types": "./preset/ssg.d.ts",
282
+ "import": "./preset/ssg.js",
283
+ "default": "./preset/ssg.js"
284
+ },
285
+ "./preset/ssr": {
286
+ "types": "./preset/ssr.d.ts",
287
+ "import": "./preset/ssr.js",
288
+ "default": "./preset/ssr.js"
289
+ },
290
+ "./preset/ssr.js": {
291
+ "types": "./preset/ssr.d.ts",
292
+ "import": "./preset/ssr.js",
293
+ "default": "./preset/ssr.js"
294
+ },
295
+ "./prompt/conflict-strategy": {
296
+ "types": "./prompt/conflict-strategy.d.ts",
297
+ "import": "./prompt/conflict-strategy.js",
298
+ "default": "./prompt/conflict-strategy.js"
299
+ },
300
+ "./prompt/conflict-strategy.js": {
301
+ "types": "./prompt/conflict-strategy.d.ts",
302
+ "import": "./prompt/conflict-strategy.js",
303
+ "default": "./prompt/conflict-strategy.js"
304
+ },
305
+ "./prompt/index": {
306
+ "types": "./prompt/index.d.ts",
307
+ "import": "./prompt/index.js",
308
+ "default": "./prompt/index.js"
309
+ },
310
+ "./prompt/index.js": {
311
+ "types": "./prompt/index.d.ts",
312
+ "import": "./prompt/index.js",
313
+ "default": "./prompt/index.js"
314
+ },
315
+ "./prompt/preset": {
316
+ "types": "./prompt/preset.d.ts",
317
+ "import": "./prompt/preset.js",
318
+ "default": "./prompt/preset.js"
319
+ },
320
+ "./prompt/preset.js": {
321
+ "types": "./prompt/preset.d.ts",
322
+ "import": "./prompt/preset.js",
323
+ "default": "./prompt/preset.js"
324
+ },
325
+ "./prompt/prompt": {
326
+ "types": "./prompt/prompt.d.ts",
327
+ "import": "./prompt/prompt.js",
328
+ "default": "./prompt/prompt.js"
329
+ },
330
+ "./prompt/prompt.js": {
331
+ "types": "./prompt/prompt.d.ts",
332
+ "import": "./prompt/prompt.js",
333
+ "default": "./prompt/prompt.js"
334
+ },
335
+ "./prompt/resolve-option": {
336
+ "types": "./prompt/resolve-option.d.ts",
337
+ "import": "./prompt/resolve-option.js",
338
+ "default": "./prompt/resolve-option.js"
339
+ },
340
+ "./prompt/resolve-option.js": {
341
+ "types": "./prompt/resolve-option.d.ts",
342
+ "import": "./prompt/resolve-option.js",
343
+ "default": "./prompt/resolve-option.js"
344
+ },
345
+ "./prompt/scope": {
346
+ "types": "./prompt/scope.d.ts",
347
+ "import": "./prompt/scope.js",
348
+ "default": "./prompt/scope.js"
349
+ },
350
+ "./prompt/scope.js": {
351
+ "types": "./prompt/scope.d.ts",
352
+ "import": "./prompt/scope.js",
353
+ "default": "./prompt/scope.js"
354
+ }
355
+ }
356
+ }
@@ -0,0 +1,4 @@
1
+ export * from './plan.js';
2
+ export * from '../prompt/index.js';
3
+ export * from './question.js';
4
+ export type * from './types.js';