@moonrepo/cli 0.26.6 → 1.0.1
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 +43 -0
- package/README.md +9 -7
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,48 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.0.1
|
|
4
|
+
|
|
5
|
+
#### 🐞 Fixes
|
|
6
|
+
|
|
7
|
+
- Updated `envFile` to log a warning instead of triggering an error when `.env.` is missing.
|
|
8
|
+
- Updated `envFile` to support workspace relative paths when prefixed with `/`.
|
|
9
|
+
- Fixed an issue where `.moon/tasks/*.yml` were not scaffolded into `Dockerfile`s.
|
|
10
|
+
- Fixed an issue where a CI environment wasn't detected for some CI providers.
|
|
11
|
+
- Fixed a project cache issue when running tasks inside and outside of a container.
|
|
12
|
+
|
|
13
|
+
## 1.0.0
|
|
14
|
+
|
|
15
|
+
#### 💥 Breaking
|
|
16
|
+
|
|
17
|
+
- Updated the installer scripts and the `moon upgrade` command to install the `moon` binary to
|
|
18
|
+
`~/.moon/bin`.
|
|
19
|
+
|
|
20
|
+
#### 🚀 Updates
|
|
21
|
+
|
|
22
|
+
- Added a `constraints` setting to `.moon/workspace.yml`, allowing for project/dep relationships to
|
|
23
|
+
be enforced.
|
|
24
|
+
- Added a `hasher.warnOnMissingInputs` setting to `.moon/workspace.yml`.
|
|
25
|
+
- Added a `shell` task option to `moon.yml` that will wrap system tasks in a shell.
|
|
26
|
+
- Added a `tags` setting to `moon.yml` for project categorization.
|
|
27
|
+
- Added a `--tags` option to the `moon query projects` command.
|
|
28
|
+
- Added a `telemetry` setting to `.moon/workspace.yml`.
|
|
29
|
+
- Added 5 new token variables: `$projectAlias`, `$date`, `$time`, `$datetime`, and `$timestamp`.
|
|
30
|
+
- Updated task `env` and `.env` files to support variable substitution using `${VAR_NAME}` syntax.
|
|
31
|
+
- Updated system tasks to now execute within a shell.
|
|
32
|
+
|
|
33
|
+
#### 🐞 Fixes
|
|
34
|
+
|
|
35
|
+
- Reworked how task inputs are resolved when empty `[]` is configured, and all `**/*` is inherited.
|
|
36
|
+
|
|
37
|
+
#### ⚙️ Internal
|
|
38
|
+
|
|
39
|
+
- Updated the new version check to only run on the `check`, `ci`, `run`, and `sync` commands.
|
|
40
|
+
- Will now detect 16 additional CI environments: Agola, AppCenter, Appcircle, Azure, Bamboo,
|
|
41
|
+
Bitrise, Buddy, Cirrus, Codemagic, Heroku, Jenkins, Jenkins X, Netlify, TeamCity, Vela,
|
|
42
|
+
Woodpecker.
|
|
43
|
+
- Will now attempt to detect CD environments for more accurate metrics.
|
|
44
|
+
- We now create a [cache directory tag](https://bford.info/cachedir) in `.moon/cache`.
|
|
45
|
+
|
|
3
46
|
## 0.26.6
|
|
4
47
|
|
|
5
48
|
#### 🐞 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
|
|
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
|
-
```
|
|
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
|
-
```
|
|
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
|
-
|
|
26
|
-
|
|
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.
|
|
3
|
+
"version": "1.0.1",
|
|
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.
|
|
33
|
-
"@moonrepo/core-linux-arm64-musl": "^0.
|
|
34
|
-
"@moonrepo/core-linux-x64-gnu": "^0.
|
|
35
|
-
"@moonrepo/core-linux-x64-musl": "^0.
|
|
36
|
-
"@moonrepo/core-macos-arm64": "^0.
|
|
37
|
-
"@moonrepo/core-macos-x64": "^0.
|
|
38
|
-
"@moonrepo/core-windows-x64-msvc": "^0.
|
|
32
|
+
"@moonrepo/core-linux-arm64-gnu": "^1.0.1",
|
|
33
|
+
"@moonrepo/core-linux-arm64-musl": "^1.0.1",
|
|
34
|
+
"@moonrepo/core-linux-x64-gnu": "^1.0.1",
|
|
35
|
+
"@moonrepo/core-linux-x64-musl": "^1.0.1",
|
|
36
|
+
"@moonrepo/core-macos-arm64": "^1.0.1",
|
|
37
|
+
"@moonrepo/core-macos-x64": "^1.0.1",
|
|
38
|
+
"@moonrepo/core-windows-x64-msvc": "^1.0.1"
|
|
39
39
|
}
|
|
40
40
|
}
|