@knapsack/renderer-native-android 4.89.10--canary.7231.024e97d.0 → 4.89.10--canary.7234.13e0ca2.0
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.
|
@@ -16,26 +16,26 @@ class KnapsackNativeAndroidRenderer extends renderers_1.RendererBase {
|
|
|
16
16
|
language: 'native-android',
|
|
17
17
|
codeSrcsUserConfig: [],
|
|
18
18
|
});
|
|
19
|
+
this.render = async () => {
|
|
20
|
+
throw new Error('render not implemented for native Android renderer');
|
|
21
|
+
};
|
|
22
|
+
this.getUsage = async () => {
|
|
23
|
+
throw new Error('getUsage not implemented for native Android renderer');
|
|
24
|
+
};
|
|
25
|
+
this.getDiscovery = async () => {
|
|
26
|
+
// returning empty one b/c it's called during `knapsack build` and we can't have an error thrown. the real discovery is done elsewhere in App API.
|
|
27
|
+
return {
|
|
28
|
+
codeSrcsByPath: {},
|
|
29
|
+
templates: [],
|
|
30
|
+
rendererId: this.id,
|
|
31
|
+
meta: this.getMeta(),
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
this.getMeta = () => types_1.metaForAndroidRenderer;
|
|
19
35
|
if (error) {
|
|
20
36
|
this.log.error(`"KnapsackNativeAndroidRenderer" constructor has invalid options, please fix in "knapsack.config.cjs":`, zod_1.z.prettifyError(error));
|
|
21
37
|
}
|
|
22
38
|
}
|
|
23
|
-
render = async () => {
|
|
24
|
-
throw new Error('render not implemented for native Android renderer');
|
|
25
|
-
};
|
|
26
|
-
getUsage = async () => {
|
|
27
|
-
throw new Error('getUsage not implemented for native Android renderer');
|
|
28
|
-
};
|
|
29
|
-
getDiscovery = async () => {
|
|
30
|
-
// returning empty one b/c it's called during `knapsack build` and we can't have an error thrown. the real discovery is done elsewhere in App API.
|
|
31
|
-
return {
|
|
32
|
-
codeSrcsByPath: {},
|
|
33
|
-
templates: [],
|
|
34
|
-
rendererId: this.id,
|
|
35
|
-
meta: this.getMeta(),
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
getMeta = () => types_1.metaForAndroidRenderer;
|
|
39
39
|
}
|
|
40
40
|
exports.KnapsackNativeAndroidRenderer = KnapsackNativeAndroidRenderer;
|
|
41
41
|
//# sourceMappingURL=renderer-native-android.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderer-native-android.js","sourceRoot":"","sources":["../src/renderer-native-android.ts"],"names":[],"mappings":";;;AAAA,uDAKiC;AACjC,2CAAsE;AACtE,6BAAwB;AACxB,+BAA4B;AAC5B,qDAAoD;AAGpD,MAAM,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,IAAA,yBAAY,EAAC,IAAA,WAAI,EAAC,SAAS,EAAE,iBAAiB,CAAC,CAAC,CAAC,CAAC;AAEzE,MAAM,YAAY,GAAG,OAAC,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC;AAExC,MAAa,6BACX,SAAQ,wBAAgD;IAGxD,YAAY,UAAwC,EAAE;QACpD,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG,YAAY,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;QACxD,KAAK,CAAC;YACJ,EAAE,EAAE,mBAAW,CAAC,OAAO;YACvB,QAAQ,EAAE,gBAAgB;YAC1B,kBAAkB,EAAE,EAAE;SACvB,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"renderer-native-android.js","sourceRoot":"","sources":["../src/renderer-native-android.ts"],"names":[],"mappings":";;;AAAA,uDAKiC;AACjC,2CAAsE;AACtE,6BAAwB;AACxB,+BAA4B;AAC5B,qDAAoD;AAGpD,MAAM,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,IAAA,yBAAY,EAAC,IAAA,WAAI,EAAC,SAAS,EAAE,iBAAiB,CAAC,CAAC,CAAC,CAAC;AAEzE,MAAM,YAAY,GAAG,OAAC,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC;AAExC,MAAa,6BACX,SAAQ,wBAAgD;IAGxD,YAAY,UAAwC,EAAE;QACpD,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG,YAAY,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;QACxD,KAAK,CAAC;YACJ,EAAE,EAAE,mBAAW,CAAC,OAAO;YACvB,QAAQ,EAAE,gBAAgB;YAC1B,kBAAkB,EAAE,EAAE;SACvB,CAAC,CAAC;QASL,WAAM,GAAuB,KAAK,IAAI,EAAE;YACtC,MAAM,IAAI,KAAK,CAAC,oDAAoD,CAAC,CAAC;QACxE,CAAC,CAAC;QAEF,aAAQ,GAAyB,KAAK,IAAI,EAAE;YAC1C,MAAM,IAAI,KAAK,CAAC,sDAAsD,CAAC,CAAC;QAC1E,CAAC,CAAC;QAEF,iBAAY,GAA6B,KAAK,IAAI,EAAE;YAClD,kJAAkJ;YAClJ,OAAO;gBACL,cAAc,EAAE,EAAE;gBAClB,SAAS,EAAE,EAAE;gBACb,UAAU,EAAE,IAAI,CAAC,EAAE;gBACnB,IAAI,EAAE,IAAI,CAAC,OAAO,EAAE;aACrB,CAAC;QACJ,CAAC,CAAC;QAEF,YAAO,GAAwB,GAAG,EAAE,CAAC,8BAAsB,CAAC;QA1B1D,IAAI,KAAK,EAAE,CAAC;YACV,IAAI,CAAC,GAAG,CAAC,KAAK,CACZ,uGAAuG,EACvG,OAAC,CAAC,aAAa,CAAC,KAAK,CAAC,CACvB,CAAC;QACJ,CAAC;IACH,CAAC;CAqBF;AAtCD,sEAsCC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@knapsack/renderer-native-android",
|
|
3
3
|
"description": "Native Android component renderer for Knapsack",
|
|
4
|
-
"version": "4.89.10--canary.
|
|
4
|
+
"version": "4.89.10--canary.7234.13e0ca2.0",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"exports": {
|
|
@@ -21,16 +21,16 @@
|
|
|
21
21
|
"test": "echo 'No tests for native Android renderer yet'"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@knapsack/app": "4.89.10--canary.
|
|
25
|
-
"@knapsack/file-utils": "4.89.10--canary.
|
|
26
|
-
"@knapsack/types": "4.89.10--canary.
|
|
27
|
-
"zod": "^4.
|
|
24
|
+
"@knapsack/app": "4.89.10--canary.7234.13e0ca2.0",
|
|
25
|
+
"@knapsack/file-utils": "4.89.10--canary.7234.13e0ca2.0",
|
|
26
|
+
"@knapsack/types": "4.89.10--canary.7234.13e0ca2.0",
|
|
27
|
+
"zod": "^4.1.12"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@knapsack/eslint-config-starter": "4.89.10--canary.
|
|
31
|
-
"@knapsack/prettier-config": "4.89.10--canary.
|
|
32
|
-
"@knapsack/typescript-config-starter": "4.89.10--canary.
|
|
33
|
-
"@types/node": "^
|
|
30
|
+
"@knapsack/eslint-config-starter": "4.89.10--canary.7234.13e0ca2.0",
|
|
31
|
+
"@knapsack/prettier-config": "4.89.10--canary.7234.13e0ca2.0",
|
|
32
|
+
"@knapsack/typescript-config-starter": "4.89.10--canary.7234.13e0ca2.0",
|
|
33
|
+
"@types/node": "^20.19.25",
|
|
34
34
|
"eslint": "^9.20.0",
|
|
35
35
|
"typescript": "^5.9.3"
|
|
36
36
|
},
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"directory": "apps/client/renderers/renderer-native-android",
|
|
44
44
|
"type": "git"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "13e0ca2b14df7c1cb96568714bf08d5ee6c92c84"
|
|
47
47
|
}
|