Primeiro commit do projeto Angular
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
* @license
|
||||
* Copyright Google LLC All Rights Reserved.
|
||||
*
|
||||
* Use of this source code is governed by an MIT-style license that can be
|
||||
* found in the LICENSE file at https://angular.dev/license
|
||||
*/
|
||||
/**
|
||||
* @fileoverview The API from compiler-cli that the `@angular/localize`
|
||||
* package requires.
|
||||
*/
|
||||
export * from '../src/ngtsc/logging';
|
||||
export * from '../src/ngtsc/file_system';
|
||||
export { SourceFile, SourceFileLoader } from '../src/ngtsc/sourcemaps';
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
/**
|
||||
* @license
|
||||
* Copyright Google LLC All Rights Reserved.
|
||||
*
|
||||
* Use of this source code is governed by an MIT-style license that can be
|
||||
* found in the LICENSE file at https://angular.dev/license
|
||||
*/
|
||||
/**
|
||||
* @fileoverview The API from compiler-cli that the `@angular/core`
|
||||
* package requires for migration schematics.
|
||||
*/
|
||||
export { createForwardRefResolver, ExternalTemplateDeclaration, extractDecoratorQueryMetadata, extractTemplate, findAngularDecorator, getAngularDecorators, InlineTemplateDeclaration, queryDecoratorNames, QueryFunctionName, ResourceLoader, unwrapExpression, parseDecoratorInputTransformFunction, } from '../src/ngtsc/annotations';
|
||||
export { AbsoluteFsPath, FileSystem, getFileSystem, isLocalRelativePath, NodeJSFileSystem, } from '../src/ngtsc/file_system';
|
||||
export { CompilationMode } from '../src/ngtsc/transform';
|
||||
export { DiagnosticCategoryLabel, NgCompiler, NgCompilerOptions, UnifiedModulesHost, } from '../src/ngtsc/core';
|
||||
export { Reference, ReferenceEmitter, ReferenceEmitKind } from '../src/ngtsc/imports';
|
||||
export { DecoratorInputTransform, DtsMetadataReader, MetadataReader, DirectiveMeta, InputMapping, } from '../src/ngtsc/metadata';
|
||||
export { DynamicValue, PartialEvaluator, ResolvedValue, ResolvedValueMap, StaticInterpreter, } from '../src/ngtsc/partial_evaluator';
|
||||
export { ClassDeclaration, Decorator, ReflectionHost, reflectObjectLiteral, TypeScriptReflectionHost, } from '../src/ngtsc/reflection';
|
||||
export { PotentialImport, PotentialImportKind, PotentialImportMode, SymbolKind, TemplateTypeChecker, } from '../src/ngtsc/typecheck/api';
|
||||
export { getRootDirs } from '../src/ngtsc/util/src/typescript';
|
||||
export { FatalDiagnosticError } from '../src/ngtsc/diagnostics';
|
||||
export { isShim } from '../src/ngtsc/shims';
|
||||
export { ImportManager } from '../src/ngtsc/translator';
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
/**
|
||||
* @license
|
||||
* Copyright Google LLC All Rights Reserved.
|
||||
*
|
||||
* Use of this source code is governed by an MIT-style license that can be
|
||||
* found in the LICENSE file at https://angular.dev/license
|
||||
*/
|
||||
export { ImportedSymbolsTracker } from '../src/ngtsc/imports';
|
||||
export { TypeScriptReflectionHost } from '../src/ngtsc/reflection';
|
||||
export { getInitializerApiJitTransform } from '../src/ngtsc/transform/jit';
|
||||
export { initMockFileSystem, MockFileSystem } from '../src/ngtsc/file_system/testing';
|
||||
+34
@@ -0,0 +1,34 @@
|
||||
/**
|
||||
* @license
|
||||
* Copyright Google LLC All Rights Reserved.
|
||||
*
|
||||
* Use of this source code is governed by an MIT-style license that can be
|
||||
* found in the LICENSE file at https://angular.dev/license
|
||||
*/
|
||||
/**
|
||||
* @fileoverview
|
||||
* This file is used as a private API channel to shared Angular FW APIs with @angular/cli.
|
||||
*
|
||||
* Any changes to this file should be discussed with the Angular CLI team.
|
||||
*/
|
||||
import ts from 'typescript';
|
||||
/**
|
||||
* Known values for global variables in `@angular/core` that Terser should set using
|
||||
* https://github.com/terser-js/terser#conditional-compilation
|
||||
*/
|
||||
export declare const GLOBAL_DEFS_FOR_TERSER: {
|
||||
ngDevMode: boolean;
|
||||
ngI18nClosureMode: boolean;
|
||||
};
|
||||
export declare const GLOBAL_DEFS_FOR_TERSER_WITH_AOT: {
|
||||
ngJitMode: boolean;
|
||||
ngDevMode: boolean;
|
||||
ngI18nClosureMode: boolean;
|
||||
};
|
||||
/**
|
||||
* JIT transform used by the Angular CLI.
|
||||
*
|
||||
* NOTE: Signature is explicitly captured here to highlight the
|
||||
* contract various Angular CLI versions are relying on.
|
||||
*/
|
||||
export declare const constructorParametersDownlevelTransform: (program: ts.Program, isCore?: boolean) => ts.TransformerFactory<ts.SourceFile>;
|
||||
Reference in New Issue
Block a user