@knapsack/renderer-twig 4.69.12--canary.4739.5dd2f08.0 → 4.69.12--canary.4820.6d71796.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"renderer-twig.d.ts","sourceRoot":"","sources":["../src/renderer-twig.ts"],"names":[],"mappings":"AACA,OAAO,EACL,UAAU,EACV,QAAQ,EACR,YAAY,EAEb,MAAM,yBAAyB,CAAC;AAEjC,OAAO,YAAY,EAAE,EAAE,KAAK,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;
|
1
|
+
{"version":3,"file":"renderer-twig.d.ts","sourceRoot":"","sources":["../src/renderer-twig.ts"],"names":[],"mappings":"AACA,OAAO,EACL,UAAU,EACV,QAAQ,EACR,YAAY,EAEb,MAAM,yBAAyB,CAAC;AAEjC,OAAO,YAAY,EAAE,EAAE,KAAK,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAe9E,qBAAa,oBAAqB,SAAQ,YAAa,YAAW,UAAU;;IAC1E,YAAY,EAAE,YAAY,CAAC;gBAGf,MAAM,EAAE,kBAAkB;IAwBtC,MAAM,EAAE,QAAQ,CAAC,QAAQ,CAAC,CAKxB;IAEF,QAAQ,EAAE,QAAQ,CAAC,UAAU,CAAC,CAuH5B;IAEF,sBAAsB,EAAE,QAAQ,CAAC,wBAAwB,CAAC,CAoCxD;IAEF,OAAO,EAAE,QAAQ,CAAC,SAAS,CAAC,CA4BzB;CACJ"}
|
package/dist/renderer-twig.js
CHANGED
@@ -53,10 +53,7 @@ class KnapsackTwigRenderer extends renderers_1.RendererBase {
|
|
53
53
|
}
|
54
54
|
switch (demo.type) {
|
55
55
|
case 'template': {
|
56
|
-
const { absolutePath: templateDemoPath, exists } = await (
|
57
|
-
path: demo.templateInfo.path,
|
58
|
-
resolveFromDir: this.dataDir,
|
59
|
-
});
|
56
|
+
const { absolutePath: templateDemoPath, exists } = await this.resolvePath(demo.templateInfo.path);
|
60
57
|
if (!exists) {
|
61
58
|
throw new Error(`Could not find template demo file at ${templateDemoPath}`);
|
62
59
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"renderer-twig.js","sourceRoot":"","sources":["../src/renderer-twig.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,uCAAoC;AACpC,uDAKiC;AACjC,2CAAuE;AACvE,0EAA8E;AAC9E,+BAAqE;AACrE,
|
1
|
+
{"version":3,"file":"renderer-twig.js","sourceRoot":"","sources":["../src/renderer-twig.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,uCAAoC;AACpC,uDAKiC;AACjC,2CAAuE;AACvE,0EAA8E;AAC9E,+BAAqE;AACrE,qDAAgF;AAChF,mCAAuC;AAEvC,MAAM,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,IAAA,yBAAY,EAAC,IAAA,WAAI,EAAC,SAAS,EAAE,iBAAiB,CAAC,CAAC,CAAC,CAAC;AACzE,SAAG,CAAC,mBAAmB,CAAC,GAAG,CAAC,CAAC;AAE7B,MAAM,iBAAiB,GAAG,IAAA,WAAI,EAC5B,SAAS,EACT,+CAA+C,CAChD,CAAC;AACF,IAAA,6BAAgB,EAAC,iBAAiB,CAAC,CAAC;AACpC,MAAM,kBAAkB,GAAG,2CAA2C,CAAC;AAEvE,MAAa,oBAAqB,SAAQ,wBAAY;IAIpD,YAAY,MAA0B;QACpC,KAAK,CAAC;YACJ,EAAE,EAAE,mBAAW,CAAC,IAAI;YACpB,QAAQ,EAAE,MAAM;YAChB,SAAS,EAAE,OAAO;SACnB,CAAC,CAAC;QAPL,4CAAgC;QA0BhC,WAAM,GAAuB,KAAK,EAAE,GAAG,EAAE,EAAE;YACzC,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;YACvC,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,YAAY,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;YAC5D,OAAO,EAAE,GAAG,OAAO,EAAE,KAAK,EAAE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AAE;oBACV,GAAG,MAAM,CAAC,GAAG,CAAC,UAAU;oBACxB;wBACE,EAAE,EAAE,kBAAkB;wBACtB,KAAK,EAAE,CAAC,IAAA,cAAO,EAAC,iBAAiB,CAAC,CAAC;qBACpC;iBACF;aACF;SACF,CAAC,CAAC;IACL,CAAC;CAqMF;AA/ND,oDA+NC"}
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@knapsack/renderer-twig",
|
3
3
|
"description": "Render Twig",
|
4
|
-
"version": "4.69.12--canary.
|
4
|
+
"version": "4.69.12--canary.4820.6d71796.0",
|
5
5
|
"main": "index.js",
|
6
6
|
"types": "index.d.ts",
|
7
7
|
"exports": {
|
@@ -25,15 +25,15 @@
|
|
25
25
|
"author": "Knapsack (https://www.knapsack.cloud)",
|
26
26
|
"dependencies": {
|
27
27
|
"@basalt/twig-renderer": "^3.2.2",
|
28
|
-
"@knapsack/app": "4.69.12--canary.
|
29
|
-
"@knapsack/file-utils": "4.69.12--canary.
|
30
|
-
"@knapsack/types": "4.69.12--canary.
|
28
|
+
"@knapsack/app": "4.69.12--canary.4820.6d71796.0",
|
29
|
+
"@knapsack/file-utils": "4.69.12--canary.4820.6d71796.0",
|
30
|
+
"@knapsack/types": "4.69.12--canary.4820.6d71796.0",
|
31
31
|
"ejs": "^3.1.10"
|
32
32
|
},
|
33
33
|
"devDependencies": {
|
34
|
-
"@knapsack/eslint-config-starter": "4.69.12--canary.
|
35
|
-
"@knapsack/test-ava": "4.69.12--canary.
|
36
|
-
"@knapsack/typescript-config-starter": "4.69.12--canary.
|
34
|
+
"@knapsack/eslint-config-starter": "4.69.12--canary.4820.6d71796.0",
|
35
|
+
"@knapsack/test-ava": "4.69.12--canary.4820.6d71796.0",
|
36
|
+
"@knapsack/typescript-config-starter": "4.69.12--canary.4820.6d71796.0",
|
37
37
|
"ava": "^6.1.3",
|
38
38
|
"eslint": "^8.57.0",
|
39
39
|
"typescript": "^5.5.4"
|
@@ -46,5 +46,5 @@
|
|
46
46
|
"directory": "apps/client/renderers/renderer-twig",
|
47
47
|
"type": "git"
|
48
48
|
},
|
49
|
-
"gitHead": "
|
49
|
+
"gitHead": "6d71796353d923002ede27ea7ad9a18ce1959df1"
|
50
50
|
}
|