@unito/integration-cli 1.0.2 → 1.1.0
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/boilerplate/.nvmrc +1 -1
- package/dist/boilerplate/Dockerfile +2 -2
- package/dist/boilerplate/package-lock.json +966 -147
- package/dist/boilerplate/package.json +6 -6
- package/dist/boilerplate/src/handlers/me.ts +1 -0
- package/dist/boilerplate/src/handlers/root.ts +1 -0
- package/dist/boilerplate/src/helpers.ts +2 -2
- package/dist/boilerplate/src/provider.ts +1 -1
- package/dist/boilerplate/tsconfig.json +2 -10
- package/oclif.manifest.json +1 -1
- package/package.json +2 -2
|
@@ -17,18 +17,18 @@
|
|
|
17
17
|
"email": "hello@unito.io"
|
|
18
18
|
},
|
|
19
19
|
"engines": {
|
|
20
|
-
"node": ">=
|
|
20
|
+
"node": ">=24"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@unito/integration-sdk": "^
|
|
23
|
+
"@unito/integration-sdk": "^5.0.0"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@
|
|
27
|
-
"@
|
|
28
|
-
"@typescript-eslint/parser": "^8.29.0",
|
|
26
|
+
"@eslint/js": "9.x",
|
|
27
|
+
"@types/node": "24.x",
|
|
29
28
|
"eslint": "9.x",
|
|
29
|
+
"typescript-eslint": "^8.58.0",
|
|
30
30
|
"prettier": "3.x",
|
|
31
31
|
"tsx": "4.x",
|
|
32
|
-
"typescript": "
|
|
32
|
+
"typescript": "6.x"
|
|
33
33
|
}
|
|
34
34
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { GetCredentialAccountHandler } from '@unito/integration-sdk';
|
|
2
2
|
|
|
3
|
+
// eslint-disable-next-line @typescript-eslint/require-await -- Remove when adding async provider calls
|
|
3
4
|
export const getCredentialAccount: GetCredentialAccountHandler = async () => {
|
|
4
5
|
return {
|
|
5
6
|
id: 'me',
|
|
@@ -20,7 +20,7 @@ import { Credentials, Secrets } from '@unito/integration-sdk';
|
|
|
20
20
|
* @param context The object containing the raw credentials
|
|
21
21
|
* @returns The enriched credentials object
|
|
22
22
|
*/
|
|
23
|
-
export const getCredentials = (
|
|
23
|
+
export const getCredentials = (_context: { credentials: Credentials }) => {
|
|
24
24
|
return {
|
|
25
25
|
// Tweak these properties to suit your needs
|
|
26
26
|
};
|
|
@@ -36,7 +36,7 @@ export const getCredentials = (context: { credentials: Credentials }) => {
|
|
|
36
36
|
* @param context The object containing the raw secrets
|
|
37
37
|
* @returns The enriched secrets object
|
|
38
38
|
*/
|
|
39
|
-
export const getSecrets = (
|
|
39
|
+
export const getSecrets = (_context: { secrets: Secrets }) => {
|
|
40
40
|
return {
|
|
41
41
|
// Tweak these properties to suit your needs
|
|
42
42
|
};
|
|
@@ -1,28 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"compilerOptions": {
|
|
3
|
-
"baseUrl": ".",
|
|
4
3
|
"declaration": true,
|
|
5
4
|
"declarationMap": true,
|
|
6
|
-
"emitDecoratorMetadata": true,
|
|
7
|
-
"esModuleInterop": true,
|
|
8
|
-
"experimentalDecorators": true,
|
|
9
5
|
"forceConsistentCasingInFileNames": true,
|
|
10
6
|
"incremental": true,
|
|
11
|
-
"
|
|
12
|
-
"lib": ["dom", "ES2022"],
|
|
7
|
+
"lib": ["ES2024"],
|
|
13
8
|
"module": "NodeNext",
|
|
9
|
+
"moduleResolution": "NodeNext",
|
|
14
10
|
"noImplicitAny": true,
|
|
15
11
|
"noFallthroughCasesInSwitch": true,
|
|
16
12
|
"noUnusedLocals": true,
|
|
17
13
|
"outDir": "./dist",
|
|
18
14
|
"pretty": true,
|
|
19
|
-
"moduleResolution": "NodeNext",
|
|
20
15
|
"rootDir": ".",
|
|
21
16
|
"sourceMap": true,
|
|
22
17
|
"strict": true,
|
|
23
|
-
"strictFunctionTypes": true,
|
|
24
|
-
"strictNullChecks": true,
|
|
25
|
-
"strictPropertyInitialization": false,
|
|
26
18
|
"target": "esnext"
|
|
27
19
|
}
|
|
28
20
|
}
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unito/integration-cli",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "Integration CLI",
|
|
5
5
|
"bin": {
|
|
6
6
|
"integration-cli": "./bin/run"
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"@ngrok/ngrok": "^1.7.0",
|
|
40
40
|
"@oazapfts/runtime": "1.x",
|
|
41
41
|
"@oclif/core": "3.x",
|
|
42
|
-
"@unito/integration-debugger": "^0.
|
|
42
|
+
"@unito/integration-debugger": "^0.30.0",
|
|
43
43
|
"ajv": "8.x",
|
|
44
44
|
"ajv-formats": "3.x",
|
|
45
45
|
"better-ajv-errors": "1.x",
|