@adtrackify/at-service-common 1.0.12 → 1.0.15

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.
@@ -0,0 +1,20 @@
1
+ image: node:14.13.0
2
+
3
+ pipelines:
4
+ default:
5
+ - step:
6
+ caches:
7
+ - node
8
+ script:
9
+ - printf "//`node -p \"require('url').parse(process.env.NPM_REGISTRY_URL || 'https://registry.npmjs.org').host\"`/:_authToken=${NPM_TOKEN}\nregistry=${NPM_REGISTRY_URL:-https://registry.npmjs.org}\n" >> ~/.npmrc
10
+ - npm install
11
+ - npm run build:dev
12
+ branches:
13
+ master:
14
+ - step:
15
+ deployment: prod
16
+ caches:
17
+ - node
18
+ script:
19
+ - printf "//`node -p \"require('url').parse(process.env.NPM_REGISTRY_URL || 'https://registry.npmjs.org').host\"`/:_authToken=${NPM_TOKEN}\nregistry=${NPM_REGISTRY_URL:-https://registry.npmjs.org}\n" >> ~/.npmrc
20
+ - npm run push
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@adtrackify/at-service-common",
3
- "version": "1.0.12",
3
+ "version": "1.0.15",
4
4
  "description": "",
5
- "main": "./dist/index.ts",
5
+ "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
7
7
  "scripts": {
8
8
  "clean": "rimraf dist",
@@ -31,7 +31,11 @@
31
31
  "joi": "^17.6.0",
32
32
  "lambda-log": "^3.1.0",
33
33
  "luxon": "^3.0.1",
34
- "ua-parser-js": "^1.0.2"
34
+ "ua-parser-js": "^1.0.2",
35
+ "@types/ua-parser-js": "^0.7.36",
36
+ "@types/lambda-log": "^2.2.1",
37
+ "@types/luxon": "^3.0.0",
38
+ "@types/axios": "^0.14.0"
35
39
  },
36
40
  "devDependencies": {
37
41
  "@babel/cli": "^7.13.16",
@@ -41,12 +45,8 @@
41
45
  "@babel/preset-env": "^7.16.8",
42
46
  "@babel/preset-typescript": "^7.16.7",
43
47
  "@babel/runtime-corejs3": "^7.13.17",
44
- "@types/axios": "^0.14.0",
45
48
  "@types/jest": "^27.4.1",
46
- "@types/lambda-log": "^2.2.1",
47
- "@types/luxon": "^3.0.0",
48
49
  "@types/node": "^17.0.8",
49
- "@types/ua-parser-js": "^0.7.36",
50
50
  "@typescript-eslint/eslint-plugin": "^5.21.0",
51
51
  "@typescript-eslint/parser": "^5.21.0",
52
52
  "aws-sdk": "^2.1189.0",
@@ -88,4 +88,4 @@
88
88
  "author": "",
89
89
  "license": "ISC",
90
90
  "homepage": "https://bitbucket.org/eacap/at-tracking-event-types#readme"
91
- }
91
+ }
@@ -1,3 +1,5 @@
1
+
2
+
1
3
  declare module 'axios/lib/adapters/http' {
2
4
  import { AxiosAdapter } from 'axios';
3
5
 
@@ -5,4 +7,6 @@ declare module 'axios/lib/adapters/http' {
5
7
  namespace httpAdapter { }
6
8
 
7
9
  export = httpAdapter;
8
- }
10
+ }
11
+
12
+