@otwdesign/cli 1.7.0 → 1.7.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/package.json +4 -4
  2. package/src/generate.ts +3 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@otwdesign/cli",
3
- "version": "1.7.0",
3
+ "version": "1.7.1",
4
4
  "description": "The cms command for OTW CMS sites: generate, migrate, update and serve.",
5
5
  "license": "Apache-2.0",
6
6
  "author": "OTW SRL",
@@ -41,9 +41,9 @@
41
41
  "@types/semver": "^7.7.0",
42
42
  "semver": "^7.8.0",
43
43
  "tsx": "^4.23.15",
44
- "@otwdesign/next": "1.7.0",
45
- "@otwdesign/sdk": "1.7.0",
46
- "@otwdesign/core": "1.7.0"
44
+ "@otwdesign/core": "1.7.1",
45
+ "@otwdesign/sdk": "1.7.1",
46
+ "@otwdesign/next": "1.7.1"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@opentelemetry/api": "~1.9.0",
package/src/generate.ts CHANGED
@@ -264,7 +264,9 @@ export function managedFiles(
264
264
  at(PROXY_FILE),
265
265
  [
266
266
  "import { createProxy } from '@otwdesign/next/proxy'",
267
- ...proxy.map((name, i) => `import proxy${i} from ${JSON.stringify(`${name}/proxy`)}`),
267
+ // Quoted as the lines around it and as Prettier would: this file is the site's own
268
+ // to format, unlike the `.generated.ts` ones a site's Prettier ignores.
269
+ ...proxy.map((name, i) => `import proxy${i} from '${name}/proxy'`),
268
270
  '',
269
271
  `export const proxy = createProxy([${proxy.map((_, i) => `proxy${i}`).join(', ')}])`,
270
272
  '',