vyriy 0.4.0 → 0.4.1
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/README.md +3 -2
- package/commands/create/plan/plan.d.ts +1 -1
- package/commands/create/preset/api.js +160 -8
- package/commands/create/preset/base.js +3 -3
- package/commands/create/preset/index.d.ts +5 -0
- package/commands/create/preset/index.js +6 -0
- package/commands/create/preset/library.js +31 -6
- package/commands/create/prompt/scope.js +1 -1
- package/commands/dist.js +14 -1
- package/package.json +14 -311
- package/bin/vyriy.d.ts +0 -2
package/README.md
CHANGED
|
@@ -82,12 +82,12 @@ Registered presets:
|
|
|
82
82
|
| --------- | --------------------------------------------- |
|
|
83
83
|
| `base` | Minimal monorepo with config only |
|
|
84
84
|
| `library` | Workspaces layout with a sample React package |
|
|
85
|
+
| `api` | Backend API workspace with server/build setup |
|
|
85
86
|
|
|
86
87
|
Presets in progress:
|
|
87
88
|
|
|
88
89
|
| Key | Direction |
|
|
89
90
|
| ------ | ------------------------------ |
|
|
90
|
-
| `api` | Backend API project |
|
|
91
91
|
| `rest` | REST API project |
|
|
92
92
|
| `gql` | GraphQL API project |
|
|
93
93
|
| `ssr` | Server-side rendering project |
|
|
@@ -106,7 +106,8 @@ Provider selections add files to the generated project.
|
|
|
106
106
|
| Preset | CI/CD providers | Deploy providers |
|
|
107
107
|
| --------- | ------------------ | ---------------- |
|
|
108
108
|
| `base` | `gitlab`, `github` | none |
|
|
109
|
-
| `library` | `gitlab`, `github` |
|
|
109
|
+
| `library` | `gitlab`, `github` | none |
|
|
110
|
+
| `api` | `gitlab`, `github` | none |
|
|
110
111
|
|
|
111
112
|
## API
|
|
112
113
|
|
|
@@ -2,7 +2,7 @@ export declare const plan: (dirName: string, appPath: string) => Promise<{
|
|
|
2
2
|
name: string;
|
|
3
3
|
description: string;
|
|
4
4
|
target: string;
|
|
5
|
-
preset: "base" | "library";
|
|
5
|
+
preset: "base" | "api" | "library";
|
|
6
6
|
scope: string | undefined;
|
|
7
7
|
ci: import("../preset/types.js").CiProvider | undefined;
|
|
8
8
|
deploy: import("../preset/types.js").DeployProvider | undefined;
|
|
@@ -1,16 +1,168 @@
|
|
|
1
|
+
import packageJson from '../../../package.json' with { type: 'json' };
|
|
1
2
|
import { base } from './base.js';
|
|
2
3
|
export const api = {
|
|
3
4
|
files: (options) => ({
|
|
4
5
|
...base.files(options),
|
|
6
|
+
'package.json': JSON.stringify({
|
|
7
|
+
name: options.name,
|
|
8
|
+
version: '0.0.0',
|
|
9
|
+
description: options.description,
|
|
10
|
+
private: true,
|
|
11
|
+
type: 'module',
|
|
12
|
+
agents: './AGENTS.md',
|
|
13
|
+
packageManager: packageJson.packageManager,
|
|
14
|
+
engines: {
|
|
15
|
+
node: packageJson.engines.node,
|
|
16
|
+
},
|
|
17
|
+
workspaces: [
|
|
18
|
+
'workspaces/*',
|
|
19
|
+
],
|
|
20
|
+
scripts: {
|
|
21
|
+
storybook: 'cross-env STORYBOOK_DISABLE_TELEMETRY=1 storybook dev -p 6006 --disable-telemetry',
|
|
22
|
+
check: 'run-s lint build test',
|
|
23
|
+
fix: "run-s 'fix:*'",
|
|
24
|
+
start: "run-p 'start:*'",
|
|
25
|
+
lint: "run-s 'lint:*'",
|
|
26
|
+
build: "run-s 'build:*'",
|
|
27
|
+
test: "run-s 'test:*'",
|
|
28
|
+
'fix:prettier': 'prettier . --write',
|
|
29
|
+
'fix:eslint': 'eslint . --fix',
|
|
30
|
+
'start:api': 'sh workspaces/api/bin/start.sh',
|
|
31
|
+
'lint:ts': 'tsc',
|
|
32
|
+
'lint:prettier': 'prettier . --check',
|
|
33
|
+
'lint:eslint': 'eslint .',
|
|
34
|
+
'build:api': 'rimraf dist && sh workspaces/api/bin/build.sh',
|
|
35
|
+
'build:storybook': 'cross-env STORYBOOK_DISABLE_TELEMETRY=1 storybook build --quiet --disable-telemetry',
|
|
36
|
+
'test:jest': 'jest',
|
|
37
|
+
postinstall: 'husky',
|
|
38
|
+
},
|
|
39
|
+
devDependencies: {
|
|
40
|
+
'@vyriy/typescript-config': `^${packageJson.version}`,
|
|
41
|
+
typescript: packageJson.peerDependencies.typescript,
|
|
42
|
+
'@vyriy/prettier-config': `^${packageJson.version}`,
|
|
43
|
+
prettier: packageJson.peerDependencies.prettier,
|
|
44
|
+
'@vyriy/eslint-config': `^${packageJson.version}`,
|
|
45
|
+
eslint: packageJson.peerDependencies.eslint,
|
|
46
|
+
'@vyriy/jest-config': `^${packageJson.version}`,
|
|
47
|
+
jest: packageJson.peerDependencies.jest,
|
|
48
|
+
'@vyriy/storybook-config': `^${packageJson.version}`,
|
|
49
|
+
storybook: packageJson.peerDependencies.storybook,
|
|
50
|
+
'@vyriy/path': `^${packageJson.version}`,
|
|
51
|
+
vyriy: `^${packageJson.version}`,
|
|
52
|
+
husky: packageJson.peerDependencies.husky,
|
|
53
|
+
'npm-run-all2': packageJson.peerDependencies['npm-run-all2'],
|
|
54
|
+
'cross-env': packageJson.peerDependencies['cross-env'],
|
|
55
|
+
rimraf: packageJson.peerDependencies.rimraf,
|
|
56
|
+
'@vyriy/webpack-config': `^${packageJson.version}`,
|
|
57
|
+
'@vyriy/handler': `^${packageJson.version}`,
|
|
58
|
+
'@vyriy/server': `^${packageJson.version}`,
|
|
59
|
+
tsx: packageJson.peerDependencies.tsx,
|
|
60
|
+
webpack: packageJson.peerDependencies.webpack,
|
|
61
|
+
'webpack-cli': packageJson.peerDependencies['webpack-cli'],
|
|
62
|
+
},
|
|
63
|
+
}, null, 2) + '\n',
|
|
64
|
+
'workspaces/api/bin/build.sh': `#!/usr/bin/env sh
|
|
65
|
+
|
|
66
|
+
set -e
|
|
67
|
+
|
|
68
|
+
scriptdir="$PWD/workspaces/api";
|
|
69
|
+
|
|
70
|
+
NODE_ENV=production npx webpack --config $scriptdir/webpack.config.ts
|
|
71
|
+
|
|
72
|
+
cp $scriptdir/package.json dist/api/package.json
|
|
73
|
+
npm pkg delete "type" --prefix dist/api
|
|
74
|
+
npm pkg delete "private" --prefix dist/api
|
|
75
|
+
`,
|
|
76
|
+
'workspaces/api/bin/start.sh': `#!/usr/bin/env sh
|
|
77
|
+
|
|
78
|
+
set -e
|
|
79
|
+
|
|
80
|
+
scriptdir="$PWD/workspaces/api";
|
|
81
|
+
|
|
82
|
+
NODE_ENV=production LOG_LEVEL=info tsx $scriptdir/index.ts
|
|
83
|
+
`,
|
|
84
|
+
'workspaces/api/doc.mdx': `import { Meta, Markdown } from '@storybook/addon-docs/blocks';
|
|
85
|
+
import ReadMe from './README.md?raw';
|
|
86
|
+
|
|
87
|
+
<Meta title="Workspaces/API" />
|
|
88
|
+
|
|
89
|
+
<Markdown>{ReadMe}</Markdown>
|
|
90
|
+
`,
|
|
91
|
+
'workspaces/api/README.md': `# ${options.name} API\n\n${options.description}\n`,
|
|
92
|
+
'workspaces/api/webpack.config.ts': `import { path } from '@vyriy/path';
|
|
93
|
+
import { ssr, external } from '@vyriy/webpack-config';
|
|
94
|
+
|
|
95
|
+
export default ssr(
|
|
96
|
+
'@w/api',
|
|
97
|
+
{
|
|
98
|
+
path: path('dist', 'api'),
|
|
99
|
+
filename: 'index.js',
|
|
100
|
+
library: { type: 'commonjs2' },
|
|
101
|
+
},
|
|
102
|
+
(config) => ({
|
|
103
|
+
...config,
|
|
104
|
+
externals: [external({ allowlist: [/^@p/, /^@w/, /^@vyriy/] })],
|
|
105
|
+
}),
|
|
106
|
+
);
|
|
107
|
+
`,
|
|
108
|
+
'workspaces/api/package.json': JSON.stringify({
|
|
109
|
+
name: '@w/api',
|
|
110
|
+
type: 'module',
|
|
111
|
+
private: true,
|
|
112
|
+
}, null, 2) + '\n',
|
|
113
|
+
'workspaces/api/index.ts': `import { server } from '@vyriy/server';
|
|
114
|
+
import { api } from '@vyriy/handler';
|
|
115
|
+
|
|
116
|
+
server(
|
|
117
|
+
api(async (event) =>
|
|
118
|
+
Promise.resolve({
|
|
119
|
+
statusCode: 200,
|
|
120
|
+
body: JSON.stringify({
|
|
121
|
+
path: event.path,
|
|
122
|
+
}),
|
|
123
|
+
}),
|
|
124
|
+
),
|
|
125
|
+
);
|
|
126
|
+
`,
|
|
127
|
+
'workspaces/api/index.test.ts': `import { describe, expect, it, jest } from '@jest/globals';
|
|
128
|
+
|
|
129
|
+
const apiMock = jest.fn((handler) => ({
|
|
130
|
+
handler,
|
|
131
|
+
}));
|
|
132
|
+
const serverMock = jest.fn();
|
|
133
|
+
|
|
134
|
+
jest.mock('@vyriy/handler', () => ({
|
|
135
|
+
api: apiMock,
|
|
136
|
+
}));
|
|
137
|
+
|
|
138
|
+
jest.mock('@vyriy/server', () => ({
|
|
139
|
+
server: serverMock,
|
|
140
|
+
}));
|
|
141
|
+
|
|
142
|
+
describe('workspaces/api/index.ts', () => {
|
|
143
|
+
it('starts the server with a handler that returns the request path', async () => {
|
|
144
|
+
await import('./index.js');
|
|
145
|
+
|
|
146
|
+
expect(apiMock).toHaveBeenCalledTimes(1);
|
|
147
|
+
expect(serverMock).toHaveBeenCalledTimes(1);
|
|
148
|
+
expect(serverMock).toHaveBeenCalledWith(apiMock.mock.results[0]?.value);
|
|
149
|
+
|
|
150
|
+
const handler = apiMock.mock.calls[0]?.[0] as (event: {
|
|
151
|
+
path: string;
|
|
152
|
+
}) => Promise<{ statusCode: number; body: string }>;
|
|
153
|
+
|
|
154
|
+
await expect(handler({ path: '/healthcheck' })).resolves.toEqual({
|
|
155
|
+
statusCode: 200,
|
|
156
|
+
body: JSON.stringify({
|
|
157
|
+
path: '/healthcheck',
|
|
158
|
+
}),
|
|
159
|
+
});
|
|
160
|
+
});
|
|
161
|
+
});
|
|
162
|
+
`,
|
|
5
163
|
}),
|
|
6
164
|
ci: {
|
|
7
|
-
|
|
8
|
-
'.gitlab-ci.yml': 'code',
|
|
9
|
-
},
|
|
10
|
-
},
|
|
11
|
-
deploy: {
|
|
12
|
-
docker: {
|
|
13
|
-
Dockerfile: 'code',
|
|
14
|
-
},
|
|
165
|
+
...base.ci,
|
|
15
166
|
},
|
|
167
|
+
deploy: {},
|
|
16
168
|
};
|
|
@@ -53,8 +53,8 @@ export const base = {
|
|
|
53
53
|
'npm-run-all2': packageJson.peerDependencies['npm-run-all2'],
|
|
54
54
|
'cross-env': packageJson.peerDependencies['cross-env'],
|
|
55
55
|
},
|
|
56
|
-
}, null, 2),
|
|
57
|
-
'README.md': `# ${name}\n\n${description}`,
|
|
56
|
+
}, null, 2) + '\n',
|
|
57
|
+
'README.md': `# ${name}\n\n${description}\n`,
|
|
58
58
|
'doc.mdx': `import { Meta, Markdown } from '@storybook/addon-docs/blocks';
|
|
59
59
|
import ReadMe from './README.md?raw';
|
|
60
60
|
|
|
@@ -152,7 +152,7 @@ export default {
|
|
|
152
152
|
'workspaces/**/*.tsx',
|
|
153
153
|
'*.ts',
|
|
154
154
|
],
|
|
155
|
-
}, null, 2),
|
|
155
|
+
}, null, 2) + '\n',
|
|
156
156
|
'prettier.config.ts': "export { default } from '@vyriy/prettier-config';\n",
|
|
157
157
|
'.prettierignore': 'node_modules\ndist\ncoverage\nstorybook-static\n',
|
|
158
158
|
'eslint.config.ts': "export { default } from '@vyriy/eslint-config';\n",
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { base } from './base.js';
|
|
2
2
|
import { library } from './library.js';
|
|
3
|
+
import { api } from './api.js';
|
|
3
4
|
export const presets = {
|
|
4
5
|
base: {
|
|
5
6
|
name: 'Base',
|
|
@@ -11,4 +12,9 @@ export const presets = {
|
|
|
11
12
|
description: 'Preset to generate JS/React library',
|
|
12
13
|
preset: library,
|
|
13
14
|
},
|
|
15
|
+
api: {
|
|
16
|
+
name: 'API',
|
|
17
|
+
description: 'Preset to generate simple API',
|
|
18
|
+
preset: api,
|
|
19
|
+
},
|
|
14
20
|
};
|
|
@@ -68,7 +68,7 @@ export const library = {
|
|
|
68
68
|
stylelint: packageJson.peerDependencies.stylelint,
|
|
69
69
|
rimraf: packageJson.peerDependencies.rimraf,
|
|
70
70
|
},
|
|
71
|
-
}, null, 2),
|
|
71
|
+
}, null, 2) + '\n',
|
|
72
72
|
'tsconfig.build.json': JSON.stringify({
|
|
73
73
|
extends: './tsconfig.json',
|
|
74
74
|
include: [
|
|
@@ -89,7 +89,7 @@ export const library = {
|
|
|
89
89
|
declaration: true,
|
|
90
90
|
allowImportingTsExtensions: false,
|
|
91
91
|
},
|
|
92
|
-
}, null, 2),
|
|
92
|
+
}, null, 2) + '\n',
|
|
93
93
|
'stylelint.config.ts': "export { default } from '@vyriy/stylelint-config';\n",
|
|
94
94
|
[`packages/${options.name}/package.json`]: JSON.stringify({
|
|
95
95
|
name: packageName,
|
|
@@ -104,7 +104,7 @@ export const library = {
|
|
|
104
104
|
peerDependencies: {
|
|
105
105
|
react: packageJson.peerDependencies.react,
|
|
106
106
|
},
|
|
107
|
-
}, null, 2),
|
|
107
|
+
}, null, 2) + '\n',
|
|
108
108
|
[`packages/${options.name}/README.md`]: `# ${packageName}\n\n${options.description}\n`,
|
|
109
109
|
[`packages/${options.name}/doc.mdx`]: `import { Meta, Markdown } from '@storybook/addon-docs/blocks';
|
|
110
110
|
import ReadMe from './README.md?raw';
|
|
@@ -128,8 +128,8 @@ import type { ButtonType } from './types.js';
|
|
|
128
128
|
|
|
129
129
|
import './button.scss';
|
|
130
130
|
|
|
131
|
-
export const Button: ButtonType = ({ className,
|
|
132
|
-
<button className={cn('button', \`button--\${variant}\`, className)}
|
|
131
|
+
export const Button: ButtonType = ({ className, variant = 'primary', ...props }) => (
|
|
132
|
+
<button type="button" className={cn('button', \`button--\${variant}\`, className)} {...props} />
|
|
133
133
|
);
|
|
134
134
|
`,
|
|
135
135
|
[`packages/${options.name}/index.test.ts`]: `import { describe, expect, it } from '@jest/globals';
|
|
@@ -173,13 +173,38 @@ const meta = {
|
|
|
173
173
|
args: {
|
|
174
174
|
children: 'Button',
|
|
175
175
|
},
|
|
176
|
+
argTypes: {
|
|
177
|
+
children: {
|
|
178
|
+
control: 'text',
|
|
179
|
+
description: 'Button label.',
|
|
180
|
+
table: {
|
|
181
|
+
type: { summary: 'ReactNode' },
|
|
182
|
+
},
|
|
183
|
+
},
|
|
184
|
+
variant: {
|
|
185
|
+
control: 'select',
|
|
186
|
+
options: ['primary', 'secondary'],
|
|
187
|
+
description: 'Visual style of the button.',
|
|
188
|
+
table: {
|
|
189
|
+
type: { summary: "'primary' | 'secondary'" },
|
|
190
|
+
defaultValue: { summary: 'primary' },
|
|
191
|
+
},
|
|
192
|
+
},
|
|
193
|
+
className: {
|
|
194
|
+
table: { disable: true },
|
|
195
|
+
},
|
|
196
|
+
},
|
|
176
197
|
} satisfies Meta<typeof Button>;
|
|
177
198
|
|
|
178
199
|
export default meta;
|
|
179
200
|
|
|
180
201
|
type Story = StoryObj<typeof meta>;
|
|
181
202
|
|
|
182
|
-
export const Primary: Story = {
|
|
203
|
+
export const Primary: Story = {
|
|
204
|
+
args: {
|
|
205
|
+
variant: 'primary',
|
|
206
|
+
},
|
|
207
|
+
};
|
|
183
208
|
|
|
184
209
|
export const Secondary: Story = {
|
|
185
210
|
args: {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { prompt } from './prompt.js';
|
|
2
|
-
export const scope = async (question, preset, name) => preset === '
|
|
2
|
+
export const scope = async (question, preset, name) => preset === 'library' ? prompt(question, 'Package scope', `@${name}`) : undefined;
|
package/commands/dist.js
CHANGED
|
@@ -60,6 +60,9 @@ const getPackageMain = async (packageDirectory, packageJson, javaScriptFiles) =>
|
|
|
60
60
|
if (javaScriptFiles.includes('index.js')) {
|
|
61
61
|
return 'index.js';
|
|
62
62
|
}
|
|
63
|
+
if (getPackageBinFiles(packageJson).length > 0) {
|
|
64
|
+
return undefined;
|
|
65
|
+
}
|
|
63
66
|
return javaScriptFiles[0];
|
|
64
67
|
};
|
|
65
68
|
const createExportTarget = (javaScriptFile) => {
|
|
@@ -174,9 +177,18 @@ const getPackageBinFiles = (packageJson) => {
|
|
|
174
177
|
}
|
|
175
178
|
return [];
|
|
176
179
|
};
|
|
180
|
+
const toPackageLocalPath = (filePath) => filePath.replace(/^\.\//, '');
|
|
181
|
+
const removePackageBinDeclarationFiles = async (packageDirectory, packageJson) => {
|
|
182
|
+
for (const binFile of getPackageBinFiles(packageJson)) {
|
|
183
|
+
const declarationFilePath = path.join(packageDirectory, toPackageLocalPath(binFile).replace(/\.js$/, '.d.ts'));
|
|
184
|
+
if (await hasFile(declarationFilePath)) {
|
|
185
|
+
await unlink(declarationFilePath);
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
};
|
|
177
189
|
const makePackageBinsExecutable = async (packageDirectory, packageJson) => {
|
|
178
190
|
for (const binFile of getPackageBinFiles(packageJson)) {
|
|
179
|
-
const binFilePath = path.join(packageDirectory, binFile
|
|
191
|
+
const binFilePath = path.join(packageDirectory, toPackageLocalPath(binFile));
|
|
180
192
|
if (await hasFile(binFilePath)) {
|
|
181
193
|
await chmod(binFilePath, 0o755);
|
|
182
194
|
}
|
|
@@ -214,6 +226,7 @@ const distPackage = async (packageJsonPath, rootPackageJson) => {
|
|
|
214
226
|
await removeEmptyJavaScriptFiles(packageDirectory);
|
|
215
227
|
await removeMissingJavaScriptExports(packageDirectory);
|
|
216
228
|
await removeEmptyJavaScriptFiles(packageDirectory);
|
|
229
|
+
await removePackageBinDeclarationFiles(packageDirectory, packageJson);
|
|
217
230
|
const javaScriptFiles = await getJavaScriptFiles(packageDirectory);
|
|
218
231
|
await copyLicense(packageDirectory);
|
|
219
232
|
await copyReadme(packageDirectory);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vyriy",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "Interactive project master for calm cloud-ready applications.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": "./bin/vyriy.js",
|
|
@@ -22,7 +22,10 @@
|
|
|
22
22
|
"rimraf": "^6.1.3",
|
|
23
23
|
"storybook": "^10.4.1",
|
|
24
24
|
"stylelint": "^17.12.0",
|
|
25
|
-
"
|
|
25
|
+
"tsx": "^4.22.3",
|
|
26
|
+
"typescript": "^6.0.3",
|
|
27
|
+
"webpack": "^5.107.1",
|
|
28
|
+
"webpack-cli": "^7.0.2"
|
|
26
29
|
},
|
|
27
30
|
"peerDependenciesMeta": {
|
|
28
31
|
"@storybook/react-webpack5": {
|
|
@@ -67,8 +70,17 @@
|
|
|
67
70
|
"stylelint": {
|
|
68
71
|
"optional": true
|
|
69
72
|
},
|
|
73
|
+
"tsx": {
|
|
74
|
+
"optional": true
|
|
75
|
+
},
|
|
70
76
|
"typescript": {
|
|
71
77
|
"optional": true
|
|
78
|
+
},
|
|
79
|
+
"webpack": {
|
|
80
|
+
"optional": true
|
|
81
|
+
},
|
|
82
|
+
"webpack-cli": {
|
|
83
|
+
"optional": true
|
|
72
84
|
}
|
|
73
85
|
},
|
|
74
86
|
"agents": "./AGENTS.md",
|
|
@@ -77,314 +89,5 @@
|
|
|
77
89
|
"type": "git",
|
|
78
90
|
"url": "https://github.com/evheniy/vyriy",
|
|
79
91
|
"directory": "packages/vyriy"
|
|
80
|
-
},
|
|
81
|
-
"main": "./bin/vyriy.js",
|
|
82
|
-
"types": "./bin/vyriy.d.ts",
|
|
83
|
-
"exports": {
|
|
84
|
-
".": {
|
|
85
|
-
"types": "./bin/vyriy.d.ts",
|
|
86
|
-
"import": "./bin/vyriy.js",
|
|
87
|
-
"default": "./bin/vyriy.js"
|
|
88
|
-
},
|
|
89
|
-
"./bin/vyriy": {
|
|
90
|
-
"types": "./bin/vyriy.d.ts",
|
|
91
|
-
"import": "./bin/vyriy.js",
|
|
92
|
-
"default": "./bin/vyriy.js"
|
|
93
|
-
},
|
|
94
|
-
"./bin/vyriy.js": {
|
|
95
|
-
"types": "./bin/vyriy.d.ts",
|
|
96
|
-
"import": "./bin/vyriy.js",
|
|
97
|
-
"default": "./bin/vyriy.js"
|
|
98
|
-
},
|
|
99
|
-
"./cli/args": {
|
|
100
|
-
"types": "./cli/args.d.ts",
|
|
101
|
-
"import": "./cli/args.js",
|
|
102
|
-
"default": "./cli/args.js"
|
|
103
|
-
},
|
|
104
|
-
"./cli/args.js": {
|
|
105
|
-
"types": "./cli/args.d.ts",
|
|
106
|
-
"import": "./cli/args.js",
|
|
107
|
-
"default": "./cli/args.js"
|
|
108
|
-
},
|
|
109
|
-
"./cli/cli": {
|
|
110
|
-
"types": "./cli/cli.d.ts",
|
|
111
|
-
"import": "./cli/cli.js",
|
|
112
|
-
"default": "./cli/cli.js"
|
|
113
|
-
},
|
|
114
|
-
"./cli/cli.js": {
|
|
115
|
-
"types": "./cli/cli.d.ts",
|
|
116
|
-
"import": "./cli/cli.js",
|
|
117
|
-
"default": "./cli/cli.js"
|
|
118
|
-
},
|
|
119
|
-
"./cli/index": {
|
|
120
|
-
"types": "./cli/index.d.ts",
|
|
121
|
-
"import": "./cli/index.js",
|
|
122
|
-
"default": "./cli/index.js"
|
|
123
|
-
},
|
|
124
|
-
"./cli/index.js": {
|
|
125
|
-
"types": "./cli/index.d.ts",
|
|
126
|
-
"import": "./cli/index.js",
|
|
127
|
-
"default": "./cli/index.js"
|
|
128
|
-
},
|
|
129
|
-
"./commands/check-env": {
|
|
130
|
-
"types": "./commands/check-env.d.ts",
|
|
131
|
-
"import": "./commands/check-env.js",
|
|
132
|
-
"default": "./commands/check-env.js"
|
|
133
|
-
},
|
|
134
|
-
"./commands/check-env.js": {
|
|
135
|
-
"types": "./commands/check-env.d.ts",
|
|
136
|
-
"import": "./commands/check-env.js",
|
|
137
|
-
"default": "./commands/check-env.js"
|
|
138
|
-
},
|
|
139
|
-
"./commands/create/index": {
|
|
140
|
-
"types": "./commands/create/index.d.ts",
|
|
141
|
-
"import": "./commands/create/index.js",
|
|
142
|
-
"default": "./commands/create/index.js"
|
|
143
|
-
},
|
|
144
|
-
"./commands/create/index.js": {
|
|
145
|
-
"types": "./commands/create/index.d.ts",
|
|
146
|
-
"import": "./commands/create/index.js",
|
|
147
|
-
"default": "./commands/create/index.js"
|
|
148
|
-
},
|
|
149
|
-
"./commands/create/plan/index": {
|
|
150
|
-
"types": "./commands/create/plan/index.d.ts",
|
|
151
|
-
"import": "./commands/create/plan/index.js",
|
|
152
|
-
"default": "./commands/create/plan/index.js"
|
|
153
|
-
},
|
|
154
|
-
"./commands/create/plan/index.js": {
|
|
155
|
-
"types": "./commands/create/plan/index.d.ts",
|
|
156
|
-
"import": "./commands/create/plan/index.js",
|
|
157
|
-
"default": "./commands/create/plan/index.js"
|
|
158
|
-
},
|
|
159
|
-
"./commands/create/plan/plan": {
|
|
160
|
-
"types": "./commands/create/plan/plan.d.ts",
|
|
161
|
-
"import": "./commands/create/plan/plan.js",
|
|
162
|
-
"default": "./commands/create/plan/plan.js"
|
|
163
|
-
},
|
|
164
|
-
"./commands/create/plan/plan.js": {
|
|
165
|
-
"types": "./commands/create/plan/plan.d.ts",
|
|
166
|
-
"import": "./commands/create/plan/plan.js",
|
|
167
|
-
"default": "./commands/create/plan/plan.js"
|
|
168
|
-
},
|
|
169
|
-
"./commands/create/plan/question": {
|
|
170
|
-
"types": "./commands/create/plan/question.d.ts",
|
|
171
|
-
"import": "./commands/create/plan/question.js",
|
|
172
|
-
"default": "./commands/create/plan/question.js"
|
|
173
|
-
},
|
|
174
|
-
"./commands/create/plan/question.js": {
|
|
175
|
-
"types": "./commands/create/plan/question.d.ts",
|
|
176
|
-
"import": "./commands/create/plan/question.js",
|
|
177
|
-
"default": "./commands/create/plan/question.js"
|
|
178
|
-
},
|
|
179
|
-
"./commands/create/preset/api": {
|
|
180
|
-
"types": "./commands/create/preset/api.d.ts",
|
|
181
|
-
"import": "./commands/create/preset/api.js",
|
|
182
|
-
"default": "./commands/create/preset/api.js"
|
|
183
|
-
},
|
|
184
|
-
"./commands/create/preset/api.js": {
|
|
185
|
-
"types": "./commands/create/preset/api.d.ts",
|
|
186
|
-
"import": "./commands/create/preset/api.js",
|
|
187
|
-
"default": "./commands/create/preset/api.js"
|
|
188
|
-
},
|
|
189
|
-
"./commands/create/preset/base": {
|
|
190
|
-
"types": "./commands/create/preset/base.d.ts",
|
|
191
|
-
"import": "./commands/create/preset/base.js",
|
|
192
|
-
"default": "./commands/create/preset/base.js"
|
|
193
|
-
},
|
|
194
|
-
"./commands/create/preset/base.js": {
|
|
195
|
-
"types": "./commands/create/preset/base.d.ts",
|
|
196
|
-
"import": "./commands/create/preset/base.js",
|
|
197
|
-
"default": "./commands/create/preset/base.js"
|
|
198
|
-
},
|
|
199
|
-
"./commands/create/preset/gql": {
|
|
200
|
-
"types": "./commands/create/preset/gql.d.ts",
|
|
201
|
-
"import": "./commands/create/preset/gql.js",
|
|
202
|
-
"default": "./commands/create/preset/gql.js"
|
|
203
|
-
},
|
|
204
|
-
"./commands/create/preset/gql.js": {
|
|
205
|
-
"types": "./commands/create/preset/gql.d.ts",
|
|
206
|
-
"import": "./commands/create/preset/gql.js",
|
|
207
|
-
"default": "./commands/create/preset/gql.js"
|
|
208
|
-
},
|
|
209
|
-
"./commands/create/preset/index": {
|
|
210
|
-
"types": "./commands/create/preset/index.d.ts",
|
|
211
|
-
"import": "./commands/create/preset/index.js",
|
|
212
|
-
"default": "./commands/create/preset/index.js"
|
|
213
|
-
},
|
|
214
|
-
"./commands/create/preset/index.js": {
|
|
215
|
-
"types": "./commands/create/preset/index.d.ts",
|
|
216
|
-
"import": "./commands/create/preset/index.js",
|
|
217
|
-
"default": "./commands/create/preset/index.js"
|
|
218
|
-
},
|
|
219
|
-
"./commands/create/preset/library": {
|
|
220
|
-
"types": "./commands/create/preset/library.d.ts",
|
|
221
|
-
"import": "./commands/create/preset/library.js",
|
|
222
|
-
"default": "./commands/create/preset/library.js"
|
|
223
|
-
},
|
|
224
|
-
"./commands/create/preset/library.js": {
|
|
225
|
-
"types": "./commands/create/preset/library.d.ts",
|
|
226
|
-
"import": "./commands/create/preset/library.js",
|
|
227
|
-
"default": "./commands/create/preset/library.js"
|
|
228
|
-
},
|
|
229
|
-
"./commands/create/preset/mfe": {
|
|
230
|
-
"types": "./commands/create/preset/mfe.d.ts",
|
|
231
|
-
"import": "./commands/create/preset/mfe.js",
|
|
232
|
-
"default": "./commands/create/preset/mfe.js"
|
|
233
|
-
},
|
|
234
|
-
"./commands/create/preset/mfe.js": {
|
|
235
|
-
"types": "./commands/create/preset/mfe.d.ts",
|
|
236
|
-
"import": "./commands/create/preset/mfe.js",
|
|
237
|
-
"default": "./commands/create/preset/mfe.js"
|
|
238
|
-
},
|
|
239
|
-
"./commands/create/preset/rest": {
|
|
240
|
-
"types": "./commands/create/preset/rest.d.ts",
|
|
241
|
-
"import": "./commands/create/preset/rest.js",
|
|
242
|
-
"default": "./commands/create/preset/rest.js"
|
|
243
|
-
},
|
|
244
|
-
"./commands/create/preset/rest.js": {
|
|
245
|
-
"types": "./commands/create/preset/rest.d.ts",
|
|
246
|
-
"import": "./commands/create/preset/rest.js",
|
|
247
|
-
"default": "./commands/create/preset/rest.js"
|
|
248
|
-
},
|
|
249
|
-
"./commands/create/preset/spa": {
|
|
250
|
-
"types": "./commands/create/preset/spa.d.ts",
|
|
251
|
-
"import": "./commands/create/preset/spa.js",
|
|
252
|
-
"default": "./commands/create/preset/spa.js"
|
|
253
|
-
},
|
|
254
|
-
"./commands/create/preset/spa.js": {
|
|
255
|
-
"types": "./commands/create/preset/spa.d.ts",
|
|
256
|
-
"import": "./commands/create/preset/spa.js",
|
|
257
|
-
"default": "./commands/create/preset/spa.js"
|
|
258
|
-
},
|
|
259
|
-
"./commands/create/preset/ssg": {
|
|
260
|
-
"types": "./commands/create/preset/ssg.d.ts",
|
|
261
|
-
"import": "./commands/create/preset/ssg.js",
|
|
262
|
-
"default": "./commands/create/preset/ssg.js"
|
|
263
|
-
},
|
|
264
|
-
"./commands/create/preset/ssg.js": {
|
|
265
|
-
"types": "./commands/create/preset/ssg.d.ts",
|
|
266
|
-
"import": "./commands/create/preset/ssg.js",
|
|
267
|
-
"default": "./commands/create/preset/ssg.js"
|
|
268
|
-
},
|
|
269
|
-
"./commands/create/preset/ssr": {
|
|
270
|
-
"types": "./commands/create/preset/ssr.d.ts",
|
|
271
|
-
"import": "./commands/create/preset/ssr.js",
|
|
272
|
-
"default": "./commands/create/preset/ssr.js"
|
|
273
|
-
},
|
|
274
|
-
"./commands/create/preset/ssr.js": {
|
|
275
|
-
"types": "./commands/create/preset/ssr.d.ts",
|
|
276
|
-
"import": "./commands/create/preset/ssr.js",
|
|
277
|
-
"default": "./commands/create/preset/ssr.js"
|
|
278
|
-
},
|
|
279
|
-
"./commands/create/prompt/conflict-strategy": {
|
|
280
|
-
"types": "./commands/create/prompt/conflict-strategy.d.ts",
|
|
281
|
-
"import": "./commands/create/prompt/conflict-strategy.js",
|
|
282
|
-
"default": "./commands/create/prompt/conflict-strategy.js"
|
|
283
|
-
},
|
|
284
|
-
"./commands/create/prompt/conflict-strategy.js": {
|
|
285
|
-
"types": "./commands/create/prompt/conflict-strategy.d.ts",
|
|
286
|
-
"import": "./commands/create/prompt/conflict-strategy.js",
|
|
287
|
-
"default": "./commands/create/prompt/conflict-strategy.js"
|
|
288
|
-
},
|
|
289
|
-
"./commands/create/prompt/index": {
|
|
290
|
-
"types": "./commands/create/prompt/index.d.ts",
|
|
291
|
-
"import": "./commands/create/prompt/index.js",
|
|
292
|
-
"default": "./commands/create/prompt/index.js"
|
|
293
|
-
},
|
|
294
|
-
"./commands/create/prompt/index.js": {
|
|
295
|
-
"types": "./commands/create/prompt/index.d.ts",
|
|
296
|
-
"import": "./commands/create/prompt/index.js",
|
|
297
|
-
"default": "./commands/create/prompt/index.js"
|
|
298
|
-
},
|
|
299
|
-
"./commands/create/prompt/preset": {
|
|
300
|
-
"types": "./commands/create/prompt/preset.d.ts",
|
|
301
|
-
"import": "./commands/create/prompt/preset.js",
|
|
302
|
-
"default": "./commands/create/prompt/preset.js"
|
|
303
|
-
},
|
|
304
|
-
"./commands/create/prompt/preset.js": {
|
|
305
|
-
"types": "./commands/create/prompt/preset.d.ts",
|
|
306
|
-
"import": "./commands/create/prompt/preset.js",
|
|
307
|
-
"default": "./commands/create/prompt/preset.js"
|
|
308
|
-
},
|
|
309
|
-
"./commands/create/prompt/prompt": {
|
|
310
|
-
"types": "./commands/create/prompt/prompt.d.ts",
|
|
311
|
-
"import": "./commands/create/prompt/prompt.js",
|
|
312
|
-
"default": "./commands/create/prompt/prompt.js"
|
|
313
|
-
},
|
|
314
|
-
"./commands/create/prompt/prompt.js": {
|
|
315
|
-
"types": "./commands/create/prompt/prompt.d.ts",
|
|
316
|
-
"import": "./commands/create/prompt/prompt.js",
|
|
317
|
-
"default": "./commands/create/prompt/prompt.js"
|
|
318
|
-
},
|
|
319
|
-
"./commands/create/prompt/provider": {
|
|
320
|
-
"types": "./commands/create/prompt/provider.d.ts",
|
|
321
|
-
"import": "./commands/create/prompt/provider.js",
|
|
322
|
-
"default": "./commands/create/prompt/provider.js"
|
|
323
|
-
},
|
|
324
|
-
"./commands/create/prompt/provider.js": {
|
|
325
|
-
"types": "./commands/create/prompt/provider.d.ts",
|
|
326
|
-
"import": "./commands/create/prompt/provider.js",
|
|
327
|
-
"default": "./commands/create/prompt/provider.js"
|
|
328
|
-
},
|
|
329
|
-
"./commands/create/prompt/resolve-option": {
|
|
330
|
-
"types": "./commands/create/prompt/resolve-option.d.ts",
|
|
331
|
-
"import": "./commands/create/prompt/resolve-option.js",
|
|
332
|
-
"default": "./commands/create/prompt/resolve-option.js"
|
|
333
|
-
},
|
|
334
|
-
"./commands/create/prompt/resolve-option.js": {
|
|
335
|
-
"types": "./commands/create/prompt/resolve-option.d.ts",
|
|
336
|
-
"import": "./commands/create/prompt/resolve-option.js",
|
|
337
|
-
"default": "./commands/create/prompt/resolve-option.js"
|
|
338
|
-
},
|
|
339
|
-
"./commands/create/prompt/scope": {
|
|
340
|
-
"types": "./commands/create/prompt/scope.d.ts",
|
|
341
|
-
"import": "./commands/create/prompt/scope.js",
|
|
342
|
-
"default": "./commands/create/prompt/scope.js"
|
|
343
|
-
},
|
|
344
|
-
"./commands/create/prompt/scope.js": {
|
|
345
|
-
"types": "./commands/create/prompt/scope.d.ts",
|
|
346
|
-
"import": "./commands/create/prompt/scope.js",
|
|
347
|
-
"default": "./commands/create/prompt/scope.js"
|
|
348
|
-
},
|
|
349
|
-
"./commands/dist": {
|
|
350
|
-
"types": "./commands/dist.d.ts",
|
|
351
|
-
"import": "./commands/dist.js",
|
|
352
|
-
"default": "./commands/dist.js"
|
|
353
|
-
},
|
|
354
|
-
"./commands/dist.js": {
|
|
355
|
-
"types": "./commands/dist.d.ts",
|
|
356
|
-
"import": "./commands/dist.js",
|
|
357
|
-
"default": "./commands/dist.js"
|
|
358
|
-
},
|
|
359
|
-
"./commands/help": {
|
|
360
|
-
"types": "./commands/help.d.ts",
|
|
361
|
-
"import": "./commands/help.js",
|
|
362
|
-
"default": "./commands/help.js"
|
|
363
|
-
},
|
|
364
|
-
"./commands/help.js": {
|
|
365
|
-
"types": "./commands/help.d.ts",
|
|
366
|
-
"import": "./commands/help.js",
|
|
367
|
-
"default": "./commands/help.js"
|
|
368
|
-
},
|
|
369
|
-
"./commands/index": {
|
|
370
|
-
"types": "./commands/index.d.ts",
|
|
371
|
-
"import": "./commands/index.js",
|
|
372
|
-
"default": "./commands/index.js"
|
|
373
|
-
},
|
|
374
|
-
"./commands/index.js": {
|
|
375
|
-
"types": "./commands/index.d.ts",
|
|
376
|
-
"import": "./commands/index.js",
|
|
377
|
-
"default": "./commands/index.js"
|
|
378
|
-
},
|
|
379
|
-
"./commands/version": {
|
|
380
|
-
"types": "./commands/version.d.ts",
|
|
381
|
-
"import": "./commands/version.js",
|
|
382
|
-
"default": "./commands/version.js"
|
|
383
|
-
},
|
|
384
|
-
"./commands/version.js": {
|
|
385
|
-
"types": "./commands/version.d.ts",
|
|
386
|
-
"import": "./commands/version.js",
|
|
387
|
-
"default": "./commands/version.js"
|
|
388
|
-
}
|
|
389
92
|
}
|
|
390
93
|
}
|
package/bin/vyriy.d.ts
DELETED