@tantawowa/hosanna-tools 3.26.0 → 3.28.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.
- package/dist/build-info.json +3 -3
- package/dist/cli.js +3 -0
- package/dist/cli.js.map +1 -1
- package/dist/lib/app-config-compiler.js +20 -12
- package/dist/lib/app-config-compiler.js.map +1 -1
- package/dist/run/executor.d.ts +19 -0
- package/dist/run/executor.js +142 -45
- package/dist/run/executor.js.map +1 -1
- package/dist/run/hsconfig-static-assets.d.ts +1 -0
- package/dist/run/hsconfig-static-assets.js +7 -5
- package/dist/run/hsconfig-static-assets.js.map +1 -1
- package/dist/run/planner.d.ts +14 -0
- package/dist/run/planner.js +172 -60
- package/dist/run/planner.js.map +1 -1
- package/dist/run/run-config.d.ts +1 -0
- package/dist/run/run-config.js +2 -0
- package/dist/run/run-config.js.map +1 -1
- package/dist/run/web-build.d.ts +14 -0
- package/dist/run/web-build.js +42 -0
- package/dist/run/web-build.js.map +1 -0
- package/dist/testing/client.d.ts +1 -0
- package/dist/testing/client.js +9 -5
- package/dist/testing/client.js.map +1 -1
- package/dist/testing/launcher.d.ts +2 -0
- package/dist/testing/launcher.js +37 -12
- package/dist/testing/launcher.js.map +1 -1
- package/dist/testing/types.d.ts +2 -0
- package/dist/vite.d.ts +4 -0
- package/dist/vite.js +49 -11
- package/dist/vite.js.map +1 -1
- package/package.json +1 -1
package/dist/build-info.json
CHANGED
package/dist/cli.js
CHANGED
|
@@ -117,6 +117,7 @@ function runPlanFlagsFromCliArgs(args, format) {
|
|
|
117
117
|
noLogs: rawHasFlag('no-logs') ? Boolean(args['no-logs']) : undefined,
|
|
118
118
|
logs: rawHasFlag('logs') ? Boolean(args.logs) : undefined,
|
|
119
119
|
sourceRoot: rawHasFlag('source-root') ? args['source-root'] : undefined,
|
|
120
|
+
outputRoot: rawHasFlag('output-root') ? args['output-root'] : undefined,
|
|
120
121
|
appPackage: rawHasFlag('app-package') ? args['app-package'] : undefined,
|
|
121
122
|
files: rawHasFlag('files') ? args.files : undefined,
|
|
122
123
|
deployTimeoutMs: rawHasFlag('deploy-timeout-ms') ? args['deploy-timeout-ms'] : undefined,
|
|
@@ -2070,6 +2071,7 @@ async function runEnvironmentCommand(action, verbose) {
|
|
|
2070
2071
|
.option('hsc-project', { type: 'string', describe: 'Explicit Roku HSC project file for hst build planning' })
|
|
2071
2072
|
.option('config', { type: 'string', describe: 'Back-compatible alias for --hsconfig / --hsc-project' })
|
|
2072
2073
|
.option('source-root', { type: 'string', describe: 'Roku source root to preserve in build planning output' })
|
|
2074
|
+
.option('output-root', { type: 'string', describe: 'Project-relative root for an isolated Browser or Roku build and all generated intermediates' })
|
|
2073
2075
|
.option('build-cmd', { type: 'string', describe: 'Override the platform bundle command; parsed and executed without a shell' })
|
|
2074
2076
|
.option('vite-config', { type: 'string', describe: 'Target Vite config for Browser/Tizen/webOS builds' })
|
|
2075
2077
|
.option('signing-profile', { type: 'string', describe: 'External Samsung certificate profile name (env: TIZEN_SECURITY_PROFILE)' })
|
|
@@ -2081,6 +2083,7 @@ async function runEnvironmentCommand(action, verbose) {
|
|
|
2081
2083
|
.example('$0 build apple-watch dev sim --device "Apple Watch Series 11 (46mm)"', 'Build the paired Apple Watch simulator target')
|
|
2082
2084
|
.example('$0 build wear-os dev sim --device "Wear_OS_Large_Round"', 'Build the Wear OS emulator target')
|
|
2083
2085
|
.example('$0 build browser dev emulator', 'Resolve Browser runtime build config without opening a browser')
|
|
2086
|
+
.example('$0 build roku dev device --output-root .hosanna-tools/build/roku-dev', 'Build Roku into an isolated output tree')
|
|
2084
2087
|
.example('$0 build tizen dev device --signing-profile samsung-tv-dev', 'Create a signed Samsung .wgt without contacting a TV')
|
|
2085
2088
|
.example('$0 build webos dev device', 'Create an LG .ipk without contacting a TV'), async (args) => {
|
|
2086
2089
|
await runRunPlanCommand('build', args);
|