@cloudcommerce/api 0.0.18 → 0.0.21

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.
@@ -1,5 +1,5 @@
1
- @cloudcommerce/api:build: cache hit, replaying output 2a5927ed0962dc38
2
- @cloudcommerce/api:build: 
3
- @cloudcommerce/api:build: > @cloudcommerce/api@0.0.17 build /home/leo/code/ecomplus/cloud-commerce/packages/api
4
- @cloudcommerce/api:build: > sh scripts/build.sh
5
- @cloudcommerce/api:build: 
1
+ @cloudcommerce/api:build: cache hit, replaying output 4479d8bf46bb3726
2
+ @cloudcommerce/api:build: 
3
+ @cloudcommerce/api:build: > @cloudcommerce/api@0.0.20 build /home/leo/code/ecomplus/cloud-commerce/packages/api
4
+ @cloudcommerce/api:build: > sh ../../scripts/build-lib.sh && cp -r src/types lib/
5
+ @cloudcommerce/api:build: 
@@ -1,10 +1,10 @@
1
- @cloudcommerce/api:test: cache hit, replaying output 8aee822147ef7ecb
1
+ @cloudcommerce/api:test: cache hit, replaying output 697309f7dca50ea4
2
2
  @cloudcommerce/api:test: 
3
- @cloudcommerce/api:test: > @cloudcommerce/api@0.0.17 test /home/leo/code/ecomplus/cloud-commerce/packages/api
3
+ @cloudcommerce/api:test: > @cloudcommerce/api@0.0.20 test /home/leo/code/ecomplus/cloud-commerce/packages/api
4
4
  @cloudcommerce/api:test: > tsc -p ../../tsconfig.test.json && vitest run
5
5
  @cloudcommerce/api:test: 
6
6
  @cloudcommerce/api:test: 
7
- @cloudcommerce/api:test:  RUN v0.15.2 /home/leo/code/ecomplus/cloud-commerce/packages/api
7
+ @cloudcommerce/api:test:  RUN v0.17.1 /home/leo/code/ecomplus/cloud-commerce/packages/api
8
8
  @cloudcommerce/api:test: 
9
9
  @cloudcommerce/api:test:  ✓ tests/index.test.ts > Read product and typecheck SKU
10
10
  @cloudcommerce/api:test:  ✓ tests/index.test.ts > 404 with different Store ID from env
@@ -13,5 +13,5 @@
13
13
  @cloudcommerce/api:test: 
14
14
  @cloudcommerce/api:test: Test Files 1 passed (1)
15
15
  @cloudcommerce/api:test:  Tests 4 passed (4)
16
- @cloudcommerce/api:test:  Time 2.52s (in thread 1.08s, 233.58%)
16
+ @cloudcommerce/api:test:  Time 2.52s (in thread 1.02s, 247.38%)
17
17
  @cloudcommerce/api:test: 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/api",
3
3
  "type": "module",
4
- "version": "0.0.18",
4
+ "version": "0.0.21",
5
5
  "description": "E-Com Plus Cloud Commerce APIs client/adapter",
6
6
  "main": "lib/index.js",
7
7
  "types": "lib/index.d.ts",
@@ -17,7 +17,7 @@
17
17
  },
18
18
  "homepage": "https://github.com/ecomplus/cloud-commerce/tree/main/packages/api#readme",
19
19
  "scripts": {
20
- "build": "sh scripts/build.sh",
20
+ "build": "sh ../../scripts/build-lib.sh && cp -r src/types lib/",
21
21
  "test": "tsc -p ../../tsconfig.test.json && vitest run"
22
22
  }
23
23
  }
package/scripts/build.sh DELETED
@@ -1,6 +0,0 @@
1
- #!/bin/bash
2
-
3
- rm -rf lib
4
- tsc --outDir lib
5
- cp -r src/types lib/
6
- npx eslint --rule 'max-len: off' --ext .js lib --fix