@knapsack/renderer-html 4.70.0--canary.4854.b1d79a8.0 → 4.70.0--canary.4561.78aed7a.0

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,46 @@
1
+ # v4.69.14 (Fri Sep 27 2024)
2
+
3
+ #### 🏠 Internal
4
+
5
+ - spec docs uses collapse instead of accordion [#4862](https://github.com/knapsack-labs/app-monorepo/pull/4862) ([@GormanDesign](https://github.com/GormanDesign))
6
+
7
+ #### Authors: 1
8
+
9
+ - Matt Gorman ([@GormanDesign](https://github.com/GormanDesign))
10
+
11
+ ---
12
+
13
+ # v4.69.13 (Thu Sep 26 2024)
14
+
15
+ #### 🐛 Bug Fix
16
+
17
+ - update design src user flow to be async [#4739](https://github.com/knapsack-labs/app-monorepo/pull/4739) ([@mabry1985](https://github.com/mabry1985))
18
+ - Merge branch 'latest' into feature/ksp-5512-create-add-design-src-file-async-mutation ([@mabry1985](https://github.com/mabry1985))
19
+
20
+ #### 🏠 Internal
21
+
22
+ - improve Renderer clients [#4770](https://github.com/knapsack-labs/app-monorepo/pull/4770) ([@EvanLovely](https://github.com/EvanLovely))
23
+ - refactors user flow for updating design src files [#4769](https://github.com/knapsack-labs/app-monorepo/pull/4769) ([@mabry1985](https://github.com/mabry1985))
24
+
25
+ #### Authors: 2
26
+
27
+ - Evan Lovely ([@EvanLovely](https://github.com/EvanLovely))
28
+ - Josh Mabry ([@mabry1985](https://github.com/mabry1985))
29
+
30
+ ---
31
+
32
+ # v4.69.12 (Thu Sep 26 2024)
33
+
34
+ #### 🐛 Bug Fix
35
+
36
+ - Merge branch 'latest' into feature/ksp-5560-replace-schema-forms-in-content-blocks ([@GormanDesign](https://github.com/GormanDesign))
37
+
38
+ #### Authors: 1
39
+
40
+ - Matt Gorman ([@GormanDesign](https://github.com/GormanDesign))
41
+
42
+ ---
43
+
1
44
  # v4.69.11 (Fri Sep 20 2024)
2
45
 
3
46
  #### 🏠 Internal
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAkB7E,qBAAa,oBAAqB,SAAQ,YAAa,YAAW,UAAU;;IAS1E,MAAM,EAAE,QAAQ,CAAC,QAAQ,CAAC,CAkBxB;IAEF,QAAQ,EAAE,QAAQ,CAAC,UAAU,CAAC,CAS5B;IAEF,sBAAsB,EAAE,QAAQ,CAAC,wBAAwB,CAAC,CASxD;IAEF,OAAO,EAAE,QAAQ,CAAC,SAAS,CAAC,CAWzB;CACJ"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAiB7E,qBAAa,oBAAqB,SAAQ,YAAa,YAAW,UAAU;;IAS1E,MAAM,EAAE,QAAQ,CAAC,QAAQ,CAAC,CAkBxB;IAEF,QAAQ,EAAE,QAAQ,CAAC,UAAU,CAAC,CAQ5B;IAEF,sBAAsB,EAAE,QAAQ,CAAC,wBAAwB,CAAC,CASxD;IAEF,OAAO,EAAE,QAAQ,CAAC,SAAS,CAAC,CAWzB;CACJ"}
package/dist/index.js CHANGED
@@ -39,10 +39,7 @@ class KnapsackHtmlRenderer extends renderers_1.RendererBase {
39
39
  }
40
40
  };
41
41
  this.getUsage = async ({ template, demo }) => {
42
- const { absolutePath, exists } = await (0, file_utils_1.resolvePath)({
43
- path: demo.type === 'template' ? demo.templateInfo.path : template.path,
44
- resolveFromDir: this.dataDir,
45
- });
42
+ const { absolutePath, exists } = await this.resolvePath(demo.type === 'template' ? demo.templateInfo.path : template.path);
46
43
  if (!exists) {
47
44
  throw new Error(`File does not exist: ${absolutePath}`);
48
45
  }
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"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ACD,OAAO,IAAA,qBAAQ,EAAC,YAAY,CAAC,CAAC;QAChC,CAAC,CAAC;QAEF,2BAAsB,GAAuC,KAAK,IAAI,EAAE;YACtE,MAAM,EAAE,WAAW,EAAE,GAAG,MAAM,IAAI,CAAC,sBAAsB,CAAC;gBACxD,SAAS,EAAE,CAAC,IAAA,WAAI,EAAC,OAAO,EAAE,WAAW,CAAC,CAAC;aACxC,CAAC,CAAC;YACH,OAAO;gBACL,WAAW,EAAE,WAAW,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;oBACtC,IAAI;iBACL,CAAC,CAAC;aACJ,CAAC;QACJ,CAAC,CAAC;QAEF,YAAO,GAAwB,GAAG,EAAE,CAAC,CAAC;YACpC,EAAE,EAAE,IAAI,CAAC,EAAE;YACX,KAAK,EAAE,MAAM;YACb,0BAA0B,EAAE,MAAM;YAClC,QAAQ,EAAE,KAAK;YACf,eAAe,EAAE,KAAK;YACtB,mBAAmB,EAAE,IAAI;YACzB,eAAe,EAAE,KAAK;YACtB,OAAO,EAAE,GAAG,CAAC,OAAO;YACpB,mBAAmB,EAAE,KAAK;YAC1B,6BAA6B,EAAE,IAAI;SACpC,CAAC,CAAC;IAtDH,CAAC;CAuDF;AA9DD,oDA8DC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@knapsack/renderer-html",
3
3
  "description": "Render HTML",
4
- "version": "4.70.0--canary.4854.b1d79a8.0",
4
+ "version": "4.70.0--canary.4561.78aed7a.0",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
7
7
  "exports": {
@@ -22,13 +22,13 @@
22
22
  },
23
23
  "author": "Knapsack (https://www.knapsack.cloud)",
24
24
  "dependencies": {
25
- "@knapsack/app": "4.70.0--canary.4854.b1d79a8.0",
26
- "@knapsack/file-utils": "4.70.0--canary.4854.b1d79a8.0",
27
- "@knapsack/types": "4.70.0--canary.4854.b1d79a8.0"
25
+ "@knapsack/app": "4.70.0--canary.4561.78aed7a.0",
26
+ "@knapsack/file-utils": "4.70.0--canary.4561.78aed7a.0",
27
+ "@knapsack/types": "4.70.0--canary.4561.78aed7a.0"
28
28
  },
29
29
  "devDependencies": {
30
- "@knapsack/eslint-config-starter": "4.70.0--canary.4854.b1d79a8.0",
31
- "@knapsack/typescript-config-starter": "4.70.0--canary.4854.b1d79a8.0",
30
+ "@knapsack/eslint-config-starter": "4.70.0--canary.4561.78aed7a.0",
31
+ "@knapsack/typescript-config-starter": "4.70.0--canary.4561.78aed7a.0",
32
32
  "eslint": "^8.57.0",
33
33
  "typescript": "^5.5.4"
34
34
  },
@@ -40,5 +40,5 @@
40
40
  "directory": "apps/client/renderers/renderer-html",
41
41
  "type": "git"
42
42
  },
43
- "gitHead": "b1d79a8caffe3537b921ff76bae2f2e8bcabbc43"
43
+ "gitHead": "78aed7a41e9fe84276609d2f85fbd944914473a0"
44
44
  }