Skip to content

Commit

Permalink
feat(starters): Minimal TS starter gatsby-config.ts (#35128)
Browse files Browse the repository at this point in the history
Co-authored-by: LekoArts <lekoarts@gmail.com>
  • Loading branch information
tyhopp and LekoArts authored Mar 21, 2022
1 parent 9d736b0 commit 50d6735
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
2 changes: 1 addition & 1 deletion packages/gatsby-cli/src/__tests__/handlers/plugin-add.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ describe(`addPlugins`, () => {
})
})

describe.skip(`gatsby-config.ts`, () => {
describe(`gatsby-config.ts`, () => {
beforeEach(async () => {
await copyFile(config.ts.starter, config.ts.fixture)
})
Expand Down
7 changes: 0 additions & 7 deletions starters/gatsby-starter-minimal-ts/gatsby-config.js

This file was deleted.

10 changes: 10 additions & 0 deletions starters/gatsby-starter-minimal-ts/gatsby-config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import type { GatsbyConfig } from "gatsby"

const config: GatsbyConfig = {
siteMetadata: {
siteUrl: `https://www.yourdomain.tld`,
},
plugins: [],
}

export default config

0 comments on commit 50d6735

Please sign in to comment.