-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add private package.json to EnsureFileHeaders tool (#59)
* Add private package.json to EnsureFileHeaders tool * Change files
- Loading branch information
Showing
16 changed files
with
175 additions
and
163 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
change/@microsoft-mso-86d2be04-833d-4df6-8bf8-92bd55ecc34c.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"type": "patch", | ||
"comment": "Add private package.json to EnsureFileHeaders tool", | ||
"packageName": "@microsoft/mso", | ||
"email": "[email protected]", | ||
"dependentChangeType": "patch" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,12 @@ | ||
The EnsureFileHeaders utility updates source files to have the required copyright headers. | ||
|
||
# Usage | ||
|
||
## Compile | ||
|
||
1. npm init | ||
1. npm install -g typescript | ||
1. npm install --save-dev @types/node | ||
1. npm install readdirp | ||
1. npm install yargs | ||
1. tsc EnsureFileHeaders.ts | ||
1. yarn | ||
1. yarn compile | ||
|
||
## Run | ||
|
||
1. node EnsureFileHeaders.js -d directoryPathToScan | ||
1. yarn ensure-headers |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"name": "@microsoft/ensurefileheaders", | ||
"version": "0.0.1", | ||
"private": true, | ||
"description": "Ensure that all source files have the correct headers", | ||
"scripts": { | ||
"compile": "node_modules/.bin/tsc EnsureFileHeaders.ts", | ||
"ensure-headers": "node EnsureFileHeaders.js -d ..\\.." | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "[email protected]:microsoft/mso.git" | ||
}, | ||
"license": "MIT", | ||
"devDependencies": { | ||
"@types/node": "^17.0.17", | ||
"readdirp": "^3.6.0", | ||
"typescript": "^4.5.5", | ||
"yargs": "^17.3.1" | ||
} | ||
} |
Oops, something went wrong.