@tinacms/cli 0.0.0-b60b14f-20241030173304 → 0.0.0-b720fb9-20241203044105
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/dist/cmds/forestry-migrate/util/index.d.ts +4 -4
- package/dist/index.js +851 -816
- package/dist/next/vite/index.d.ts +13 -2
- package/dist/server/server.d.ts +1 -1
- package/package.json +13 -14
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Database } from '@tinacms/graphql';
|
|
2
|
-
import { type BuildOptions, type InlineConfig, type Plugin } from 'vite';
|
|
2
|
+
import { type BuildOptions, ConfigEnv, type InlineConfig, type Plugin, UserConfig } from 'vite';
|
|
3
3
|
import type { ConfigManager } from '../config-manager';
|
|
4
4
|
/**
|
|
5
5
|
* This type is duplicated in he `TinaMediaStore`
|
|
@@ -22,12 +22,23 @@ interface StaticMediaItem {
|
|
|
22
22
|
export interface StaticMedia {
|
|
23
23
|
[offset: string]: StaticMediaItem[];
|
|
24
24
|
}
|
|
25
|
-
export declare const
|
|
25
|
+
export declare const loadProjectConfig: ({ rootPath, viteConfigEnv, }: {
|
|
26
|
+
rootPath: string;
|
|
27
|
+
viteConfigEnv?: ConfigEnv;
|
|
28
|
+
}) => Promise<{
|
|
29
|
+
path: string;
|
|
30
|
+
config: UserConfig;
|
|
31
|
+
dependencies: string[];
|
|
32
|
+
} | {
|
|
33
|
+
config: UserConfig;
|
|
34
|
+
}>;
|
|
35
|
+
export declare const createConfig: ({ configManager, database, apiURL, plugins, noWatch, rollupOptions, viteConfigEnv, }: {
|
|
26
36
|
configManager: ConfigManager;
|
|
27
37
|
database: Database;
|
|
28
38
|
apiURL: string;
|
|
29
39
|
noWatch: boolean;
|
|
30
40
|
plugins?: Plugin[];
|
|
31
41
|
rollupOptions?: BuildOptions["rollupOptions"];
|
|
42
|
+
viteConfigEnv?: ConfigEnv;
|
|
32
43
|
}) => Promise<InlineConfig>;
|
|
33
44
|
export {};
|
package/dist/server/server.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tinacms/cli",
|
|
3
|
-
"version": "0.0.0-
|
|
3
|
+
"version": "0.0.0-b720fb9-20241203044105",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"typings": "dist/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -26,7 +26,6 @@
|
|
|
26
26
|
"@types/cors": "2.8.5",
|
|
27
27
|
"@types/crypto-js": "^4.2.2",
|
|
28
28
|
"@types/express": "^4.17.21",
|
|
29
|
-
"@types/express-graphql": "^0.9.0",
|
|
30
29
|
"@types/figlet": "1.2.0",
|
|
31
30
|
"@types/fs-extra": "^11.0.4",
|
|
32
31
|
"@types/jest": "26.0.4",
|
|
@@ -38,18 +37,18 @@
|
|
|
38
37
|
"@types/prompts": "^2.4.9",
|
|
39
38
|
"@types/yup": "^0.32.0",
|
|
40
39
|
"jest": "^29.7.0",
|
|
41
|
-
"@tinacms/scripts": "1.3.
|
|
40
|
+
"@tinacms/scripts": "1.3.1"
|
|
42
41
|
},
|
|
43
42
|
"dependencies": {
|
|
44
43
|
"@graphql-codegen/core": "^2.6.8",
|
|
45
44
|
"@graphql-codegen/plugin-helpers": "latest",
|
|
46
|
-
"@graphql-codegen/typescript": "^4.
|
|
47
|
-
"@graphql-codegen/typescript-operations": "^4.
|
|
45
|
+
"@graphql-codegen/typescript": "^4.1.1",
|
|
46
|
+
"@graphql-codegen/typescript-operations": "^4.3.1",
|
|
48
47
|
"@graphql-codegen/visitor-plugin-common": "^4.1.2",
|
|
49
48
|
"@graphql-inspector/core": "^4.2.2",
|
|
50
49
|
"@graphql-tools/graphql-file-loader": "^7.5.17",
|
|
51
50
|
"@graphql-tools/load": "^7.8.14",
|
|
52
|
-
"@rollup/pluginutils": "^5.1.
|
|
51
|
+
"@rollup/pluginutils": "^5.1.3",
|
|
53
52
|
"@svgr/core": "8.1.0",
|
|
54
53
|
"@tailwindcss/aspect-ratio": "^0.4.2",
|
|
55
54
|
"@tailwindcss/container-queries": "^0.1.1",
|
|
@@ -79,18 +78,18 @@
|
|
|
79
78
|
"progress": "^2.0.3",
|
|
80
79
|
"prompts": "^2.4.2",
|
|
81
80
|
"readable-stream": "^4.5.2",
|
|
82
|
-
"tailwindcss": "^3.4.
|
|
81
|
+
"tailwindcss": "^3.4.15",
|
|
83
82
|
"typanion": "3.13.0",
|
|
84
|
-
"typescript": "^5.6.
|
|
83
|
+
"typescript": "^5.6.3",
|
|
85
84
|
"vite": "^4.5.5",
|
|
86
85
|
"yup": "^1.4.0",
|
|
87
86
|
"zod": "^3.23.8",
|
|
88
|
-
"@tinacms/app": "
|
|
89
|
-
"@tinacms/graphql": "1.5.
|
|
90
|
-
"@tinacms/metrics": "1.0.
|
|
91
|
-
"@tinacms/
|
|
92
|
-
"@tinacms/
|
|
93
|
-
"tinacms": "
|
|
87
|
+
"@tinacms/app": "0.0.0-b720fb9-20241203044105",
|
|
88
|
+
"@tinacms/graphql": "1.5.8",
|
|
89
|
+
"@tinacms/metrics": "1.0.8",
|
|
90
|
+
"@tinacms/schema-tools": "1.6.8",
|
|
91
|
+
"@tinacms/search": "1.0.35",
|
|
92
|
+
"tinacms": "0.0.0-b720fb9-20241203044105"
|
|
94
93
|
},
|
|
95
94
|
"publishConfig": {
|
|
96
95
|
"registry": "https://registry.npmjs.org"
|