Merge pull request #27 from microsoft/rsc-4.7
Create rush-stack-compiler-4.7 package.
This commit is contained in:
Коммит
135af87cbf
|
@ -1,10 +1,8 @@
|
|||
# Rush Stack Legacy
|
||||
# SPFx Gulp Tools
|
||||
|
||||
|
||||
[![Build Status](https://dev.azure.com/RushStack/GitHubProjects/_apis/build/status/rushstack/rushstack-legacy%20CI%20Build?branchName=main)](https://dev.azure.com/RushStack/GitHubProjects/_build/latest?definitionId=23&branchName=main)
|
||||
|
||||
The [Rush Stack](https://rushstack.io/) community maintains the projects in this repository, but they are no longer actively developed. Where possible, we recommend for you to use the [Heft](https://rushstack.io/pages/heft/overview/) toolchain instead. It provides similar functionality, but with a more scalable architecture and lots more features.
|
||||
|
||||
|
||||
<!-- GENERATED PROJECT SUMMARY START -->
|
||||
|
||||
|
@ -39,6 +37,8 @@ The [Rush Stack](https://rushstack.io/) community maintains the projects in this
|
|||
| [/stack/rush-stack-compiler-4.0](./stack/rush-stack-compiler-4.0/) | [![npm version](https://badge.fury.io/js/%40microsoft%2Frush-stack-compiler-4.0.svg)](https://badge.fury.io/js/%40microsoft%2Frush-stack-compiler-4.0) | [changelog](./stack/rush-stack-compiler-4.0/CHANGELOG.md) | [@microsoft/rush-stack-compiler-4.0](https://www.npmjs.com/package/@microsoft/rush-stack-compiler-4.0) |
|
||||
| [/stack/rush-stack-compiler-4.1](./stack/rush-stack-compiler-4.1/) | [![npm version](https://badge.fury.io/js/%40microsoft%2Frush-stack-compiler-4.1.svg)](https://badge.fury.io/js/%40microsoft%2Frush-stack-compiler-4.1) | [changelog](./stack/rush-stack-compiler-4.1/CHANGELOG.md) | [@microsoft/rush-stack-compiler-4.1](https://www.npmjs.com/package/@microsoft/rush-stack-compiler-4.1) |
|
||||
| [/stack/rush-stack-compiler-4.2](./stack/rush-stack-compiler-4.2/) | [![npm version](https://badge.fury.io/js/%40microsoft%2Frush-stack-compiler-4.2.svg)](https://badge.fury.io/js/%40microsoft%2Frush-stack-compiler-4.2) | [changelog](./stack/rush-stack-compiler-4.2/CHANGELOG.md) | [@microsoft/rush-stack-compiler-4.2](https://www.npmjs.com/package/@microsoft/rush-stack-compiler-4.2) |
|
||||
| [/stack/rush-stack-compiler-4.5](./stack/rush-stack-compiler-4.5/) | [![npm version](https://badge.fury.io/js/%40microsoft%2Frush-stack-compiler-4.5.svg)](https://badge.fury.io/js/%40microsoft%2Frush-stack-compiler-4.5) | [changelog](./stack/rush-stack-compiler-4.5/CHANGELOG.md) | [@microsoft/rush-stack-compiler-4.5](https://www.npmjs.com/package/@microsoft/rush-stack-compiler-4.5) |
|
||||
| [/stack/rush-stack-compiler-4.7](./stack/rush-stack-compiler-4.7/) | [![npm version](https://badge.fury.io/js/%40microsoft%2Frush-stack-compiler-4.7.svg)](https://badge.fury.io/js/%40microsoft%2Frush-stack-compiler-4.7) | [changelog](./stack/rush-stack-compiler-4.7/CHANGELOG.md) | [@microsoft/rush-stack-compiler-4.7](https://www.npmjs.com/package/@microsoft/rush-stack-compiler-4.7) |
|
||||
|
||||
|
||||
## Unpublished Local Projects
|
||||
|
@ -66,8 +66,9 @@ The [Rush Stack](https://rushstack.io/) community maintains the projects in this
|
|||
| [/build-tests/rush-stack-compiler-4.0-library-test](./build-tests/rush-stack-compiler-4.0-library-test/) | |
|
||||
| [/build-tests/rush-stack-compiler-4.1-library-test](./build-tests/rush-stack-compiler-4.1-library-test/) | |
|
||||
| [/build-tests/rush-stack-compiler-4.2-library-test](./build-tests/rush-stack-compiler-4.2-library-test/) | |
|
||||
| [/build-tests/rush-stack-compiler-4.5-library-test](./build-tests/rush-stack-compiler-4.5-library-test/) | |
|
||||
| [/build-tests/rush-stack-compiler-4.7-library-test](./build-tests/rush-stack-compiler-4.7-library-test/) | |
|
||||
| [/build-tests/web-library-build-test](./build-tests/web-library-build-test/) | |
|
||||
| [/repo-scripts/repo-toolbox](./repo-scripts/repo-toolbox/) | Used to execute various operations specific to this repo |
|
||||
| [/stack/rush-stack-compiler-shared](./stack/rush-stack-compiler-shared/) | |
|
||||
<!-- GENERATED PROJECT SUMMARY END -->
|
||||
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
// This is a workaround for https://github.com/eslint/eslint/issues/3458
|
||||
require('@rushstack/eslint-config/patch/modern-module-resolution');
|
||||
|
||||
module.exports = {
|
||||
extends: ['@rushstack/eslint-config/profile/node', '@rushstack/eslint-config/mixins/friendly-locals'],
|
||||
parserOptions: { tsconfigRootDir: __dirname }
|
||||
};
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"operationSettings": [
|
||||
{
|
||||
"operationName": "build",
|
||||
"outputFolderNames": ["lib", "dist"]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
'use strict';
|
||||
|
||||
const build = require('@microsoft/node-library-build');
|
||||
|
||||
// This project doesn't have unit tests and GCB's Mocha doesn't play nice with Node 14, so disable Mocha
|
||||
build.mocha.enabled = false;
|
||||
build.instrument.enabled = false;
|
||||
|
||||
build.initialize(require('gulp'));
|
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
"name": "rush-stack-compiler-4.7-library-test",
|
||||
"version": "1.0.0",
|
||||
"description": "",
|
||||
"main": "lib/index.js",
|
||||
"license": "MIT",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "gulp test --clean"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@microsoft/node-library-build": "workspace:*",
|
||||
"@microsoft/rush-stack-compiler-4.7": "workspace:*",
|
||||
"@rushstack/eslint-config": "~2.6.2",
|
||||
"@types/node": "10.17.13",
|
||||
"eslint": "~7.12.1",
|
||||
"gulp": "~4.0.2"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
|
||||
// See LICENSE in the project root for license information.
|
||||
|
||||
export class TestClass {}
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"extends": "./node_modules/@microsoft/rush-stack-compiler-4.7/includes/tsconfig-node.json"
|
||||
}
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"changes": [
|
||||
{
|
||||
"packageName": "@microsoft/rush-stack-compiler-4.7",
|
||||
"comment": "Initial package creation.",
|
||||
"type": "minor"
|
||||
}
|
||||
],
|
||||
"packageName": "@microsoft/rush-stack-compiler-4.7"
|
||||
}
|
|
@ -1,5 +1,10 @@
|
|||
// DO NOT ADD COMMENTS IN THIS FILE. They will be lost when the Rush tool resaves it.
|
||||
{
|
||||
"$schema": "https://developer.microsoft.com/json-schemas/rush/v5/approved-packages.schema.json",
|
||||
"packages": []
|
||||
"packages": [
|
||||
{
|
||||
"name": "@microsoft/rush-stack-compiler-4.7",
|
||||
"allowedCategories": [ "tests" ]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -80,7 +80,8 @@
|
|||
"~4.0.7",
|
||||
"~4.1.5",
|
||||
"~4.2.4",
|
||||
"~4.5.5"
|
||||
"~4.5.5",
|
||||
"~4.7.4"
|
||||
],
|
||||
|
||||
"source-map": [
|
||||
|
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -1,5 +1,5 @@
|
|||
// DO NOT MODIFY THIS FILE MANUALLY BUT DO COMMIT IT. It is generated and used by Rush.
|
||||
{
|
||||
"pnpmShrinkwrapHash": "6959eeec85d5736ef282eaa62698307668e95684",
|
||||
"pnpmShrinkwrapHash": "18b049b956015154cb522e992959d27cdaf9fbb4",
|
||||
"preferredVersionsHash": "6a96c5550f3ce50aa19e8d1141c6c5d4176953ff"
|
||||
}
|
||||
|
|
|
@ -0,0 +1,121 @@
|
|||
## API Report File for "@microsoft/rush-stack-compiler-4.7"
|
||||
|
||||
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
||||
|
||||
```ts
|
||||
|
||||
import * as ApiExtractor from '@microsoft/api-extractor';
|
||||
import { IPackageJson } from '@rushstack/node-core-library';
|
||||
import { ITerminalProvider } from '@rushstack/node-core-library';
|
||||
import { Terminal } from '@rushstack/node-core-library';
|
||||
import * as Typescript from 'typescript';
|
||||
|
||||
export { ApiExtractor }
|
||||
|
||||
// @beta
|
||||
export class ApiExtractorRunner extends RushStackCompilerBase {
|
||||
constructor(extractorConfig: ApiExtractor.ExtractorConfig, extractorOptions: ApiExtractor.IExtractorInvokeOptions, rootPath: string, terminalProvider: ITerminalProvider);
|
||||
constructor(options: IRushStackCompilerBaseOptions, extractorConfig: ApiExtractor.ExtractorConfig, extractorOptions: ApiExtractor.IExtractorInvokeOptions, rootPath: string, terminalProvider: ITerminalProvider);
|
||||
// (undocumented)
|
||||
invoke(): Promise<void>;
|
||||
}
|
||||
|
||||
// @public (undocumented)
|
||||
export interface ILintRunnerConfig extends IRushStackCompilerBaseOptions {
|
||||
displayAsError?: boolean;
|
||||
}
|
||||
|
||||
// @public (undocumented)
|
||||
export interface IRushStackCompilerBaseOptions {
|
||||
// (undocumented)
|
||||
fileError: WriteFileIssueFunction;
|
||||
// (undocumented)
|
||||
fileWarning: WriteFileIssueFunction;
|
||||
}
|
||||
|
||||
// @public (undocumented)
|
||||
export interface ITslintRunnerConfig extends ILintRunnerConfig {
|
||||
}
|
||||
|
||||
// @beta (undocumented)
|
||||
export interface ITypescriptCompilerOptions extends IRushStackCompilerBaseOptions {
|
||||
customArgs?: string[];
|
||||
}
|
||||
|
||||
// @beta (undocumented)
|
||||
export class LintRunner extends RushStackCompilerBase<ILintRunnerConfig> {
|
||||
constructor(taskOptions: ILintRunnerConfig, rootPath: string, terminalProvider: ITerminalProvider);
|
||||
// (undocumented)
|
||||
invoke(): Promise<void>;
|
||||
}
|
||||
|
||||
// @beta (undocumented)
|
||||
export abstract class RushStackCompilerBase<TOptions extends IRushStackCompilerBaseOptions = IRushStackCompilerBaseOptions> {
|
||||
constructor(taskOptions: TOptions, rootPath: string, terminalProvider: ITerminalProvider);
|
||||
// (undocumented)
|
||||
protected _fileError: WriteFileIssueFunction;
|
||||
// (undocumented)
|
||||
protected _fileWarning: WriteFileIssueFunction;
|
||||
// (undocumented)
|
||||
protected _standardBuildFolders: StandardBuildFolders;
|
||||
// (undocumented)
|
||||
protected _taskOptions: TOptions;
|
||||
// (undocumented)
|
||||
protected _terminal: Terminal;
|
||||
}
|
||||
|
||||
// @beta (undocumented)
|
||||
export class StandardBuildFolders {
|
||||
constructor(projectFolderPath: string);
|
||||
// (undocumented)
|
||||
get distFolderPath(): string;
|
||||
// (undocumented)
|
||||
get libFolderPath(): string;
|
||||
// (undocumented)
|
||||
get projectFolderPath(): string;
|
||||
// (undocumented)
|
||||
get srcFolderPath(): string;
|
||||
// (undocumented)
|
||||
get tempFolderPath(): string;
|
||||
}
|
||||
|
||||
// @beta (undocumented)
|
||||
export class ToolPaths {
|
||||
// (undocumented)
|
||||
static get apiExtractorPackageJson(): IPackageJson;
|
||||
// (undocumented)
|
||||
static get apiExtractorPackagePath(): string;
|
||||
// (undocumented)
|
||||
static get eslintPackageJson(): IPackageJson;
|
||||
// (undocumented)
|
||||
static get eslintPackagePath(): string;
|
||||
// (undocumented)
|
||||
static get tslintPackageJson(): IPackageJson;
|
||||
// (undocumented)
|
||||
static get tslintPackagePath(): string;
|
||||
// (undocumented)
|
||||
static get typescriptPackageJson(): IPackageJson;
|
||||
// (undocumented)
|
||||
static get typescriptPackagePath(): string;
|
||||
}
|
||||
|
||||
// @beta (undocumented)
|
||||
export class TslintRunner extends RushStackCompilerBase<ITslintRunnerConfig> {
|
||||
// (undocumented)
|
||||
invoke(): Promise<void>;
|
||||
}
|
||||
|
||||
export { Typescript }
|
||||
|
||||
// @beta (undocumented)
|
||||
export class TypescriptCompiler extends RushStackCompilerBase<ITypescriptCompilerOptions> {
|
||||
constructor(rootPath: string, terminalProvider: ITerminalProvider);
|
||||
constructor(taskOptions: ITypescriptCompilerOptions, rootPath: string, terminalProvider: ITerminalProvider);
|
||||
// (undocumented)
|
||||
invoke(): Promise<void>;
|
||||
}
|
||||
|
||||
// @public (undocumented)
|
||||
export type WriteFileIssueFunction = (filePath: string, line: number, column: number, errorCode: string, message: string) => void;
|
||||
|
||||
```
|
12
rush.json
12
rush.json
|
@ -595,6 +595,12 @@
|
|||
"reviewCategory": "tests",
|
||||
"shouldPublish": false
|
||||
},
|
||||
{
|
||||
"packageName": "rush-stack-compiler-4.7-library-test",
|
||||
"projectFolder": "build-tests/rush-stack-compiler-4.7-library-test",
|
||||
"reviewCategory": "tests",
|
||||
"shouldPublish": false
|
||||
},
|
||||
|
||||
{
|
||||
"packageName": "web-library-build-test",
|
||||
|
@ -766,6 +772,12 @@
|
|||
"decoupledLocalDependencies": ["@microsoft/rush-stack-compiler-4.5"],
|
||||
"shouldPublish": true
|
||||
},
|
||||
{
|
||||
"packageName": "@microsoft/rush-stack-compiler-4.7",
|
||||
"projectFolder": "stack/rush-stack-compiler-4.7",
|
||||
"reviewCategory": "libraries",
|
||||
"shouldPublish": true
|
||||
},
|
||||
{
|
||||
"packageName": "@microsoft/rush-stack-compiler-shared",
|
||||
"projectFolder": "stack/rush-stack-compiler-shared",
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
// This is a workaround for https://github.com/eslint/eslint/issues/3458
|
||||
require('@rushstack/eslint-config/patch/modern-module-resolution');
|
||||
|
||||
module.exports = {
|
||||
extends: [
|
||||
'@rushstack/eslint-config/profile/node-trusted-tool',
|
||||
'@rushstack/eslint-config/mixins/friendly-locals'
|
||||
],
|
||||
parserOptions: { tsconfigRootDir: __dirname }
|
||||
};
|
|
@ -0,0 +1 @@
|
|||
/src
|
|
@ -0,0 +1,31 @@
|
|||
# THIS IS A STANDARD TEMPLATE FOR .npmignore FILES IN THIS REPO.
|
||||
|
||||
# Ignore all files by default, to avoid accidentally publishing unintended files.
|
||||
*
|
||||
|
||||
# Use negative patterns to bring back the specific things we want to publish.
|
||||
!/bin/**
|
||||
!/lib/**
|
||||
!/lib-*/**
|
||||
!/dist/**
|
||||
!ThirdPartyNotice.txt
|
||||
|
||||
# Ignore certain patterns that should not get published.
|
||||
/dist/*.stats.*
|
||||
/lib/**/test/
|
||||
/lib-*/**/test/
|
||||
*.test.js
|
||||
|
||||
# NOTE: These don't need to be specified, because NPM includes them automatically.
|
||||
#
|
||||
# package.json
|
||||
# README (and its variants)
|
||||
# CHANGELOG (and its variants)
|
||||
# LICENSE / LICENCE
|
||||
|
||||
#--------------------------------------------
|
||||
# DO NOT MODIFY THE TEMPLATE ABOVE THIS LINE
|
||||
#--------------------------------------------
|
||||
|
||||
# (Add your project-specific overrides here)
|
||||
!/includes/**
|
|
@ -0,0 +1,24 @@
|
|||
@microsoft/rush-stack
|
||||
|
||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
|
||||
MIT License
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of this software and associated documentation files (the
|
||||
"Software"), to deal in the Software without restriction, including
|
||||
without limitation the rights to use, copy, modify, merge, publish,
|
||||
distribute, sublicense, and/or sell copies of the Software, and to
|
||||
permit persons to whom the Software is furnished to do so, subject to
|
||||
the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be
|
||||
included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
@ -0,0 +1,11 @@
|
|||
# @microsoft/rush-stack-compiler-4.7
|
||||
|
||||
This package is an NPM peer dependency that is used with
|
||||
[@microsoft/rush-stack](https://www.npmjs.com/package/@microsoft/rush-stack)
|
||||
to select a TypeScript compiler version. This variant selects TypeScript 4.7
|
||||
|
||||
It provides a supported set of versions for the following components:
|
||||
|
||||
- the TypeScript compiler
|
||||
- [tslint](https://github.com/palantir/tslint#readme)
|
||||
- [API Extractor](https://api-extractor.com/)
|
|
@ -0,0 +1,2 @@
|
|||
#!/usr/bin/env node
|
||||
require('@microsoft/api-extractor/bin/api-extractor');
|
|
@ -0,0 +1,2 @@
|
|||
#!/usr/bin/env node
|
||||
require('eslint/bin/eslint');
|
|
@ -0,0 +1,2 @@
|
|||
#!/usr/bin/env node
|
||||
require('typescript/bin/tsc');
|
|
@ -0,0 +1,2 @@
|
|||
#!/usr/bin/env node
|
||||
require('tslint/bin/tslint');
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
|
||||
|
||||
"mainEntryPointFilePath": "<projectFolder>/lib/index.d.ts",
|
||||
|
||||
"apiReport": {
|
||||
"enabled": true,
|
||||
"reportFolder": "../../../common/reviews/api"
|
||||
},
|
||||
|
||||
"docModel": {
|
||||
"enabled": true
|
||||
},
|
||||
|
||||
"dtsRollup": {
|
||||
"enabled": false
|
||||
}
|
||||
}
|
|
@ -0,0 +1,32 @@
|
|||
{
|
||||
"$schema": "https://developer.microsoft.com/json-schemas/heft/heft.schema.json",
|
||||
|
||||
"extends": "@rushstack/heft-node-rig/profiles/default/config/heft.json",
|
||||
|
||||
"eventActions": [
|
||||
{
|
||||
"actionKind": "deleteGlobs",
|
||||
"heftEvent": "clean",
|
||||
"actionId": "deleteSrc",
|
||||
"globsToDelete": ["src"]
|
||||
},
|
||||
|
||||
{
|
||||
"actionKind": "copyFiles",
|
||||
"heftEvent": "pre-compile",
|
||||
"actionId": "copySrc",
|
||||
"copyOperations": [
|
||||
{
|
||||
"sourceFolder": "node_modules/@microsoft/rush-stack-compiler-shared/src",
|
||||
"destinationFolders": ["src"],
|
||||
"includeGlobs": ["*.ts", "*.js"]
|
||||
},
|
||||
{
|
||||
"sourceFolder": "node_modules/@microsoft/rush-stack-compiler-shared/src/v4",
|
||||
"destinationFolders": ["src"],
|
||||
"includeGlobs": ["*.ts", "*.js"]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
// The "rig.json" file directs tools to look for their config files in an external package.
|
||||
// Documentation for this system: https://www.npmjs.com/package/@rushstack/rig-package
|
||||
"$schema": "https://developer.microsoft.com/json-schemas/rig-package/rig.schema.json",
|
||||
|
||||
"rigPackageName": "@rushstack/heft-node-rig"
|
||||
}
|
|
@ -0,0 +1,12 @@
|
|||
/**
|
||||
* Configures the TypeScript plugin for Heft. This plugin also manages linting.
|
||||
*/
|
||||
{
|
||||
"$schema": "https://developer.microsoft.com/json-schemas/heft/typescript.schema.json",
|
||||
|
||||
"extends": "@rushstack/heft-node-rig/profiles/default/config/typescript.json",
|
||||
|
||||
"staticAssetsToCopy": {
|
||||
"fileExtensions": [".d.ts", ".js"]
|
||||
}
|
||||
}
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
"$schema": "http://json.schemastore.org/tsconfig",
|
||||
|
||||
"compilerOptions": {
|
||||
"outDir": "../../../../lib",
|
||||
"rootDir": "../../../../src",
|
||||
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"jsx": "react",
|
||||
"declaration": true,
|
||||
"sourceMap": true,
|
||||
"declarationMap": true,
|
||||
"inlineSources": true,
|
||||
"experimentalDecorators": true,
|
||||
"strictNullChecks": true,
|
||||
"noUnusedLocals": true,
|
||||
"types": []
|
||||
},
|
||||
"include": ["../../../../src/**/*.ts", "../../../../src/**/*.tsx"],
|
||||
"exclude": ["../../../../node_modules", "../../../../lib"]
|
||||
}
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"$schema": "http://json.schemastore.org/tsconfig",
|
||||
|
||||
"extends": "./tsconfig-base.json",
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"target": "es2017",
|
||||
"lib": ["es2017"]
|
||||
}
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"$schema": "http://json.schemastore.org/tsconfig",
|
||||
|
||||
"extends": "./tsconfig-base.json",
|
||||
"compilerOptions": {
|
||||
"module": "esnext",
|
||||
"moduleResolution": "node",
|
||||
"target": "es5",
|
||||
"lib": ["es5", "scripthost", "es2015.collection", "es2015.promise", "es2015.iterable", "dom"]
|
||||
}
|
||||
}
|
|
@ -0,0 +1,39 @@
|
|||
{
|
||||
"name": "@microsoft/rush-stack-compiler-4.7",
|
||||
"version": "0.0.0",
|
||||
"description": "A plug-in for selecting the compiler used with the @microsoft/rush-stack toolchain. This version selects TypeScript 4.7.",
|
||||
"license": "MIT",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/microsoft/rushstack-legacy/tree/master/stack/rush-stack-compiler-4.7"
|
||||
},
|
||||
"bin": {
|
||||
"rush-api-extractor": "./bin/rush-api-extractor",
|
||||
"rush-eslint": "./bin/rush-eslint",
|
||||
"rush-tsc": "./bin/rush-tsc",
|
||||
"rush-tslint": "./bin/rush-tslint"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "heft build --clean"
|
||||
},
|
||||
"main": "lib/index.js",
|
||||
"typings": "lib/index.d.ts",
|
||||
"dependencies": {
|
||||
"@microsoft/api-extractor": "~7.15.2",
|
||||
"@rushstack/eslint-config": "~2.6.2",
|
||||
"@rushstack/node-core-library": "~3.53.0",
|
||||
"@types/node": "10.17.13",
|
||||
"import-lazy": "~4.0.0",
|
||||
"typescript": "~4.7.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@microsoft/rush-stack-compiler-4.5": "workspace:*",
|
||||
"@microsoft/rush-stack-compiler-shared": "workspace:*",
|
||||
"@rushstack/eslint-config": "~2.6.2",
|
||||
"@rushstack/heft": "0.48.0",
|
||||
"@rushstack/heft-node-rig": "1.11.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"eslint": "^8.7.0"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"extends": "./node_modules/@microsoft/rush-stack-compiler-4.5/includes/tsconfig-node.json",
|
||||
|
||||
"compilerOptions": {
|
||||
"rootDir": "src",
|
||||
"outDir": "lib"
|
||||
}
|
||||
}
|
Загрузка…
Ссылка в новой задаче