├── pnpm-workspace.yaml
├── sites
└── stc
│ ├── README.md
│ ├── .eslintrc.json
│ ├── pages
│ ├── blog
│ │ ├── _meta.json
│ │ └── this-week-in-stc
│ │ │ ├── frequency-change.mdx
│ │ │ ├── _meta.json
│ │ │ ├── week-11.mdx
│ │ │ ├── week-8.mdx
│ │ │ ├── week-21.mdx
│ │ │ ├── week-22.mdx
│ │ │ ├── week-17.mdx
│ │ │ ├── week-15.mdx
│ │ │ ├── week-4.mdx
│ │ │ ├── week-5.mdx
│ │ │ ├── week-13.mdx
│ │ │ ├── week-18.mdx
│ │ │ ├── week-3.mdx
│ │ │ ├── week-14.mdx
│ │ │ ├── week-20.mdx
│ │ │ ├── week-7.mdx
│ │ │ ├── week-6.mdx
│ │ │ ├── week-23.mdx
│ │ │ ├── week-19.mdx
│ │ │ ├── week-12.mdx
│ │ │ ├── week-16.mdx
│ │ │ ├── week-10.mdx
│ │ │ ├── week-9.mdx
│ │ │ ├── week-1.mdx
│ │ │ └── week-2.mdx
│ ├── docs
│ │ ├── getting-started.mdx
│ │ ├── _meta.json
│ │ ├── roadmap.mdx
│ │ └── contributing.mdx
│ ├── _meta.json
│ ├── _app.tsx
│ └── index.mdx
│ ├── public
│ ├── favicon.ico
│ └── images
│ │ └── this-week-in-stc
│ │ ├── 1
│ │ └── contributors.png
│ │ ├── 2
│ │ └── contributors.png
│ │ ├── 3
│ │ └── contributors.png
│ │ ├── 4
│ │ └── contributors.png
│ │ ├── 5
│ │ └── contributors.png
│ │ ├── 6
│ │ └── contributors.png
│ │ ├── 7
│ │ └── contributors.png
│ │ ├── 8
│ │ └── contributors.png
│ │ ├── 9
│ │ └── contributors.png
│ │ ├── 10
│ │ └── contributors.png
│ │ ├── 11
│ │ └── contributors.png
│ │ ├── 12
│ │ └── contributors.png
│ │ ├── 13
│ │ └── contributors.png
│ │ ├── 14
│ │ └── contributors.png
│ │ ├── 15
│ │ └── contributors.png
│ │ ├── 16
│ │ └── contributors.png
│ │ ├── 17
│ │ └── contributors.png
│ │ ├── 18
│ │ └── contributors.png
│ │ ├── 19
│ │ └── contributors.png
│ │ ├── 20
│ │ └── contributors.png
│ │ ├── 21
│ │ └── contributors.png
│ │ ├── 22
│ │ └── contributors.png
│ │ └── 23
│ │ ├── lsp.png
│ │ └── contributors.png
│ ├── next.config.js
│ ├── .gitignore
│ ├── tsconfig.json
│ ├── package.json
│ ├── styles.css
│ └── theme.config.js
├── .vscode
└── settings.json
├── .gitignore
├── README.md
└── pnpm-lock.yaml
/pnpm-workspace.yaml:
--------------------------------------------------------------------------------
1 | packages:
2 | - "sites/*"
3 |
--------------------------------------------------------------------------------
/sites/stc/README.md:
--------------------------------------------------------------------------------
1 | # DevMap
2 |
3 | 개발자를 위한 로드맵입니다.
4 |
--------------------------------------------------------------------------------
/.vscode/settings.json:
--------------------------------------------------------------------------------
1 | {
2 | "editor.formatOnSave": true
3 | }
--------------------------------------------------------------------------------
/sites/stc/.eslintrc.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "next/core-web-vitals"
3 | }
4 |
--------------------------------------------------------------------------------
/sites/stc/pages/blog/_meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "this-week-in-stc": "Status updates"
3 | }
4 |
--------------------------------------------------------------------------------
/sites/stc/pages/docs/getting-started.mdx:
--------------------------------------------------------------------------------
1 | # Getting Started
2 |
3 | ## Installation
4 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | .next
2 | .yarn/
3 | node_modules
4 | .DS_Store
5 | .env
6 | # custom binaries
7 | .bin
--------------------------------------------------------------------------------
/sites/stc/public/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dudykr/oss-docs/HEAD/sites/stc/public/favicon.ico
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # oss-docs
2 |
3 | Documentation for open-source projects of Dudy.
4 |
5 | - stc: https://stc.dudy.dev
--------------------------------------------------------------------------------
/sites/stc/pages/docs/_meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "getting-started": "Getting Started",
3 | "roadmap": "Roadmap",
4 | "contributing": "Contributing"
5 | }
6 |
--------------------------------------------------------------------------------
/sites/stc/public/images/this-week-in-stc/23/lsp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dudykr/oss-docs/HEAD/sites/stc/public/images/this-week-in-stc/23/lsp.png
--------------------------------------------------------------------------------
/sites/stc/public/images/this-week-in-stc/1/contributors.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dudykr/oss-docs/HEAD/sites/stc/public/images/this-week-in-stc/1/contributors.png
--------------------------------------------------------------------------------
/sites/stc/public/images/this-week-in-stc/10/contributors.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dudykr/oss-docs/HEAD/sites/stc/public/images/this-week-in-stc/10/contributors.png
--------------------------------------------------------------------------------
/sites/stc/public/images/this-week-in-stc/11/contributors.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dudykr/oss-docs/HEAD/sites/stc/public/images/this-week-in-stc/11/contributors.png
--------------------------------------------------------------------------------
/sites/stc/public/images/this-week-in-stc/12/contributors.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dudykr/oss-docs/HEAD/sites/stc/public/images/this-week-in-stc/12/contributors.png
--------------------------------------------------------------------------------
/sites/stc/public/images/this-week-in-stc/13/contributors.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dudykr/oss-docs/HEAD/sites/stc/public/images/this-week-in-stc/13/contributors.png
--------------------------------------------------------------------------------
/sites/stc/public/images/this-week-in-stc/14/contributors.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dudykr/oss-docs/HEAD/sites/stc/public/images/this-week-in-stc/14/contributors.png
--------------------------------------------------------------------------------
/sites/stc/public/images/this-week-in-stc/15/contributors.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dudykr/oss-docs/HEAD/sites/stc/public/images/this-week-in-stc/15/contributors.png
--------------------------------------------------------------------------------
/sites/stc/public/images/this-week-in-stc/16/contributors.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dudykr/oss-docs/HEAD/sites/stc/public/images/this-week-in-stc/16/contributors.png
--------------------------------------------------------------------------------
/sites/stc/public/images/this-week-in-stc/17/contributors.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dudykr/oss-docs/HEAD/sites/stc/public/images/this-week-in-stc/17/contributors.png
--------------------------------------------------------------------------------
/sites/stc/public/images/this-week-in-stc/18/contributors.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dudykr/oss-docs/HEAD/sites/stc/public/images/this-week-in-stc/18/contributors.png
--------------------------------------------------------------------------------
/sites/stc/public/images/this-week-in-stc/19/contributors.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dudykr/oss-docs/HEAD/sites/stc/public/images/this-week-in-stc/19/contributors.png
--------------------------------------------------------------------------------
/sites/stc/public/images/this-week-in-stc/2/contributors.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dudykr/oss-docs/HEAD/sites/stc/public/images/this-week-in-stc/2/contributors.png
--------------------------------------------------------------------------------
/sites/stc/public/images/this-week-in-stc/20/contributors.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dudykr/oss-docs/HEAD/sites/stc/public/images/this-week-in-stc/20/contributors.png
--------------------------------------------------------------------------------
/sites/stc/public/images/this-week-in-stc/21/contributors.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dudykr/oss-docs/HEAD/sites/stc/public/images/this-week-in-stc/21/contributors.png
--------------------------------------------------------------------------------
/sites/stc/public/images/this-week-in-stc/22/contributors.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dudykr/oss-docs/HEAD/sites/stc/public/images/this-week-in-stc/22/contributors.png
--------------------------------------------------------------------------------
/sites/stc/public/images/this-week-in-stc/23/contributors.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dudykr/oss-docs/HEAD/sites/stc/public/images/this-week-in-stc/23/contributors.png
--------------------------------------------------------------------------------
/sites/stc/public/images/this-week-in-stc/3/contributors.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dudykr/oss-docs/HEAD/sites/stc/public/images/this-week-in-stc/3/contributors.png
--------------------------------------------------------------------------------
/sites/stc/public/images/this-week-in-stc/4/contributors.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dudykr/oss-docs/HEAD/sites/stc/public/images/this-week-in-stc/4/contributors.png
--------------------------------------------------------------------------------
/sites/stc/public/images/this-week-in-stc/5/contributors.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dudykr/oss-docs/HEAD/sites/stc/public/images/this-week-in-stc/5/contributors.png
--------------------------------------------------------------------------------
/sites/stc/public/images/this-week-in-stc/6/contributors.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dudykr/oss-docs/HEAD/sites/stc/public/images/this-week-in-stc/6/contributors.png
--------------------------------------------------------------------------------
/sites/stc/public/images/this-week-in-stc/7/contributors.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dudykr/oss-docs/HEAD/sites/stc/public/images/this-week-in-stc/7/contributors.png
--------------------------------------------------------------------------------
/sites/stc/public/images/this-week-in-stc/8/contributors.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dudykr/oss-docs/HEAD/sites/stc/public/images/this-week-in-stc/8/contributors.png
--------------------------------------------------------------------------------
/sites/stc/public/images/this-week-in-stc/9/contributors.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dudykr/oss-docs/HEAD/sites/stc/public/images/this-week-in-stc/9/contributors.png
--------------------------------------------------------------------------------
/sites/stc/pages/_meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "index": {
3 | "title": "Introduction",
4 | "type": "page",
5 | "hidden": true
6 | },
7 | "docs": {
8 | "title": "Docs",
9 | "type": "page"
10 | },
11 | "blog": {
12 | "title": "Blog",
13 | "type": "page"
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/sites/stc/pages/blog/this-week-in-stc/frequency-change.mdx:
--------------------------------------------------------------------------------
1 | ---
2 | title: "Change to the frequency of update posts"
3 | date: 2023/4/23
4 | description: "We are changing weekly blog post to monthly blog post."
5 | author: kdy1
6 | ---
7 |
8 | We are changing weekly blog post to monthly blog post.
9 | This is because we are going to focus on large tasks, which do not have much progress every week.
10 |
--------------------------------------------------------------------------------
/sites/stc/next.config.js:
--------------------------------------------------------------------------------
1 | /** @type {import('next').NextConfig} */
2 | const nextConfig = {
3 | reactStrictMode: true,
4 | swcMinify: true,
5 | };
6 |
7 | const withNextra = require("nextra")({
8 | theme: "nextra-theme-docs",
9 | themeConfig: "./theme.config.js",
10 | flexsearch: {
11 | codeblocks: false,
12 | },
13 | unstable_staticImage: true,
14 | });
15 | module.exports = withNextra(nextConfig);
16 |
--------------------------------------------------------------------------------
/sites/stc/.gitignore:
--------------------------------------------------------------------------------
1 | # See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2 |
3 | # dependencies
4 | /node_modules
5 | /.pnp
6 | .pnp.js
7 |
8 | # testing
9 | /coverage
10 |
11 | # next.js
12 | /.next/
13 | /out/
14 |
15 | # production
16 | /build
17 |
18 | # misc
19 | .DS_Store
20 | *.pem
21 |
22 | # debug
23 | npm-debug.log*
24 | yarn-debug.log*
25 | yarn-error.log*
26 | .pnpm-debug.log*
27 |
28 | # local env files
29 | .env*.local
30 |
31 | # vercel
32 | .vercel
33 |
34 | # typescript
35 | *.tsbuildinfo
36 | next-env.d.ts
37 |
--------------------------------------------------------------------------------
/sites/stc/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "compilerOptions": {
3 | "target": "ES2015",
4 | "lib": ["dom", "dom.iterable", "esnext"],
5 | "allowJs": true,
6 | "skipLibCheck": true,
7 | "strict": true,
8 | "forceConsistentCasingInFileNames": true,
9 | "noEmit": true,
10 | "esModuleInterop": true,
11 | "module": "esnext",
12 | "moduleResolution": "node",
13 | "resolveJsonModule": true,
14 | "isolatedModules": true,
15 | "jsx": "preserve",
16 | "incremental": true,
17 | "baseUrl": ".",
18 | "paths": {
19 | "~/*": ["*"]
20 | }
21 | },
22 | "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
23 | "exclude": ["node_modules"]
24 | }
25 |
--------------------------------------------------------------------------------
/sites/stc/pages/blog/this-week-in-stc/_meta.json:
--------------------------------------------------------------------------------
1 | {
2 | "frequency-change": "Frequency change",
3 | "week-23": "Week 23",
4 | "week-22": "Week 22",
5 | "week-21": "Week 21",
6 | "week-20": "Week 20",
7 | "week-19": "Week 19",
8 | "week-18": "Week 18",
9 | "week-17": "Week 17",
10 | "week-16": "Week 16",
11 | "week-15": "Week 15",
12 | "week-14": "Week 14",
13 | "week-13": "Week 13",
14 | "week-12": "Week 12",
15 | "week-11": "Week 11",
16 | "week-10": "Week 10",
17 | "week-9": "Week 9",
18 | "week-8": "Week 8",
19 | "week-7": "Week 7",
20 | "week-6": "Week 6",
21 | "week-5": "Week 5",
22 | "week-4": "Week 4",
23 | "week-3": "Week 3",
24 | "week-2": "Week 2",
25 | "week-1": "Week 1"
26 | }
27 |
--------------------------------------------------------------------------------
/sites/stc/pages/_app.tsx:
--------------------------------------------------------------------------------
1 | import "nextra-theme-docs/style.css";
2 |
3 | import { Analytics } from "@vercel/analytics/react";
4 | import { NextPage } from "next";
5 | import { AppProps } from "next/app";
6 | import { ReactElement, ReactNode } from "react";
7 |
8 | // https://nextjs.org/docs/basic-features/layouts#with-typescript
9 |
10 | export type NextPageWithLayout = NextPage & {
11 | getLayout?: (page: ReactElement) => ReactNode;
12 | };
13 |
14 | type AppPropsWithLayout = AppProps & {
15 | Component: NextPageWithLayout;
16 | };
17 |
18 | export default function Nextra({ Component, pageProps }: AppPropsWithLayout) {
19 | const getLayout = Component.getLayout ?? ((page) => page);
20 |
21 | return getLayout(
22 | <>
23 |
24 |
25 | >
26 | );
27 | }
28 |
--------------------------------------------------------------------------------
/sites/stc/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "stc",
3 | "version": "0.1.0",
4 | "private": true,
5 | "scripts": {
6 | "dev": "next dev -p 30001",
7 | "build": "next build",
8 | "start": "next start",
9 | "lint": "next lint"
10 | },
11 | "dependencies": {
12 | "@vercel/analytics": "^0.1.5",
13 | "chart.js": "4.1.2",
14 | "chartjs-adapter-date-fns": "3.0.0",
15 | "date-fns": "2.29.3",
16 | "next": "13.0.6",
17 | "nextra": "2.0.1",
18 | "nextra-theme-docs": "2.0.1",
19 | "react": "^18.0.0",
20 | "react-chartjs-2": "5.2.0",
21 | "react-dom": "^18.0.0"
22 | },
23 | "devDependencies": {
24 | "@types/node": "17.0.24",
25 | "@types/react": "18.0.5",
26 | "@types/react-dom": "18.0.1",
27 | "autoprefixer": "^10.4.4",
28 | "eslint": "8.13.0",
29 | "eslint-config-next": "12.1.5",
30 | "postcss": "^8.4.12",
31 | "tailwindcss": "^3.0.24",
32 | "typescript": "4.6.3"
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/sites/stc/pages/blog/this-week-in-stc/week-11.mdx:
--------------------------------------------------------------------------------
1 | ---
2 | title: 'This week in stc, 11'
3 | date: 2023/1/29
4 | description: 'The status update for stc'
5 | author: kdy1
6 | ---
7 |
8 | This is the status update for [stc][], the new TypeScript type checker written in Rust.
9 |
10 | ## TL;DR;
11 |
12 | Stats:
13 |
14 | ```
15 | Stats {
16 | required_error: 4248 => 4183,
17 | matched_error: 5826 => 5891,
18 | extra_error: 929 => 825,
19 | panic: 20 => 18,
20 | }
21 | ```
22 |
23 | This is the diff for [the commit used for previous status update](https://github.com/dudykr/stc/blob/5442585ceda0487cb40307a24523b0c96d833d8e/crates/stc_ts_type_checker/tests/tsc-stats.rust-debug) and [the last commit on 1/29](https://github.com/dudykr/stc/blob/14d5ac24b3c4324d6384ae5d207f4fef9e3ae1fb/crates/stc_ts_type_checker/tests/tsc-stats.rust-debug).
24 |
25 | ## Contributions
26 |
27 | 
28 |
29 | Thank you, everyone!
30 |
31 | [stc]:https://github.com/dudykr/stc
32 |
--------------------------------------------------------------------------------
/sites/stc/pages/blog/this-week-in-stc/week-8.mdx:
--------------------------------------------------------------------------------
1 | ---
2 | title: 'This week in stc, 8'
3 | date: 2023/1/8
4 | description: 'The status update for stc'
5 | author: kdy1
6 | ---
7 |
8 | This is the status update for [stc][], the new TypeScript type checker written in Rust.
9 |
10 | ## TL;DR;
11 |
12 | Stats:
13 |
14 | ```
15 | Stats {
16 | required_error: 4245 => 4237,
17 | matched_error: 5639 => 5647,
18 | extra_error: 743 => 735,
19 | panic: 72 => 71,
20 | }
21 | ```
22 |
23 | This is the diff for [the commit used for previous status update](https://github.com/dudykr/stc/blob/977a433daae8d5dd51312e2c8921912008396b17/crates/stc_ts_type_checker/tests/tsc-stats.rust-debug) and [the last commit on 1/8](https://github.com/dudykr/stc/blob/b021e8958481fedb12c648f070963b59ccb28128/crates/stc_ts_type_checker/tests/tsc-stats.rust-debug).
24 |
25 | ## Contributions
26 |
27 | 
28 |
29 | There were 3 contributors this week.
30 | Thank you!
31 |
32 | ---
33 |
34 | [stc]: https://github.com/dudykr/stc
35 |
--------------------------------------------------------------------------------
/sites/stc/pages/blog/this-week-in-stc/week-21.mdx:
--------------------------------------------------------------------------------
1 | ---
2 | title: "This week in stc, 21"
3 | date: 2023/4/9
4 | description: "The status update for stc"
5 | author: kdy1
6 | ---
7 |
8 | This is the status update for [stc](https://github.com/dudykr/stc), the new TypeScript type checker written in Rust.
9 |
10 | ## TL;DR;
11 |
12 | Stats:
13 |
14 | ```
15 | Stats {
16 | Matched: 6315 => 6326,
17 | Bad (required): 3719 => 3708,
18 | Bad (excess): 772,
19 | Bad (panic): 106 => 73,
20 | }
21 | ```
22 |
23 | This is the diff for [the commit used for previous status update](https://github.com/dudykr/stc/blob/e8cf60f9aa3fafb41cbf8261d6b82e60b4ce40f4/crates/stc_ts_type_checker/tests/tsc-stats.rust-debug) and [the last commit on 4/9](https://github.com/dudykr/stc/blob/82a663b6d6773023969416dcfe84de0cac5f5bd3/crates/stc_ts_type_checker/tests/tsc-stats.rust-debug).
24 | We fixed lots of excess errors, but the number regressed while fixing panics.
25 |
26 | ## Contributions
27 |
28 | 
29 |
30 | Thank you!
31 |
--------------------------------------------------------------------------------
/sites/stc/pages/blog/this-week-in-stc/week-22.mdx:
--------------------------------------------------------------------------------
1 | ---
2 | title: "This week in stc, 22"
3 | date: 2023/4/16
4 | description: "The status update for stc"
5 | author: kdy1
6 | ---
7 |
8 | This is the status update for [stc](https://github.com/dudykr/stc), the new TypeScript type checker written in Rust.
9 |
10 | ## TL;DR;
11 |
12 | Stats:
13 |
14 | ```
15 | Stats {
16 | Matched: 6326 => 6356,
17 | Bad (required): 3708 => 3678,
18 | Bad (excess): 772 => 744,
19 | Bad (panic): 73 => 72,
20 | }
21 | ```
22 |
23 | This is the diff for [the commit used for previous status update](https://github.com/dudykr/stc/blob/82a663b6d6773023969416dcfe84de0cac5f5bd3/crates/stc_ts_type_checker/tests/tsc-stats.rust-debug) and [the last commit on 4/16](https://github.com/dudykr/stc/blob/dce9791936c6488a187fc988d51361b327fe189d/crates/stc_ts_type_checker/tests/tsc-stats.rust-debug).
24 | I (`@kdy1`) was too busy because of swc, so I couldn't work on stc a lot.
25 |
26 | ## Contributions
27 |
28 | 
29 |
30 | Thank you!
31 |
--------------------------------------------------------------------------------
/sites/stc/pages/blog/this-week-in-stc/week-17.mdx:
--------------------------------------------------------------------------------
1 | ---
2 | title: "This week in stc, 17"
3 | date: 2023/3/12
4 | description: "The status update for stc"
5 | author: kdy1
6 | ---
7 |
8 | This is the status update for [stc](https://github.com/dudykr/stc), the new TypeScript type checker written in Rust.
9 |
10 | ## TL;DR;
11 |
12 | Stats:
13 |
14 | ```
15 | Stats {
16 | Matched: 6135 => 6161,
17 | Bad (required): 3866 => 3840,
18 | Bad (excess): 867 => 847,
19 | Bad (panic): 105 => 107,
20 | }
21 | ```
22 |
23 | This is the diff for [the commit used for previous status update](https://github.com/dudykr/stc/blob/1fa615e2f3dce751ba0b371ff5cb6122f306c254/crates/stc_ts_type_checker/tests/tsc-stats.rust-debug) and [the last commit on 3/12](https://github.com/dudykr/stc/blob/b918d5e0a9cf1a1b1d1cc6e1ff028ba40795817d/crates/stc_ts_type_checker/tests/tsc-stats.rust-debug).
24 |
25 | There was no many progress this work, but still some progress.
26 |
27 | ## Contributions
28 |
29 | 
30 |
31 | There were lots of contributors. Thank you!
32 |
--------------------------------------------------------------------------------
/sites/stc/pages/blog/this-week-in-stc/week-15.mdx:
--------------------------------------------------------------------------------
1 | ---
2 | title: "This week in stc, 15"
3 | date: 2023/2/26
4 | description: "The status update for stc"
5 | author: kdy1
6 | ---
7 |
8 | This is the status update for [stc](https://github.com/dudykr/stc), the new TypeScript type checker written in Rust.
9 |
10 | ## TL;DR;
11 |
12 | Stats:
13 |
14 | ```
15 | Stats {
16 | Matched: 5995 => 6023,
17 | Bad (required): 3753 => 3788,
18 | Bad (excess): 927 => 1105,
19 | Bad (panic): 228 => 100,
20 | }
21 | ```
22 |
23 | This is the diff for [the commit used for previous status update](https://github.com/dudykr/stc/blob/ad91d8ac2936f9befb8dbffb43a687b77402318c/crates/stc_ts_type_checker/tests/tsc-stats.rust-debug) and [the last commit on 2/26](https://github.com/dudykr/stc/blob/24599a0028bc1089a940a73df1049a2125cf8d12/crates/stc_ts_type_checker/tests/tsc-stats.rust-debug).
24 | Although I (@kdy1) went a vacation this week, there were many progress thanks to contributors.
25 |
26 | ## Contributions
27 |
28 | 
29 |
30 | There were lots of contributors. Thank you!
31 |
--------------------------------------------------------------------------------
/sites/stc/pages/blog/this-week-in-stc/week-4.mdx:
--------------------------------------------------------------------------------
1 | ---
2 | title: 'This week in stc, 4'
3 | date: 2022/12/04
4 | description: 'The status update for stc'
5 | author: kdy1
6 | ---
7 |
8 | This is the status update for [stc][], the new TypeScript type checker written in Rust.
9 |
10 | ## TL;DR;
11 |
12 | Stats:
13 |
14 | ```
15 | Stats {
16 | required_error: 4338 => 4301,
17 | matched_error: 5546 => 5583,
18 | extra_error: 991 => 869,
19 | panic: 74,
20 | }
21 | ```
22 |
23 | This is the diff for [the commit used for previous status update](https://github.com/dudykr/stc/blob/41b76af273b27a172b6f8e50d7ea36f1bf0eda46/crates/stc_ts_type_checker/tests/tsc-stats.rust-debug) and [the last commit on December, 4](https://github.com/dudykr/stc/blob/d8b1673e3f145af6a0cb3eb896b02a6798e87df5/crates/stc_ts_type_checker/tests/tsc-stats.rust-debug)
24 |
25 | ## Contributions
26 |
27 | 
28 |
29 |
30 | There were one contributor this week.
31 |
32 | ## Noticeable changes
33 |
34 | There was no noticable change this week.
35 | All PRs were steady jobs.
36 |
37 | [stc]: https://github.com/dudykr/stc
38 |
--------------------------------------------------------------------------------
/sites/stc/pages/blog/this-week-in-stc/week-5.mdx:
--------------------------------------------------------------------------------
1 | ---
2 | title: 'This week in stc, 5'
3 | date: 2022/12/11
4 | description: 'The status update for stc'
5 | author: kdy1
6 | ---
7 |
8 | This is the status update for [stc][], the new TypeScript type checker written in Rust.
9 |
10 | ## TL;DR;
11 |
12 | Stats:
13 |
14 | ```
15 | Stats {
16 | required_error: 4301 => 4294,
17 | matched_error: 5583 => 5590,
18 | extra_error: 869 => 817,
19 | panic: 74,
20 | }
21 | ```
22 |
23 | This is the diff for [the commit used for previous status update](https://github.com/dudykr/stc/blob/d8b1673e3f145af6a0cb3eb896b02a6798e87df5/crates/stc_ts_type_checker/tests/tsc-stats.rust-debug) and [the last commit on December, 11](https://github.com/dudykr/stc/blob/23dd114529f10c5d645887c055cd396d1bfe7b11/crates/stc_ts_type_checker/tests/tsc-stats.rust-debug)
24 |
25 | ## Contributions
26 |
27 | 
28 |
29 |
30 | There were two contributors this week.
31 |
32 | ## Noticeable changes
33 |
34 | There was no noticable change this week.
35 | All PRs were steady jobs.
36 |
37 | [stc]: https://github.com/dudykr/stc
38 |
--------------------------------------------------------------------------------
/sites/stc/pages/blog/this-week-in-stc/week-13.mdx:
--------------------------------------------------------------------------------
1 | ---
2 | title: "This week in stc, 13"
3 | date: 2023/2/12
4 | description: "The status update for stc"
5 | author: kdy1
6 | ---
7 |
8 | This is the status update for [stc](https://github.com/dudykr/stc), the new TypeScript type checker written in Rust.
9 |
10 | ## TL;DR;
11 |
12 | Stats:
13 |
14 | ```
15 | Stats {
16 | Matched: 5881 => 5912,
17 | Bad (required): 4193 => 4162,
18 | Bad (excess): 714 => 638,
19 | Bad (panic): 18,
20 | }
21 | ```
22 |
23 | This is the diff for [the commit used for previous status update](https://github.com/dudykr/stc/blob/8ea5b02590550cdd7d1e6cbf53a54bc719be99a2/crates/stc_ts_type_checker/tests/tsc-stats.rust-debug) and [the last commit on 2/12](https://github.com/dudykr/stc/blob/b5f1cf11908d89b2a82854249e6f296a0cb5109a/crates/stc_ts_type_checker/tests/tsc-stats.rust-debug).
24 |
25 | ## Contributions
26 |
27 | 
28 |
29 | There were so many contributions this week!
30 | Thank you, everyone!
31 |
32 | ## Noticable changes
33 |
34 | All works were about making stc more compatible with tsc, i.e. making type inference more correct.
35 |
--------------------------------------------------------------------------------
/sites/stc/pages/blog/this-week-in-stc/week-18.mdx:
--------------------------------------------------------------------------------
1 | ---
2 | title: "This week in stc, 18"
3 | date: 2023/3/19
4 | description: "The status update for stc"
5 | author: kdy1
6 | ---
7 |
8 | This is the status update for [stc](https://github.com/dudykr/stc), the new TypeScript type checker written in Rust.
9 |
10 | ## TL;DR;
11 |
12 | Stats:
13 |
14 | ```
15 | Stats {
16 | Matched: 6161 => 6248,
17 | Bad (required): 3840 => 3753,
18 | Bad (excess): 847 => 703,
19 | Bad (panic): 107 => 105,
20 | }
21 | ```
22 |
23 | This is the diff for [the commit used for previous status update](https://github.com/dudykr/stc/blob/b918d5e0a9cf1a1b1d1cc6e1ff028ba40795817d/crates/stc_ts_type_checker/tests/tsc-stats.rust-debug) and [the last commit on 3/19](https://github.com/dudykr/stc/blob/6e52c07298905c8507729b7500d6262c28ef6004/crates/stc_ts_type_checker/tests/tsc-stats.rust-debug).
24 |
25 | The stats were drastically improved mainly because there are so many rules that have already been implemented.
26 | **A test passes only when all relevant rules are implemented.**
27 |
28 | ## Contributions
29 |
30 | 
31 |
32 | Thank you all!
33 |
--------------------------------------------------------------------------------
/sites/stc/pages/blog/this-week-in-stc/week-3.mdx:
--------------------------------------------------------------------------------
1 | ---
2 | title: 'This week in stc, 3'
3 | date: 2022/11/27
4 | description: 'The status update for stc'
5 | author: kdy1
6 | ---
7 |
8 | This is the status update for [stc][], the new TypeScript type checker written in Rust.
9 |
10 | ## TL;DR;
11 |
12 | Stats:
13 |
14 | ```
15 | Stats {
16 | required_error: 4350 => 4338,
17 | matched_error: 5534 => 5546,
18 | extra_error: 1051 => 991,
19 | panic: 77 => 74,
20 | }
21 | ```
22 |
23 | This is the diff for [the commit used for previous status update](https://github.com/dudykr/stc/blob/c897b03cf317a385d5ff0d90a3cd52f399af0a3f/crates/stc_ts_type_checker/tests/tsc-stats.rust-debug) and [the last commit on November, 27](https://github.com/dudykr/stc/blob/41b76af273b27a172b6f8e50d7ea36f1bf0eda46/crates/stc_ts_type_checker/tests/tsc-stats.rust-debug)
24 |
25 | ## Contributions
26 |
27 | 
28 |
29 |
30 | There were one contributor this week.
31 | I took a vacation and I went on a trip, so I didn't have lots of time to do stc work.
32 |
33 | ## Noticeable changes
34 |
35 | There was no noticable change this week.
36 |
37 | [stc]: https://github.com/dudykr/stc
38 |
--------------------------------------------------------------------------------
/sites/stc/pages/blog/this-week-in-stc/week-14.mdx:
--------------------------------------------------------------------------------
1 | ---
2 | title: "This week in stc, 14"
3 | date: 2023/2/19
4 | description: "The status update for stc"
5 | author: kdy1
6 | ---
7 |
8 | This is the status update for [stc](https://github.com/dudykr/stc), the new TypeScript type checker written in Rust.
9 |
10 | ## TL;DR;
11 |
12 | Stats:
13 |
14 | ```
15 | Stats {
16 | Matched: 5912 => 5995,
17 | Bad (required): 4162 => 3753,
18 | Bad (excess): 638 => 927,
19 | Bad (panic): 18 => 228,
20 | }
21 | ```
22 |
23 | This is the diff for [the commit used for previous status update](https://github.com/dudykr/stc/blob/b5f1cf11908d89b2a82854249e6f296a0cb5109a/crates/stc_ts_type_checker/tests/tsc-stats.rust-debug) and [the last commit on 2/19](https://github.com/dudykr/stc/blob/ad91d8ac2936f9befb8dbffb43a687b77402318c/crates/stc_ts_type_checker/tests/tsc-stats.rust-debug).
24 | The `Bad (panic)` and `Bad (excess)` regressed because we enabled multi-file tests, but the loader for testing is not fully-featured and panics if it does not know how to load a depdendency.
25 |
26 | ## Contributions
27 |
28 | 
29 |
30 | Just like last week, there were lots of contributors. Thank you!
31 |
--------------------------------------------------------------------------------
/sites/stc/pages/blog/this-week-in-stc/week-20.mdx:
--------------------------------------------------------------------------------
1 | ---
2 | title: "This week in stc, 20"
3 | date: 2023/4/2
4 | description: "The status update for stc"
5 | author: kdy1
6 | ---
7 |
8 | This is the status update for [stc](https://github.com/dudykr/stc), the new TypeScript type checker written in Rust.
9 |
10 | ## TL;DR;
11 |
12 | Stats:
13 |
14 | ```
15 | Stats {
16 | Matched: 6295 => 6315,
17 | Bad (required): 3739 => 3719,
18 | Bad (excess): 820 => 772,
19 | Bad (panic): 107 => 106,
20 | }
21 | ```
22 |
23 | This is the diff for [the commit used for previous status update](https://github.com/dudykr/stc/blob/0cdf38b9358728c3ac592baf2bbedc31c507be6f/crates/stc_ts_type_checker/tests/tsc-stats.rust-debug) and [the last commit on 4/2](https://github.com/dudykr/stc/blob/e8cf60f9aa3fafb41cbf8261d6b82e60b4ce40f4/crates/stc_ts_type_checker/tests/tsc-stats.rust-debug).
24 |
25 | Although I (`@kdy1`) was very busy, I and the contributors managed to fix some bugs.
26 | Actually, I'm working on a new log viewer project for stc.
27 | It will take some time, but I'm sure that it will make the development of stc much easier.
28 |
29 | ## Contributions
30 |
31 | 
32 |
33 | Thank you!
34 |
--------------------------------------------------------------------------------
/sites/stc/pages/blog/this-week-in-stc/week-7.mdx:
--------------------------------------------------------------------------------
1 | ---
2 | title: 'This week in stc, 7'
3 | date: 2023/1/1
4 | description: 'The status update for stc'
5 | author: kdy1
6 | ---
7 |
8 | This is the status update for [stc][], the new TypeScript type checker written in Rust.
9 | Note that preivous status update was skipped, because I was too busy.
10 |
11 | ## TL;DR;
12 |
13 | Stats:
14 |
15 | ```
16 | Stats {
17 | required_error: 4270 => 4245,
18 | matched_error: 5614 => 5629,
19 | extra_error: 761 => 743,
20 | panic: 74 => 72,
21 | }
22 | ```
23 |
24 | Note: This is the change of two weeks.
25 |
26 | This is the diff for [the commit used for previous status update](https://github.com/dudykr/stc/blob/d6dc481fd29c9e6e93e268dbd4f11a7b3883a6d2/crates/stc_ts_type_checker/tests/tsc-stats.rust-debug) and [the last commit on 1/1](https://github.com/dudykr/stc/blob/977a433daae8d5dd51312e2c8921912008396b17/crates/stc_ts_type_checker/tests/tsc-stats.rust-debug)
27 |
28 | ## Contributions
29 |
30 | 
31 |
32 | There were more contributors previous week, but GitHub does not provide the data for the previous week.
33 | Thank you, everyone!
34 |
35 | ---
36 |
37 | [stc]: https://github.com/dudykr/stc
38 |
--------------------------------------------------------------------------------
/sites/stc/styles.css:
--------------------------------------------------------------------------------
1 | @tailwind utilities;
2 |
3 | .docs-search > span {
4 | width: 100%;
5 | }
6 |
7 | .algolia-autocomplete .algolia-docsearch-suggestion--category-header span {
8 | display: inline-block;
9 | }
10 | .algolia-autocomplete .ds-dropdown-menu {
11 | width: 500px;
12 | min-width: 300px;
13 | max-width: calc(100vw - 50px);
14 | }
15 |
16 | [data-reach-skip-link] {
17 | @apply sr-only;
18 | }
19 |
20 | [data-reach-skip-link]:focus {
21 | @apply not-sr-only fixed top-0 z-50 ml-6 mt-2 bg-white px-6 py-2 text-lg outline-none focus:ring;
22 | }
23 |
24 | code {
25 | @apply text-sm;
26 | }
27 |
28 | .prism-code.language-diff .inserted.prefix,
29 | .prism-code.language-diff .deleted.prefix {
30 | user-select: none;
31 | @apply opacity-30;
32 | }
33 |
34 | .prism-code.language-diff .inserted.line {
35 | @apply text-green-600;
36 | }
37 | .prism-code.language-diff .deleted.line {
38 | @apply text-red-600;
39 | }
40 |
41 | /* Hack to make the TOC links look better by adjusting kerning */
42 | article > main + div a.font-semibold {
43 | font-weight: 500;
44 | letter-spacing: -0.01rem;
45 | }
46 |
47 | .dark .invert-on-dark {
48 | filter: invert(1) brightness(1.8);
49 | }
50 |
51 | .dark .docs-container select {
52 | background: rgba(17, 17, 17, 1);
53 | }
54 |
--------------------------------------------------------------------------------
/sites/stc/pages/blog/this-week-in-stc/week-6.mdx:
--------------------------------------------------------------------------------
1 | ---
2 | title: 'This week in stc, 6'
3 | date: 2022/12/18
4 | description: 'The status update for stc'
5 | author: kdy1
6 | ---
7 |
8 | This is the status update for [stc][], the new TypeScript type checker written in Rust.
9 |
10 | ## TL;DR;
11 |
12 | Stats:
13 |
14 | ```
15 | Stats {
16 | required_error: 4294 => 4270,
17 | matched_error: 5590 => 5614,
18 | extra_error: 817 => 761,
19 | panic: 74,
20 | }
21 | ```
22 |
23 | This is the diff for [the commit used for previous status update](https://github.com/dudykr/stc/blob/23dd114529f10c5d645887c055cd396d1bfe7b11/crates/stc_ts_type_checker/tests/tsc-stats.rust-debug) and [the last commit on December, 11](https://github.com/dudykr/stc/blob/d6dc481fd29c9e6e93e268dbd4f11a7b3883a6d2/crates/stc_ts_type_checker/tests/tsc-stats.rust-debug)
24 |
25 | ## Contributions
26 |
27 | 
28 |
29 | There were lots of contributors this week.
30 | Thank you!
31 |
32 | ## Noticeable change
33 |
34 | There were no noticable change, but I'm working on [#414: Ignore wrong test refs](https://github.com/dudykr/stc/pull/414), which makes the testing system stricter. I expect a productivity boost from it.
35 |
36 | [stc]: https://github.com/dudykr/stc
37 |
--------------------------------------------------------------------------------
/sites/stc/pages/blog/this-week-in-stc/week-23.mdx:
--------------------------------------------------------------------------------
1 | ---
2 | title: "This week in stc, 23"
3 | date: 2023/4/16
4 | description: "The status update for stc"
5 | author: kdy1
6 | ---
7 |
8 | This is the status update for [stc](https://github.com/dudykr/stc), the new TypeScript type checker written in Rust.
9 |
10 | ## TL;DR;
11 |
12 | ```
13 | Stats {
14 | Matched: 6356 => 6377,
15 | Bad (required): 3678 => 3658,
16 | Bad (excess): 766,
17 | Bad (panic): 74,
18 | }
19 | ```
20 |
21 | This is the diff for [the commit used for previous status update](https://github.com/dudykr/stc/blob/dce9791936c6488a187fc988d51361b327fe189d/crates/stc_ts_type_checker/tests/tsc-stats.rust-debug) and [the last commit on 4/23](https://github.com/dudykr/stc/blob/18624b68e031b617b1e697705b1059273a6e7d8a/crates/stc_ts_type_checker/tests/tsc-stats.rust-debug).
22 | The stats regressed because we updated our test suite to match the latest version of TypeScript.
23 |
24 | # Noticable changes
25 |
26 | ## Language server
27 |
28 | 
29 |
30 | We are working on a language server for stc. It is still in early stage, and the main goal is to help us to debug the type checker.
31 |
32 | ## Contributions
33 |
34 | 
35 |
36 | Thank you!
37 |
--------------------------------------------------------------------------------
/sites/stc/pages/blog/this-week-in-stc/week-19.mdx:
--------------------------------------------------------------------------------
1 | ---
2 | title: "This week in stc, 19"
3 | date: 2023/3/26
4 | description: "The status update for stc"
5 | author: kdy1
6 | ---
7 |
8 | This is the status update for [stc](https://github.com/dudykr/stc), the new TypeScript type checker written in Rust.
9 |
10 | ## TL;DR;
11 |
12 | Stats:
13 |
14 | ```
15 | Stats {
16 | Matched: 6248 => 6295,
17 | Bad (required): 3753 => 3739,
18 | Bad (excess): 703 => 820,
19 | Bad (panic): 105 => 107,
20 | }
21 | ```
22 |
23 | This is the diff for [the commit used for previous status update](https://github.com/dudykr/stc/blob/6e52c07298905c8507729b7500d6262c28ef6004/crates/stc_ts_type_checker/tests/tsc-stats.rust-debug) and [the last commit on 3/26](https://github.com/dudykr/stc/blob/0cdf38b9358728c3ac592baf2bbedc31c507be6f/crates/stc_ts_type_checker/tests/tsc-stats.rust-debug).
24 |
25 | Stats regressed because we updated SWC and now the tests for auto-accoessors are marked as extra errors (`Unimplemented`).
26 |
27 | ## Noticable changes
28 |
29 | ### SWC update ([#846](https://github.com/dudykr/stc/pull/846))
30 |
31 | The previous version of SWC did not support auto-accoessors, but we updated SWC to the latest at the time of authoring PR and now it's parsed.
32 |
33 | ## Contributions
34 |
35 | 
36 |
37 | Thank you all!
38 |
--------------------------------------------------------------------------------
/sites/stc/pages/blog/this-week-in-stc/week-12.mdx:
--------------------------------------------------------------------------------
1 | ---
2 | title: "This week in stc, 12"
3 | date: 2023/2/5
4 | description: "The status update for stc"
5 | author: kdy1
6 | ---
7 |
8 | This is the status update for [stc][], the new TypeScript type checker written in Rust.
9 |
10 | ## TL;DR;
11 |
12 | Stats:
13 |
14 | ```
15 | Stats {
16 | Matched: 5891 => 5881,
17 | Bad (required): 4183 => 4193,
18 | Bad (excess): 825 => 714,
19 | Bad (panic): 18,
20 | }
21 | ```
22 |
23 | This is the diff for [the commit used for previous status update](https://github.com/dudykr/stc/blob/14d5ac24b3c4324d6384ae5d207f4fef9e3ae1fb/crates/stc_ts_type_checker/tests/tsc-stats.rust-debug) and [the last commit on 2/5](https://github.com/dudykr/stc/blob/8ea5b02590550cdd7d1e6cbf53a54bc719be99a2/crates/stc_ts_type_checker/tests/tsc-stats.rust-debug). I took vacation this week, so there was a lot of progress.
24 |
25 | ## Contributions
26 |
27 | 
28 |
29 | There was one contributor this week, but he's a long-term contributor and he contributed a lot of code. Thank you!
30 |
31 | ## Noticable changes
32 |
33 | ### Change of the testing strategy
34 |
35 | I'm working to split the official conformance test suite from `tsc` into smaller unit tests. Once it's finished, progress will be much faster.
36 |
37 | [stc]: https://github.com/dudykr/stc
38 |
--------------------------------------------------------------------------------
/sites/stc/pages/blog/this-week-in-stc/week-16.mdx:
--------------------------------------------------------------------------------
1 | ---
2 | title: "This week in stc, 16"
3 | date: 2023/3/5
4 | description: "The status update for stc"
5 | author: kdy1
6 | ---
7 |
8 | This is the status update for [stc](https://github.com/dudykr/stc), the new TypeScript type checker written in Rust.
9 |
10 | ## TL;DR;
11 |
12 | Stats:
13 |
14 | ```
15 | Stats {
16 | Matched: 6023 => 6135,
17 | Bad (required): 3788 => 3866,
18 | Bad (excess): 1105 => 867,
19 | Bad (panic): 100 => 105,
20 | }
21 | ```
22 |
23 | This is the diff for [the commit used for previous status update](https://github.com/dudykr/stc/blob/24599a0028bc1089a940a73df1049a2125cf8d12/crates/stc_ts_type_checker/tests/tsc-stats.rust-debug) and [the last commit on 3/5](https://github.com/dudykr/stc/blob/1fa615e2f3dce751ba0b371ff5cb6122f306c254/crates/stc_ts_type_checker/tests/tsc-stats.rust-debug).
24 |
25 |
26 | ## Noticable changes
27 |
28 | ### Test suite update ([#785](https://github.com/dudykr/stc/pull/785))
29 |
30 | We update the test suite to the latest version, and that's why all numbers in the stats got bigger.
31 |
32 | ### Lots of refactoring
33 |
34 | We did lots of refactoring this week, to make the further development easier.
35 |
36 |
37 | ## Contributions
38 |
39 | 
40 |
41 | There were lots of contributors. Thank you!
42 |
43 |
44 |
--------------------------------------------------------------------------------
/sites/stc/pages/blog/this-week-in-stc/week-10.mdx:
--------------------------------------------------------------------------------
1 | ---
2 | title: 'This week in stc, 10'
3 | date: 2023/1/22
4 | description: 'The status update for stc'
5 | author: kdy1
6 | ---
7 |
8 | This is the status update for [stc][], the new TypeScript type checker written in Rust.
9 |
10 | ## TL;DR;
11 |
12 | Stats:
13 |
14 | ```
15 | Stats {
16 | required_error: 4291 => 4248,
17 | matched_error: 5814 => 5826,
18 | extra_error: 1118 => 929,
19 | panic: 29 => 20,
20 | }
21 | ```
22 |
23 | This is the diff for [the commit used for previous status update](https://github.com/dudykr/stc/blob/fcf2e3c58eca78aa46fdbe4c16435225b9a2a663/crates/stc_ts_type_checker/tests/tsc-stats.rust-debug) and [the last commit on 1/22](https://github.com/dudykr/stc/blob/5442585ceda0487cb40307a24523b0c96d833d8e/crates/stc_ts_type_checker/tests/tsc-stats.rust-debug).
24 | We changed the way we count the number of errors to make it represent the actual progress more closely.
25 |
26 | ## Contributions
27 |
28 | 
29 |
30 | There were lots of Contributions this week.
31 | Thank you!
32 |
33 | ## Noticable changes
34 |
35 | ### builtin update ([#528](https://github.com/dudykr/stc/pull/528))
36 |
37 | We updated the builtin types to the latest version.
38 |
39 | ### `csstype` ([#521](https://github.com/dudykr/stc/pull/521))
40 |
41 | `stc` now can process `csstype` package without a false positive.
42 |
43 | ---
44 |
45 | [stc]: https://github.com/dudykr/stc
46 |
--------------------------------------------------------------------------------
/sites/stc/pages/docs/roadmap.mdx:
--------------------------------------------------------------------------------
1 | # Roadmap to the alpha
2 |
3 | `(*)` in title means it's subject to change.
4 |
5 |
6 | ## Goals regarding `tsc`
7 |
8 | As there's no specification of TypeScript, the stc team will treat `tsc` as the specification.
9 | It means if the behavior of `tsc` and `stc` is different, `stc` will be fixed to match `tsc`, unless explicitly stated in this document.
10 |
11 | ## Plans
12 |
13 | ### A new language server
14 |
15 | This is the primary goal, and once this is ready, the alpha will be released.
16 |
17 | For this,
18 |
19 | - the inference of types should be correct
20 | - there should be no false-positive errors
21 | - typings should be loaded correctly
22 |
23 | ### Only `isolatedModules: true`
24 |
25 | Ref: https://www.typescriptlang.org/tsconfig#isolatedModules
26 |
27 | This is required for proper parallelization. `const enums` are fine if they are imported using module syntax, but **TypeScript namespaces cannot be analyzed in parallel**.
28 |
29 | ### Better error message
30 |
31 | ### Better language server
32 |
33 | ### (*) A compiler for typings
34 |
35 | - This is subject to change.
36 |
37 | Many typing packages, including `@types/node`, cannot be analyzed in parallel because they use `namespace` and globals.
38 | So we can use only one thread for each typing package.
39 | But actually, this operation is easily cachable, and I expect the effect of caching to be significant.
40 | So I think it's worth it to provide a pre-compile API for typing packages.
--------------------------------------------------------------------------------
/sites/stc/pages/blog/this-week-in-stc/week-9.mdx:
--------------------------------------------------------------------------------
1 | ---
2 | title: 'This week in stc, 9'
3 | date: 2023/1/15
4 | description: 'The status update for stc'
5 | author: kdy1
6 | ---
7 |
8 | This is the status update for [stc][], the new TypeScript type checker written in Rust.
9 |
10 | ## TL;DR;
11 |
12 | Stats:
13 |
14 | ```
15 | Stats {
16 | required_error: 4237 => 4291,
17 | matched_error: 5647 => 5814,
18 | extra_error: 735 => 1118,
19 | panic: 71 => 29,
20 | }
21 | ```
22 |
23 | This is the diff for [the commit used for previous status update](https://github.com/dudykr/stc/blob/b021e8958481fedb12c648f070963b59ccb28128/crates/stc_ts_type_checker/tests/tsc-stats.rust-debug) and [the last commit on 1/15](https://github.com/dudykr/stc/blob/fcf2e3c58eca78aa46fdbe4c16435225b9a2a663/crates/stc_ts_type_checker/tests/tsc-stats.rust-debug).
24 | We changed the way we count the number of errors to make it represent the actual progress more closely.
25 |
26 | ## Contributions
27 |
28 | 
29 |
30 | There were lots of Contributions this week.
31 | Thank you!
32 |
33 | ## Noticable changes
34 |
35 | ### Change the way we count errors ([#487](https://github.com/dudykr/stc/pull/487))
36 |
37 | There are matrix tests in the test suite of `tsc`.
38 | Those tests have one input, but have multiple results, depending on the directives like `@target: es5, es2015, esnext`.
39 | Previously, we counted them as one test.
40 | But we now count the matrix tests, which has multiple result, once per the result.
41 | That's the main reason why the number of `extra_error` increased.
42 |
43 |
44 | ### Remove panic ([#468](https://github.com/dudykr/stc/pull/468), [#493](https://github.com/dudykr/stc/pull/493))
45 |
46 | We replaced `panic!` calls with `Unimplemented` errors to make the stats more accurate.
47 |
48 |
49 |
50 | ---
51 |
52 | [stc]: https://github.com/dudykr/stc
53 |
--------------------------------------------------------------------------------
/sites/stc/theme.config.js:
--------------------------------------------------------------------------------
1 | import { useConfig } from "nextra-theme-docs";
2 |
3 | const Head = () => {
4 | const { frontMatter, title } = useConfig();
5 | return (
6 | <>
7 |
8 | {/* Favicons, meta */}
9 |
14 |
20 |
26 |
27 |
32 |
33 |
34 |
35 |
36 |
43 |
50 |
51 |
52 |
53 |
57 |
58 |
59 |
60 |
66 | >
67 | );
68 | };
69 | /** @type import('nextra-theme-docs').DocsThemeConfig */
70 | export default {
71 | project: {
72 | link: "https://github.com/dudykr/stc",
73 | },
74 | editLink: {
75 | text: "Edit this page on GitHub",
76 | },
77 | docsRepositoryBase: "https://github.com/dudykr/oss-docs/blob/main",
78 | useNextSeoProps() {
79 | return {
80 | titleTemplate: "%s – stc",
81 | };
82 | },
83 | toc: {
84 | float: true,
85 | },
86 | head: