@nx/devkit 21.1.1 → 21.2.0-beta.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/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  <p style="text-align: center;">
2
2
  <picture>
3
3
  <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-dark.svg">
4
- <img alt="Nx - Smart Monorepos · Fast CI" src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-light.svg" width="100%">
4
+ <img alt="Nx - Smart Repos · Fast Builds" src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-light.svg" width="100%">
5
5
  </picture>
6
6
  </p>
7
7
 
@@ -20,7 +20,7 @@
20
20
 
21
21
  <hr>
22
22
 
23
- # Nx: Smart Monorepos · Fast CI
23
+ # Nx: Smart Repos · Fast Builds
24
24
 
25
25
  Nx is a build system, optimized for monorepos, with plugins for popular frameworks and tools and advanced CI capabilities including caching and distribution.
26
26
 
@@ -64,5 +64,5 @@ npx nx@latest init
64
64
  - [Blog Posts About Nx](https://nx.dev/blog)
65
65
 
66
66
  <p style="text-align: center;"><a href="https://nx.dev/#learning-materials" target="_blank" rel="noreferrer"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-courses-and-videos.svg"
67
- width="100%" alt="Nx - Smart Monorepos · Fast CI"></a></p>
67
+ width="100%" alt="Nx - Smart Repos · Fast Builds"></a></p>
68
68
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/devkit",
3
- "version": "21.1.1",
3
+ "version": "21.2.0-beta.1",
4
4
  "private": false,
5
5
  "description": "The Nx Devkit is used to customize Nx for different technologies and use cases. It contains many utility functions for reading and writing files, updating configuration, working with Abstract Syntax Trees(ASTs), and more. Learn more about [extending Nx by leveraging the Nx Devkit](https://nx.dev/extending-nx/intro/getting-started) on our docs.",
6
6
  "repository": {
@@ -38,7 +38,7 @@
38
38
  "enquirer": "~2.3.6"
39
39
  },
40
40
  "peerDependencies": {
41
- "nx": "21.1.1"
41
+ "nx": "21.2.0-beta.1"
42
42
  },
43
43
  "publishConfig": {
44
44
  "access": "public"
@@ -4,6 +4,7 @@ export type ArtifactGenerationOptions = {
4
4
  name?: string;
5
5
  fileExtension?: string;
6
6
  suffix?: string;
7
+ suffixSeparator?: string;
7
8
  allowedFileExtensions?: string[];
8
9
  /**
9
10
  * @deprecated Provide the full file path including the file extension in the `path` option. This option will be removed in Nx v21.
@@ -40,7 +40,7 @@ function getNameAndDirectoryOptions(tree, options) {
40
40
  extractedName = fileName;
41
41
  }
42
42
  else if (options.suffix) {
43
- fileName = `${fileName}.${options.suffix}`;
43
+ fileName = `${fileName}${options.suffixSeparator ?? '.'}${options.suffix}`;
44
44
  }
45
45
  const filePath = (0, devkit_exports_1.joinPathFragments)(directory, `${fileName}.${fileExtension}`);
46
46
  const fileExtensionType = getFileExtensionType(fileExtension);
@@ -1 +1 @@
1
- export declare const typescriptVersion = "~5.7.2";
1
+ export declare const typescriptVersion = "~5.8.2";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.typescriptVersion = void 0;
4
- exports.typescriptVersion = '~5.7.2';
4
+ exports.typescriptVersion = '~5.8.2';