@crombolo/import-umbraco 0.12.1 → 0.13.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 +5 -5
  2. package/src/index.ts +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crombolo/import-umbraco",
3
- "version": "0.12.1",
3
+ "version": "0.13.1",
4
4
  "description": "Imports an existing Umbraco site into crombolo: a compatibility report, then schema files, a content bundle and view stubs.",
5
5
  "license": "MIT",
6
6
  "author": "Crombolo",
@@ -28,10 +28,10 @@
28
28
  "access": "public"
29
29
  },
30
30
  "dependencies": {
31
- "@crombolo/core": "0.12.1",
32
- "@crombolo/data": "0.12.1",
33
- "@crombolo/schema": "0.12.1",
34
- "@crombolo/transfer": "0.12.1",
31
+ "@crombolo/core": "0.13.1",
32
+ "@crombolo/data": "0.13.1",
33
+ "@crombolo/schema": "0.13.1",
34
+ "@crombolo/transfer": "0.13.1",
35
35
  "@kineco-au/bacpac-importer": "^0.1.0"
36
36
  }
37
37
  }
package/src/index.ts CHANGED
@@ -18,7 +18,7 @@ import {
18
18
  writeMemberType,
19
19
  writeSchemaVersion,
20
20
  } from '@crombolo/schema'
21
- import { newSeal, writeBundle, writeBundlePackage } from '@crombolo/transfer'
21
+ import { bundlePeerRange, newSeal, writeBundle, writeBundlePackage } from '@crombolo/transfer'
22
22
  import { convertContent } from './content.ts'
23
23
  import { Findings } from './findings.ts'
24
24
  import { type DictionaryItem, type DomainEntry, takeInventory } from './inventory.ts'
@@ -371,7 +371,7 @@ export async function planImport(options: ImportOptions): Promise<ImportPlan> {
371
371
  id: 'umbraco-import',
372
372
  label: `Content imported from ${siteName}`,
373
373
  private: true,
374
- peerRange: `^${options.coreVersion}`,
374
+ peerRange: bundlePeerRange(options.coreVersion),
375
375
  },
376
376
  )
377
377
  for (const file of imported)