create-rstack 0.0.2 → 1.0.0-beta.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.
Files changed (3) hide show
  1. package/dist/index.d.ts +6 -8
  2. package/dist/index.js +1017 -1249
  3. package/package.json +4 -4
package/dist/index.d.ts CHANGED
@@ -1,20 +1,18 @@
1
- export { multiselect, select, text } from '@clack/prompts';
2
-
3
- declare function checkCancel<T>(value: unknown): T;
4
- type Argv = {
1
+ import { multiselect, select, text } from '@clack/prompts';
2
+ export { select, multiselect, text };
3
+ export declare function checkCancel<T>(value: unknown): T;
4
+ export type Argv = {
5
5
  help?: boolean;
6
6
  dir?: string;
7
7
  template?: string;
8
8
  override?: boolean;
9
9
  tools?: string | string[];
10
10
  };
11
- type ESLintTemplateName = 'vanilla-js' | 'vanilla-ts' | 'react-js' | 'react-ts' | 'vue-ts' | 'vue-js' | 'svelte-js' | 'svelte-ts';
12
- declare function create({ name, root, templates, getTemplateName, mapESLintTemplate, }: {
11
+ export type ESLintTemplateName = 'vanilla-js' | 'vanilla-ts' | 'react-js' | 'react-ts' | 'vue-ts' | 'vue-js' | 'svelte-js' | 'svelte-ts';
12
+ export declare function create({ name, root, templates, getTemplateName, mapESLintTemplate, }: {
13
13
  name: string;
14
14
  root: string;
15
15
  templates: string[];
16
16
  getTemplateName: (argv: Argv) => Promise<string>;
17
17
  mapESLintTemplate: (templateName: string) => ESLintTemplateName | null;
18
18
  }): Promise<void>;
19
-
20
- export { type Argv, type ESLintTemplateName, checkCancel, create };