nango 0.16.6-beta → 0.16.8-beta

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.
@@ -3,7 +3,6 @@ import { <%= interfaceNames.join(', ') %> } from './models';
3
3
 
4
4
  class <%= syncName %> extends NangoSync {
5
5
  override async fetchData(nango: NangoHelper): Promise<{<% for (let i = 0; i < mappings.length; i++) { %><%= mappings[i].name %>: <%= mappings[i].type %>[]<% if (i !== mappings.length - 1) { %>, <% } %><% } %>}> {
6
- const providerConfigKey = '<%= providerConfigKey %>';
7
6
  // Rest of the integration code goes here.
8
7
  }
9
8
  }
@@ -0,0 +1,64 @@
1
+ version: '3.9'
2
+ services:
3
+ nango-db:
4
+ image: postgres
5
+ container_name: nango-db
6
+ environment:
7
+ POSTGRES_PASSWORD: nango
8
+ POSTGRES_USER: nango
9
+ POSTGRES_DB: nango
10
+ ports:
11
+ - '${NANGO_DB_PORT:-5432}:5432'
12
+ volumes:
13
+ - ./nango-data:/var/lib/postgresql/data
14
+ networks:
15
+ - nango
16
+
17
+ nango-server:
18
+ image: nangohq/nango-server:0.1.5-beta
19
+ container_name: nango-server
20
+ environment:
21
+ - TEMPORAL_ADDRESS=temporal:7233
22
+ restart: always
23
+ ports:
24
+ - '3003:3003'
25
+ depends_on:
26
+ - nango-db
27
+ networks:
28
+ - nango
29
+
30
+ nango-worker:
31
+ image: nangohq/nango-worker:0.1.5-beta
32
+ container_name: nango-worker
33
+ restart: always
34
+ ports:
35
+ - '3004:3004'
36
+ environment:
37
+ - TEMPORAL_ADDRESS=temporal:7233
38
+ depends_on:
39
+ - nango-db
40
+ - temporal
41
+ volumes:
42
+ - "${NANGO_INTEGRATIONS_LOCATION:./nango-integrations}/dist:/usr/nango-sync-server/src/packages/shared/dist/lib/nango-integrations"
43
+ networks:
44
+ - nango
45
+
46
+ temporal:
47
+ image: temporalio/auto-setup
48
+ container_name: temporal
49
+ depends_on:
50
+ - nango-db
51
+ environment:
52
+ - DB=postgresql
53
+ - DB_PORT=5432
54
+ - POSTGRES_USER=nango
55
+ - POSTGRES_PWD=nango
56
+ - POSTGRES_SEEDS=nango-db
57
+ - LOG_LEVEL=error
58
+ ports:
59
+ - 7233:7233
60
+ networks:
61
+ - nango
62
+
63
+ networks:
64
+ nango:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nango",
3
- "version": "0.16.6-beta",
3
+ "version": "0.16.8-beta",
4
4
  "description": "Nango's CLI tool.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -49,6 +49,8 @@
49
49
  },
50
50
  "files": [
51
51
  "dist/**/*",
52
+ "docker/**/*",
53
+ "tsconfig.dev.json",
52
54
  "!**/*.json",
53
55
  "README.md"
54
56
  ]
@@ -0,0 +1,30 @@
1
+ {
2
+ "compilerOptions": {
3
+ "lib": ["es2022"],
4
+ "module": "es2022",
5
+ "target": "es2022",
6
+ "strict": true,
7
+ "esModuleInterop": true,
8
+ "skipLibCheck": true,
9
+ "forceConsistentCasingInFileNames": true,
10
+ "moduleResolution": "node",
11
+ "allowUnusedLabels": false,
12
+ "allowUnreachableCode": false,
13
+ "exactOptionalPropertyTypes": true,
14
+ "noFallthroughCasesInSwitch": true,
15
+ "noImplicitOverride": true,
16
+ "noImplicitReturns": true,
17
+ "noPropertyAccessFromIndexSignature": true,
18
+ "noUncheckedIndexedAccess": true,
19
+ "noUnusedLocals": true,
20
+ "noUnusedParameters": true,
21
+ "declaration": false,
22
+ "sourceMap": false,
23
+ "composite": false,
24
+ "checkJs": false,
25
+ "rootDir": "nango-integrations",
26
+ "outDir": "nango-integrations/dist"
27
+ },
28
+ "include": ["nango-integrations"],
29
+ "exclude": ["node_modules"]
30
+ }