@nx/devkit
Advanced tools
Comparing version 17.0.0-beta.2 to 17.0.0-beta.4
@@ -13,8 +13,3 @@ /** | ||
*/ | ||
// TODO(v17): remove this file, we can use the normally generated index.d.ts from index.ts | ||
/* eslint-disable @typescript-eslint/no-restricted-imports */ | ||
export * from 'nx/src/devkit-exports'; | ||
export * from './public-api'; |
21
index.js
@@ -0,1 +1,2 @@ | ||
"use strict"; | ||
/** | ||
@@ -13,16 +14,6 @@ * The Nx Devkit is the underlying technology used to customize Nx to support | ||
*/ | ||
try { | ||
// TODO(v17): We will not need to maintain this file anymore, change this to a regular export statement | ||
// This file was introduced in the nx package in v15.7 but devkit is compatible down to v14.1 which doesn't have this file. | ||
module.exports = require('nx/src/devkit-exports'); | ||
} catch { | ||
// These are the nx-reexports from before v16 | ||
// TODO(v17): This can be removed once the above is done. | ||
module.exports = require('./nx-reexports-pre16'); | ||
} | ||
module.exports = { | ||
...module.exports, | ||
...require('./public-api'), | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const tslib_1 = require("tslib"); | ||
// eslint-disable-next-line @typescript-eslint/no-restricted-imports | ||
tslib_1.__exportStar(require("nx/src/devkit-exports"), exports); | ||
tslib_1.__exportStar(require("./public-api"), exports); |
/** | ||
* @category Ng CLI Adapter | ||
*/ | ||
export { wrapAngularDevkitSchematic, overrideCollectionResolutionForTesting, mockSchematicsForTesting, NxScopedHost, } from 'nx/src/adapter/ngcli-adapter'; | ||
export { wrapAngularDevkitSchematic, mockSchematicsForTesting, NxScopedHost, } from 'nx/src/adapter/ngcli-adapter'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.NxScopedHost = exports.mockSchematicsForTesting = exports.overrideCollectionResolutionForTesting = exports.wrapAngularDevkitSchematic = void 0; | ||
exports.NxScopedHost = exports.mockSchematicsForTesting = exports.wrapAngularDevkitSchematic = void 0; | ||
/** | ||
@@ -10,4 +10,3 @@ * @category Ng CLI Adapter | ||
Object.defineProperty(exports, "wrapAngularDevkitSchematic", { enumerable: true, get: function () { return ngcli_adapter_1.wrapAngularDevkitSchematic; } }); | ||
Object.defineProperty(exports, "overrideCollectionResolutionForTesting", { enumerable: true, get: function () { return ngcli_adapter_1.overrideCollectionResolutionForTesting; } }); | ||
Object.defineProperty(exports, "mockSchematicsForTesting", { enumerable: true, get: function () { return ngcli_adapter_1.mockSchematicsForTesting; } }); | ||
Object.defineProperty(exports, "NxScopedHost", { enumerable: true, get: function () { return ngcli_adapter_1.NxScopedHost; } }); |
22
nx.js
@@ -8,19 +8,13 @@ "use strict"; | ||
function requireNx() { | ||
let result = { ...require('nx/src/devkit-exports') }; | ||
try { | ||
let result = { ...require('nx/src/devkit-exports') }; | ||
try { | ||
result = { | ||
...result, | ||
// Remove in Nx v18, devkit should not support Nx v16.0.2 at that point. | ||
...require('nx/src/devkit-internals'), | ||
}; | ||
} | ||
catch { } | ||
return result; | ||
result = { | ||
...result, | ||
// Remove in Nx v18, devkit should not support Nx v16.0.2 at that point. | ||
...require('nx/src/devkit-internals'), | ||
}; | ||
} | ||
catch { | ||
// Remove in Nx V17, devkit should not support Nx < 16 at that point. | ||
return require('./nx-reexports-pre16'); | ||
} | ||
catch { } | ||
return result; | ||
} | ||
exports.requireNx = requireNx; |
{ | ||
"name": "@nx/devkit", | ||
"version": "17.0.0-beta.2", | ||
"version": "17.0.0-beta.4", | ||
"private": false, | ||
@@ -37,6 +37,6 @@ "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.", | ||
"semver": "7.5.3", | ||
"@nrwl/devkit": "17.0.0-beta.2" | ||
"@nrwl/devkit": "17.0.0-beta.4" | ||
}, | ||
"peerDependencies": { | ||
"nx": ">= 15 <= 17" | ||
"nx": ">= 16 <= 18" | ||
}, | ||
@@ -43,0 +43,0 @@ "publishConfig": { |
@@ -1,2 +0,1 @@ | ||
// eslint-disable-next-line @typescript-eslint/no-restricted-imports | ||
export * from 'nx/src/devkit-testing-exports'; |
@@ -1,9 +0,5 @@ | ||
try { | ||
// TODO(v17): We will not need to maintain this file anymore, change this to a regular export statement | ||
// This file was introduced in the nx package in v15.7 but devkit is compatible down to v14.1 which doesn't have this file. | ||
module.exports = require('nx/src/devkit-testing-exports'); | ||
} catch { | ||
// These are the nx-reexports from before v16 | ||
// TODO(v17): This can be removed once the above is done. | ||
module.exports = require('./testing-pre16'); | ||
} | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const tslib_1 = require("tslib"); | ||
// eslint-disable-next-line @typescript-eslint/no-restricted-imports | ||
tslib_1.__exportStar(require("nx/src/devkit-testing-exports"), exports); |
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
152731
84
4057
+ Added@nrwl/devkit@17.0.0-beta.4(transitive)
+ Added@nrwl/tao@18.3.5(transitive)
+ Added@nx/nx-darwin-arm64@18.3.5(transitive)
+ Added@nx/nx-darwin-x64@18.3.5(transitive)
+ Added@nx/nx-freebsd-x64@18.3.5(transitive)
+ Added@nx/nx-linux-arm-gnueabihf@18.3.5(transitive)
+ Added@nx/nx-linux-arm64-gnu@18.3.5(transitive)
+ Added@nx/nx-linux-arm64-musl@18.3.5(transitive)
+ Added@nx/nx-linux-x64-gnu@18.3.5(transitive)
+ Added@nx/nx-linux-x64-musl@18.3.5(transitive)
+ Added@nx/nx-win32-arm64-msvc@18.3.5(transitive)
+ Added@nx/nx-win32-x64-msvc@18.3.5(transitive)
+ Addednx@18.3.5(transitive)
- Removed@nrwl/devkit@17.0.0-beta.2(transitive)
- Removed@nrwl/tao@17.3.2(transitive)
- Removed@nx/nx-darwin-arm64@17.3.2(transitive)
- Removed@nx/nx-darwin-x64@17.3.2(transitive)
- Removed@nx/nx-freebsd-x64@17.3.2(transitive)
- Removed@nx/nx-linux-arm-gnueabihf@17.3.2(transitive)
- Removed@nx/nx-linux-arm64-gnu@17.3.2(transitive)
- Removed@nx/nx-linux-arm64-musl@17.3.2(transitive)
- Removed@nx/nx-linux-x64-gnu@17.3.2(transitive)
- Removed@nx/nx-linux-x64-musl@17.3.2(transitive)
- Removed@nx/nx-win32-arm64-msvc@17.3.2(transitive)
- Removed@nx/nx-win32-x64-msvc@17.3.2(transitive)
- Removednx@17.3.2(transitive)
Updated@nrwl/devkit@17.0.0-beta.4