提交 2fd66fae 编写于 作者: fxy060608's avatar fxy060608

chore: remove typescript alias

上级 5cb6ee74
...@@ -17,8 +17,6 @@ moduleAlias.addAlias('@vue/component-compiler-utils/package.json', require.resol ...@@ -17,8 +17,6 @@ moduleAlias.addAlias('@vue/component-compiler-utils/package.json', require.resol
'@dcloudio/vue-cli-plugin-uni/packages/@vue/component-compiler-utils/package.json')) '@dcloudio/vue-cli-plugin-uni/packages/@vue/component-compiler-utils/package.json'))
if (isInHBuilderX) { if (isInHBuilderX) {
moduleAlias.addAlias('typescript', path.resolve(process.env.UNI_HBUILDERX_PLUGINS,
'compile-typescript/node_modules/typescript'))
moduleAlias.addAlias('less', path.resolve(process.env.UNI_HBUILDERX_PLUGINS, moduleAlias.addAlias('less', path.resolve(process.env.UNI_HBUILDERX_PLUGINS,
'compile-less/node_modules/less')) 'compile-less/node_modules/less'))
moduleAlias.addAlias('node-sass', path.resolve(process.env.UNI_HBUILDERX_PLUGINS, moduleAlias.addAlias('node-sass', path.resolve(process.env.UNI_HBUILDERX_PLUGINS,
......
{ {
"_from": "typescript@^2.8.3",
"_id": "typescript@2.9.2",
"_inBundle": false,
"_integrity": "sha512-Gr4p6nFNaoufRIY4NMdpQRNmgxVIGMs4Fcu/ujdYk3nAZqk7supzBE9idmvfZIlH/Cuj//dvi+019qEue9lV0w==",
"_location": "/typescript",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "typescript@^2.8.3",
"name": "typescript", "name": "typescript",
"escapedName": "typescript", "author": "Microsoft Corp.",
"rawSpec": "^2.8.3", "homepage": "https://www.typescriptlang.org/",
"saveSpec": null, "version": "3.7.5",
"fetchSpec": "^2.8.3" "license": "Apache-2.0",
}, "description": "TypeScript is a language for application scale JavaScript development",
"_requiredBy": [ "keywords": [
"/" "TypeScript",
], "Microsoft",
"_resolved": "https://registry.npmjs.org/typescript/-/typescript-2.9.2.tgz", "compiler",
"_shasum": "1cbf61d05d6b96269244eb6a3bce4bd914e0f00c", "language",
"_spec": "typescript@^2.8.3", "javascript"
"_where": "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/compile-typescript", ],
"author": { "bugs": {
"name": "Microsoft Corp." "url": "https://github.com/Microsoft/TypeScript/issues"
}, },
"bin": { "repository": {
"tsc": "./bin/tsc", "type": "git",
"tsserver": "./bin/tsserver" "url": "https://github.com/Microsoft/TypeScript.git"
}, },
"browser": { "main": "./lib/typescript.js",
"fs": false, "typings": "./lib/typescript.d.ts",
"os": false, "bin": {
"path": false "tsc": "./bin/tsc",
}, "tsserver": "./bin/tsserver"
"bugs": { },
"url": "https://github.com/Microsoft/TypeScript/issues" "engines": {
}, "node": ">=4.2.0"
"bundleDependencies": false, },
"deprecated": false, "devDependencies": {
"description": "TypeScript is a language for application scale JavaScript development", "@octokit/rest": "latest",
"devDependencies": { "@types/browserify": "latest",
"@octokit/rest": "latest", "@types/chai": "latest",
"@types/browserify": "latest", "@types/convert-source-map": "latest",
"@types/chai": "latest", "@types/glob": "latest",
"@types/convert-source-map": "latest", "@types/gulp": "^4.0.5",
"@types/del": "latest", "@types/gulp-concat": "latest",
"@types/glob": "latest", "@types/gulp-newer": "latest",
"@types/gulp": "3.X", "@types/gulp-rename": "0.0.33",
"@types/gulp-concat": "latest", "@types/gulp-sourcemaps": "0.0.32",
"@types/gulp-help": "latest", "@types/jake": "latest",
"@types/gulp-newer": "latest", "@types/merge2": "latest",
"@types/gulp-sourcemaps": "latest", "@types/microsoft__typescript-etw": "latest",
"@types/jake": "latest", "@types/minimatch": "latest",
"@types/merge2": "latest", "@types/minimist": "latest",
"@types/minimatch": "latest", "@types/mkdirp": "latest",
"@types/minimist": "latest", "@types/mocha": "latest",
"@types/mkdirp": "latest", "@types/ms": "latest",
"@types/mocha": "latest", "@types/node": "latest",
"@types/node": "8.5.5", "@types/node-fetch": "^2.3.4",
"@types/q": "latest", "@types/q": "latest",
"@types/run-sequence": "latest", "@types/source-map-support": "latest",
"@types/source-map-support": "latest", "@types/through2": "latest",
"@types/through2": "latest", "@types/travis-fold": "latest",
"@types/travis-fold": "latest", "@types/xml2js": "^0.4.0",
"@types/xml2js": "^0.4.0", "@typescript-eslint/eslint-plugin": "2.3.2",
"browser-resolve": "^1.11.2", "@typescript-eslint/experimental-utils": "2.3.2",
"browserify": "latest", "@typescript-eslint/parser": "2.3.2",
"chai": "latest", "async": "latest",
"chalk": "latest", "azure-devops-node-api": "^8.0.0",
"convert-source-map": "latest", "browser-resolve": "^1.11.2",
"del": "latest", "browserify": "latest",
"gulp": "3.X", "chai": "latest",
"gulp-clone": "latest", "chalk": "latest",
"gulp-concat": "latest", "convert-source-map": "latest",
"gulp-help": "latest", "del": "5.1.0",
"gulp-insert": "latest", "eslint": "6.5.1",
"gulp-newer": "latest", "eslint-formatter-autolinkable-stylish": "1.0.3",
"gulp-sourcemaps": "latest", "eslint-plugin-import": "2.18.2",
"gulp-typescript": "latest", "eslint-plugin-jsdoc": "15.9.9",
"istanbul": "latest", "eslint-plugin-no-null": "1.0.2",
"jake": "latest", "fancy-log": "latest",
"merge2": "latest", "fs-extra": "^6.0.1",
"minimist": "latest", "glob": "latest",
"mkdirp": "latest", "gulp": "^4.0.0",
"mocha": "latest", "gulp-concat": "latest",
"mocha-fivemat-progress-reporter": "latest", "gulp-insert": "latest",
"q": "latest", "gulp-newer": "latest",
"run-sequence": "latest", "gulp-rename": "latest",
"sorcery": "latest", "gulp-sourcemaps": "latest",
"source-map-support": "latest", "istanbul": "latest",
"through2": "latest", "merge2": "latest",
"travis-fold": "latest", "minimist": "latest",
"tslint": "latest", "mkdirp": "latest",
"typescript": "next", "mocha": "latest",
"vinyl": "latest", "mocha-fivemat-progress-reporter": "latest",
"xml2js": "^0.4.19" "ms": "latest",
}, "node-fetch": "^2.6.0",
"engines": { "plugin-error": "latest",
"node": ">=4.2.0" "pretty-hrtime": "^1.0.3",
}, "prex": "^0.4.3",
"homepage": "http://typescriptlang.org/", "q": "latest",
"keywords": [ "remove-internal": "^2.9.2",
"TypeScript", "simple-git": "^1.113.0",
"Microsoft", "source-map-support": "latest",
"compiler", "through2": "latest",
"language", "travis-fold": "latest",
"javascript" "typescript": "next",
], "vinyl": "latest",
"license": "Apache-2.0", "vinyl-sourcemaps-apply": "latest",
"main": "./lib/typescript.js", "xml2js": "^0.4.19"
"name": "typescript", },
"repository": { "scripts": {
"type": "git", "prepare": "gulp build-eslint-rules",
"url": "git+https://github.com/Microsoft/TypeScript.git" "pretest": "gulp tests",
}, "test": "gulp runtests-parallel --light=false",
"scripts": { "test:eslint-rules": "gulp run-eslint-rules-tests",
"build": "npm run build:compiler && npm run build:tests", "build": "npm run build:compiler && npm run build:tests",
"build:compiler": "jake local", "build:compiler": "gulp local",
"build:tests": "jake tests", "build:tests": "gulp tests",
"clean": "jake clean", "start": "node lib/tsc",
"gulp": "gulp", "clean": "gulp clean",
"jake": "jake", "gulp": "gulp",
"lint": "jake lint", "jake": "gulp",
"pretest": "jake tests", "lint": "gulp lint",
"setup-hooks": "node scripts/link-hooks.js", "lint:ci": "gulp lint --ci",
"start": "node lib/tsc", "lint:compiler": "gulp lint-compiler",
"test": "jake runtests-parallel light=false" "lint:scripts": "gulp lint-scripts",
}, "setup-hooks": "node scripts/link-hooks.js",
"typings": "./lib/typescript.d.ts", "update-costly-tests": "node scripts/costly-tests.js"
"version": "2.9.2" },
"browser": {
"fs": false,
"os": false,
"path": false,
"crypto": false,
"buffer": false,
"@microsoft/typescript-etw": false,
"source-map-support": false,
"inspector": false
},
"dependencies": {}
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册