@nx-dotnet/utils
Advanced tools
Comparing version 1.13.0 to 1.13.1
@@ -0,1 +1,8 @@ | ||
## [1.13.1](https://github.com/nx-dotnet/nx-dotnet/compare/v1.13.0...v1.13.1) (2022-08-19) | ||
### Bug Fixes | ||
- **core:** @nrwl/js is required for library generation ([#484](https://github.com/nx-dotnet/nx-dotnet/issues/484)) ([13e2c93](https://github.com/nx-dotnet/nx-dotnet/commit/13e2c93d17486c497b362e69959553223d0d7591)) | ||
- **core:** use strict proj glob pattern ([#495](https://github.com/nx-dotnet/nx-dotnet/issues/495)) ([9720168](https://github.com/nx-dotnet/nx-dotnet/commit/97201684cdbd91578047c4aceaf6ac6078cc7db7)) | ||
# [1.13.0](https://github.com/nx-dotnet/nx-dotnet/compare/v1.12.0...v1.13.0) (2022-07-29) | ||
@@ -2,0 +9,0 @@ |
@@ -21,3 +21,3 @@ { | ||
"homepage": "https://nx-dotnet.com/", | ||
"version": "1.13.0", | ||
"version": "1.13.1", | ||
"typings": "./src/index.d.ts", | ||
@@ -24,0 +24,0 @@ "peerDependencies": { |
@@ -0,1 +1,2 @@ | ||
export declare function projPattern(path: string): string; | ||
/** | ||
@@ -2,0 +3,0 @@ * Wraps the fast-glob package. |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.findProjectFileInPathSync = exports.findProjectFileInPath = exports.glob = void 0; | ||
exports.findProjectFileInPathSync = exports.findProjectFileInPath = exports.glob = exports.projPattern = void 0; | ||
const devkit_1 = require("@nrwl/devkit"); | ||
@@ -11,2 +11,6 @@ const fg = require("fast-glob"); | ||
}; | ||
function projPattern(path) { | ||
return `${path}/**/*.@(cs|fs|vb)proj`; | ||
} | ||
exports.projPattern = projPattern; | ||
/** | ||
@@ -21,3 +25,3 @@ * Wraps the fast-glob package. | ||
function findProjectFileInPath(path) { | ||
return glob(`${path}/**/*.*proj`).then((results) => { | ||
return glob(projPattern(path)).then((results) => { | ||
if (!results || results.length === 0) { | ||
@@ -34,3 +38,3 @@ throw new Error("Unable to find a build-able project within project's source directory!"); | ||
function findProjectFileInPathSync(path) { | ||
const results = fg.sync(`${path}/**/*.*proj`, globOptions); | ||
const results = fg.sync(projPattern(path), globOptions); | ||
if (!results || results.length === 0) { | ||
@@ -37,0 +41,0 @@ throw new Error("Unable to find a build-able project within project's source directory!"); |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
75207
573