lingo.dev 0.77.5 → 0.77.7

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/build/cli.cjs CHANGED
@@ -266,7 +266,6 @@ function _getConfigFilePath() {
266
266
 
267
267
 
268
268
 
269
- var _child_process = require('child_process');
270
269
 
271
270
  var _prompts = require('@inquirer/prompts');
272
271
 
@@ -602,9 +601,10 @@ function makeGitlabInitializer(spinner) {
602
601
  }
603
602
 
604
603
  // src/cli/cmd/init.ts
604
+
605
605
  var openUrl = (path13) => {
606
606
  const settings = getSettings(void 0);
607
- _child_process.spawn.call(void 0, "open", [`${settings.auth.webUrl}${path13}`]);
607
+ _open2.default.call(void 0, `${settings.auth.webUrl}${path13}`, { wait: false });
608
608
  };
609
609
  var throwHelpError = (option, value) => {
610
610
  if (value === "help") {
@@ -1776,7 +1776,7 @@ var _datefns = require('date-fns');
1776
1776
  function createUnlocalizableLoader(isCacheRestore = false) {
1777
1777
  const rules = {
1778
1778
  isEmpty: (v) => _lodash2.default.isEmpty(v),
1779
- isNumber: (v) => !_lodash2.default.isNaN(_lodash2.default.toNumber(v)),
1779
+ isNumber: (v) => typeof v === "number" || /^[0-9]+$/.test(v),
1780
1780
  isBoolean: (v) => _lodash2.default.isBoolean(v),
1781
1781
  isIsoDate: (v) => _lodash2.default.isString(v) && _isIsoDate(v),
1782
1782
  isSystemId: (v) => _lodash2.default.isString(v) && _isSystemId(v),
@@ -3169,7 +3169,7 @@ var i18n_default = new (0, _interactivecommander.Command)().command("i18n").desc
3169
3169
  ora.start("Validating localization configuration...");
3170
3170
  validateParams(i18nConfig, flags);
3171
3171
  ora.succeed("Localization configuration is valid");
3172
- ora.start("Connecting to Replexica Localization Engine...");
3172
+ ora.start("Connecting to Lingo.dev Localization Engine...");
3173
3173
  const auth = await validateAuth(settings);
3174
3174
  ora.succeed(`Authenticated as ${auth.email}`);
3175
3175
  let buckets = getBuckets(i18nConfig);
@@ -3752,7 +3752,7 @@ var mcp_default = new (0, _interactivecommander.Command)().command("mcp").descri
3752
3752
  // package.json
3753
3753
  var package_default = {
3754
3754
  name: "lingo.dev",
3755
- version: "0.77.5",
3755
+ version: "0.77.7",
3756
3756
  description: "Lingo.dev CLI",
3757
3757
  private: false,
3758
3758
  publishConfig: {
@@ -3777,6 +3777,19 @@ var package_default = {
3777
3777
  require: "./build/spec.cjs"
3778
3778
  }
3779
3779
  },
3780
+ typesVersions: {
3781
+ "*": {
3782
+ sdk: [
3783
+ "./build/sdk.d.ts"
3784
+ ],
3785
+ cli: [
3786
+ "./build/cli.d.ts"
3787
+ ],
3788
+ spec: [
3789
+ "./build/spec.d.ts"
3790
+ ]
3791
+ }
3792
+ },
3780
3793
  bin: {
3781
3794
  "lingo.dev": "./bin/cli.mjs"
3782
3795
  },