@tinacms/cli 2.4.1 → 2.4.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.
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { Cli, Builtins } from "clipanion";
|
|
3
3
|
|
|
4
4
|
// package.json
|
|
5
|
-
var version = "2.4.
|
|
5
|
+
var version = "2.4.2";
|
|
6
6
|
|
|
7
7
|
// src/next/commands/dev-command/index.ts
|
|
8
8
|
import path10 from "path";
|
|
@@ -1387,6 +1387,7 @@ var createDBServer = (port) => {
|
|
|
1387
1387
|
}
|
|
1388
1388
|
});
|
|
1389
1389
|
dbServer.listen(port, "localhost");
|
|
1390
|
+
return dbServer;
|
|
1390
1391
|
};
|
|
1391
1392
|
async function createAndInitializeDatabase(configManager, datalayerPort, bridgeOverride) {
|
|
1392
1393
|
let database;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/next/database.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
import { type Server } from 'net';
|
|
1
2
|
import { Bridge, Database } from '@tinacms/graphql';
|
|
2
3
|
import { ConfigManager } from './config-manager';
|
|
3
|
-
export declare const createDBServer: (port: number) =>
|
|
4
|
+
export declare const createDBServer: (port: number) => Server;
|
|
4
5
|
export declare function createAndInitializeDatabase(configManager: ConfigManager, datalayerPort: number, bridgeOverride?: Bridge): Promise<Database>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tinacms/cli",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.4.
|
|
4
|
+
"version": "2.4.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"typings": "dist/index.d.ts",
|
|
7
7
|
"files": [
|
|
@@ -41,6 +41,8 @@
|
|
|
41
41
|
"@types/progress": "^2.0.7",
|
|
42
42
|
"@types/prompts": "^2.4.9",
|
|
43
43
|
"jest": "^29.7.0",
|
|
44
|
+
"mongodb-level": "^0.0.4",
|
|
45
|
+
"sqlite-level": "^2.1.0",
|
|
44
46
|
"ts-jest": "^29.2.5",
|
|
45
47
|
"@tinacms/scripts": "1.6.1"
|
|
46
48
|
},
|
|
@@ -90,12 +92,12 @@
|
|
|
90
92
|
"vite": "^4.5.9",
|
|
91
93
|
"yup": "^1.6.1",
|
|
92
94
|
"zod": "^3.24.2",
|
|
93
|
-
"@tinacms/app": "2.5.
|
|
94
|
-
"@tinacms/graphql": "2.4.
|
|
95
|
+
"@tinacms/app": "2.5.2",
|
|
96
|
+
"@tinacms/graphql": "2.4.3",
|
|
97
|
+
"@tinacms/search": "1.2.17",
|
|
98
|
+
"tinacms": "3.8.4",
|
|
95
99
|
"@tinacms/metrics": "2.1.0",
|
|
96
|
-
"@tinacms/
|
|
97
|
-
"tinacms": "3.8.3",
|
|
98
|
-
"@tinacms/schema-tools": "2.8.0"
|
|
100
|
+
"@tinacms/schema-tools": "2.8.1"
|
|
99
101
|
},
|
|
100
102
|
"publishConfig": {
|
|
101
103
|
"registry": "https://registry.npmjs.org"
|
|
@@ -107,6 +109,7 @@
|
|
|
107
109
|
"scripts": {
|
|
108
110
|
"build": "tinacms-scripts build",
|
|
109
111
|
"test": "jest --passWithNoTests",
|
|
112
|
+
"test:adapters": "NODE_OPTIONS='--experimental-vm-modules' jest --config jest.adapter-matrix.config.js --runTestsByPath src/next/adapter-matrix.adapter-test.ts",
|
|
110
113
|
"types": "pnpm tsc",
|
|
111
114
|
"test-watch": "jest --passWithNoTests --watch",
|
|
112
115
|
"tinacms": "MONOREPO_DEV=true node ./bin/tinacms",
|