@storecraft/storage-google 1.0.2 → 1.0.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/adapter.js CHANGED
@@ -29,7 +29,7 @@ const infer_content_type = (name) => {
29
29
  */
30
30
 
31
31
  /**
32
- * Google Storage
32
+ * @description Google Storage adapter
33
33
  * @typedef {import('@storecraft/core/storage').storage_driver} storage
34
34
  *
35
35
  * @implements {storage}
@@ -101,6 +101,7 @@ export class GoogleStorage {
101
101
  Authorization: auth,
102
102
  'Content-Type': 'image/png'
103
103
  },
104
+ // @ts-ignore
104
105
  duplex: 'half'
105
106
  }
106
107
  );
package/jsconfig.json CHANGED
@@ -3,6 +3,7 @@
3
3
  "checkJs": true,
4
4
  "target": "ESNext",
5
5
  "moduleResolution": "NodeNext",
6
+ "maxNodeModuleJsDepth": 10,
6
7
  "module": "NodeNext",
7
8
  "composite": true,
8
9
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storecraft/storage-google",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Official Google Storage adapter for storecraft",
5
5
  "license": "MIT",
6
6
  "author": "Tomer Shalev (https://github.com/store-craft)",
@@ -18,13 +18,14 @@
18
18
  ],
19
19
  "scripts": {
20
20
  "storage-google:test": "uvu -c",
21
- "storage-google:publish": "npm publish --access public"
21
+ "test": "npm run storage-google:test",
22
+ "prepublishOnly": "npm version patch --force"
22
23
  },
23
24
  "type": "module",
24
25
  "main": "adapter.js",
25
26
  "types": "types.public.d.ts",
26
27
  "dependencies": {
27
- "@storecraft/core": "^1.0.0"
28
+ "@storecraft/core": "^1.0.11"
28
29
  },
29
30
  "devDependencies": {
30
31
  "@types/node": "^20.11.0",