@moonrepo/cli 0.14.1 → 0.16.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,80 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.16.0
4
+
5
+ #### 🚀 Updates
6
+
7
+ ##### Projects
8
+
9
+ - Projects can now override the workspace configured Node.js version on a per-project basis using
10
+ the new `workspace.node.version` setting in `moon.yml`. However, this does not override the
11
+ package manager!
12
+ - Package managers workspaces (via `package.json`) are no longer required. When not enabled, or a
13
+ project is not within the workspace, it will install dependencies directly within the project
14
+ root, and will utilize its own lockfile.
15
+
16
+ ##### TypeScript
17
+
18
+ - Added a new `typescript.routeOutDirToCache` setting to `.moon/workspace.yml`, that will update the
19
+ `outDir` compiler option to route to `.moon/cache/types`.
20
+ - Added a new `typescript.syncProjectReferencesToPaths` setting to `.moon/workspace.yml`, that will
21
+ map project references to compiler option `paths` aliases.
22
+
23
+ ##### Generator
24
+
25
+ - Template files can now be suffixed with `.tera` or `.twig` for syntax highlighting.
26
+
27
+ ##### Runner
28
+
29
+ - The running command will now be displayed when installing dependencies (npm install, etc). This
30
+ can be toggled with the `runner.logRunningCommand` setting.
31
+ - The dedupe command will now be displayed when running if the `node.dedupeOnLockfileChange` setting
32
+ is enabled.
33
+ - Added a new `runner.implicitDeps` setting to `.moon/workspace.yml`, that will add task `deps` to
34
+ _all_ tasks.
35
+
36
+ #### 📚 Docs
37
+
38
+ - Config file settings will now link to their API types.
39
+
40
+ #### ⚙️ Internal
41
+
42
+ - We've renamed and restructured the `.moon/cache` directory. If you were relying on any of these
43
+ files, you'll need to update your implementation.
44
+ - Updated Cargo dependencies. A big change was clap v3 -> v4, so if you encounter any CLI issues,
45
+ please report.
46
+
47
+ ## 0.15.0
48
+
49
+ #### 🚀 Updates
50
+
51
+ - When running multiple targets in parallel, we've reworked the output prefix to be uniform amongst
52
+ all targets, and to be colored to uniquely identify each target.
53
+ - Added a new `moon docker scaffold` command for scaffolding a skeleton workspace for use within
54
+ `Dockerfile`s.
55
+ - Added a new `moon docker prune` command for pruning the Docker environment for a build/deply.
56
+ - Added frontmatter support to all template files.
57
+ - Added a `node.yarn.plugins` setting to `.moon/workspace.yml`.
58
+ - Updated run reports (via `--report`) to include additional information, like the total duration,
59
+ and estimated time savings.
60
+ - Updated default versions of tools:
61
+ - node 16.16.0 -> 16.17.0
62
+ - npm 8.16.0 -> 8.19.2
63
+ - pnpm 7.9.0 -> 7.12.1
64
+ - yarn 3.2.2 -> 3.2.3
65
+
66
+ #### 🐞 Fixes
67
+
68
+ - Added missing `.npmrc` to the list of pnpm config files.
69
+ - Improved the handling of Rust/Go binaries shipped in pnpm node modules.
70
+
71
+ #### ⚙️ Internal
72
+
73
+ - Updated Rust to v1.64.
74
+ - Windows:
75
+ - Will always use PowerShell and avoids `cmd.exe` entirely.
76
+ - Reworked commands that run through PowerShell to pass arguments via stdin.
77
+
3
78
  ## 0.14.1
4
79
 
5
80
  #### 🐞 Fixes
@@ -57,7 +132,7 @@
57
132
  #### ⚙️ Internal
58
133
 
59
134
  - The `SetupToolchain` action has been updated to be language/platform aware, and as such, was split
60
- into `SetupNodeToolchain` and `SetupSystemToolchain`.
135
+ into `SetupNodeTool` and `SetupSystemTool`.
61
136
  - Output is now buffered when running a target. This should reduce tearing and increase performance.
62
137
  - Upgraded all Cargo dependencies.
63
138
 
@@ -195,7 +270,7 @@ previous builds are no longer valid and can be removed.
195
270
 
196
271
  #### ⚙️ Internal
197
272
 
198
- - Outputs are now copied to `.moon/cache/out` instead of being hardlinked.
273
+ - Outputs are now copied to `.moon/cache/outputs` instead of being hardlinked.
199
274
  - Package binaries are now resolved to their canonical path when a symlink.
200
275
 
201
276
  ### 0.8.1
package/README.md CHANGED
@@ -68,13 +68,13 @@ and provide a first-class developer experience.
68
68
  reproducible.
69
69
  - **Remote caching** - Persists builds, hashes, and caches between teammates and CI/CD environments.
70
70
  - **Integrated toolchain** - Automatically downloads and installs explicit versions of Node.js and
71
- other tools for consistency.
71
+ other tools for consistency across the entire workspace or per project.
72
72
  - **Multi-platform** - Runs on common development platforms: Linux, macOS, and Windows.
73
73
 
74
74
  #### Organization
75
75
 
76
76
  - **Project graph** - Generates a project graph for dependency and dependent relationships.
77
- - **Project boundaries** - Enforces boundaries to eliminate cycles and reduce indirection.
77
+ - **Code generation** - Easily scaffold new applications, libraries, tooling, and more!
78
78
  - **Dependency workspaces** - Works alongside package manager workspaces so that projects have
79
79
  distinct dependency trees.
80
80
  - **Ownership metadata** - Declare an owner, maintainers, support channels, and more, for LDAP or
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moonrepo/cli",
3
- "version": "0.14.1",
3
+ "version": "0.16.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.14.1",
33
- "@moonrepo/core-linux-arm64-musl": "^0.14.1",
34
- "@moonrepo/core-linux-x64-gnu": "^0.14.1",
35
- "@moonrepo/core-linux-x64-musl": "^0.14.1",
36
- "@moonrepo/core-macos-arm64": "^0.14.1",
37
- "@moonrepo/core-macos-x64": "^0.14.1",
38
- "@moonrepo/core-windows-x64-msvc": "^0.14.1"
32
+ "@moonrepo/core-linux-arm64-gnu": "^0.16.0",
33
+ "@moonrepo/core-linux-arm64-musl": "^0.16.0",
34
+ "@moonrepo/core-linux-x64-gnu": "^0.16.0",
35
+ "@moonrepo/core-linux-x64-musl": "^0.16.0",
36
+ "@moonrepo/core-macos-arm64": "^0.16.0",
37
+ "@moonrepo/core-macos-x64": "^0.16.0",
38
+ "@moonrepo/core-windows-x64-msvc": "^0.16.0"
39
39
  }
40
40
  }
package/postinstall.js CHANGED
@@ -49,7 +49,7 @@ try {
49
49
  console.error(`Failed to find "${binary}" binary.`);
50
50
 
51
51
  if (!isMoonLocal) {
52
- process.exit(1);
52
+ // process.exit(1);
53
53
  }
54
54
  }
55
55