@x18n/core 0.0.15 → 0.1.1

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/index.mjs +2 -2
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -232,7 +232,7 @@ const errorDefinitions = {
232
232
  },
233
233
  X18N5003: {
234
234
  why: (p) => `Reviews are not available: ${p.reason}`,
235
- fix: "Set `review.enabled` to true, and fix the review file if x18n reports it."
235
+ fix: "Set `review.enabled` to true, and fix the review file if the check reports a problem with it."
236
236
  },
237
237
  X18N5004: {
238
238
  why: (p) => `Review not found: ${p.id}`,
@@ -245,7 +245,7 @@ const errorDefinitions = {
245
245
  };
246
246
  /** Raise with `throw errors.X18N2002({ path, reason })`. Core has no reporters: surfaces print what they catch. */
247
247
  const errors = defineDiagnostics({
248
- docsBase: "https://x18n.antfu.dev/errors",
248
+ docsBase: "https://x18n.dev/errors",
249
249
  codes: errorDefinitions
250
250
  });
251
251
  function isX18nError(error) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@x18n/core",
3
3
  "type": "module",
4
- "version": "0.0.15",
4
+ "version": "0.1.1",
5
5
  "description": "Runtime-neutral engine of x18n: domain model, plugin API and project analysis",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",