File tree Expand file tree Collapse file tree 5 files changed +15
-41
lines changed
Expand file tree Collapse file tree 5 files changed +15
-41
lines changed Original file line number Diff line number Diff line change 1+ /*---------------------------------------------------------------------------------------------
2+ * Copyright (c) Microsoft Corporation. All rights reserved.
3+ * Licensed under the MIT License. See LICENSE.md in the project root for license information.
4+ *--------------------------------------------------------------------------------------------*/
5+
6+ import { autoEsbuildOrWatch , autoSelectEsbuildConfig } from '@microsoft/vscode-azext-eng/esbuild' ;
7+ await autoEsbuildOrWatch ( autoSelectEsbuildConfig ( ) ) ;
Original file line number Diff line number Diff line change 33 * Licensed under the MIT License. See LICENSE.md in the project root for license information.
44 *--------------------------------------------------------------------------------------------*/
55
6+ import { azExtEslintRecommended } from '@microsoft/vscode-azext-eng/eslint' ; // Other configurations exist
7+ import { defineConfig } from 'eslint/config' ;
8+
69export default defineConfig ( [
710 {
811 ignores : [ 'react-shim.js' ]
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1111 ],
1212 "module" : " dist/esm/src/index.js" ,
1313 "main" : " dist/cjs/src/index.js" ,
14- "types" : " index.d.ts" ,
14+ "types" : " dist/esm/src/ index.d.ts" ,
1515 "license" : " MIT" ,
1616 "repository" : {
1717 "type" : " git" ,
2222 },
2323 "homepage" : " https://github.com/Microsoft/vscode-azuretools/blob/main/webview/README.md" ,
2424 "scripts" : {
25- "build" : " npm run build:esm && npm run build:cjs && npm run build:webview" ,
26- "build:esm " : " tsc -p ./ " ,
27- "build:cjs " : " tsc -p ./ --outDir ./dist/cjs --module nodenext --moduleResolution nodenext --declaration false " ,
25+ "build" : " npm run build:esbuild && npm run build:declarations && npm run build:webview" ,
26+ "build:esbuild " : " node esbuild.mjs " ,
27+ "build:declarations " : " tsc -p ./ --emitDeclarationOnly " ,
2828 "build:webview" : " node esbuild.views.mjs" ,
2929 "lint" : " eslint --max-warnings 0" ,
3030 "package" : " npm pack" ,
Original file line number Diff line number Diff line change 1414 "types" : [
1515 " node"
1616 ],
17- "skipLibCheck" : true , // TODO: webpack typings issue
17+ "skipLibCheck" : true ,
1818 },
1919 "exclude" : [
2020 " node_modules" ,
You can’t perform that action at this time.
0 commit comments