@apigames/sdk-core 21.1.5 → 22.1.0-dev.3

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/LICENSE CHANGED
@@ -1 +1 @@
1
- Copyright (c) 2021 API Games Limited. All rights reserved.
1
+ Copyright (c) 2022 API Games Limited. All rights reserved.
package/README.md CHANGED
@@ -1,18 +1,22 @@
1
- API Games SDK Core Package
2
- ==========================
1
+ # API Games SDK Core Package
2
+
3
+ ![](https://img.shields.io/badge/build-passing-brightgreen)
4
+ [![Codacy Badge](https://app.codacy.com/project/badge/Grade/bfcc501797104db99608b1fe49e4c8fb)](https://www.codacy.com?utm_source=github.com&utm_medium=referral&utm_content=apigames-private/sdk-core&utm_campaign=Badge_Grade)
5
+ [![Codacy Badge](https://app.codacy.com/project/badge/Coverage/bfcc501797104db99608b1fe49e4c8fb)](https://www.codacy.com?utm_source=github.com&utm_medium=referral&utm_content=apigames-private/sdk-core&utm_campaign=Badge_Coverage)
6
+ ![](https://img.shields.io/badge/license-UNLICENSED-blue)
3
7
 
4
8
  This package includes the core capabilites required by SDKs built to access the API Games Platform.
5
9
 
6
- ### Download & Installation
10
+ ## Download & Installation
7
11
 
8
12
  ```shell
9
13
  $ npm i @apigames/sdk-core
10
14
  ```
11
15
 
12
- ### Authors or Acknowledgments
16
+ ## Authors or Acknowledgments
13
17
 
14
18
  * API Games Limited
15
19
 
16
- ### License
20
+ ## License
17
21
 
18
- Copyright (c) 2021 API Games Limited. All rights reserved.
22
+ Copyright (c) 2022 API Games Limited. All rights reserved.
package/package.json CHANGED
@@ -3,14 +3,18 @@
3
3
  "author": "API Games Limited",
4
4
  "description": "API Games SDK Core",
5
5
  "license": "UNLICENSED",
6
- "version": "21.1.5",
6
+ "version": "22.1.0-dev.3",
7
7
  "main": "lib/index.js",
8
8
  "types": "lib/index.d.ts",
9
9
  "scripts": {
10
- "win:build": "(if exist lib rmdir /s /q lib) && tsc && jest && jest --coverage",
11
- "unx:build": "rm -rf lib && tsc && jest && jest --coverage",
12
- "win:publish": "(if exist lib rmdir /s /q lib) && tsc && jest && jest && npm publish",
13
- "unx:publish": "rm -rf lib && tsc && jest && jest && npm publish",
10
+ "win:build": "(if exist lib rmdir /s /q lib) && tsc && jest && jest --config build.jest.config.js --coverage",
11
+ "unx:build": "rm -rf lib && tsc && jest && jest --config build.jest.config.js --coverage",
12
+ "win:publish": "(if exist lib rmdir /s /q lib) && tsc && jest && jest --config build.jest.config.js && npm publish",
13
+ "unx:publish": "rm -rf lib && tsc && jest && jest --config build.jest.config.js && npm publish",
14
+ "win:publish-beta": "(if exist lib rmdir /s /q lib) && tsc && jest && jest --config build.jest.config.js && npm publish --tag beta",
15
+ "unx:publish-beta": "rm -rf lib && tsc && jest && jest --config build.jest.config.js && npm publish --tag beta",
16
+ "win:publish-dev": "(if exist lib rmdir /s /q lib) && tsc && jest && jest --config build.jest.config.js && npm publish --tag dev",
17
+ "unx:publish-dev": "rm -rf lib && tsc && jest && jest --config build.jest.config.js && npm publish --tag dev",
14
18
  "win:upgrade-latest": "(if exist node_modules rmdir /s /q node_modules) && (if exist package-lock.json del /s /q package-lock.json) && ncu -u --target latest && npm install",
15
19
  "unx:upgrade-latest": "rm -rf node_modules && rm -f package-lock.json && ncu -u --target latest && npm install",
16
20
  "win:upgrade-minor": "(if exist node_modules rmdir /s /q node_modules) && (if exist package-lock.json del /s /q package-lock.json) && ncu -u --target minor && npm install",
@@ -19,26 +23,26 @@
19
23
  "test:watch": "jest --watch"
20
24
  },
21
25
  "dependencies": {
22
- "@apigames/json": "21.1.3",
23
- "@apigames/rest-client": "21.1.2",
26
+ "@apigames/json": "22.1.0-dev.9",
27
+ "@apigames/rest-client": "22.1.0-dev.9",
24
28
  "object-hash": "2.2.0"
25
29
  },
26
30
  "devDependencies": {
27
- "date-and-time": "^2.0.1",
31
+ "date-and-time": "^2.1.0",
28
32
  "@types/date-and-time": "^0.13.0",
29
- "@types/jest": "26.0.24",
30
- "@types/node": "14.17.34",
31
- "@typescript-eslint/eslint-plugin": "4.33.0",
32
- "@typescript-eslint/parser": "4.33.0",
33
- "eslint": "7.32.0",
34
- "eslint-config-airbnb": "18.2.1",
35
- "eslint-plugin-import": "2.25.3",
33
+ "@types/jest": "27.4.0",
34
+ "@types/node": "17.0.14",
35
+ "@typescript-eslint/eslint-plugin": "5.10.2",
36
+ "@typescript-eslint/parser": "5.10.2",
37
+ "eslint": "8.8.0",
38
+ "eslint-config-airbnb": "19.0.4",
39
+ "eslint-plugin-import": "2.25.4",
36
40
  "eslint-plugin-jsx-a11y": "6.5.1",
37
- "eslint-plugin-react": "7.27.1",
41
+ "eslint-plugin-react": "7.28.0",
38
42
  "eslint-plugin-react-hooks": "4.3.0",
39
- "jest": "27.0.6",
40
- "ts-jest": "27.0.4",
41
- "typescript": "4.5.2"
43
+ "jest": "27.4.7",
44
+ "ts-jest": "27.1.3",
45
+ "typescript": "4.5.5"
42
46
  },
43
47
  "eslintConfig": {},
44
48
  "repository": {
@@ -0,0 +1,7 @@
1
+ export CODACY_API_TOKEN=zLmkgxu0V5R3qEbGrbbm
2
+ export CODACY_ORGANIZATION_PROVIDER=gh
3
+ export CODACY_USERNAME=apigames-private
4
+ export CODACY_PROJECT_NAME=sdk-core
5
+
6
+ bash <(curl -Ls https://coverage.codacy.com/get.sh) report -r coverage/clover.xml
7
+