instant-cli 0.22.50 → 0.22.51
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/.turbo/turbo-build.log
CHANGED
package/__tests__/rename.test.ts
CHANGED
|
@@ -76,7 +76,7 @@ test('works without flags', async () => {
|
|
|
76
76
|
rename: [],
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
const result = await diffSchemas(beforeSchema, afterSchema, fun);
|
|
79
|
+
const result = await diffSchemas(beforeSchema, afterSchema, fun, {});
|
|
80
80
|
|
|
81
81
|
console.log(result);
|
|
82
82
|
expectTxType(result, 'delete-attr', 2);
|
|
@@ -88,7 +88,7 @@ test('simple attr flag', async () => {
|
|
|
88
88
|
rename: ['animals.speccies:animals.species'],
|
|
89
89
|
});
|
|
90
90
|
|
|
91
|
-
const result = await diffSchemas(beforeSchema, afterSchema, fun);
|
|
91
|
+
const result = await diffSchemas(beforeSchema, afterSchema, fun, {});
|
|
92
92
|
|
|
93
93
|
console.log(result);
|
|
94
94
|
expectTxType(result, 'update-attr', 1);
|
|
@@ -99,7 +99,7 @@ test('simple link flag', async () => {
|
|
|
99
99
|
rename: ['animals.mother:animals.parent'],
|
|
100
100
|
});
|
|
101
101
|
|
|
102
|
-
const result = await diffSchemas(beforeSchema, afterSchema, fun);
|
|
102
|
+
const result = await diffSchemas(beforeSchema, afterSchema, fun, {});
|
|
103
103
|
|
|
104
104
|
console.log(result);
|
|
105
105
|
expectTxType(result, 'update-attr', 1);
|
|
@@ -115,7 +115,7 @@ test('both links and base attrs', async () => {
|
|
|
115
115
|
],
|
|
116
116
|
});
|
|
117
117
|
|
|
118
|
-
const result = await diffSchemas(beforeSchema, afterSchema, fun);
|
|
118
|
+
const result = await diffSchemas(beforeSchema, afterSchema, fun, {});
|
|
119
119
|
|
|
120
120
|
console.log(result);
|
|
121
121
|
expectTxType(result, 'update-attr', 2);
|
|
@@ -126,7 +126,7 @@ test('nonexisting flag', async () => {
|
|
|
126
126
|
rename: ['animals.favoriteFood:animals.favoriteFood'],
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
const result = await diffSchemas(beforeSchema, afterSchema, fun);
|
|
129
|
+
const result = await diffSchemas(beforeSchema, afterSchema, fun, {});
|
|
130
130
|
|
|
131
131
|
console.log(result);
|
|
132
132
|
expectTxType(result, 'delete-attr', 2);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "instant-cli",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "v0.22.
|
|
4
|
+
"version": "v0.22.51",
|
|
5
5
|
"description": "Instant's CLI",
|
|
6
6
|
"homepage": "https://github.com/instantdb/instant/tree/main/client/packages/cli",
|
|
7
7
|
"repository": {
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
"strip-ansi": "^7.1.2",
|
|
39
39
|
"terminal-link": "^3.0.0",
|
|
40
40
|
"unconfig": "^0.5.5",
|
|
41
|
-
"@instantdb/platform": "v0.22.
|
|
42
|
-
"@instantdb/version": "v0.22.
|
|
41
|
+
"@instantdb/platform": "v0.22.51",
|
|
42
|
+
"@instantdb/version": "v0.22.51"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@babel/core": "^7.17.9",
|
|
@@ -55,6 +55,8 @@
|
|
|
55
55
|
"build": "rm -rf dist; tsc -p tsconfig.json",
|
|
56
56
|
"dev": "tsc -p tsconfig.json --watch --skipLibCheck --preserveWatchOutput | grep -v '^$'",
|
|
57
57
|
"test": "vitest",
|
|
58
|
-
"
|
|
58
|
+
"test:ci": "vitest run",
|
|
59
|
+
"publish-package": "pnpm publish --access public --no-git-checks",
|
|
60
|
+
"clean": "rm -rf dist"
|
|
59
61
|
}
|
|
60
62
|
}
|