@wix/himalaya-cli 0.814.0 → 0.815.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.
Files changed (2) hide show
  1. package/dist/cli.mjs +16 -0
  2. package/package.json +2 -2
package/dist/cli.mjs CHANGED
@@ -3167,6 +3167,22 @@ function confinedHost(ts, contentDir2, options) {
3167
3167
  host.getSourceFile = (fileName, ...rest) => allows(fileName) ? getSourceFile(fileName, ...rest) : void 0;
3168
3168
  host.readFile = (fileName) => allows(fileName) ? readFile3(fileName) : void 0;
3169
3169
  host.fileExists = (fileName) => allows(fileName) && fileExists(fileName);
3170
+ const directoryExists = host.directoryExists?.bind(host);
3171
+ if (directoryExists) host.directoryExists = (dir) => allows(dir) && directoryExists(dir);
3172
+ const getDirectories = host.getDirectories?.bind(host);
3173
+ if (getDirectories) host.getDirectories = (dir) => allows(dir) ? getDirectories(dir) : [];
3174
+ const readDirectory = host.readDirectory?.bind(host);
3175
+ if (readDirectory) {
3176
+ host.readDirectory = (dir, extensions, exclude, include, depth) => allows(dir) ? readDirectory(dir, extensions, exclude, include, depth).filter(allows) : [];
3177
+ }
3178
+ host.writeFile = (fileName) => {
3179
+ throw new Error(`Tier-5 typecheck attempted to write ${fileName} under noEmit \u2014 refusing`);
3180
+ };
3181
+ if (host.createDirectory) {
3182
+ host.createDirectory = (dir) => {
3183
+ throw new Error(`Tier-5 typecheck attempted to create ${dir} under noEmit \u2014 refusing`);
3184
+ };
3185
+ }
3170
3186
  return host;
3171
3187
  }
3172
3188
  async function typecheckContentWorkers(contentDir2, options) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/himalaya-cli",
3
- "version": "0.814.0",
3
+ "version": "0.815.0",
4
4
  "type": "module",
5
5
  "description": "himi — the Himalaya authoring CLI. Build a Tier-5 content package on your own machine, push it to the production serve as a draft, preview it on web + Himi Player, and read worker logs back — the remote dev loop. Wraps @himalaya/serve-cli for transport.",
6
6
  "keywords": [
@@ -63,5 +63,5 @@
63
63
  "artifactId": "himalaya-cli"
64
64
  }
65
65
  },
66
- "falconPackageHash": "5e1cfa3ff61b0a709c67cde2f297b68515592ebc7e475267e3223131"
66
+ "falconPackageHash": "efca0e5653cc11ee92ee375fe52707d5ee5231004c9500453046e1c8"
67
67
  }