@rushstack/node-core-library
Advanced tools
Comparing version 3.42.3 to 3.43.0
@@ -5,2 +5,24 @@ { | ||
{ | ||
"version": "3.43.0", | ||
"tag": "@rushstack/node-core-library_v3.43.0", | ||
"date": "Wed, 27 Oct 2021 00:08:15 GMT", | ||
"comments": { | ||
"patch": [ | ||
{ | ||
"comment": "Update the package.json repository field to include the directory property." | ||
} | ||
], | ||
"minor": [ | ||
{ | ||
"comment": "Add more elaborate \"repository\" field types in IPackageJson." | ||
} | ||
], | ||
"dependency": [ | ||
{ | ||
"comment": "Updating dependency \"@rushstack/eslint-config\" to `2.4.4`" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"version": "3.42.3", | ||
@@ -7,0 +29,0 @@ "tag": "@rushstack/node-core-library_v3.42.3", |
# Change Log - @rushstack/node-core-library | ||
This log was last generated on Wed, 13 Oct 2021 15:09:54 GMT and should not be manually modified. | ||
This log was last generated on Wed, 27 Oct 2021 00:08:15 GMT and should not be manually modified. | ||
## 3.43.0 | ||
Wed, 27 Oct 2021 00:08:15 GMT | ||
### Minor changes | ||
- Add more elaborate "repository" field types in IPackageJson. | ||
### Patches | ||
- Update the package.json repository field to include the directory property. | ||
## 3.42.3 | ||
@@ -6,0 +17,0 @@ Wed, 13 Oct 2021 15:09:54 GMT |
@@ -14,3 +14,3 @@ /** | ||
export { ExecutableStdioStreamMapping, ExecutableStdioMapping, IExecutableResolveOptions, IExecutableSpawnSyncOptions, IExecutableSpawnOptions, Executable } from './Executable'; | ||
export { INodePackageJson, IPackageJson, IPackageJsonDependencyTable, IPackageJsonScriptTable } from './IPackageJson'; | ||
export { INodePackageJson, IPackageJson, IPackageJsonDependencyTable, IPackageJsonScriptTable, IPackageJsonRepository } from './IPackageJson'; | ||
export { Import, IImportResolveOptions, IImportResolveModuleOptions, IImportResolvePackageOptions } from './Import'; | ||
@@ -17,0 +17,0 @@ export { InternalError } from './InternalError'; |
@@ -26,2 +26,21 @@ /** | ||
/** | ||
* This interface is part of the IPackageJson file format. It is used for the | ||
* "repository" field. | ||
* @public | ||
*/ | ||
export interface IPackageJsonRepository { | ||
/** | ||
* The source control type for the repository that hosts the project. This is typically "git". | ||
*/ | ||
type: string; | ||
/** | ||
* The URL of the repository that hosts the project. | ||
*/ | ||
url: string; | ||
/** | ||
* If the project does not exist at the root of the repository, its path is specified here. | ||
*/ | ||
directory?: string; | ||
} | ||
/** | ||
* An interface for accessing common fields from a package.json file whose version field may be missing. | ||
@@ -66,3 +85,3 @@ * | ||
*/ | ||
repository?: string; | ||
repository?: string | IPackageJsonRepository; | ||
/** | ||
@@ -69,0 +88,0 @@ * The URL to the project's web page. |
{ | ||
"name": "@rushstack/node-core-library", | ||
"version": "3.42.3", | ||
"version": "3.43.0", | ||
"description": "Core libraries that every NodeJS toolchain project should use", | ||
@@ -9,3 +9,5 @@ "main": "lib/index.js", | ||
"repository": { | ||
"url": "https://github.com/microsoft/rushstack/tree/master/libraries/node-core-library" | ||
"url": "https://github.com/microsoft/rushstack.git", | ||
"type": "git", | ||
"directory": "libraries/node-core-library" | ||
}, | ||
@@ -24,3 +26,3 @@ "dependencies": { | ||
"devDependencies": { | ||
"@rushstack/eslint-config": "2.4.3", | ||
"@rushstack/eslint-config": "2.4.4", | ||
"@rushstack/heft": "0.41.6", | ||
@@ -27,0 +29,0 @@ "@rushstack/heft-node-rig": "1.2.25", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
1011907
14103
4