Skip to content

Commit b8cf487

Browse files
committed
More work
1 parent 9405623 commit b8cf487

File tree

8 files changed

+1340
-1455
lines changed

8 files changed

+1340
-1455
lines changed

packages/playground/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"devDependencies": {
1414
"@types/react": "^16.8.15",
1515
"@types/react-dom": "^16.8.4",
16-
"parcel": "^1.12.3",
16+
"parcel": "^1.12.4",
1717
"typescript": "^3.4.5"
1818
}
1919
}

packages/sandbox/package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,16 @@
2222
}
2323
},
2424
"devDependencies": {
25-
"@types/jest": "^24.0.17",
26-
"@types/react": "^16.9.2",
27-
"@types/react-dom": "^16.8.5",
28-
"husky": "^3.0.4",
25+
"@types/jest": "^24.0.18",
26+
"@types/react": "^16.9.5",
27+
"@types/react-dom": "^16.9.1",
28+
"husky": "^3.0.8",
2929
"prettier": "^1.18.2",
3030
"pretty-quick": "^1.11.1",
31-
"react": "^16.9.0",
32-
"react-dom": "^16.9.0",
33-
"tsdx": "^0.8.0",
31+
"react": "^16.10.2",
32+
"react-dom": "^16.10.2",
33+
"tsdx": "^0.9.3",
3434
"tslib": "^1.10.0",
35-
"typescript": "^3.5.3"
35+
"typescript": "^3.6.3"
3636
}
3737
}

packages/typescriptlang-org/package.json

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
"serve": "gatsby serve"
1313
},
1414
"dependencies": {
15-
"@uifabric/fluent-theme": "^0.16.7",
16-
"@uifabric/react-cards": "^0.107.6",
17-
"gatsby": "^2.4.0",
15+
"@uifabric/fluent-theme": "^7.1.4",
16+
"@uifabric/react-cards": "^0.108.2",
17+
"gatsby": "^2.15.29",
1818
"gatsby-plugin-codegen": "^1.0.4",
1919
"gatsby-plugin-sharp": "^2.2.28",
2020
"gatsby-remark-copy-linked-files": "^2.1.24",
@@ -24,16 +24,17 @@
2424
"gatsby-remark-smartypants": "^2.1.11",
2525
"gatsby-source-filesystem": "^2.1.29",
2626
"gatsby-transformer-remark": "^2.6.27",
27-
"office-ui-fabric-react": "^6.176.0",
27+
"office-ui-fabric-react": "^7.45.0",
2828
"prismjs": "^1.17.1",
29-
"react": "^16.8.6",
30-
"react-dom": "^16.8.6",
29+
"react": "^16.10.2",
30+
"react-dom": "^16.10.2",
3131
"ts-node": "^8.4.1"
3232
},
3333
"devDependencies": {
34-
"@types/react": "^16.9.2",
35-
"@types/react-dom": "^16.8.5",
36-
"gatsby-plugin-typescript": "^2.0.13",
34+
"@types/react": "^16.9.5",
35+
"@types/react-dom": "^16.9.1",
36+
"concurrently": "^5.0.0",
37+
"gatsby-plugin-typescript": "^2.1.11",
3738
"prettier": "^1.17.0"
3839
},
3940
"repository": {

packages/typescriptlang-org/src/components/layout.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ export class Layout extends React.Component<any> {
3333
return (
3434
<div
3535
style={{
36+
backgroundColor: "#E5E5E5",
3637
marginLeft: `auto`,
3738
marginRight: `auto`,
3839
}}

packages/typescriptlang-org/src/pages/index.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
color: white;
2020
}
2121

22-
.App-link {
23-
color: #61dafb;
22+
html {
23+
background-color: #E5E5E5;
2424
}
2525

2626
body,
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
1-
// These reflect a
2-
const redirects = {
1+
// These are redirects from a very long time ago
2+
export const redirects = {
33
"Playground": "play",
44
"Tutorial": "unsure",
55
"Handbook": "docs/handbook"
66
}
7-
8-
module.exports = {
9-
redirects
10-
}
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
const { redirects } = require("./oldestRedirects")
22

3+
import {NodePluginArgs} from "gatsby"
34

4-
/**
5-
* Whoah yeah!
6-
* @param { import("gatsby").NodePluginArgs["actions"]["createRedirect"]} createRedirect
7-
*/
8-
const setupRedirects = (createRedirect) => {
5+
6+
export const setupRedirects = (createRedirect: NodePluginArgs["actions"]["createRedirect"] ) => {
97
const fromArray = Object.keys(redirects)
108
fromArray.forEach(from => {
119
const to = redirects[from]
@@ -16,7 +14,3 @@ const setupRedirects = (createRedirect) => {
1614
})
1715
});
1816
}
19-
20-
module.exports = {
21-
setupRedirects
22-
}

0 commit comments

Comments
 (0)