summaryrefslogtreecommitdiff
path: root/deno_typescript/compiler_main.js
AgeCommit message (Collapse)Author
2020-07-19Port internal TS code to JS (#6793)Bartek Iwańczuk
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
2020-07-14Use dprint for internal formatting (#6682)David Sherret
2020-05-29fix: REPL evaluates in strict mode (#5565)Kitson Kelly
Since everything that Deno loads is treated as an ES Module, it means that all code is treated as "use strict" except for when using the REPL. This PR changes that so code in the REPL is also always evaluated with "use strict". There are also a couple other places where we load code as scripts which should also use "use strict" just in case.
2020-05-05fix(cli): fix paths in internal stack traces (#5093)Bartek Iwańczuk
This commit updates "deno_typescript" crate to properly map bundle entrypoint file to internal specifier. All import specifiers were remapped from "file:///a/b/c.ts" to "$deno$/a/b/c.ts", but that was not the case for entrypoint file "main.ts" and "compiler.ts". Because of that internal stack traces were inconsistent; showing "file:///some/random/path/on/ci/machine.ts" URL in frames that originate from "main.ts" or "compiler.ts" and "$deno$/file.ts" for all other imports.
2020-03-28Update to Prettier 2 and use ES Private Fields (#4498)Kitson Kelly
2020-02-25upgrade: TypeScript 3.8 (#4100)Kitson Kelly
2020-02-25Clean up how we use opIds (#4118)Ryan Dahl
2020-02-01feat: support crate imports in deno_typescript (#3814)Andy Finch
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
2020-01-20Use globalThis to reference global scope (#3719)Kitson Kelly
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2020-01-02Happy new year! (#3578)Ry Dahl
2019-11-13Update to TypeScript 3.7 (#3275)Kitson Kelly
and update to prettier 1.19 Also, update `assert()` and remove not null assertions where possibly in `cli`. Closes #3273
2019-10-02remove legacy Isolate.set_dispatch API (#3041)Bartek Iwańczuk
* migrate deno_typescript crate to Isolate.register_op API * remove dual-dispatch mechanism * update Isolate tests to new dispatch mechanism
2019-09-18Utilise internal names for snapshot bundles (#2973)Kitson Kelly
2019-09-15Make deno_cli installable via crates.io (#2946)Ryan Dahl
- Fixes cargo publish on deno_typescript, deno_cli_snapshots, and deno_cli. - Combines cli_snapshots and js into one directory. - Extracts TS version at compile time rather than runtime - Bumps version awkwardly - it was necessary to test end-to-end publishing. Sorry. - Adds git submodule deno_typescript/typescript
2019-09-12deno_typescript cleanup/improvements (#2901)Kitson Kelly
2019-09-10Add JSDoc to deno_typescript (#2890)Kitson Kelly
2019-09-06Remove replacements hack in deno_typescript (#2864)Yoshiya Hinosawa
2019-09-03Handle typescript version in rust (#2855)Yoshiya Hinosawa
2019-09-02Refactor snapshot build (#2825)Ryan Dahl
Instead of using core/snapshot_creator.rs, instead two crates are introduced which allow building the snapshot during build.rs. Rollup is removed and replaced with our own bundler. This removes the Node build dependency. Modules in //js now use Deno-style imports with file extensions, rather than Node style extensionless imports. This improves incremental build time when changes are made to //js files by about 40 seconds.