Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit b2d3443

Browse files
committed
Change package names for publishing
1 parent 7ca4b62 commit b2d3443

File tree

18 files changed

+29
-48
lines changed

18 files changed

+29
-48
lines changed

‎packages/gatsby-theme-apollo-core/package.json‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
{
2-
"name": "gatsby-theme-apollo-core",
2+
"name": "gatsby-theme-guide-core",
33
"version": "3.0.26",
44
"main": "index.js",
5-
"description": "A theme for bootstrapping Gatsby websites at Apollo",
6-
"author": "Trevor Blades <blades@apollographql.com>",
5+
"description": "A theme for The GraphQL Guide (a fork of gatsby-theme-apollo-core)",
76
"license": "MIT",
87
"repository": {
98
"type": "git",
10-
"url": "https://github.com/apollographql/gatsby-theme-apollo.git",
9+
"url": "https://github.com/graphqlguide/gatsby-theme-apollo.git",
1110
"directory": "packages/gatsby-theme-apollo-core"
1211
},
1312
"dependencies": {

‎packages/gatsby-theme-apollo-docs/gatsby-config.js‎

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const path = require('path');
22
const remarkTypescript = require('remark-typescript');
3-
const {colors} = require('gatsby-theme-apollo-core/src/utils/colors');
3+
const {colors} = require('gatsby-theme-guide-core/src/utils/colors');
44
const {HEADER_HEIGHT} = require('./src/utils');
55

66
module.exports = ({
@@ -116,23 +116,15 @@ module.exports = ({
116116
}
117117
},
118118
'gatsby-remark-rewrite-relative-links',
119-
{
120-
resolve: 'gatsby-remark-check-links',
121-
options: checkLinksOptions
122-
},
123-
124119
// {
125-
// resolve: 'gatsby-remark-link-rewrite',
126-
// options: {
127-
// pattern: /\.md/,
128-
// replace: '',
129-
// },
120+
// resolve: 'gatsby-remark-check-links',
121+
// options: checkLinksOptions
130122
// },
131123
...gatsbyRemarkPlugins
132124
];
133125

134126
const plugins = [
135-
'gatsby-theme-apollo-core',
127+
'gatsby-theme-guide-core',
136128
{
137129
resolve: 'gatsby-source-filesystem',
138130
options: {

‎packages/gatsby-theme-apollo-docs/gatsby-ssr.js‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ const noLayout = (path) =>
4848
NO_LAYOUT_PATHS.includes(path) ||
4949
NO_LAYOUT_PREFIXES.some((prefix) => path.startsWith(prefix))
5050

51-
5251
const PINK = '#df1797'
5352
// const PINK = '#e10098'
5453

@@ -57,7 +56,6 @@ const theme = createMuiTheme({
5756
typography: { useNextVariants: true },
5857
})
5958

60-
6159
export const wrapPageElement = (
6260
{element, props}, // eslint-disable-line react/prop-types
6361
pluginOptions
@@ -70,6 +68,7 @@ export const wrapPageElement = (
7068
</MuiThemeProvider>
7169
)
7270

71+
console.log('PATH', props.path)
7372
if (noLayout(props.path)) {
7473
return <WithGuideCSS>{page}</WithGuideCSS>
7574
}

‎packages/gatsby-theme-apollo-docs/package.json‎

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,14 @@
11
{
2-
"name": "gatsby-theme-apollo-docs",
3-
"version": "4.7.0",
2+
"name": "gatsby-theme-guide",
3+
"version": "4.7.3",
44
"main": "index.js",
5-
"description": "A Gatsby theme for building documentation websites",
6-
"author": "Trevor Blades <blades@apollographql.com>",
5+
"description": "A Gatsby theme for The GraphQL Guide (a fork of gatsby-theme-apollo-docs)",
76
"license": "MIT",
87
"repository": {
98
"type": "git",
10-
"url": "https://github.com/apollographql/gatsby-theme-apollo.git",
9+
"url": "https://github.com/graphqlguide/gatsby-theme-apollo.git",
1110
"directory": "packages/gatsby-theme-apollo-docs"
1211
},
13-
"keywords": [
14-
"gatsby",
15-
"gatsby-plugin",
16-
"apollo",
17-
"docs",
18-
"theme"
19-
],
2012
"dependencies": {
2113
"@jlengstorf/get-share-image": "^0.8.0",
2214
"@mdx-js/mdx": "^1.1.0",
@@ -35,6 +27,7 @@
3527
"gatsby-remark-rewrite-relative-links": "^1.0.8",
3628
"gatsby-source-filesystem": "^2.11.1",
3729
"gatsby-source-git": "^1.0.1",
30+
"gatsby-theme-guide-core": "^3.0.26",
3831
"gatsby-transformer-remark": "^2.6.30",
3932
"js-yaml": "^3.13.1",
4033
"prismjs": "^1.15.0",
@@ -55,8 +48,6 @@
5548
"peerDependencies": {
5649
"gatsby": "^2.13.80",
5750
"react": "^16.9.0",
58-
"react-dom": "^16.9.0",
59-
"gatsby-theme-apollo-core": "^3.0.26"
60-
},
61-
"gitHead": "4d272dbde806f86aa98b4d8ee901336eed6101ae"
51+
"react-dom": "^16.9.0"
52+
}
6253
}

‎packages/gatsby-theme-apollo-docs/src/components/code-block.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {
88
MultiCodeBlockContext
99
} from './multi-code-block';
1010
import {Select} from './select';
11-
import {colors} from 'gatsby-theme-apollo-core';
11+
import {colors} from 'gatsby-theme-guide-core';
1212
import {trackCustomEvent} from '../utils';
1313

1414
const Container = styled.div({

‎packages/gatsby-theme-apollo-docs/src/components/custom-seo.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import PropTypes from 'prop-types';
22
import React from 'react';
3-
import {SEO} from 'gatsby-theme-apollo-core';
3+
import {SEO} from 'gatsby-theme-guide-core';
44

55
export default function CustomSEO({image, twitterHandle, ...props}) {
66
return (

‎packages/gatsby-theme-apollo-docs/src/components/docset-switcher.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {IconTwitter} from '@apollo/space-kit/icons/IconTwitter';
77
import {IconYoutube} from '@apollo/space-kit/icons/IconYoutube';
88
import {ReactComponent as SpectrumIcon} from '../assets/spectrum.svg';
99
import {boxShadow} from './search';
10-
import {breakpoints, colors, smallCaps} from 'gatsby-theme-apollo-core';
10+
import {breakpoints, colors, smallCaps} from 'gatsby-theme-guide-core';
1111
import {size, transparentize} from 'polished';
1212

1313
const Wrapper = styled.div({

‎packages/gatsby-theme-apollo-docs/src/components/expansion-panel.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import styled from '@emotion/styled';
44
import {IconArrowDown} from '@apollo/space-kit/icons/IconArrowDown';
55
import {IconArrowUp} from '@apollo/space-kit/icons/IconArrowUp';
66
import {IconCheck} from '@apollo/space-kit/icons/IconCheck';
7-
import {colors} from 'gatsby-theme-apollo-core';
7+
import {colors} from 'gatsby-theme-guide-core';
88
import {size, transparentize} from 'polished';
99

1010
const Container = styled.div({

‎packages/gatsby-theme-apollo-docs/src/components/header-button.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from 'react';
22
import styled from '@emotion/styled';
33
import {IconProceed} from '@apollo/space-kit/icons/IconProceed';
4-
import {breakpoints} from 'gatsby-theme-apollo-core';
4+
import {breakpoints} from 'gatsby-theme-guide-core';
55
import {colors} from '@apollo/space-kit/colors';
66

77
const Container = styled.div({

‎packages/gatsby-theme-apollo-docs/src/components/header.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import PropTypes from 'prop-types';
22
import React from 'react';
33
import styled from '@emotion/styled';
44
import {HEADER_HEIGHT} from '../utils';
5-
import {breakpoints} from 'gatsby-theme-apollo-core';
5+
import {breakpoints} from 'gatsby-theme-guide-core';
66

77
const Wrapper = styled.header({
88
position: 'sticky',

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /