@moonrepo/cli 0.26.6 → 1.0.0

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
@@ -1,5 +1,38 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.0.0
4
+
5
+ #### 💥 Breaking
6
+
7
+ - Updated the installer scripts and the `moon upgrade` command to install the `moon` binary to
8
+ `~/.moon/bin`.
9
+
10
+ #### 🚀 Updates
11
+
12
+ - Added a `constraints` setting to `.moon/workspace.yml`, allowing for project/dep relationships to
13
+ be enforced.
14
+ - Added a `hasher.warnOnMissingInputs` setting to `.moon/workspace.yml`.
15
+ - Added a `shell` task option to `moon.yml` that will wrap system tasks in a shell.
16
+ - Added a `tags` setting to `moon.yml` for project categorization.
17
+ - Added a `--tags` option to the `moon query projects` command.
18
+ - Added a `telemetry` setting to `.moon/workspace.yml`.
19
+ - Added 5 new token variables: `$projectAlias`, `$date`, `$time`, `$datetime`, and `$timestamp`.
20
+ - Updated task `env` and `.env` files to support variable substitution using `${VAR_NAME}` syntax.
21
+ - Updated system tasks to now execute within a shell.
22
+
23
+ #### 🐞 Fixes
24
+
25
+ - Reworked how task inputs are resolved when empty `[]` is configured, and all `**/*` is inherited.
26
+
27
+ #### ⚙️ Internal
28
+
29
+ - Updated the new version check to only run on the `check`, `ci`, `run`, and `sync` commands.
30
+ - Will now detect 16 additional CI environments: Agola, AppCenter, Appcircle, Azure, Bamboo,
31
+ Bitrise, Buddy, Cirrus, Codemagic, Heroku, Jenkins, Jenkins X, Netlify, TeamCity, Vela,
32
+ Woodpecker.
33
+ - Will now attempt to detect CD environments for more accurate metrics.
34
+ - We now create a [cache directory tag](https://bford.info/cachedir) in `.moon/cache`.
35
+
3
36
  ## 0.26.6
4
37
 
5
38
  #### 🐞 Fixes
package/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # @moonrepo/cli
2
2
 
3
3
  The official CLI for [moon](https://moonrepo.dev), a task runner and repo management tool for the
4
- web ecosystem, written in Rust! Supports JavaScript, TypeScript, Bash, and Batch.
4
+ web ecosystem, written in Rust! Supports JavaScript, TypeScript, Bash, and much more!
5
5
 
6
6
  - [Documentation](https://moonrepo.dev/docs)
7
7
  - [Getting started](https://moonrepo.dev/docs/install)
@@ -12,18 +12,20 @@ web ecosystem, written in Rust! Supports JavaScript, TypeScript, Bash, and Batch
12
12
 
13
13
  moon can be installed with bash:
14
14
 
15
- ```bash
16
- curl -fsSL https://moonrepo.dev/install.sh | bash
15
+ ```shell
16
+ curl -fsSL https://moonrepo.dev/install/moon.sh | bash
17
17
  ```
18
18
 
19
19
  Or with npm, pnpm, or yarn.
20
20
 
21
- ```bash
22
- # Install the dependency
21
+ ```shell
23
22
  yarn add --dev @moonrepo/cli
23
+ ```
24
+
25
+ Once installed, initialize moon in your repository.
24
26
 
25
- # Initialize moon in the repo
26
- npx @moonrepo/cli init
27
+ ```shell
28
+ moon init
27
29
  ```
28
30
 
29
31
  ## Usage
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moonrepo/cli",
3
- "version": "0.26.6",
3
+ "version": "1.0.0",
4
4
  "description": "moon command line and core system.",
5
5
  "keywords": [
6
6
  "moon",
@@ -29,12 +29,12 @@
29
29
  "detect-libc": "^2.0.1"
30
30
  },
31
31
  "optionalDependencies": {
32
- "@moonrepo/core-linux-arm64-gnu": "^0.26.6",
33
- "@moonrepo/core-linux-arm64-musl": "^0.26.6",
34
- "@moonrepo/core-linux-x64-gnu": "^0.26.6",
35
- "@moonrepo/core-linux-x64-musl": "^0.26.6",
36
- "@moonrepo/core-macos-arm64": "^0.26.6",
37
- "@moonrepo/core-macos-x64": "^0.26.6",
38
- "@moonrepo/core-windows-x64-msvc": "^0.26.6"
32
+ "@moonrepo/core-linux-arm64-gnu": "^1.0.0",
33
+ "@moonrepo/core-linux-arm64-musl": "^1.0.0",
34
+ "@moonrepo/core-linux-x64-gnu": "^1.0.0",
35
+ "@moonrepo/core-linux-x64-musl": "^1.0.0",
36
+ "@moonrepo/core-macos-arm64": "^1.0.0",
37
+ "@moonrepo/core-macos-x64": "^1.0.0",
38
+ "@moonrepo/core-windows-x64-msvc": "^1.0.0"
39
39
  }
40
40
  }