@epilot/metering-client 0.2.8 → 0.2.9

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/package.json CHANGED
@@ -1,36 +1,47 @@
1
1
  {
2
2
  "name": "@epilot/metering-client",
3
- "version": "0.2.8",
3
+ "version": "0.2.9",
4
4
  "description": "API Client for epilot Metering API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/epilot-dev/sdk-js.git",
10
+ "directory": "clients/metering-client"
11
+ },
12
+ "bugs": {
13
+ "url": "https://github.com/epilot-dev/sdk-js/issues"
14
+ },
15
+ "homepage": "https://github.com/epilot-dev/sdk-js/tree/main/clients/metering-client#readme",
16
+ "keywords": [
17
+ "epilot",
18
+ "sdk",
19
+ "metering"
20
+ ],
7
21
  "scripts": {
8
22
  "test": "jest",
9
23
  "typescript": "tsc",
10
24
  "bundle-definition": "webpack",
11
- "openapi": "openapi read --json ../lambda/ApiHandlerFunction/openapi.yml > src/openapi.json",
12
- "typegen": "echo '/* eslint-disable */' > src/openapi.d.ts && typegen ../lambda/ApiHandlerFunction/openapi.yml >> src/openapi.d.ts",
13
- "build": "npm run openapi && npm run typegen && npm run typescript && npm run bundle-definition",
14
- "eslint": "../node_modules/.bin/eslint -c ../.eslintrc.yml",
15
- "prepublishOnly": "npm run build"
25
+ "openapi": "node ../../scripts/update-openapi.js https://docs.api.epilot.io/metering.yaml",
26
+ "typegen": "echo '/* eslint-disable */' > src/openapi.d.ts && typegen ./src/openapi.json >> src/openapi.d.ts",
27
+ "build": "tsc && npm run bundle-definition",
28
+ "build:watch": "npm run build && tsc -w",
29
+ "prepublishOnly": "npm run typegen && npm run build",
30
+ "lint": "../../node_modules/eslint/bin/eslint.js src"
16
31
  },
17
32
  "files": [
18
33
  "*.js",
19
34
  "*.d.ts",
35
+ "**/*.json",
20
36
  "**/*.js",
21
37
  "**/*.d.ts",
22
38
  "!*.test.*",
23
39
  "!**/*.test.*",
24
40
  "!node_modules",
25
41
  "!src",
42
+ "!src/**",
26
43
  "!*.config.js"
27
44
  ],
28
- "repository": {
29
- "type": "git",
30
- "url": "https://github.com/epilot-dev/sdk-js",
31
- "directory": "clients/ts-sam-client"
32
- },
33
- "keywords": [],
34
45
  "author": "epilot GmbH",
35
46
  "license": "UNLICENSED",
36
47
  "peerDependencies": {
@@ -39,7 +50,7 @@
39
50
  "dependencies": {
40
51
  "buffer": "^6.0.3",
41
52
  "https-browserify": "^1.0.0",
42
- "openapi-client-axios": "^6.0.0",
53
+ "openapi-client-axios": "^5.3.1",
43
54
  "stream-http": "^3.1.1",
44
55
  "url": "^0.11.0",
45
56
  "util": "^0.12.3"
@@ -51,7 +62,7 @@
51
62
  "jest": "^26.6.3",
52
63
  "json-loader": "^0.5.7",
53
64
  "openapi-client-axios-typegen": "^6.0.0",
54
- "openapicmd": "^1.8.2",
65
+ "openapicmd": "^1.17.0",
55
66
  "ts-jest": "^26.5.6",
56
67
  "ts-loader": "^8.3.0",
57
68
  "ts-node": "^9.1.1",
package/tsconfig.json ADDED
@@ -0,0 +1,23 @@
1
+ {
2
+ "compilerOptions": {
3
+ "strict": true,
4
+ "target": "es5",
5
+ "module": "commonjs",
6
+ "moduleResolution": "node",
7
+ "lib": ["esnext", "dom"],
8
+ "experimentalDecorators": true,
9
+ "emitDecoratorMetadata": true,
10
+ "esModuleInterop": true,
11
+ "noImplicitAny": true,
12
+ "strictPropertyInitialization": false,
13
+ "strictNullChecks": false,
14
+ "resolveJsonModule": true,
15
+ "baseUrl": ".",
16
+ "rootDir": "src",
17
+ "outDir": "dist",
18
+ "sourceMap": true,
19
+ "declaration": true
20
+ },
21
+ "include": ["src/**/*"],
22
+ "exclude": ["**/*.test.ts"]
23
+ }
package/CHANGELOG.md DELETED
@@ -1,5 +0,0 @@
1
- # Changelog
2
-
3
- All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
-
5
- ### [0.1.1](https://github.com/epilot-dev/sdk-js/compare/v1.0.0...v0.1.1) (2022-03-09)