@thegetty/quire-cli 1.0.0-rc.53 → 1.0.0-rc.55

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 CHANGED
@@ -12,6 +12,35 @@ 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.55]
16
+
17
+ ### Bumped
18
+
19
+ - `epubjs-cli` to `0.2.4`
20
+
21
+ ## [1.0.0-rc.54]
22
+
23
+ ### Bumped
24
+
25
+ - `del` to 8.0.1
26
+ - `execa` to 9.6.1
27
+ - `simple-git` to 3.36.0
28
+ - Removed `node-fetch` as no longer needed.
29
+
30
+ ### Changed
31
+
32
+ - Behavior of `quire new` to not force-dump `npm` cache before depenedncy install.
33
+
34
+ ## [1.0.0-rc.53]
35
+
36
+ ### Added
37
+
38
+ - `quire validate` command for validating publication configurations. Thanks @andy-jdl!
39
+
40
+ ## Fixed
41
+
42
+ - Removes package tarballs downloaded during `quire new` commands.
43
+
15
44
  ## [1.0.0-rc.33]
16
45
 
17
46
  ### Bumped
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@thegetty/quire-cli",
3
3
  "description": "Quire command-line interface",
4
- "version": "1.0.0-rc.53",
4
+ "version": "1.0.0-rc.55",
5
5
  "author": "Getty Digital",
6
6
  "license": "SEE LICENSE IN https://github.com/thegetty/quire/blob/main/LICENSE",
7
7
  "bugs": {
@@ -53,22 +53,21 @@
53
53
  "commander": "^12.1.0",
54
54
  "conf": "^13.1.0",
55
55
  "cross-env": "^7.0.3",
56
- "del": "^7.0.0",
57
- "epubjs-cli": "^0.1.6",
58
- "execa": "^6.1.0",
56
+ "del": "^8.0.1",
57
+ "epubjs-cli": "^0.2.4",
58
+ "execa": "^9.6.1",
59
59
  "fs-extra": "^11.1.0",
60
60
  "hosted-git-info": "^6.1.1",
61
61
  "i18next": "^22.4.9",
62
62
  "inquirer": "^9.1.4",
63
63
  "js-yaml": "^4.1.0",
64
64
  "loglevel": "^1.8.1",
65
- "node-fetch": "^3.3.2",
66
65
  "open": "^8.4.0",
67
66
  "ora": "^6.1.2",
68
67
  "pagedjs-cli": "^0.4.3",
69
68
  "read-package-up": "^11.0.0",
70
69
  "semver": "^7.3.8",
71
- "simple-git": "^3.16.0",
70
+ "simple-git": "^3.36.0",
72
71
  "update-notifier": "^7.3.1"
73
72
  },
74
73
  "devDependencies": {
@@ -42,6 +42,7 @@ const factory = async (options = {}) => {
42
42
  process.env.ELEVENTY_DATA = paths.data
43
43
  process.env.ELEVENTY_INCLUDES = paths.includes
44
44
  process.env.ELEVENTY_LAYOUTS = paths.layouts
45
+ process.env.QUIRE_DEBUG_LOG = options.debug
45
46
 
46
47
  /**
47
48
  * Get an instance of the runtime of eleventy.
@@ -62,6 +62,7 @@ const factory = (options = {}) => {
62
62
  ELEVENTY_DATA: paths.data,
63
63
  ELEVENTY_INCLUDES: paths.includes,
64
64
  ELEVENTY_LAYOUTS: paths.layouts,
65
+ QUIRE_DEBUG_LOG: options.debug
65
66
  }
66
67
 
67
68
  if (options.debug) env.DEBUG = 'Eleventy*'
@@ -87,7 +88,7 @@ export default {
87
88
  all: true,
88
89
  cwd: projectRoot,
89
90
  env,
90
- execPath: process.execPath
91
+ nodePath: process.execPath
91
92
  })
92
93
  build.all.pipe(process.stdout)
93
94
  await build
@@ -112,7 +113,7 @@ export default {
112
113
  all: true,
113
114
  cwd: projectRoot,
114
115
  env,
115
- execPath: process.execPath
116
+ nodePath: process.execPath
116
117
  }).all.pipe(process.stdout)
117
118
  }
118
119
  }
@@ -4,7 +4,6 @@ import { execa, execaCommand } from 'execa'
4
4
  import { fileURLToPath } from 'node:url'
5
5
  import { isEmpty } from '#helpers/is-empty.js'
6
6
  import config from '#lib/conf/config.js'
7
- import fetch from 'node-fetch'
8
7
  import fs from 'fs-extra'
9
8
  import git from '#lib/git/index.js'
10
9
  import packageConfig from '#src/packageConfig.js'
@@ -199,7 +198,6 @@ async function installInProject(projectPath, quireVersion, options = {}) {
199
198
  * these must be `devDependencies` so that they are not bundled into
200
199
  * the final `_site` package when running `quire build`
201
200
  */
202
- await execaCommand('npm cache clean --force', { cwd: projectPath })
203
201
  try {
204
202
  await execaCommand('npm install --save-dev', { cwd: projectPath })
205
203
  } catch(error) {