Browse Source

Merge pull request #1065 from alexkrolick/kick-deploy

fix netlify (?)
main
Alex Krolick 7 years ago
committed by GitHub
parent
commit
1863317a66
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 20
      package.json
  2. 4
      src/pages/docs/error-decoder.html.js
  3. 4
      src/templates/blog.js
  4. 4
      src/templates/community.js
  5. 4
      src/templates/docs.js
  6. 4
      src/templates/tutorial.js
  7. 20
      src/utils/sectionList.js
  8. 3260
      yarn.lock

20
package.json

@ -6,12 +6,6 @@
"bugs": { "bugs": {
"url": "https://github.com/reactjs/reactjs.org" "url": "https://github.com/reactjs/reactjs.org"
}, },
"resolutions": {
"gatsby/graphql": "0.10.5",
"gatsby/react": "16.0.0",
"gatsby/react-dom": "16.0.0",
"eslint-plugin-relay/graphql": "0.10.5"
},
"dependencies": { "dependencies": {
"array-from": "^2.1.1", "array-from": "^2.1.1",
"babel-eslint": "^8.0.1", "babel-eslint": "^8.0.1",
@ -25,30 +19,30 @@
"eslint-plugin-react": "^7.4.0", "eslint-plugin-react": "^7.4.0",
"eslint-plugin-relay": "^0.0.19", "eslint-plugin-relay": "^0.0.19",
"flow-bin": "^0.56.0", "flow-bin": "^0.56.0",
"gatsby": "^1.9.181", "gatsby": "^1.9.273",
"gatsby-link": "^1.6.9", "gatsby-link": "^1.6.9",
"gatsby-plugin-catch-links": "^1.0.9", "gatsby-plugin-catch-links": "^1.0.9",
"gatsby-plugin-feed": "^1.3.9", "gatsby-plugin-feed": "^1.3.9",
"gatsby-plugin-glamor": "^1.6.4", "gatsby-plugin-glamor": "^1.6.4",
"gatsby-plugin-google-analytics": "^1.0.4", "gatsby-plugin-google-analytics": "^1.0.4",
"gatsby-plugin-manifest": "^1.0.4", "gatsby-plugin-manifest": "^1.0.4",
"gatsby-plugin-netlify": "^1.0.4", "gatsby-plugin-netlify": "^1.0.21",
"gatsby-plugin-nprogress": "^1.0.7", "gatsby-plugin-nprogress": "^1.0.7",
"gatsby-plugin-react-helmet": "^1.0.3", "gatsby-plugin-react-helmet": "^1.0.3",
"gatsby-plugin-react-next": "^1.0.3", "gatsby-plugin-react-next": "^1.0.3",
"gatsby-plugin-sharp": "^1.6.2", "gatsby-plugin-sharp": "^1.6.48",
"gatsby-plugin-twitter": "^1.0.10", "gatsby-plugin-twitter": "^1.0.10",
"gatsby-remark-autolink-headers": "^1.4.4", "gatsby-remark-autolink-headers": "^1.4.4",
"gatsby-remark-code-repls": "^1.0.2", "gatsby-remark-code-repls": "^1.0.2",
"gatsby-remark-copy-linked-files": "^1.5.2", "gatsby-remark-copy-linked-files": "^1.5.2",
"gatsby-remark-embed-snippet": "^1.0.22", "gatsby-remark-embed-snippet": "^1.0.22",
"gatsby-remark-images": "^1.5.11", "gatsby-remark-images": "^1.5.67",
"gatsby-remark-prismjs": "^1.2.24", "gatsby-remark-prismjs": "^1.2.24",
"gatsby-remark-responsive-iframe": "^1.4.3", "gatsby-remark-responsive-iframe": "^1.4.3",
"gatsby-remark-smartypants": "^1.4.3", "gatsby-remark-smartypants": "^1.4.3",
"gatsby-source-filesystem": "^1.4.4", "gatsby-source-filesystem": "^1.4.4",
"gatsby-transformer-remark": "^1.7.2", "gatsby-transformer-remark": "^1.7.44",
"gatsby-transformer-sharp": "^1.6.1", "gatsby-transformer-sharp": "^1.6.27",
"glamor": "^2.20.40", "glamor": "^2.20.40",
"hex2rgba": "^0.0.1", "hex2rgba": "^0.0.1",
"prettier": "^1.7.4", "prettier": "^1.7.4",
@ -84,7 +78,7 @@
"format:source": "prettier --config .prettierrc --write \"{gatsby-*.js,{flow-typed,plugins,src}/**/*.js}\"", "format:source": "prettier --config .prettierrc --write \"{gatsby-*.js,{flow-typed,plugins,src}/**/*.js}\"",
"format:examples": "prettier --config .prettierrc.examples --write \"examples/**/*.js\"", "format:examples": "prettier --config .prettierrc.examples --write \"examples/**/*.js\"",
"lint": "eslint .", "lint": "eslint .",
"netlify": "yarn install && yarn build", "netlify": "rimraf node_modules && yarn install --frozen-lockfile --check-files && yarn build",
"nit:source": "prettier --config .prettierrc --list-different \"{gatsby-*.js,{flow-typed,plugins,src}/**/*.js}\"", "nit:source": "prettier --config .prettierrc --list-different \"{gatsby-*.js,{flow-typed,plugins,src}/**/*.js}\"",
"nit:examples": "prettier --config .prettierrc.examples --list-different \"examples/**/*.js\"", "nit:examples": "prettier --config .prettierrc.examples --list-different \"examples/**/*.js\"",
"prettier": "yarn format:source && yarn format:examples", "prettier": "yarn format:source && yarn format:examples",

4
src/pages/docs/error-decoder.html.js

@ -104,7 +104,9 @@ export const pageQuery = graphql`
markdownRemark(fields: {slug: {eq: $slug}}) { markdownRemark(fields: {slug: {eq: $slug}}) {
html html
fields { fields {
path path {
id
}
} }
frontmatter { frontmatter {
title title

4
src/templates/blog.js

@ -60,7 +60,9 @@ export const pageQuery = graphql`
} }
fields { fields {
date(formatString: "MMMM DD, YYYY") date(formatString: "MMMM DD, YYYY")
path path {
id
}
slug slug
} }
} }

