2019-01-01 19:58:40 -05:00
|
|
|
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
|
2018-07-13 03:24:07 -04:00
|
|
|
|
2019-03-09 12:30:38 -05:00
|
|
|
// eslint-disable-next-line @typescript-eslint/no-triple-slash-reference
|
2018-09-01 10:45:26 -04:00
|
|
|
/// <reference path="./plugins.d.ts" />
|
2018-07-13 03:24:07 -04:00
|
|
|
|
2018-07-21 21:14:52 -04:00
|
|
|
// There is a rollup plugin that will inline any module ending with `!string`
|
2018-08-07 16:27:31 -04:00
|
|
|
|
2018-09-01 13:47:13 -04:00
|
|
|
// Generated default library
|
2019-03-30 14:45:36 -04:00
|
|
|
import libDts from "gen/cli/lib/lib.deno_runtime.d.ts!string";
|
2018-08-07 16:27:31 -04:00
|
|
|
|
|
|
|
// Static libraries
|
2018-07-27 02:51:19 -04:00
|
|
|
import libEs2015Dts from "/third_party/node_modules/typescript/lib/lib.es2015.d.ts!string";
|
2018-07-21 21:14:52 -04:00
|
|
|
import libEs2015CollectionDts from "/third_party/node_modules/typescript/lib/lib.es2015.collection.d.ts!string";
|
|
|
|
import libEs2015CoreDts from "/third_party/node_modules/typescript/lib/lib.es2015.core.d.ts!string";
|
|
|
|
import libEs2015GeneratorDts from "/third_party/node_modules/typescript/lib/lib.es2015.generator.d.ts!string";
|
|
|
|
import libEs2015IterableDts from "/third_party/node_modules/typescript/lib/lib.es2015.iterable.d.ts!string";
|
|
|
|
import libEs2015PromiseDts from "/third_party/node_modules/typescript/lib/lib.es2015.promise.d.ts!string";
|
|
|
|
import libEs2015ProxyDts from "/third_party/node_modules/typescript/lib/lib.es2015.proxy.d.ts!string";
|
|
|
|
import libEs2015ReflectDts from "/third_party/node_modules/typescript/lib/lib.es2015.reflect.d.ts!string";
|
|
|
|
import libEs2015SymbolDts from "/third_party/node_modules/typescript/lib/lib.es2015.symbol.d.ts!string";
|
|
|
|
import libEs2015SymbolWellknownDts from "/third_party/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts!string";
|
2018-07-27 02:51:19 -04:00
|
|
|
import libEs2016Dts from "/third_party/node_modules/typescript/lib/lib.es2016.d.ts!string";
|
2018-07-21 21:14:52 -04:00
|
|
|
import libEs2016ArrayIncludeDts from "/third_party/node_modules/typescript/lib/lib.es2016.array.include.d.ts!string";
|
2018-07-27 02:51:19 -04:00
|
|
|
import libEs2017Dts from "/third_party/node_modules/typescript/lib/lib.es2017.d.ts!string";
|
2018-07-21 21:14:52 -04:00
|
|
|
import libEs2017IntlDts from "/third_party/node_modules/typescript/lib/lib.es2017.intl.d.ts!string";
|
|
|
|
import libEs2017ObjectDts from "/third_party/node_modules/typescript/lib/lib.es2017.object.d.ts!string";
|
|
|
|
import libEs2017SharedmemoryDts from "/third_party/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts!string";
|
|
|
|
import libEs2017StringDts from "/third_party/node_modules/typescript/lib/lib.es2017.string.d.ts!string";
|
|
|
|
import libEs2017TypedarraysDts from "/third_party/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts!string";
|
|
|
|
import libEs2018Dts from "/third_party/node_modules/typescript/lib/lib.es2018.d.ts!string";
|
2019-04-01 12:47:25 -04:00
|
|
|
import libEs2018AsyncIterableDts from "/third_party/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts!string";
|
2018-07-27 02:51:19 -04:00
|
|
|
import libEs2018IntlDts from "/third_party/node_modules/typescript/lib/lib.es2018.intl.d.ts!string";
|
2018-07-21 21:14:52 -04:00
|
|
|
import libEs2018PromiseDts from "/third_party/node_modules/typescript/lib/lib.es2018.promise.d.ts!string";
|
|
|
|
import libEs2018RegexpDts from "/third_party/node_modules/typescript/lib/lib.es2018.regexp.d.ts!string";
|
2019-04-01 12:47:25 -04:00
|
|
|
import libEs2019Dts from "/third_party/node_modules/typescript/lib/lib.es2019.d.ts!string";
|
|
|
|
import libEs2019ArrayDts from "/third_party/node_modules/typescript/lib/lib.es2019.array.d.ts!string";
|
2019-06-01 11:13:36 -04:00
|
|
|
import libEs2019ObjectDts from "/third_party/node_modules/typescript/lib/lib.es2019.object.d.ts!string";
|
2019-04-01 12:47:25 -04:00
|
|
|
import libEs2019StringDts from "/third_party/node_modules/typescript/lib/lib.es2019.string.d.ts!string";
|
|
|
|
import libEs2019SymbolDts from "/third_party/node_modules/typescript/lib/lib.es2019.symbol.d.ts!string";
|
2019-06-01 11:13:36 -04:00
|
|
|
import libEs2020Dts from "/third_party/node_modules/typescript/lib/lib.es2020.d.ts!string";
|
|
|
|
import libEs2020String from "/third_party/node_modules/typescript/lib/lib.es2020.string.d.ts!string";
|
|
|
|
import libEs2020SymbolWellknownDts from "/third_party/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts!string";
|
2018-07-27 02:51:19 -04:00
|
|
|
import libEs5Dts from "/third_party/node_modules/typescript/lib/lib.es5.d.ts!string";
|
2018-07-21 21:14:52 -04:00
|
|
|
import libEsnextArrayDts from "/third_party/node_modules/typescript/lib/lib.esnext.array.d.ts!string";
|
|
|
|
import libEsnextAsynciterablesDts from "/third_party/node_modules/typescript/lib/lib.esnext.asynciterable.d.ts!string";
|
2018-11-29 22:25:07 -05:00
|
|
|
import libEsnextBigintDts from "/third_party/node_modules/typescript/lib/lib.esnext.bigint.d.ts!string";
|
2018-07-21 21:14:52 -04:00
|
|
|
import libEsnextDts from "/third_party/node_modules/typescript/lib/lib.esnext.d.ts!string";
|
2018-07-27 02:51:19 -04:00
|
|
|
import libEsnextIntlDts from "/third_party/node_modules/typescript/lib/lib.esnext.intl.d.ts!string";
|
|
|
|
import libEsnextSymbolDts from "/third_party/node_modules/typescript/lib/lib.esnext.symbol.d.ts!string";
|
2018-07-21 21:14:52 -04:00
|
|
|
|
2019-04-01 15:09:59 -04:00
|
|
|
// Default static libraries for all compile jobs
|
|
|
|
const defaultAssets: { [key: string]: string } = {
|
2018-07-21 21:14:52 -04:00
|
|
|
"lib.es2015.collection.d.ts": libEs2015CollectionDts,
|
|
|
|
"lib.es2015.core.d.ts": libEs2015CoreDts,
|
2018-07-27 02:51:19 -04:00
|
|
|
"lib.es2015.d.ts": libEs2015Dts,
|
2018-07-21 21:14:52 -04:00
|
|
|
"lib.es2015.generator.d.ts": libEs2015GeneratorDts,
|
|
|
|
"lib.es2015.iterable.d.ts": libEs2015IterableDts,
|
|
|
|
"lib.es2015.promise.d.ts": libEs2015PromiseDts,
|
|
|
|
"lib.es2015.proxy.d.ts": libEs2015ProxyDts,
|
|
|
|
"lib.es2015.reflect.d.ts": libEs2015ReflectDts,
|
|
|
|
"lib.es2015.symbol.d.ts": libEs2015SymbolDts,
|
|
|
|
"lib.es2015.symbol.wellknown.d.ts": libEs2015SymbolWellknownDts,
|
|
|
|
"lib.es2016.array.include.d.ts": libEs2016ArrayIncludeDts,
|
2018-07-27 02:51:19 -04:00
|
|
|
"lib.es2016.d.ts": libEs2016Dts,
|
|
|
|
"lib.es2017.d.ts": libEs2017Dts,
|
2018-07-21 21:14:52 -04:00
|
|
|
"lib.es2017.intl.d.ts": libEs2017IntlDts,
|
|
|
|
"lib.es2017.object.d.ts": libEs2017ObjectDts,
|
|
|
|
"lib.es2017.sharedmemory.d.ts": libEs2017SharedmemoryDts,
|
|
|
|
"lib.es2017.string.d.ts": libEs2017StringDts,
|
|
|
|
"lib.es2017.typedarrays.d.ts": libEs2017TypedarraysDts,
|
|
|
|
"lib.es2018.d.ts": libEs2018Dts,
|
2019-04-01 12:47:25 -04:00
|
|
|
"lib.es2018.asynciterable.d.ts": libEs2018AsyncIterableDts,
|
2018-07-27 02:51:19 -04:00
|
|
|
"lib.es2018.intl.d.ts": libEs2018IntlDts,
|
2018-07-21 21:14:52 -04:00
|
|
|
"lib.es2018.promise.d.ts": libEs2018PromiseDts,
|
|
|
|
"lib.es2018.regexp.d.ts": libEs2018RegexpDts,
|
2019-04-01 12:47:25 -04:00
|
|
|
"lib.es2019.d.ts": libEs2019Dts,
|
|
|
|
"lib.es2019.array.d.ts": libEs2019ArrayDts,
|
2019-06-01 11:13:36 -04:00
|
|
|
"lib.es2019.object.d.ts": libEs2019ObjectDts,
|
2019-04-01 12:47:25 -04:00
|
|
|
"lib.es2019.string.d.ts": libEs2019StringDts,
|
|
|
|
"lib.es2019.symbol.d.ts": libEs2019SymbolDts,
|
2019-06-01 11:13:36 -04:00
|
|
|
"lib.es2020.d.ts": libEs2020Dts,
|
|
|
|
"lib.es2020.string.d.ts": libEs2020String,
|
|
|
|
"lib.es2020.symbol.wellknown.d.ts": libEs2020SymbolWellknownDts,
|
2018-07-27 02:51:19 -04:00
|
|
|
"lib.es5.d.ts": libEs5Dts,
|
|
|
|
"lib.esnext.d.ts": libEsnextDts,
|
2018-07-21 21:14:52 -04:00
|
|
|
"lib.esnext.array.d.ts": libEsnextArrayDts,
|
|
|
|
"lib.esnext.asynciterable.d.ts": libEsnextAsynciterablesDts,
|
2018-11-29 22:25:07 -05:00
|
|
|
"lib.esnext.bigint.d.ts": libEsnextBigintDts,
|
2018-07-27 02:51:19 -04:00
|
|
|
"lib.esnext.intl.d.ts": libEsnextIntlDts,
|
2019-03-07 21:56:56 -05:00
|
|
|
"lib.esnext.symbol.d.ts": libEsnextSymbolDts
|
2018-07-13 03:24:07 -04:00
|
|
|
};
|
2019-04-01 15:09:59 -04:00
|
|
|
|
|
|
|
// assests for normal compile jobs
|
|
|
|
// @internal
|
|
|
|
export const assetSourceCode: { [key: string]: string } = {
|
|
|
|
// Generated library
|
|
|
|
"lib.deno_runtime.d.ts": libDts,
|
|
|
|
...defaultAssets
|
|
|
|
};
|