Skip to content

Commit

Permalink
Fix: Replace node import assert
Browse files Browse the repository at this point in the history
### Added

- read-package-up to dependencies
- packageConfig module that exports the parsed package.json configuration

### Changed

- Replace Node import assertions (deprecated) with file operations

### Fixed

- #968
  • Loading branch information
mphstudios authored Dec 17, 2024
1 parent 15cf1be commit 39569d7
Show file tree
Hide file tree
Showing 8 changed files with 1,987 additions and 1,054 deletions.
36 changes: 36 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,42 @@ Changelog entries are classified using the following labels:
- `Fixed`: for any bug fixes
- `Removed`: for deprecated features removed in this release

## [1.0.0-rc.25]

### Changed

- Use quire-cli config values for quire-11ty version and version file name

### Fixed

- Install path for quire-11ty versions

## [1.0.0-rc.24]

### Changed

- Replace Node `import` assertions (deprecated) with a packageConfig module

### Fixed

- Quire new command fails with newer version of Node #968

## [1.0.0-rc.23]

:warning: broken release candidate

## [1.0.0-rc.22]

:warning: broken release candidate

## [1.0.0-rc.21]

:warning: broken release candidate

## [1.0.0-rc.20]

:warning: broken release candidate

## [1.0.0-rc.19]

### Added
Expand Down
3 changes: 1 addition & 2 deletions packages/cli/bin/cli.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
#!/usr/bin/env -S node --no-warnings

import cli from '#src/main.js'
import config from '#src/lib/conf/config.js'
import packageConfig from '#root/package.json' assert { type: 'json' }
import packageConfig from '#src/packageConfig.js'
import updateNotifier from 'update-notifier'

process.removeAllListeners('warning')
Expand Down
Loading

0 comments on commit 39569d7

Please sign in to comment.