4
src/templates/community.js

@ -35,7 +35,9 @@ export const pageQuery = graphql`
prev prev
} }
fields { fields {
path path {
id
}
slug slug
} }
} }

4
src/templates/docs.js

@ -35,7 +35,9 @@ export const pageQuery = graphql`
prev prev
} }
fields { fields {
path path {
id
}
slug slug
} }
} }

4
src/templates/tutorial.js

@ -47,7 +47,9 @@ export const pageQuery = graphql`
prev prev
} }
fields { fields {
path path {
id
}
slug slug
} }
} }

20
src/utils/sectionList.js

@ -12,15 +12,19 @@ import navDocs from '../../content/docs/nav.yml';
// $FlowExpectedError // $FlowExpectedError
import navTutorial from '../../content/tutorial/nav.yml'; import navTutorial from '../../content/tutorial/nav.yml';
const sectionListDocs = navDocs.map((item: Object): Object => ({ const sectionListDocs = navDocs.map(
...item, (item: Object): Object => ({
directory: 'docs', ...item,
})); directory: 'docs',
}),
);
const sectionListCommunity = navCommunity.map((item: Object): Object => ({ const sectionListCommunity = navCommunity.map(
...item, (item: Object): Object => ({
directory: 'community', ...item,
})); directory: 'community',
}),
);
export { export {
sectionListCommunity, sectionListCommunity,

3260
yarn.lock

File diff suppressed because it is too large
Loading…
Cancel
Save