mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
The VSCode extension looks for `@angular/language-service/package.json` using `require`. This currently breaks as of the ESM changes because we introduced the `exports` field but did not expose the `package.json`. This commit fixes it. Co-authored-By: Andrew Scott <atscott@google.com> Co-authored-By: Dylan Hunn <dylhunn@gmail.com> PR Close #48678
33 lines
745 B
JSON
33 lines
745 B
JSON
{
|
|
"name": "@angular/language-service",
|
|
"version": "0.0.0-PLACEHOLDER",
|
|
"description": "Angular - language services",
|
|
"main": "./index.js",
|
|
"typings": "./index.d.ts",
|
|
"author": "angular",
|
|
"license": "MIT",
|
|
"engines": {
|
|
"node": "^14.20.0 || ^16.13.0 || >=18.10.0"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"types": "./index.d.ts",
|
|
"default": "./index.js"
|
|
},
|
|
"./package.json": {
|
|
"default": "./package.json"
|
|
},
|
|
"./api": {
|
|
"types": "./api.d.ts",
|
|
"default": "./api_bundle.js"
|
|
}
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/angular/angular.git",
|
|
"directory": "packages/language-service"
|
|
},
|
|
"ng-update": {
|
|
"packageGroup": "NG_UPDATE_PACKAGE_GROUP"
|
|
}
|
|
}
|