mirror of
https://github.com/angular/angular.git
synced 2026-11-22 22:55:25 -05:00
build: clean up language service build
Removes some unnecessary code from the ngp-based language service.
This commit is contained in:
committed by
Kristiyan Kostadinov
parent
78a33e9e4d
commit
78d2a67d92
@@ -9,7 +9,6 @@ modules/ssr-benchmarks/node_modules/
|
||||
/ngp-vscode-ng-language-service/dist/
|
||||
/.vscode-test/
|
||||
/.vscode-test-user-data/
|
||||
.jasmine_build/
|
||||
|
||||
# Include when developing application packages.
|
||||
pubspec.lock
|
||||
|
||||
@@ -147,7 +147,7 @@
|
||||
"main": "./dist/client/extension.js",
|
||||
"scripts": {
|
||||
"compile": "tsc -p client --noEmit && tsc -p server --noEmit && node build.js",
|
||||
"typecheck": "tsc -p client --noEmit && tsc -p server --noEmit && tsc -p tests --noEmit",
|
||||
"typecheck": "tsc -p client --noEmit && tsc -p server --noEmit",
|
||||
"test": "pnpm run compile && node e2e/build-tests.js && node e2e/runTests.js",
|
||||
"watch": "pnpm --prefix client run watch & pnpm --prefix server run watch"
|
||||
},
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
{
|
||||
"extends": "../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "../../dist/tsc/vscode-ng-language-service/tests",
|
||||
"rootDir": "../.."
|
||||
},
|
||||
"include": ["*.ts"]
|
||||
}
|
||||
@@ -2,12 +2,6 @@
|
||||
"name": "ng-hybrid-language-service",
|
||||
"version": "0.0.1",
|
||||
"private": true,
|
||||
"main": "dist/index.js",
|
||||
"scripts": {
|
||||
"compile": "tsc -p .",
|
||||
"watch": "tsc -p . -w",
|
||||
"typecheck": "tsc -p . --noEmit"
|
||||
},
|
||||
"dependencies": {
|
||||
"@typescript/native-preview": "7.0.0-dev.20260707.2",
|
||||
"vscode-jsonrpc": "^9.0.1",
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
// Module settings match tsconfig.build.json: `ng-exp-compiler` ships ESM only, and the
|
||||
// language service is emitted into it as the ./language-service entrypoint. Compiling
|
||||
// this half as CommonJS also put `src/analyzer_loader.ts` — reached from
|
||||
// tests/test_helpers.ts via NapiAnalyzer — into a program where `import.meta` is
|
||||
// illegal.
|
||||
{
|
||||
"extends": "../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "dist",
|
||||
"rootDir": "..",
|
||||
"module": "esnext",
|
||||
"moduleResolution": "bundler"
|
||||
},
|
||||
"include": ["src/**/*.ts", "tests/**/*.ts"],
|
||||
"exclude": ["tests/test-workspace/**/*.ts"]
|
||||
}
|
||||
@@ -16,8 +16,7 @@
|
||||
}
|
||||
},
|
||||
"dependencies": {
|
||||
"magic-string": "^1.0.0",
|
||||
"vscode-uri": "^3.1.0"
|
||||
"magic-string": "^1.0.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@angular/compiler": "0.0.0-PLACEHOLDER",
|
||||
|
||||
Reference in New Issue
Block a user