@moonrepo/cli 0.15.0 → 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,49 @@
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
+
3
47
  ## 0.15.0
4
48
 
5
49
  #### 🚀 Updates
@@ -88,7 +132,7 @@
88
132
  #### ⚙️ Internal
89
133
 
90
134
  - The `SetupToolchain` action has been updated to be language/platform aware, and as such, was split
91
- into `SetupNodeToolchain` and `SetupSystemToolchain`.
135
+ into `SetupNodeTool` and `SetupSystemTool`.
92
136
  - Output is now buffered when running a target. This should reduce tearing and increase performance.
93
137
  - Upgraded all Cargo dependencies.
94
138
 
@@ -226,7 +270,7 @@ previous builds are no longer valid and can be removed.
226
270
 
227
271
  #### ⚙️ Internal
228
272
 
229
- - 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.
230
274
  - Package binaries are now resolved to their canonical path when a symlink.
231
275
 
232
276
  ### 0.8.1
package/README.md CHANGED
@@ -68,7 +68,7 @@ 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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moonrepo/cli",
3
- "version": "0.15.0",
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.15.0",
33
- "@moonrepo/core-linux-arm64-musl": "^0.15.0",
34
- "@moonrepo/core-linux-x64-gnu": "^0.15.0",
35
- "@moonrepo/core-linux-x64-musl": "^0.15.0",
36
- "@moonrepo/core-macos-arm64": "^0.15.0",
37
- "@moonrepo/core-macos-x64": "^0.15.0",
38
- "@moonrepo/core-windows-x64-msvc": "^0.15.0"
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
  }