@thegetty/quire-cli 1.0.0-rc.22 → 1.0.0-rc.23
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 +10 -15
- package/package.json +1 -1
- package/src/main.js +0 -3
- package/src/packageConfig.js +12 -1
package/CHANGELOG.md
CHANGED
|
@@ -12,32 +12,27 @@ 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.
|
|
16
|
-
|
|
17
|
-
### Added
|
|
18
|
-
|
|
19
|
-
- `read-package-up` to dependencies
|
|
20
|
-
- `packageConfig` module, exports parsed `package.json` configuration file
|
|
15
|
+
## [1.0.0-rc.23]
|
|
21
16
|
|
|
22
17
|
### Changed
|
|
23
18
|
|
|
24
|
-
-
|
|
25
|
-
|
|
26
|
-
## [1.0.0-rc.21]
|
|
19
|
+
- Replace Node `import` assertions (deprecated) with file operations
|
|
27
20
|
|
|
28
21
|
### Fixed
|
|
29
22
|
|
|
30
|
-
-
|
|
23
|
+
- Quire new command fails with newer version of Node #968
|
|
31
24
|
|
|
32
|
-
## [1.0.0-rc.
|
|
25
|
+
## [1.0.0-rc.22]
|
|
33
26
|
|
|
34
|
-
|
|
27
|
+
:warning: broken release candidate
|
|
35
28
|
|
|
36
|
-
-
|
|
29
|
+
## [1.0.0-rc.21]
|
|
37
30
|
|
|
38
|
-
|
|
31
|
+
:warning: broken release candidate
|
|
39
32
|
|
|
40
|
-
-
|
|
33
|
+
## [1.0.0-rc.20]
|
|
34
|
+
|
|
35
|
+
:warning: broken release candidate
|
|
41
36
|
|
|
42
37
|
## [1.0.0-rc.19]
|
|
43
38
|
|
package/package.json
CHANGED
package/src/main.js
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
import { Argument, Command, Option } from 'commander'
|
|
2
|
-
import { dirname, join } from 'node:path'
|
|
3
|
-
import { fileURLToPath } from 'node:url'
|
|
4
|
-
import fs from 'node:fs'
|
|
5
2
|
import commands from '#src/commands/index.js'
|
|
6
3
|
import config from '#lib/conf/config.js'
|
|
7
4
|
import packageConfig from '#src/packageConfig.js'
|
package/src/packageConfig.js
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
|
+
import { dirname } from 'node:path'
|
|
2
|
+
import { fileURLToPath } from 'node:url'
|
|
1
3
|
import { readPackageUpSync } from 'read-package-up'
|
|
2
4
|
|
|
3
|
-
const
|
|
5
|
+
const __filename = fileURLToPath(import.meta.url)
|
|
6
|
+
const __dirname = dirname(__filename)
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Nota bene:
|
|
10
|
+
* working directory will be the path from which quire-cli commands are run;
|
|
11
|
+
* readPackageUpSync must be called with the change working directory option
|
|
12
|
+
* set to the path of this module to find the quire-cli package config file.
|
|
13
|
+
*/
|
|
14
|
+
const { packageJson } = readPackageUpSync({ cwd: __dirname, normalize: true })
|
|
4
15
|
|
|
5
16
|
export default packageJson
|