@quatrain/cloudwrapper-firebase 1.1.11 → 1.1.12

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 (1) hide show
  1. package/package.json +7 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quatrain/cloudwrapper-firebase",
3
- "version": "1.1.11",
3
+ "version": "1.1.12",
4
4
  "license": "MIT",
5
5
  "description": "Cloud Wrapper adapter for Firebase",
6
6
  "main": "lib/index.js",
@@ -11,7 +11,7 @@
11
11
  ],
12
12
  "author": "Quatrain Développement SAS <developers@quatrain.com>",
13
13
  "peerDependencies": {
14
- "@quatrain/core": "^1.1.11"
14
+ "@quatrain/core": "^1.1.15"
15
15
  },
16
16
  "dependencies": {
17
17
  "firebase-admin": "^13.0.1",
@@ -30,11 +30,14 @@
30
30
  "typescript": "^5.1.5"
31
31
  },
32
32
  "scripts": {
33
- "pretest": "tsc",
34
33
  "test-ci": "jest --runInBand",
35
34
  "build": "tsc",
36
35
  "wbuild": "tsc --watch",
37
36
  "bump-to": "yarn version",
38
- "publish": "yarn build && yarn npm publish --access public"
37
+ "hash": "node ../../bin/hashFolder.js",
38
+ "hash:persist": "yarn hash > .hash_latest.txt",
39
+ "hash:compare": "yarn hash > .hash_newest.txt && cmp -s .hash_latest.txt .hash_newest.txt",
40
+ "publish": "yarn hash:compare || yarn publish:process",
41
+ "publish:process": "yarn version patch && yarn build && yarn npm publish --access public && yarn hash:persist"
39
42
  }
40
43
  }