Skip to content

Commit

Permalink
upstream vscode 1.64.0 and added update-readme
Browse files Browse the repository at this point in the history
Signed-off-by: msivasubramaniaan <[email protected]>
  • Loading branch information
msivasubramaniaan committed Mar 12, 2024
1 parent f5346fe commit cf6628c
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 7 deletions.
15 changes: 15 additions & 0 deletions build/update-readme.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/*-----------------------------------------------------------------------------------------------
* Copyright (c) Red Hat, Inc. All rights reserved.
* Licensed under the MIT License. See LICENSE file in the project root for license information.
*-----------------------------------------------------------------------------------------------*/

import { readFileSync, writeFileSync } from 'fs-extra';

const readme = readFileSync('./README.md');

// eslint-disable-next-line @typescript-eslint/restrict-template-expressions
const lines = `${readme}`.split('\n');

const index = lines.findIndex((line) => line.includes('## Overview'));
lines.splice(0, index + 1);
writeFileSync('./README.md', lines.join('\n'));
10 changes: 5 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
],
"icon": "images/knative-logo.png",
"engines": {
"vscode": "^1.52.0"
"vscode": "^1.64.2"
},
"categories": [
"Programming Languages",
Expand Down Expand Up @@ -99,7 +99,7 @@
"@types/string-format": "^2.0.0",
"@types/tmp": "0.2.0",
"@types/validator": "^13.1.3",
"@types/vscode": "^1.52.0",
"@types/vscode": "1.64.0",
"@typescript-eslint/eslint-plugin": "^7.0.2",
"@typescript-eslint/parser": "^7.0.2",
"chai": "^4.3.0",
Expand Down

0 comments on commit cf6628c

Please sign in to comment.