instant-cli 1.0.23-branch-cli-codex-update.25390498340.1 → 1.0.23
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
|
@@ -3,7 +3,9 @@ import stripAnsi from 'strip-ansi';
|
|
|
3
3
|
import { redirectUriPrompt } from '../src/commands/auth/client/shared.ts';
|
|
4
4
|
|
|
5
5
|
test('redirectUriPrompt shows skipped when submitted empty', () => {
|
|
6
|
-
const prompt = redirectUriPrompt({
|
|
6
|
+
const prompt = redirectUriPrompt({
|
|
7
|
+
heading: 'Custom redirect URI (optional):',
|
|
8
|
+
});
|
|
7
9
|
|
|
8
10
|
const output = stripAnsi(prompt.modifyOutput!('\n', 'submitted'));
|
|
9
11
|
|
|
@@ -11,13 +13,12 @@ test('redirectUriPrompt shows skipped when submitted empty', () => {
|
|
|
11
13
|
});
|
|
12
14
|
|
|
13
15
|
test('redirectUriPrompt shows submitted custom redirect URI', () => {
|
|
14
|
-
const prompt = redirectUriPrompt({
|
|
16
|
+
const prompt = redirectUriPrompt({
|
|
17
|
+
heading: 'Custom redirect URI (optional):',
|
|
18
|
+
});
|
|
15
19
|
|
|
16
20
|
const output = stripAnsi(
|
|
17
|
-
prompt.modifyOutput!(
|
|
18
|
-
'\nhttps://example.com/oauth/callback',
|
|
19
|
-
'submitted',
|
|
20
|
-
),
|
|
21
|
+
prompt.modifyOutput!('\nhttps://example.com/oauth/callback', 'submitted'),
|
|
21
22
|
);
|
|
22
23
|
|
|
23
24
|
expect(output).toContain(
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "instant-cli",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.23
|
|
4
|
+
"version": "1.0.23",
|
|
5
5
|
"description": "Instant's CLI",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"homepage": "https://github.com/instantdb/instant/tree/main/client/packages/cli",
|
|
@@ -50,9 +50,9 @@
|
|
|
50
50
|
"strip-ansi": "^7.1.2",
|
|
51
51
|
"supports-hyperlinks": "^4.4.0",
|
|
52
52
|
"unconfig": "^7.5.0",
|
|
53
|
-
"@instantdb/core": "1.0.23
|
|
54
|
-
"@instantdb/platform": "1.0.23
|
|
55
|
-
"@instantdb/version": "1.0.23
|
|
53
|
+
"@instantdb/core": "1.0.23",
|
|
54
|
+
"@instantdb/platform": "1.0.23",
|
|
55
|
+
"@instantdb/version": "1.0.23"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@babel/core": "^7.17.9",
|