@thegetty/quire-cli 1.0.0-rc.27 → 1.0.0-rc.28
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/CHANGELOG.md +6 -0
- package/package.json +1 -1
- package/src/commands/pdf.js +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -12,6 +12,12 @@ Changelog entries are classified using the following labels:
|
|
|
12
12
|
- `Fixed`: for any bug fixes
|
|
13
13
|
- `Removed`: for deprecated features removed in this release
|
|
14
14
|
|
|
15
|
+
## [1.0.0-rc.28]
|
|
16
|
+
|
|
17
|
+
### Fixed
|
|
18
|
+
|
|
19
|
+
- Fixed issue where `quire pdf` errored and failed (DEV-20270)
|
|
20
|
+
|
|
15
21
|
## [1.0.0-rc.27]
|
|
16
22
|
|
|
17
23
|
### Fixed
|
package/package.json
CHANGED
package/src/commands/pdf.js
CHANGED
|
@@ -4,6 +4,7 @@ import fs from 'fs-extra'
|
|
|
4
4
|
import libPdf from '#lib/pdf/index.js'
|
|
5
5
|
import open from 'open'
|
|
6
6
|
import path from 'node:path'
|
|
7
|
+
import { pathToFileURL } from 'node:url'
|
|
7
8
|
import yaml from 'js-yaml'
|
|
8
9
|
|
|
9
10
|
/**
|
|
@@ -29,7 +30,7 @@ async function loadConfig(configPath) {
|
|
|
29
30
|
|
|
30
31
|
if (fs.existsSync(schemaPath) && fs.existsSync(validatorPath)) {
|
|
31
32
|
|
|
32
|
-
const { validateUserConfig } = await import(validatorPath)
|
|
33
|
+
const { validateUserConfig } = await import(pathToFileURL(validatorPath))
|
|
33
34
|
|
|
34
35
|
const schemaJSON = fs.readFileSync(schemaPath)
|
|
35
36
|
const schema = JSON.parse(schemaJSON)
|