@wix/origami-transforms 0.1.10 → 0.1.11

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/origami-transforms",
3
- "version": "0.1.10",
3
+ "version": "0.1.11",
4
4
  "description": "Babel and PostCSS checks and transforms for Wix origami page files.",
5
5
  "main": "./src/index.js",
6
6
  "files": [
@@ -54,5 +54,5 @@
54
54
  },
55
55
  "type": "module",
56
56
  "types": "./dist/index.d.ts",
57
- "falconPackageHash": "7e56e4dabc968e17605f0b4d379f65ad4b9222d482fb82ddc70a9cbe"
57
+ "falconPackageHash": "b2340e8ef9e2e52ae323397986026dcf38f3cd9a3a69fdc64a1e6736"
58
58
  }
@@ -1,5 +1,5 @@
1
1
  // Fails the build on an Image whose `uri` is not a Wix media ID, such as a web URL or a local file.
2
- // The Wix import accepts such a `uri` but the image is broken on the site; `origami upload-media`
2
+ // The Wix import accepts such a `uri` but the image is broken on the site; `wix origami upload-media`
3
3
  // uploads it and points the Image at the uploaded file. `yarn dev` only warns, so the page still
4
4
  // previews. Like the layout rules, Image is identified by its JSX tag name, and a computed `uri` is
5
5
  // not checked.
@@ -34,7 +34,7 @@ export const mediaValidationPlugin = {
34
34
  const id = attributes.find(attribute => attribute.name.name === 'id')?.value?.value
35
35
  const line = uri.loc?.start.line
36
36
  violations.push(
37
- `${file}${line ? `:${line}` : ''} <Image${id ? ` id="${id}"` : ''}> image.uri "${uri.value.value}" is not a Wix media ID. Run \`origami upload-media\` to upload it.`
37
+ `${file}${line ? `:${line}` : ''} <Image${id ? ` id="${id}"` : ''}> image.uri "${uri.value.value}" is not a Wix media ID. Run \`wix origami upload-media\` to upload it.`
38
38
  )
39
39
  first ??= { file: context.filePath, line, column: uri.loc?.start.column }
40
40
  },