@nhost/nhost-js 0.2.1 → 0.3.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.
Files changed (2) hide show
  1. package/README.md +2 -4
  2. package/package.json +6 -5
package/README.md CHANGED
@@ -2,13 +2,11 @@
2
2
  <h2 align="center">Nhost JavaScript SDK</h2>
3
3
 
4
4
  <p align="center">
5
- <img src="https://img.shields.io/badge/version-2.2.1-blue.svg?cacheSeconds=2592000" />
5
+ <img alt="npm" src="https://img.shields.io/npm/v/@nhost/nhost-js">
6
+ <img alt="npm" src="https://img.shields.io/npm/dm/@nhost/nhost-js">
6
7
  <a href="LICENSE">
7
8
  <img src="https://img.shields.io/badge/license-MIT-yellow.svg" alt="license: MIT" />
8
9
  </a>
9
- <a href="https://commitizen.github.io/cz-cli">
10
- <img src="https://img.shields.io/badge/commitizen-friendly-brightgreen.svg" alt="commitizen: friendly" />
11
- </a>
12
10
  <a href="https://prettier.io">
13
11
  <img src="https://img.shields.io/badge/code_style-prettier-ff69b4.svg" alt="code style: prettier" />
14
12
  </a>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nhost/nhost-js",
3
- "version": "0.2.1",
3
+ "version": "0.3.0",
4
4
  "description": "Nhost JavaScript SDK",
5
5
  "keywords": [
6
6
  "nhost"
@@ -19,18 +19,19 @@
19
19
  "dist/"
20
20
  ],
21
21
  "scripts": {
22
- "build": "run-s build:esm build:cjs",
22
+ "build": "run-p build:esm build:cjs",
23
23
  "build:esm": "tsc",
24
24
  "build:cjs": "tsc --module commonjs --outDir dist/cjs",
25
25
  "test:backend:start": "cd test/backend; nhost dev -d",
26
- "test": "jest --runInBand"
26
+ "test": "jest --runInBand",
27
+ "semantic-release": "semantic-release"
27
28
  },
28
29
  "repository": {
29
30
  "type": "git",
30
31
  "url": "git+https://github.com/nhost/nhost-js.git"
31
32
  },
32
33
  "dependencies": {
33
- "@nhost/hasura-auth-js": "^0.1.0",
34
+ "@nhost/hasura-auth-js": "^0.1.7",
34
35
  "@nhost/hasura-storage-js": "^0.0.5",
35
36
  "axios": "^0.23.0",
36
37
  "jwt-decode": "^3.1.2",
@@ -38,8 +39,8 @@
38
39
  },
39
40
  "devDependencies": {
40
41
  "@types/jest": "^27.0.2",
41
- "np": "^7.5.0",
42
42
  "npm-run-all": "^4.1.5",
43
+ "semantic-release": "^18.0.1",
43
44
  "ts-jest": "^27.0.7",
44
45
  "typedoc": "^0.22.6",
45
46
  "typescript": "^4.4.2"