@tanstack/create 0.63.5 → 0.63.6
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 +8 -0
- package/dist/frameworks/react/project/base/package.json +1 -1
- package/dist/frameworks/react/project/base/tsconfig.json.ejs +0 -1
- package/dist/frameworks/react/project/packages.json +1 -1
- package/dist/frameworks/solid/examples/tanchat/assets/ai-streaming-server/package.json +1 -1
- package/dist/frameworks/solid/project/base/package.json +1 -1
- package/dist/frameworks/solid/project/base/tsconfig.json.ejs +0 -1
- package/dist/frameworks/solid/project/packages.json +1 -1
- package/dist/types/custom-add-ons/add-on.d.ts +2 -2
- package/dist/types/custom-add-ons/starter.d.ts +2 -2
- package/dist/types/options.d.ts +1 -1
- package/dist/types/registry.d.ts +1 -1
- package/package.json +2 -2
- package/src/custom-add-ons/add-on.ts +2 -2
- package/src/custom-add-ons/starter.ts +2 -2
- package/src/frameworks/react/project/base/package.json +1 -1
- package/src/frameworks/react/project/base/tsconfig.json.ejs +0 -1
- package/src/frameworks/react/project/packages.json +1 -1
- package/src/frameworks/solid/examples/tanchat/assets/ai-streaming-server/package.json +1 -1
- package/src/frameworks/solid/project/base/package.json +1 -1
- package/src/frameworks/solid/project/base/tsconfig.json.ejs +0 -1
- package/src/frameworks/solid/project/packages.json +1 -1
- package/src/options.ts +1 -1
- package/src/registry.ts +1 -1
- package/tsconfig.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { PersistedOptions } from '../config-file';
|
|
2
|
-
import type { AddOn, AddOnInfo, Environment } from '../types';
|
|
1
|
+
import type { PersistedOptions } from '../config-file.js';
|
|
2
|
+
import type { AddOn, AddOnInfo, Environment } from '../types.js';
|
|
3
3
|
export declare const ADD_ON_IGNORE_FILES: Array<string>;
|
|
4
4
|
export declare function camelCase(str: string): string;
|
|
5
5
|
export declare function templatize(routeCode: string, routeFile: string): {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { PersistedOptions } from '../config-file';
|
|
2
|
-
import type { Environment, Starter, StarterInfo } from '../types';
|
|
1
|
+
import type { PersistedOptions } from '../config-file.js';
|
|
2
|
+
import type { Environment, Starter, StarterInfo } from '../types.js';
|
|
3
3
|
export declare function readOrGenerateStarterInfo(options: PersistedOptions): Promise<StarterInfo>;
|
|
4
4
|
export declare function updateStarterInfo(environment: Environment): Promise<void>;
|
|
5
5
|
export declare function compileStarter(environment: Environment): Promise<void>;
|
package/dist/types/options.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { Options, SerializedOptions } from './types';
|
|
1
|
+
import type { Options, SerializedOptions } from './types.js';
|
|
2
2
|
export declare const createSerializedOptions: (options: Options) => SerializedOptions;
|
package/dist/types/registry.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tanstack/create",
|
|
3
|
-
"version": "0.63.
|
|
3
|
+
"version": "0.63.6",
|
|
4
4
|
"description": "TanStack Application Builder Engine",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@types/parse-gitignore": "^1.0.2",
|
|
39
39
|
"@vitest/coverage-v8": "3.1.1",
|
|
40
40
|
"eslint": "^9.20.0",
|
|
41
|
-
"typescript": "^
|
|
41
|
+
"typescript": "^6.0.2",
|
|
42
42
|
"vitest": "^3.0.8",
|
|
43
43
|
"vitest-fetch-mock": "^0.4.5"
|
|
44
44
|
},
|
|
@@ -12,14 +12,14 @@ import {
|
|
|
12
12
|
runCreateApp,
|
|
13
13
|
} from './shared.js'
|
|
14
14
|
|
|
15
|
-
import type { PersistedOptions } from '../config-file'
|
|
15
|
+
import type { PersistedOptions } from '../config-file.js'
|
|
16
16
|
import type {
|
|
17
17
|
AddOn,
|
|
18
18
|
AddOnCompiled,
|
|
19
19
|
AddOnInfo,
|
|
20
20
|
Environment,
|
|
21
21
|
Options,
|
|
22
|
-
} from '../types'
|
|
22
|
+
} from '../types.js'
|
|
23
23
|
|
|
24
24
|
const ADD_ON_DIR = '.add-on'
|
|
25
25
|
|
|
@@ -12,14 +12,14 @@ import {
|
|
|
12
12
|
runCreateApp,
|
|
13
13
|
} from './shared.js'
|
|
14
14
|
|
|
15
|
-
import type { PersistedOptions } from '../config-file'
|
|
15
|
+
import type { PersistedOptions } from '../config-file.js'
|
|
16
16
|
import type {
|
|
17
17
|
Environment,
|
|
18
18
|
Options,
|
|
19
19
|
Starter,
|
|
20
20
|
StarterCompiled,
|
|
21
21
|
StarterInfo,
|
|
22
|
-
} from '../types'
|
|
22
|
+
} from '../types.js'
|
|
23
23
|
|
|
24
24
|
const INFO_FILE = 'template-info.json'
|
|
25
25
|
const LEGACY_INFO_FILE = 'starter-info.json'
|
package/src/options.ts
CHANGED
package/src/registry.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { loadRemoteAddOn } from './custom-add-ons/add-on.js'
|
|
|
3
3
|
import { loadStarter } from './custom-add-ons/starter.js'
|
|
4
4
|
import { handleSpecialURL } from './utils.js'
|
|
5
5
|
|
|
6
|
-
import type { AddOn, Starter } from './types'
|
|
6
|
+
import type { AddOn, Starter } from './types.js'
|
|
7
7
|
|
|
8
8
|
const registrySchema = z.object({
|
|
9
9
|
templates: z
|
package/tsconfig.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"compilerOptions": {
|
|
3
3
|
"target": "ES2020",
|
|
4
|
-
"module": "
|
|
4
|
+
"module": "NodeNext",
|
|
5
5
|
"outDir": "./dist",
|
|
6
6
|
"rootDir": "./src",
|
|
7
7
|
"strict": true,
|
|
8
8
|
"esModuleInterop": true,
|
|
9
9
|
"skipLibCheck": true,
|
|
10
10
|
"forceConsistentCasingInFileNames": true,
|
|
11
|
-
"moduleResolution": "
|
|
11
|
+
"moduleResolution": "NodeNext",
|
|
12
12
|
"declaration": true,
|
|
13
13
|
"declarationDir": "./dist/types"
|
|
14
14
|
},
|