Skip to content

TS 4.1 & Gatsby & Yarn update #1275

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

Merged
merged 23 commits into from
Oct 27, 2020
Merged

TS 4.1 & Gatsby & Yarn update #1275

merged 23 commits into from
Oct 27, 2020

Conversation

orta
Copy link
Contributor

@orta orta commented Oct 23, 2020

Figured I may as well bite the bullet and just do a big dep update all over the show.

@orta orta mentioned this pull request Oct 25, 2020
]
```

_There is a space for this to be automated away entirely in the future, there is enough data in the site's sourcecode to derive this._
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is now fully automated

@orta orta changed the title WIP - TS 4.1 & Gatsby & Yarn update TS 4.1 & Gatsby & Yarn update Oct 26, 2020
@orta
Copy link
Contributor Author

orta commented Oct 26, 2020

Looks like the update to yarn somehow ignores the order of the packages to be built - maybe it was yarnpkg/berry#1986

@orta
Copy link
Contributor Author

orta commented Oct 27, 2020

Fixed a few bugs while waiting on the CI

@github-actions
Copy link
Contributor

Got false positives?

Make changes to the global settings spellcheck.json in /microsoft/TypeScript-Website.

Make changes to this repo's settings in spellcheck.json.

Typos for noUncheckedIndexedAccess.md

Line Typo
30 will addundefined` to any un-declared field in the type.

Typos for jsxImportSource.md

Line Typo
20 Using this TSConfig:

Typos for bundledPackageName.md

Line Typo
6 le`](#outFile) the resulting .d.ts needs to know what the root n

Typos for jsxFragmentFactory.md

Line Typo
8 For example with this TSConfig:

Typos for README.md

Line Typo
1 # TypeScript TwoSlash
4 by the [fourslash test system](https://github.c
9 You can preview twoslash on the TypeScript website her
11 ### What is Twoslash?
14 twoslash to let the compiler handle er
67 ching this code sample to use twoslash has a few upsides:
70 e sample, if it doesn't occur twoslash throws
73 it more verbose because every twoslash example is a unique compiler
77 The Twoslash markup language helps with:
82 les, or ancillary files like .d.ts or .map files
94 The twoslash markup API lives inside your
121 Finally you can set any tsconfig compiler flag using this synt
851 This package can be used as a commonjs import, an esmodule and direc
851 used as a commonjs import, an esmodule and directly via a script tag
863 is optimized and bundled with Rollup into multiple formats (Common
863 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 s the same format that vscode/monaco use, and so you can use

Typos for TypeScript 4.0.md

Line Typo
8 ## Variadic Tuple Types
118 By combining both of these behaviors together, we can write a sing
187 Variadic tuple types enable a lot of n
189 ft/TypeScript/pull/39094) for variadic tuples.
191 ## Labeled Tuple Elements
242 re are a few rules when using labeled tuples.
243 For one, when labeling a tuple element, all other el
243 nts in the tuple must also be labeled.
266 Overall, labeled tuples are handy when taking
271 ft/TypeScript/pull/38234) for labeled tuple elements.
372 logical and (&&), logical or (`
372 &), logical _or_ (
447 g thanks to community member [Wenlu Wang](https://github.com/King
470 type-safety which could have errored on invalid operations.
558 g thanks to community member [Noj Vek](https://github.com/nojve
558 anks to community member [Noj Vek](https://github.com/nojvek) f
586 he SDK installers above] and [MSBuild installs](https://www.nuget.o
589 learn more about whether your favorite editor has support to use new
594 -3-7/#optional-chaining) and [nullish coalescing](https://devblogs.
598 to subtleties with truthiness/falsiness in JavaScript, we believe it
604 ed with a /** @deprecated * JSDoc comment.
610 ality is available thanks to [Wenlu Wang](https://github.com/King
613 ### Partial Semantic Mode at Startup
615 rom users suffering from long startup times, especially on bigger p

Typos for Type Compatibility.md

Line Typo
9 Script is based on structural subtyping.
116 ## Function Parameter Bivariance
187 ## Enums
189 Enums are compatible with numbers,
189 d numbers are compatible with enums. Enum values from different e
189 rs are compatible with enums. Enum values from different enum ty
189 s. Enum values from different enum types are considered incompat

Typos for JSX.md

Line Typo
77 However, if this interface is present, then the name of the
337 erride the default type from, eg the [React typings](https://g
431 flag and via inline per-file pragmas. To learn more see their tsco
431 gmas. To learn more see their tsconfig reference pages:

Typos for Basics.md

Line Typo
9 ue in JavaScript has a set of behaviors you can observe from running
48 of the value - what sorts of behaviors and capabilities it has.
78 ght have ended up doing large refactorings and adding a lot of different
82 tems_ describe the shapes and behaviors of what our values will be wh
191 to automatically fix errors, refactorings to easily re-organize code, a
192 rm, so it's likely that [your favorite editor has TypeScript support
221 Tada!
223 Wait, "tada" what exactly?
270 you can run, and so there's a tradeoff on what sorts of things a typ
384 cript called ECMAScript 2015 (a.k.a. ECMAScript 6, ES2015, ES6, et
385 ECMAScript 3 or ECMAScript 5 (a.k.a. ES3 and ES5).

Typos for CONTRIBUTING.md

Line Typo
5 art` to set up both a copy of Rollup to generate the JS, and Serve
15 documented in the [interface PlaygroundPlugin in `./src/vendor/playground.d
19 ere are a set of mounting and un-mounting functions which you can use t
20 s to knowing when the code in monaco editor has changed
26 #### Rollup
28 [Rollup](https://rollupjs.org) is a J
32 Because most node_modules expect to be running in node,
34 e route to handle this is via rollup:
40 probably start by taking the [rollup config from `playground-plugi
40 dding any extra externals and globals.
44 to make a web-server for the dist folder.

Typos for New TypeScript Version.md

Line Typo
3 hen it'll probably take about 15-30m.
38 ##### TSConfig Reference
40 will force you to update the TSConfig Reference. It will fail incre
46 - Update [tsconfigRules.ts](https://github.com/microsoft
60 ion for the RC and update the dropdown to be the RC.
68 e the link to the beta in the dropdowns in: [`packages/playground/src

Snapshots updated

backstop_default_Empty_Page_0_document_0_phone.png
Before After
backstop_default_Empty_Page_0_document_1_tablet.png
Before After
backstop_default_Empty_Page_0_document_2_computer.png
Before After
backstop_default_Index_0_document_0_phone.png
Before After
backstop_default_Index_0_document_1_tablet.png
Before After
backstop_default_Index_0_document_2_computer.png
Before After

Generated by 🚫 dangerJS against ff4b4f4

@orta orta merged commit eaa1784 into v2 Oct 27, 2020
@orta orta mentioned this pull request Oct 28, 2020
@jakebailey jakebailey deleted the 4_1 branch May 17, 2024 22:00
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