@moonrepo/cli
Advanced tools
Comparing version 0.6.0 to 0.7.0
# Changelog | ||
## 0.7.0 | ||
#### 💥 Breaking | ||
- The `language` and `type` settings in `project.yml` now default to "unknown" when the setting is | ||
not defined, or the config does not exist. However, the language will also now be inferred | ||
(below). | ||
#### 🚀 Updates | ||
- Updated project `language` to be automatically inferred when the value is unknown, based on the | ||
existence of config files (`package.json` = javascript, `tsconfig.json` = typescript). | ||
- Updated the `InstallNodeDeps` action to install dependencies when a `package.json` change is | ||
detected. | ||
- Added a `moon dep-graph` command for displaying the entire dependency graph in DOT format. | ||
- Added `--language` and `--type` filter options to `moon query projects`. | ||
- Added `$language`, `$projectType`, and `$taskType` token variables. | ||
- Added `dev` as a non-CI task identifier (alongside `start` and `serve`). | ||
- Token variables can now be used within task `inputs`. | ||
- Multiple token variables can now be used within the same string. | ||
#### 🐞 Fixes | ||
- Fixed an issue where package binaries would not execute on pnpm. | ||
## 0.6.0 | ||
@@ -4,0 +29,0 @@ |
{ | ||
"name": "@moonrepo/cli", | ||
"version": "0.6.0", | ||
"version": "0.7.0", | ||
"description": "moon command line and core system.", | ||
@@ -32,8 +32,8 @@ "keywords": [ | ||
"optionalDependencies": { | ||
"@moonrepo/core-linux-x64-gnu": "^0.6.0", | ||
"@moonrepo/core-linux-x64-musl": "^0.6.0", | ||
"@moonrepo/core-macos-arm64": "^0.6.0", | ||
"@moonrepo/core-macos-x64": "^0.6.0", | ||
"@moonrepo/core-windows-x64-msvc": "^0.6.0" | ||
"@moonrepo/core-linux-x64-gnu": "^0.7.0", | ||
"@moonrepo/core-linux-x64-musl": "^0.7.0", | ||
"@moonrepo/core-macos-arm64": "^0.7.0", | ||
"@moonrepo/core-macos-x64": "^0.7.0", | ||
"@moonrepo/core-windows-x64-msvc": "^0.7.0" | ||
} | ||
} |
@@ -59,3 +59,9 @@ // Based on the great parcel-css | ||
fs.unlinkSync(path.join(__dirname, 'moon')); | ||
// This is required for pnpm! | ||
const pkg = require('./package.json'); | ||
pkg.bin.moon = binary; | ||
fs.writeFileSync(path.join(__dirname, 'package.json'), JSON.stringify(pkg, null, 2)); | ||
} catch (error) {} | ||
} |
13201
53