oc 0.50.49 → 0.50.50

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,17 +1,17 @@
1
1
 
2
2
  
3
- > oc@0.50.49 prebuild
3
+ > oc@0.50.50 prebuild
4
4
  > rimraf dist
5
5
 
6
6
  ⠙
7
- > oc@0.50.49 build
7
+ > oc@0.50.50 build
8
8
  > npm run lint && tsc && node tasks/build.js
9
9
 
10
10
  ⠙
11
- > oc@0.50.49 lint
11
+ > oc@0.50.50 lint
12
12
  > npx @biomejs/biome check preview src test tasks
13
13
 
14
- ⠙⠹⠸⠼Checked 128 files in 43ms. No fixes applied.
14
+ ⠙⠹⠸⠼Checked 128 files in 27ms. No fixes applied.
15
15
  ⠙⠙Building client
16
16
  compiling component /Users/Ricardo.Agullo/Work/oc/packages/oc/src/components/oc-client/
17
17
  Client has been built and packaged 👍
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  ## Change Log
2
2
 
3
+ ## 0.50.50
4
+
5
+ ### Patch Changes
6
+
7
+ - Refresh component details on background after publish to not delay response to client
8
+
3
9
  ## 0.50.48
4
10
 
5
11
  ### Patch Changes
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "oc-client",
3
3
  "description": "The OpenComponents client-side javascript client",
4
- "version": "0.50.49",
4
+ "version": "0.50.50",
5
5
  "repository": "https://github.com/opencomponents/oc/tree/master/components/oc-client",
6
6
  "author": "Matteo Figus <matteofigus@gmail.com>",
7
7
  "oc": {
@@ -23,14 +23,14 @@
23
23
  ],
24
24
  "dataProvider": {
25
25
  "type": "node.js",
26
- "hashKey": "565e122da74048798512fe8b39341e936177caaa",
26
+ "hashKey": "6c80f5fa8b874aa6454c4283f87796382ef83789",
27
27
  "src": "server.js",
28
28
  "size": 644
29
29
  }
30
30
  },
31
- "version": "0.50.49",
31
+ "version": "0.50.50",
32
32
  "packaged": true,
33
- "date": 1780829268553
33
+ "date": 1781085467922
34
34
  },
35
35
  "devDependencies": {
36
36
  "oc-template-es6-compiler": "^1.0.1"
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=(t,s)=>{const{staticPath:e,templates:a}=t;return s(null,{staticPath:e,templates:a})},r=(t,s)=>{o(t,(e,a,i={})=>{if(e)return s(e);if(a==null)return s(null,{__oc_emptyResponse:!0});const n=t.action?a:Object.assign({},a,{_staticPath:t.staticPath,_baseUrl:t.baseUrl,_componentName:"oc-client",_componentVersion:"0.50.49"}),c=t.staticPath.indexOf("http")===0?t.staticPath:"https:"+t.staticPath;return s(null,Object.assign({},{component:{key:"c4abb6bf4dc6657fb718a45b64bd6b2cb92e874a",src:c+"template.js",props:n,esm:!1,development:void 0}}))})};exports.data=r;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=(t,s)=>{const{staticPath:e,templates:a}=t;return s(null,{staticPath:e,templates:a})},r=(t,s)=>{o(t,(e,a,i={})=>{if(e)return s(e);if(a==null)return s(null,{__oc_emptyResponse:!0});const n=t.action?a:Object.assign({},a,{_staticPath:t.staticPath,_baseUrl:t.baseUrl,_componentName:"oc-client",_componentVersion:"0.50.50"}),c=t.staticPath.indexOf("http")===0?t.staticPath:"https:"+t.staticPath;return s(null,Object.assign({},{component:{key:"c4abb6bf4dc6657fb718a45b64bd6b2cb92e874a",src:c+"template.js",props:n,esm:!1,development:void 0}}))})};exports.data=r;
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "oc-client",
3
3
  "description": "The OpenComponents client-side javascript client",
4
- "version": "0.50.49",
4
+ "version": "0.50.50",
5
5
  "repository": "https://github.com/opencomponents/oc/tree/master/components/oc-client",
6
6
  "author": "Matteo Figus <matteofigus@gmail.com>",
7
7
  "oc": {
@@ -268,8 +268,10 @@ function repository(conf) {
268
268
  return;
269
269
  await fs_extra_1.default.writeJson(node_path_1.default.join(pkgDetails.outputFolder, 'package.json'), pkgDetails.packageJson);
270
270
  await cdn.putDir(pkgDetails.outputFolder, `${options.componentsDir}/${componentName}/${componentVersion}`);
271
- const componentsList = await componentsCache.refresh();
272
- await componentsDetails.refresh(componentsList);
271
+ void componentsCache
272
+ .refresh()
273
+ .then((componentsList) => componentsDetails.refresh(componentsList))
274
+ .catch(() => undefined);
273
275
  }
274
276
  };
275
277
  return repository;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oc",
3
- "version": "0.50.49",
3
+ "version": "0.50.50",
4
4
  "description": "A framework for developing and distributing html components",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",