Skip to content

Commit 56a7047

Browse files
committed
Merge branch 'main' into pr/Valtory/604
2 parents 4376d04 + d726fe2 commit 56a7047

File tree

450 files changed

+32030
-30185
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

450 files changed

+32030
-30185
lines changed

README.md

Lines changed: 1 addition & 1 deletion

TRANSLATION.md

Lines changed: 1 addition & 0 deletions

beta/next.config.js

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
* Copyright (c) Facebook, Inc. and its affiliates.
33
*/
44

5-
const redirects = require('./src/redirects.json');
6-
75
/**
86
* @type {import('next').NextConfig}
97
**/
@@ -19,19 +17,6 @@ const nextConfig = {
1917
env: {
2018
SANDPACK_BARE_COMPONENTS: process.env.SANDPACK_BARE_COMPONENTS,
2119
},
22-
async redirects() {
23-
return redirects.redirects;
24-
},
25-
// TODO: this causes extra router.replace() on every page.
26-
// Let's disable until we figure out what's going on.
27-
// rewrites() {
28-
// return [
29-
// {
30-
// source: '/feed.xml',
31-
// destination: '/_next/static/feed.xml',
32-
// },
33-
// ];
34-
// },
3520
webpack: (config, {dev, isServer, ...options}) => {
3621
if (process.env.ANALYZE) {
3722
const {BundleAnalyzerPlugin} = require('webpack-bundle-analyzer');

beta/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"scripts": {
77
"analyze": "ANALYZE=true next build",
88
"dev": "next-remote-watch ./src/content",
9-
"build": "next build && node ./scripts/generateRSS.js && node ./scripts/generateRedirects.js && node ./scripts/downloadFonts.js",
9+
"build": "next build && node ./scripts/downloadFonts.js",
1010
"lint": "next lint",
1111
"lint:fix": "next lint --fix",
1212
"format:source": "prettier --config .prettierrc --write \"{plugins,src}/**/*.{js,ts,jsx,tsx,css}\"",
@@ -67,7 +67,7 @@
6767
"eslint-plugin-import": "2.x",
6868
"eslint-plugin-jsx-a11y": "6.x",
6969
"eslint-plugin-react": "7.x",
70-
"eslint-plugin-react-hooks": "experimental",
70+
"eslint-plugin-react-hooks": "^0.0.0-experimental-fabef7a6b-20221215",
7171
"fs-extra": "^9.0.1",
7272
"globby": "^11.0.1",
7373
"gray-matter": "^4.0.2",
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
diff --git a/node_modules/@codemirror/lang-javascript/dist/index.cjs b/node_modules/@codemirror/lang-javascript/dist/index.cjs
2+
index 4475e4f..e1255c9 100644
3+
--- a/node_modules/@codemirror/lang-javascript/dist/index.cjs
4+
+++ b/node_modules/@codemirror/lang-javascript/dist/index.cjs
5+
@@ -135,7 +135,9 @@ const javascriptLanguage = language.LRLanguage.define({
6+
JSXText: highlight.tags.content,
7+
"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag": highlight.tags.angleBracket,
8+
"JSXIdentifier JSXNameSpacedName": highlight.tags.tagName,
9+
- "JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName": highlight.tags.attributeName
10+
+ "JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName": highlight.tags.attributeName,
11+
+ "JSXAttribute/JSXLowerIdentifier JSXAttribute/JSXNameSpacedName": highlight.tags.attributeName,
12+
+ "JSXBuiltin/JSXIdentifier": highlight.tags.standard(highlight.tags.tagName)
13+
})
14+
]
15+
}),
16+
diff --git a/node_modules/@codemirror/lang-javascript/dist/index.js b/node_modules/@codemirror/lang-javascript/dist/index.js
17+
index d089f6b..db09ea6 100644
18+
--- a/node_modules/@codemirror/lang-javascript/dist/index.js
19+
+++ b/node_modules/@codemirror/lang-javascript/dist/index.js
20+
@@ -131,7 +131,9 @@ const javascriptLanguage = /*@__PURE__*/LRLanguage.define({
21+
JSXText: tags.content,
22+
"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag": tags.angleBracket,
23+
"JSXIdentifier JSXNameSpacedName": tags.tagName,
24+
- "JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName": tags.attributeName
25+
+ "JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName": tags.attributeName,
26+
+ "JSXAttribute/JSXLowerIdentifier JSXAttribute/JSXNameSpacedName": tags.attributeName,
27+
+ "JSXBuiltin/JSXIdentifier": tags.standard(tags.tagName),
28+
})
29+
]
30+
}),

beta/patches/@codesandbox+sandpack-react+1.15.5.patch

Lines changed: 26 additions & 0 deletions
Large diffs are not rendered by default.

beta/patches/@lezer+javascript+0.15.2.patch

Lines changed: 345 additions & 0 deletions
Large diffs are not rendered by default.

beta/public/images/og-blog.png

302 KB

beta/public/images/og-community.png

304 KB

beta/public/images/og-home.png

294 KB

beta/public/images/og-learn.png

303 KB

beta/public/images/og-reference.png

613 KB

beta/public/images/og-unknown.png

294 KB

beta/public/images/team/acdlite.jpg

-348 KB

beta/public/images/team/bvaughn.jpg

-388 KB
Binary file not shown.

beta/public/images/team/gaearon.jpg

-350 KB

beta/public/images/team/huxpro.jpg

-340 KB
Binary file not shown.
232 KB

beta/public/images/team/joe.jpg

90.2 KB

beta/public/images/team/josh.jpg

121 KB

beta/public/images/team/lauren.jpg

147 KB

beta/public/images/team/lunaruan.jpg

-256 KB
2.26 MB

beta/public/images/team/necolas.jpg

-378 KB
Binary file not shown.
-162 KB

beta/public/images/team/rnabors.jpg

-302 KB
Binary file not shown.

beta/public/images/team/salazarm.jpeg

-75.2 KB
Binary file not shown.

beta/public/images/team/sam.jpg

99.9 KB

beta/public/images/team/sathya.jpg

69.2 KB
-137 KB
160 KB
167 KB
-503 KB
Binary file not shown.

beta/public/images/team/tianyu.jpg

51.4 KB

beta/public/images/team/trueadm.jpg

-64.1 KB
Binary file not shown.
-23.4 KB
Binary file not shown.
3.96 KB
18.7 KB
-10.9 KB
Binary file not shown.
-16.4 KB
Binary file not shown.
2.53 KB

beta/scripts/generateBlogIndex.js

Lines changed: 0 additions & 69 deletions
This file was deleted.

beta/scripts/generateRSS.js

Lines changed: 0 additions & 46 deletions
This file was deleted.

beta/scripts/generateRedirects.js

Lines changed: 0 additions & 81 deletions
This file was deleted.

beta/scripts/migrations/migrateBlogPosts.js

Lines changed: 0 additions & 50 deletions
This file was deleted.

beta/scripts/migrations/migratePermalinks.js

Lines changed: 0 additions & 35 deletions
This file was deleted.

0 commit comments

Comments
 (0)