Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a dev section, improve twoslash and create a new lib for doing in-memory compilation #176

Merged
merged 11 commits into from
Jan 12, 2020

Conversation

orta
Copy link
Contributor

@orta orta commented Jan 11, 2020

Pet pages for public docs for some of the modules made for v2, as well as making the libs run in a browser (for microsoft/TypeScript#35389).

Screen Shot 2020-01-11 at 12 21 48 PM

Screen Shot 2020-01-11 at 12 20 14 PM

/cc @andrewbranch - I took the sys.ts from the site and turned it into a prod-ready lib with docs, tests and a few improvements here also

@github-actions
Copy link
Contributor

github-actions bot commented Jan 11, 2020

Messages
📖

Deployed to a PR branch - playground tsconfig old handbook

Got false positives?

Make changes to the global settings spellcheck.json in /artsy/peril-settings.

Typos for README.md

Line Typo
105 ment where you have access to node_modules, then you can can write some
148 can use the TypeScript CDN or unpkg to fetch the lib files. This
148 This could be is up to about 1.5MB, and you should probably stor
173 - Can use a copy of the lz-string module for compressing/decomp

Typos for noImplicitUseStrict.md

Line Typo
6 n emitting a module file to a non-ES6 target, TypeScript emits a `"

Typos for isolatedModules.md

Line Typo
11 interpreted by a single-file transpilation process.
12 It does not change the behavior of your code, or otherwise ch
12 code, or otherwise change the behavior of TypeScript's checking and

Typos for importHelpers.md

Line Typo
6 For certain downleveling operations, TypeScript uses s
6 eading arrays or objects, and async operations.
10 re instead imported from the [tslib](https://www.npmjs.com/packag

Typos for README.md

Line Typo
1 # TypeScript TwoSlasher
4 by the [fourslash test system](https://github.c
11 The Twoslash markup language helps with:
16 cing code with the results of transpilation to different files, or ancill
16 les, or ancillary files like .d.ts or .map files
22 - Ship to npm
28 The twoslash markup API lives inside your
51 Finally you can set any tsconfig compiler flag using this synt
508 ebug logs by running with the env var of DEBUG="*".
516 is optimized and bundled with Rollup into multiple formats (Common
516 Rollup into multiple formats (CommonJS, UMD, and ES Module).

Typos for README.md

Line Typo
4 monaco-typescript with extra extension points s
9 - You want to work with monaco at a higher abstraction level
13 ia supporting older builds of monaco-typescript)
20 This is the same format that vscode/monaco use, and so you can us
20 s the same format that vscode/monaco use, and so you can use

Typos for README.md

Line Typo
23 ## TypeScriptLang-Org
33 ll sites which want to show a monaco editor
42 ## TSConfig Reference
44 hensive API reference for the TSConfig JSON file.
81 ## TS Twoslash
85 ## Gatsby Remark Twoslasher Code Blocks
87 A Gatsby Remark plugin which runs twoslash for any c
87 tsby Remark plugin which runs twoslash for any code blocks with twos
87 lash for any code blocks with twoslash in their metadata
89 ## Gatsby Remark Shiki
91 A Gatsby Remark plugin which highlights code (using
91 which highlights code (using vscode's parsers) then annotates the c
91 then annotates the code with twoslash information
103 you submit a pull request, a CLA-bot will automatically determine
109 contact [o[email protected]](mailto:
109 contact [openco[email protected]](mailto:openc
109 contact [opencode@microsoft.com](mailto:[email protected]

Lighthouse Scores

/

Performance Accessibility Best Practices SEO Progressive Web App
0.88 1 0.93 0.88 0.74

/en/tsconfig

Performance Accessibility Best Practices SEO Progressive Web App
0.92 1 0.7

/docs/handbook/integrating-with-build-tools.html

Performance Accessibility Best Practices SEO Progressive Web App
0.92 0.93 1 0.89 0.74

Generated by 🚫 dangerJS against 93f24a3

@orta
Copy link
Contributor Author

orta commented Jan 12, 2020

Yeah, let's do this, it's good enough

@orta orta merged commit bf7f62d into v2 Jan 12, 2020
@jakebailey jakebailey deleted the dev_section branch May 17, 2024 22:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant