@logto/cli 1.0.0-rc.3 → 1.0.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/lib/commands/database/seed/index.js +1 -1
- package/lib/commands/database/seed/tables.d.ts +1 -1
- package/lib/commands/database/seed/tables.js +2 -2
- package/lib/connector/factories.d.ts +1 -1
- package/lib/connector/types.d.ts +1 -1
- package/lib/connector/utils.d.ts +4 -296
- package/lib/database.d.ts +1 -1
- package/lib/package-json.js +6 -6
- package/package.json +6 -6
|
@@ -17,7 +17,7 @@ export const seedByPool = async (pool, cloud = false) => {
|
|
|
17
17
|
text: 'Create tables',
|
|
18
18
|
prefixText: chalk.blue('[info]'),
|
|
19
19
|
});
|
|
20
|
-
await seedTables(connection, latestTimestamp);
|
|
20
|
+
await seedTables(connection, latestTimestamp, cloud);
|
|
21
21
|
if (cloud) {
|
|
22
22
|
await seedCloud(connection);
|
|
23
23
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { DatabaseTransactionConnection } from 'slonik';
|
|
2
2
|
export declare const createTables: (connection: DatabaseTransactionConnection) => Promise<void>;
|
|
3
|
-
export declare const seedTables: (connection: DatabaseTransactionConnection, latestTimestamp: number) => Promise<void>;
|
|
3
|
+
export declare const seedTables: (connection: DatabaseTransactionConnection, latestTimestamp: number, isCloud: boolean) => Promise<void>;
|
|
4
4
|
export declare const seedCloud: (connection: DatabaseTransactionConnection) => Promise<void>;
|
|
@@ -71,7 +71,7 @@ export const createTables = async (connection) => {
|
|
|
71
71
|
/* eslint-enable no-await-in-loop */
|
|
72
72
|
await runLifecycleQuery('after_all', { database });
|
|
73
73
|
};
|
|
74
|
-
export const seedTables = async (connection, latestTimestamp) => {
|
|
74
|
+
export const seedTables = async (connection, latestTimestamp, isCloud) => {
|
|
75
75
|
await createTenant(connection, defaultTenantId);
|
|
76
76
|
await seedOidcConfigs(connection, defaultTenantId);
|
|
77
77
|
await seedAdminData(connection, defaultManagementApi);
|
|
@@ -96,7 +96,7 @@ export const seedTables = async (connection, latestTimestamp) => {
|
|
|
96
96
|
await assignScopesToRole(connection, adminTenantId, adminAdminData.role.id, ...cloudAdditionalScopes.map(({ id }) => id));
|
|
97
97
|
await Promise.all([
|
|
98
98
|
connection.query(insertInto(createDefaultAdminConsoleConfig(defaultTenantId), 'logto_configs')),
|
|
99
|
-
connection.query(insertInto(createDefaultSignInExperience(defaultTenantId), 'sign_in_experiences')),
|
|
99
|
+
connection.query(insertInto(createDefaultSignInExperience(defaultTenantId, isCloud), 'sign_in_experiences')),
|
|
100
100
|
connection.query(insertInto(createDefaultAdminConsoleConfig(adminTenantId), 'logto_configs')),
|
|
101
101
|
connection.query(insertInto(createAdminTenantSignInExperience(), 'sign_in_experiences')),
|
|
102
102
|
connection.query(insertInto(createDefaultAdminConsoleApplication(), 'applications')),
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { ConnectorFactory, ConnectorPackage } from './types.js';
|
|
2
|
-
export declare const loadConnectorFactories: (connectorPackages: ConnectorPackage[], ignoreVersionMismatch: boolean) => Promise<ConnectorFactory
|
|
2
|
+
export declare const loadConnectorFactories: (connectorPackages: ConnectorPackage[], ignoreVersionMismatch: boolean) => Promise<ConnectorFactory[]>;
|
package/lib/connector/types.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import type { AllConnector, CreateConnector } from '@logto/connector-kit';
|
|
|
3
3
|
* Dynamic loaded connector type.
|
|
4
4
|
*/
|
|
5
5
|
export type ConnectorFactory<T extends AllConnector = AllConnector> = Pick<T, 'type' | 'metadata'> & {
|
|
6
|
-
createConnector: CreateConnector<
|
|
6
|
+
createConnector: CreateConnector<T>;
|
|
7
7
|
path: string;
|
|
8
8
|
};
|
|
9
9
|
export type ConnectorPackage = {
|
package/lib/connector/utils.d.ts
CHANGED
|
@@ -1,303 +1,11 @@
|
|
|
1
|
-
import type { AllConnector, BaseConnector, GetConnectorConfig } from '@logto/connector-kit';
|
|
1
|
+
import type { AllConnector, BaseConnector, ConnectorMetadata, GetConnectorConfig } from '@logto/connector-kit';
|
|
2
2
|
import { ConnectorType } from '@logto/connector-kit';
|
|
3
3
|
import type { ConnectorFactory } from './types.js';
|
|
4
4
|
export declare function validateConnectorModule(connector: Partial<BaseConnector<ConnectorType>>): asserts connector is BaseConnector<ConnectorType>;
|
|
5
5
|
export declare const readUrl: (url: string, baseUrl: string, type: 'text' | 'svg') => Promise<string>;
|
|
6
6
|
export declare const parseMetadata: (metadata: AllConnector['metadata'], packagePath: string) => Promise<AllConnector['metadata']>;
|
|
7
|
-
export declare const buildRawConnector: (connectorFactory: ConnectorFactory
|
|
8
|
-
rawConnector:
|
|
9
|
-
rawMetadata:
|
|
10
|
-
isStandard?: boolean | undefined;
|
|
11
|
-
configTemplate?: string | undefined;
|
|
12
|
-
formItems?: ({
|
|
13
|
-
placeholder?: string | undefined;
|
|
14
|
-
required?: boolean | undefined;
|
|
15
|
-
defaultValue?: unknown;
|
|
16
|
-
showConditions?: {
|
|
17
|
-
expectValue?: unknown;
|
|
18
|
-
targetKey: string;
|
|
19
|
-
}[] | undefined;
|
|
20
|
-
description?: string | undefined;
|
|
21
|
-
tooltip?: string | undefined;
|
|
22
|
-
type: import("@logto/connector-kit").ConnectorConfigFormItemType.Select;
|
|
23
|
-
selectItems: {
|
|
24
|
-
value: string;
|
|
25
|
-
title: string;
|
|
26
|
-
}[];
|
|
27
|
-
key: string;
|
|
28
|
-
label: string;
|
|
29
|
-
} | {
|
|
30
|
-
placeholder?: string | undefined;
|
|
31
|
-
required?: boolean | undefined;
|
|
32
|
-
defaultValue?: unknown;
|
|
33
|
-
showConditions?: {
|
|
34
|
-
expectValue?: unknown;
|
|
35
|
-
targetKey: string;
|
|
36
|
-
}[] | undefined;
|
|
37
|
-
description?: string | undefined;
|
|
38
|
-
tooltip?: string | undefined;
|
|
39
|
-
type: import("@logto/connector-kit").ConnectorConfigFormItemType.Text | import("@logto/connector-kit").ConnectorConfigFormItemType.Number | import("@logto/connector-kit").ConnectorConfigFormItemType.MultilineText | import("@logto/connector-kit").ConnectorConfigFormItemType.Switch | import("@logto/connector-kit").ConnectorConfigFormItemType.Json;
|
|
40
|
-
key: string;
|
|
41
|
-
label: string;
|
|
42
|
-
})[] | undefined;
|
|
43
|
-
description: {
|
|
44
|
-
en: string;
|
|
45
|
-
} & {
|
|
46
|
-
"af-ZA"?: string | undefined;
|
|
47
|
-
"am-ET"?: string | undefined;
|
|
48
|
-
"ar-AR"?: string | undefined;
|
|
49
|
-
"as-IN"?: string | undefined;
|
|
50
|
-
"az-AZ"?: string | undefined;
|
|
51
|
-
"be-BY"?: string | undefined;
|
|
52
|
-
"bg-BG"?: string | undefined;
|
|
53
|
-
"bn-IN"?: string | undefined;
|
|
54
|
-
"br-FR"?: string | undefined;
|
|
55
|
-
"bs-BA"?: string | undefined;
|
|
56
|
-
"ca-ES"?: string | undefined;
|
|
57
|
-
"cb-IQ"?: string | undefined;
|
|
58
|
-
"co-FR"?: string | undefined;
|
|
59
|
-
"cs-CZ"?: string | undefined;
|
|
60
|
-
"cx-PH"?: string | undefined;
|
|
61
|
-
"cy-GB"?: string | undefined;
|
|
62
|
-
"da-DK"?: string | undefined;
|
|
63
|
-
de?: string | undefined;
|
|
64
|
-
"de-DE"?: string | undefined;
|
|
65
|
-
"el-GR"?: string | undefined;
|
|
66
|
-
"en-GB"?: string | undefined;
|
|
67
|
-
"en-US"?: string | undefined;
|
|
68
|
-
"eo-EO"?: string | undefined;
|
|
69
|
-
es?: string | undefined;
|
|
70
|
-
"es-ES"?: string | undefined;
|
|
71
|
-
"es-419"?: string | undefined;
|
|
72
|
-
"et-EE"?: string | undefined;
|
|
73
|
-
"eu-ES"?: string | undefined;
|
|
74
|
-
"fa-IR"?: string | undefined;
|
|
75
|
-
"ff-NG"?: string | undefined;
|
|
76
|
-
"fi-FI"?: string | undefined;
|
|
77
|
-
"fo-FO"?: string | undefined;
|
|
78
|
-
fr?: string | undefined;
|
|
79
|
-
"fr-CA"?: string | undefined;
|
|
80
|
-
"fr-FR"?: string | undefined;
|
|
81
|
-
"fy-NL"?: string | undefined;
|
|
82
|
-
"ga-IE"?: string | undefined;
|
|
83
|
-
"gl-ES"?: string | undefined;
|
|
84
|
-
"gn-PY"?: string | undefined;
|
|
85
|
-
"gu-IN"?: string | undefined;
|
|
86
|
-
"ha-NG"?: string | undefined;
|
|
87
|
-
"he-IL"?: string | undefined;
|
|
88
|
-
"hi-IN"?: string | undefined;
|
|
89
|
-
"hr-HR"?: string | undefined;
|
|
90
|
-
"ht-HT"?: string | undefined;
|
|
91
|
-
"hu-HU"?: string | undefined;
|
|
92
|
-
"hy-AM"?: string | undefined;
|
|
93
|
-
"id-ID"?: string | undefined;
|
|
94
|
-
"ik-US"?: string | undefined;
|
|
95
|
-
"is-IS"?: string | undefined;
|
|
96
|
-
it?: string | undefined;
|
|
97
|
-
"it-IT"?: string | undefined;
|
|
98
|
-
"iu-CA"?: string | undefined;
|
|
99
|
-
ja?: string | undefined;
|
|
100
|
-
"ja-JP"?: string | undefined;
|
|
101
|
-
"ja-KS"?: string | undefined;
|
|
102
|
-
"jv-ID"?: string | undefined;
|
|
103
|
-
"ka-GE"?: string | undefined;
|
|
104
|
-
"kk-KZ"?: string | undefined;
|
|
105
|
-
"km-KH"?: string | undefined;
|
|
106
|
-
"kn-IN"?: string | undefined;
|
|
107
|
-
ko?: string | undefined;
|
|
108
|
-
"ko-KR"?: string | undefined;
|
|
109
|
-
"ku-TR"?: string | undefined;
|
|
110
|
-
"ky-KG"?: string | undefined;
|
|
111
|
-
"lo-LA"?: string | undefined;
|
|
112
|
-
"lt-LT"?: string | undefined;
|
|
113
|
-
"lv-LV"?: string | undefined;
|
|
114
|
-
"mg-MG"?: string | undefined;
|
|
115
|
-
"mk-MK"?: string | undefined;
|
|
116
|
-
"ml-IN"?: string | undefined;
|
|
117
|
-
"mn-MN"?: string | undefined;
|
|
118
|
-
"mr-IN"?: string | undefined;
|
|
119
|
-
"ms-MY"?: string | undefined;
|
|
120
|
-
"mt-MT"?: string | undefined;
|
|
121
|
-
"my-MM"?: string | undefined;
|
|
122
|
-
"nb-NO"?: string | undefined;
|
|
123
|
-
"ne-NP"?: string | undefined;
|
|
124
|
-
"nl-BE"?: string | undefined;
|
|
125
|
-
"nl-NL"?: string | undefined;
|
|
126
|
-
"nn-NO"?: string | undefined;
|
|
127
|
-
"or-IN"?: string | undefined;
|
|
128
|
-
"pa-IN"?: string | undefined;
|
|
129
|
-
"pl-PL"?: string | undefined;
|
|
130
|
-
"ps-AF"?: string | undefined;
|
|
131
|
-
pt?: string | undefined;
|
|
132
|
-
"pt-BR"?: string | undefined;
|
|
133
|
-
"pt-PT"?: string | undefined;
|
|
134
|
-
"ro-RO"?: string | undefined;
|
|
135
|
-
ru?: string | undefined;
|
|
136
|
-
"ru-RU"?: string | undefined;
|
|
137
|
-
"rw-RW"?: string | undefined;
|
|
138
|
-
"sc-IT"?: string | undefined;
|
|
139
|
-
"si-LK"?: string | undefined;
|
|
140
|
-
"sk-SK"?: string | undefined;
|
|
141
|
-
"sl-SI"?: string | undefined;
|
|
142
|
-
"sn-ZW"?: string | undefined;
|
|
143
|
-
"sq-AL"?: string | undefined;
|
|
144
|
-
"sr-RS"?: string | undefined;
|
|
145
|
-
"sv-SE"?: string | undefined;
|
|
146
|
-
"sw-KE"?: string | undefined;
|
|
147
|
-
"sy-SY"?: string | undefined;
|
|
148
|
-
"sz-PL"?: string | undefined;
|
|
149
|
-
"ta-IN"?: string | undefined;
|
|
150
|
-
"te-IN"?: string | undefined;
|
|
151
|
-
"tg-TJ"?: string | undefined;
|
|
152
|
-
"th-TH"?: string | undefined;
|
|
153
|
-
"tl-PH"?: string | undefined;
|
|
154
|
-
tr?: string | undefined;
|
|
155
|
-
"tr-TR"?: string | undefined;
|
|
156
|
-
"tt-RU"?: string | undefined;
|
|
157
|
-
"tz-MA"?: string | undefined;
|
|
158
|
-
"uk-UA"?: string | undefined;
|
|
159
|
-
"ur-PK"?: string | undefined;
|
|
160
|
-
"uz-UZ"?: string | undefined;
|
|
161
|
-
"vi-VN"?: string | undefined;
|
|
162
|
-
zh?: string | undefined;
|
|
163
|
-
"zh-CN"?: string | undefined;
|
|
164
|
-
"zh-HK"?: string | undefined;
|
|
165
|
-
"zh-MO"?: string | undefined;
|
|
166
|
-
"zh-TW"?: string | undefined;
|
|
167
|
-
"zz-TR"?: string | undefined;
|
|
168
|
-
};
|
|
169
|
-
id: string;
|
|
170
|
-
target: string;
|
|
171
|
-
platform: import("@logto/connector-kit").ConnectorPlatform | null;
|
|
172
|
-
name: {
|
|
173
|
-
en: string;
|
|
174
|
-
} & {
|
|
175
|
-
"af-ZA"?: string | undefined;
|
|
176
|
-
"am-ET"?: string | undefined;
|
|
177
|
-
"ar-AR"?: string | undefined;
|
|
178
|
-
"as-IN"?: string | undefined;
|
|
179
|
-
"az-AZ"?: string | undefined;
|
|
180
|
-
"be-BY"?: string | undefined;
|
|
181
|
-
"bg-BG"?: string | undefined;
|
|
182
|
-
"bn-IN"?: string | undefined;
|
|
183
|
-
"br-FR"?: string | undefined;
|
|
184
|
-
"bs-BA"?: string | undefined;
|
|
185
|
-
"ca-ES"?: string | undefined;
|
|
186
|
-
"cb-IQ"?: string | undefined;
|
|
187
|
-
"co-FR"?: string | undefined;
|
|
188
|
-
"cs-CZ"?: string | undefined;
|
|
189
|
-
"cx-PH"?: string | undefined;
|
|
190
|
-
"cy-GB"?: string | undefined;
|
|
191
|
-
"da-DK"?: string | undefined;
|
|
192
|
-
de?: string | undefined;
|
|
193
|
-
"de-DE"?: string | undefined;
|
|
194
|
-
"el-GR"?: string | undefined;
|
|
195
|
-
"en-GB"?: string | undefined;
|
|
196
|
-
"en-US"?: string | undefined;
|
|
197
|
-
"eo-EO"?: string | undefined;
|
|
198
|
-
es?: string | undefined;
|
|
199
|
-
"es-ES"?: string | undefined;
|
|
200
|
-
"es-419"?: string | undefined;
|
|
201
|
-
"et-EE"?: string | undefined;
|
|
202
|
-
"eu-ES"?: string | undefined;
|
|
203
|
-
"fa-IR"?: string | undefined;
|
|
204
|
-
"ff-NG"?: string | undefined;
|
|
205
|
-
"fi-FI"?: string | undefined;
|
|
206
|
-
"fo-FO"?: string | undefined;
|
|
207
|
-
fr?: string | undefined;
|
|
208
|
-
"fr-CA"?: string | undefined;
|
|
209
|
-
"fr-FR"?: string | undefined;
|
|
210
|
-
"fy-NL"?: string | undefined;
|
|
211
|
-
"ga-IE"?: string | undefined;
|
|
212
|
-
"gl-ES"?: string | undefined;
|
|
213
|
-
"gn-PY"?: string | undefined;
|
|
214
|
-
"gu-IN"?: string | undefined;
|
|
215
|
-
"ha-NG"?: string | undefined;
|
|
216
|
-
"he-IL"?: string | undefined;
|
|
217
|
-
"hi-IN"?: string | undefined;
|
|
218
|
-
"hr-HR"?: string | undefined;
|
|
219
|
-
"ht-HT"?: string | undefined;
|
|
220
|
-
"hu-HU"?: string | undefined;
|
|
221
|
-
"hy-AM"?: string | undefined;
|
|
222
|
-
"id-ID"?: string | undefined;
|
|
223
|
-
"ik-US"?: string | undefined;
|
|
224
|
-
"is-IS"?: string | undefined;
|
|
225
|
-
it?: string | undefined;
|
|
226
|
-
"it-IT"?: string | undefined;
|
|
227
|
-
"iu-CA"?: string | undefined;
|
|
228
|
-
ja?: string | undefined;
|
|
229
|
-
"ja-JP"?: string | undefined;
|
|
230
|
-
"ja-KS"?: string | undefined;
|
|
231
|
-
"jv-ID"?: string | undefined;
|
|
232
|
-
"ka-GE"?: string | undefined;
|
|
233
|
-
"kk-KZ"?: string | undefined;
|
|
234
|
-
"km-KH"?: string | undefined;
|
|
235
|
-
"kn-IN"?: string | undefined;
|
|
236
|
-
ko?: string | undefined;
|
|
237
|
-
"ko-KR"?: string | undefined;
|
|
238
|
-
"ku-TR"?: string | undefined;
|
|
239
|
-
"ky-KG"?: string | undefined;
|
|
240
|
-
"lo-LA"?: string | undefined;
|
|
241
|
-
"lt-LT"?: string | undefined;
|
|
242
|
-
"lv-LV"?: string | undefined;
|
|
243
|
-
"mg-MG"?: string | undefined;
|
|
244
|
-
"mk-MK"?: string | undefined;
|
|
245
|
-
"ml-IN"?: string | undefined;
|
|
246
|
-
"mn-MN"?: string | undefined;
|
|
247
|
-
"mr-IN"?: string | undefined;
|
|
248
|
-
"ms-MY"?: string | undefined;
|
|
249
|
-
"mt-MT"?: string | undefined;
|
|
250
|
-
"my-MM"?: string | undefined;
|
|
251
|
-
"nb-NO"?: string | undefined;
|
|
252
|
-
"ne-NP"?: string | undefined;
|
|
253
|
-
"nl-BE"?: string | undefined;
|
|
254
|
-
"nl-NL"?: string | undefined;
|
|
255
|
-
"nn-NO"?: string | undefined;
|
|
256
|
-
"or-IN"?: string | undefined;
|
|
257
|
-
"pa-IN"?: string | undefined;
|
|
258
|
-
"pl-PL"?: string | undefined;
|
|
259
|
-
"ps-AF"?: string | undefined;
|
|
260
|
-
pt?: string | undefined;
|
|
261
|
-
"pt-BR"?: string | undefined;
|
|
262
|
-
"pt-PT"?: string | undefined;
|
|
263
|
-
"ro-RO"?: string | undefined;
|
|
264
|
-
ru?: string | undefined;
|
|
265
|
-
"ru-RU"?: string | undefined;
|
|
266
|
-
"rw-RW"?: string | undefined;
|
|
267
|
-
"sc-IT"?: string | undefined;
|
|
268
|
-
"si-LK"?: string | undefined;
|
|
269
|
-
"sk-SK"?: string | undefined;
|
|
270
|
-
"sl-SI"?: string | undefined;
|
|
271
|
-
"sn-ZW"?: string | undefined;
|
|
272
|
-
"sq-AL"?: string | undefined;
|
|
273
|
-
"sr-RS"?: string | undefined;
|
|
274
|
-
"sv-SE"?: string | undefined;
|
|
275
|
-
"sw-KE"?: string | undefined;
|
|
276
|
-
"sy-SY"?: string | undefined;
|
|
277
|
-
"sz-PL"?: string | undefined;
|
|
278
|
-
"ta-IN"?: string | undefined;
|
|
279
|
-
"te-IN"?: string | undefined;
|
|
280
|
-
"tg-TJ"?: string | undefined;
|
|
281
|
-
"th-TH"?: string | undefined;
|
|
282
|
-
"tl-PH"?: string | undefined;
|
|
283
|
-
tr?: string | undefined;
|
|
284
|
-
"tr-TR"?: string | undefined;
|
|
285
|
-
"tt-RU"?: string | undefined;
|
|
286
|
-
"tz-MA"?: string | undefined;
|
|
287
|
-
"uk-UA"?: string | undefined;
|
|
288
|
-
"ur-PK"?: string | undefined;
|
|
289
|
-
"uz-UZ"?: string | undefined;
|
|
290
|
-
"vi-VN"?: string | undefined;
|
|
291
|
-
zh?: string | undefined;
|
|
292
|
-
"zh-CN"?: string | undefined;
|
|
293
|
-
"zh-HK"?: string | undefined;
|
|
294
|
-
"zh-MO"?: string | undefined;
|
|
295
|
-
"zh-TW"?: string | undefined;
|
|
296
|
-
"zz-TR"?: string | undefined;
|
|
297
|
-
};
|
|
298
|
-
logo: string;
|
|
299
|
-
logoDark: string | null;
|
|
300
|
-
readme: string;
|
|
301
|
-
};
|
|
7
|
+
export declare const buildRawConnector: <T extends AllConnector = AllConnector>(connectorFactory: ConnectorFactory<T>, getConnectorConfig?: GetConnectorConfig) => Promise<{
|
|
8
|
+
rawConnector: T;
|
|
9
|
+
rawMetadata: ConnectorMetadata;
|
|
302
10
|
}>;
|
|
303
11
|
export declare const isKeyInObject: <Key extends string>(object: unknown, key: Key) => object is Record<string, unknown> & Record<Key, unknown>;
|
package/lib/database.d.ts
CHANGED
|
@@ -9,4 +9,4 @@ export declare const createPoolFromConfig: () => Promise<import("slonik").Databa
|
|
|
9
9
|
* @returns A new database pool with the database URL in config.
|
|
10
10
|
*/
|
|
11
11
|
export declare const createPoolAndDatabaseIfNeeded: () => Promise<import("slonik").DatabasePool>;
|
|
12
|
-
export declare const insertInto: <T extends SchemaLike
|
|
12
|
+
export declare const insertInto: <T extends SchemaLike>(object: T, table: string) => import("slonik").TaggedTemplateLiteralInvocation<import("slonik").QueryResultRow>;
|
package/lib/package-json.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export const packageJson = {
|
|
2
2
|
"name": "@logto/cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Logto CLI.",
|
|
5
5
|
"author": "Silverhand Inc. <contact@silverhand.io>",
|
|
6
6
|
"homepage": "https://github.com/logto-io/logto#readme",
|
|
@@ -43,10 +43,10 @@ export const packageJson = {
|
|
|
43
43
|
"url": "https://github.com/logto-io/logto/issues"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@logto/connector-kit": "workspace
|
|
47
|
-
"@logto/core-kit": "workspace
|
|
48
|
-
"@logto/schemas": "workspace
|
|
49
|
-
"@logto/shared": "workspace
|
|
46
|
+
"@logto/connector-kit": "workspace:^",
|
|
47
|
+
"@logto/core-kit": "workspace:^",
|
|
48
|
+
"@logto/schemas": "workspace:^",
|
|
49
|
+
"@logto/shared": "workspace:^",
|
|
50
50
|
"@silverhand/essentials": "^2.5.0",
|
|
51
51
|
"chalk": "^5.0.0",
|
|
52
52
|
"decamelize": "^6.0.0",
|
|
@@ -83,7 +83,7 @@ export const packageJson = {
|
|
|
83
83
|
"lint-staged": "^13.0.0",
|
|
84
84
|
"prettier": "^2.8.2",
|
|
85
85
|
"sinon": "^15.0.0",
|
|
86
|
-
"typescript": "^
|
|
86
|
+
"typescript": "^5.0.0"
|
|
87
87
|
},
|
|
88
88
|
"eslintConfig": {
|
|
89
89
|
"extends": "@silverhand",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@logto/cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Logto CLI.",
|
|
5
5
|
"author": "Silverhand Inc. <contact@silverhand.io>",
|
|
6
6
|
"homepage": "https://github.com/logto-io/logto#readme",
|
|
@@ -48,10 +48,10 @@
|
|
|
48
48
|
"tar": "^6.1.11",
|
|
49
49
|
"yargs": "^17.6.0",
|
|
50
50
|
"zod": "^3.20.2",
|
|
51
|
-
"@logto/connector-kit": "1.
|
|
52
|
-
"@logto/core-kit": "1.
|
|
53
|
-
"@logto/schemas": "1.0.
|
|
54
|
-
"@logto/shared": "1.0.
|
|
51
|
+
"@logto/connector-kit": "^1.1.0",
|
|
52
|
+
"@logto/core-kit": "^1.1.0",
|
|
53
|
+
"@logto/schemas": "^1.0.1",
|
|
54
|
+
"@logto/shared": "^1.0.1"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@silverhand/eslint-config": "2.0.1",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"lint-staged": "^13.0.0",
|
|
69
69
|
"prettier": "^2.8.2",
|
|
70
70
|
"sinon": "^15.0.0",
|
|
71
|
-
"typescript": "^
|
|
71
|
+
"typescript": "^5.0.0"
|
|
72
72
|
},
|
|
73
73
|
"eslintConfig": {
|
|
74
74
|
"extends": "@silverhand",
|