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

Merge docs -> main #1393

Merged
merged 3 commits into from
Aug 8, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions website/docs/compilers.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,16 @@ Some projects require a patched typescript compiler which adds additional featur
add the ability to configure custom transformers. These are drop-in replacements for the vanilla `typescript` module and
implement the same API.

For example, to use `ts-patch` and `ts-transformer-keys`, add this to your `tsconfig.json`:
For example, to use `ttypescript` and `ts-transformer-keys`, add this to your `tsconfig.json`:

```json title="tsconfig.json"
{
"ts-node": {
"compiler": "ts-patch"
// This can be omitted when using ts-patch
"compiler": "ttypescript"
},
"compilerOptions": {
// plugin configuration is the same for both ts-patch and ttypescript
"plugins": [
{ "transform": "ts-transformer-keys/transformer" }
]
Expand Down
4 changes: 2 additions & 2 deletions website/docusaurus.config.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
module.exports = {
title: 'ts-node',
tagline: 'TypeScript execution and REPL for node.js',
url: 'https://typestrong.org/ts-node',
url: 'https://typestrong.org',
baseUrl: '/ts-node/',
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
favicon: 'img/favicon.ico',
favicon: 'img/favicon/favicon.ico',
organizationName: 'TypeStrong', // Usually your GitHub org/user name.
projectName: 'ts-node', // Usually your repo name.
themeConfig: {
Expand Down
2 changes: 1 addition & 1 deletion website/readme-sources/license.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: License
---

[MIT](https://github.com/TypeStrong/ts-node/blob/main/LICENSE)
ts-node is licensed under the MIT license. [MIT](https://github.com/TypeStrong/ts-node/blob/main/LICENSE)

ts-node includes source code from Node.js which is licensed under the MIT license. [Node.js license information](https://raw.githubusercontent.com/nodejs/node/master/LICENSE)

Expand Down
12 changes: 12 additions & 0 deletions website/src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import React from 'react';
import clsx from 'clsx';
import Layout from '@theme/Layout';
import Link from '@docusaurus/Link';
import Head from '@docusaurus/Head';
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
import useBaseUrl from '@docusaurus/useBaseUrl';
import styles from './styles.module.css';
Expand All @@ -26,6 +27,17 @@ function Home() {
<Layout
title={siteConfig.title}
description={siteConfig.tagline}>
<Head>
<link rel="apple-touch-icon" sizes="180x180" href="/ts-node/img/favicon/apple-touch-icon.png"/>
<link rel="icon" type="image/png" sizes="32x32" href="/ts-node/img/favicon/favicon-32x32.png"/>
<link rel="icon" type="image/png" sizes="16x16" href="/ts-node/img/favicon/favicon-16x16.png"/>
<link rel="manifest" href="/ts-node/img/favicon/site.webmanifest"/>
<link rel="mask-icon" href="/ts-node/img/favicon/safari-pinned-tab.svg" color="#5bbad5"/>
<link rel="shortcut icon" href="/ts-node/img/favicon/favicon.ico"/>
<meta name="msapplication-TileColor" content="#2b5797"/>
<meta name="msapplication-config" content="/ts-node/img/favicon/browserconfig.xml"/>
<meta name="theme-color" content="#ffffff"/>
</Head>
<header className={clsx('hero hero--primary', styles.heroBanner)}>
<div className="container">
<h1 className="hero__title">{siteConfig.title}</h1>
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added website/static/img/favicon/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions website/static/img/favicon/browserconfig.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<browserconfig>
<msapplication>
<tile>
<square150x150logo src="/ts-node/img/mstile-150x150.png"/>
<TileColor>#2b5797</TileColor>
</tile>
</msapplication>
</browserconfig>
Binary file added website/static/img/favicon/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added website/static/img/favicon/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added website/static/img/favicon/favicon.ico
Binary file not shown.
19 changes: 19 additions & 0 deletions website/static/img/favicon/html_code.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<link rel="apple-touch-icon" sizes="180x180" href="/ts-node/img/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/ts-node/img/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/ts-node/img/favicon-16x16.png">
<link rel="manifest" href="/ts-node/img/site.webmanifest">
<link rel="mask-icon" href="/ts-node/img/safari-pinned-tab.svg" color="#5bbad5">
<link rel="shortcut icon" href="/ts-node/img/favicon.ico">
<meta name="msapplication-TileColor" content="#2b5797">
<meta name="msapplication-config" content="/ts-node/img/browserconfig.xml">
<meta name="theme-color" content="#ffffff">

<link rel="apple-touch-icon" sizes="180x180" href="/ts-node/img/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/ts-node/img/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/ts-node/img/favicon/favicon-16x16.png">
<link rel="manifest" href="/ts-node/img/favicon/site.webmanifest">
<link rel="mask-icon" href="/ts-node/img/favicon/safari-pinned-tab.svg" color="#5bbad5">
<link rel="shortcut icon" href="/ts-node/img/favicon/favicon.ico">
<meta name="msapplication-TileColor" content="#2b5797">
<meta name="msapplication-config" content="/ts-node/img/favicon/browserconfig.xml">
<meta name="theme-color" content="#ffffff">
Binary file added website/static/img/favicon/mstile-150x150.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
27 changes: 27 additions & 0 deletions website/static/img/favicon/safari-pinned-tab.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions website/static/img/favicon/site.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"name": "",
"short_name": "",
"icons": [
{
"src": "/ts-node/img/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/ts-node/img/android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "standalone"
}
Binary file added website/static/img/opengraph.pdn
Binary file not shown.