@wix/himalaya-cli 0.813.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 +18 -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) {
@@ -11477,6 +11493,7 @@ function shouldRevealError(args) {
11477
11493
  var EMAIL_RE, URL_HOST_RE, INTEGER_RE, NUMBER_RE;
11478
11494
  var init_validation = __esm({
11479
11495
  "../../core/ts/src/validation.ts"() {
11496
+ "use strict";
11480
11497
  EMAIL_RE = /^[A-Za-z0-9._%+-]+@[A-Za-z0-9-]+(\.[A-Za-z0-9-]+)*\.[A-Za-z]{2,}$/;
11481
11498
  URL_HOST_RE = /^[A-Za-z0-9-]+(\.[A-Za-z0-9-]+)*(:[0-9]+)?$/;
11482
11499
  INTEGER_RE = /^[+-]?[0-9]+$/;
@@ -14822,6 +14839,7 @@ function validateWorkerSubtree(raw, slotId, policy, actionCatalog) {
14822
14839
  var WORKER_SUBTREE_CEILINGS, ID_PART, ACTION_ID;
14823
14840
  var init_worker_subtree = __esm({
14824
14841
  "../../core/ts/src/worker-subtree.ts"() {
14842
+ "use strict";
14825
14843
  init_worker_subtree_safe_types_generated();
14826
14844
  WORKER_SUBTREE_CEILINGS = Object.freeze({
14827
14845
  maxEncodedBytes: 65536,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/himalaya-cli",
3
- "version": "0.813.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": "da45e40ee81ea04e359c160e78f384cdb9e89688d8059747162fc2b6"
66
+ "falconPackageHash": "efca0e5653cc11ee92ee375fe52707d5ee5231004c9500453046e1c8"
67
67
  }