Skip to content

Commit 0fb0390

Browse files
authored
chore: Repository Cleanup (#37035)
1 parent 88b9dc5 commit 0fb0390

Some content is hidden

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

50 files changed

+82
-4077
lines changed

.babelrc.js

-6
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
const ignore = [`**/dist`]
22

3-
// Jest needs to compile this code, but generally we don't want this copied
4-
// to output folders
5-
// if (process.env.NODE_ENV !== `test`) {
6-
// ignore.push(`**/__tests__`)
7-
// }
8-
93
module.exports = {
104
sourceMaps: true,
115
presets: [`babel-preset-gatsby-package`],

.circleci/config.yml

-1
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,6 @@ jobs:
200200
sed -i ':a;N;$!ba;s/,\n\s*"workspaces":\s\[[^]]*]/,"workspaces":\["packages\/babel-preset-gatsby"\]/g' package.json
201201
- <<: *install_node_modules
202202
- run: yarn lint:code
203-
- run: yarn lint:docs
204203
- run: yarn lint:other
205204

206205
typecheck:

.eslintignore

-3
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ packages/*/scripts/**
1111
**/__tests__/fixtures/**
1212
peril
1313
docs
14-
plop-templates
1514
starters
1615
benchmarks
1716
e2e-tests
@@ -23,8 +22,6 @@ packages/*/*.js
2322
packages/gatsby-source-shopify/**/*.js
2423
packages/gatsby-plugin-preload-fonts/prepare/*.js
2524
packages/gatsby/cache-dir/commonjs/**/*
26-
packages/gatsby-admin/public
27-
packages/gatsby/gatsby-admin-public
2825
packages/gatsby-codemods/transforms
2926
packages/gatsby-source-graphql/batching
3027
packages/gatsby-plugin-gatsby-cloud/components

.eslintrc.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ module.exports = {
268268
],
269269
settings: {
270270
react: {
271-
version: `16.9.0`,
271+
version: `18.2.0`,
272272
},
273273
},
274274
}

.gitignore

-4
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,5 @@ package-lock.json
6161

6262
# starters are special; we want to persist the lock files
6363
!starters/*/package-lock.json
64-
!themes/gatsby-starter-blog-theme/package-lock.json
65-
!themes/gatsby-starter-notes-theme/package-lock.json
66-
!themes/gatsby-starter-theme/package-lock.json
67-
!themes/gatsby-starter-theme-workspace/package-lock.json
6864

6965
.parcel-cache

.gitpod.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,24 @@ image:
33
tasks:
44
- init: >
55
yarn run bootstrap &&
6-
cd ./examples/gatsbygram &&
6+
cd ./examples/using-typescript &&
77
yarn install &&
88
gatsby-dev --set-path-to-repo ../.. &&
99
gatsby-dev --scan-once &&
1010
npx gatsby build &&
1111
cd ../.. &&
1212
touch /tmp/done.txt
1313
command: >
14-
yarn run watch --scope={gatsby,gatsby-image,gatsby-link}
14+
yarn run watch --scope={gatsby,gatsby-link}
1515
- openMode: split-right
1616
before: >
17-
cd ./examples/gatsbygram
17+
cd ./examples/using-typescript
1818
command: >
1919
gp await-port 8000 &&
2020
gatsby-dev --set-path-to-repo ../.. &&
2121
gatsby-dev
2222
- before: >
23-
cd ./examples/gatsbygram
23+
cd ./examples/using-typescript
2424
init: |
2525
until [ -f /tmp/done.txt ]
2626
do

.jestSetup.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
process.env.GATSBY_RECIPES_NO_COLOR = "true"
21
process.env.GATSBY_SHOULD_TRACK_IMAGE_CDN_URLS = "true"

.nvmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
18

.prettierignore

-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ packages/**/*.js
2121
!packages/gatsby-plugin-mdx/**/*.js
2222
packages/gatsby-plugin-mdx/node_modules/**/*.js
2323
packages/gatsby/cache-dir/commonjs/**/*.js
24-
packages/gatsby-admin/public/styles.*
25-
packages/gatsby/gatsby-admin-public/styles.*
2624
packages/gatsby-source-wordpress/test-site/**
2725

2826
# fixtures

.remarkrc.js

-66
This file was deleted.

CHANGELOG.md

+4-6
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
1-
# Change Log
1+
# Changelog
22

33
See the [Gatsby CHANGELOG.md](./packages/gatsby/CHANGELOG.md)
44

55
---
66

7-
Gatsby is distributed as a [monorepo][monorepo] using [lerna][lerna]. Several other large open-source projects are distributed this way, including [babel][babel], [react][react], etc.
7+
Gatsby is distributed as a [monorepo][monorepo] using [lerna][lerna].
88

9-
This means that our CHANGELOG.md files are distributed alongside the package itself in the `packages` directory.
9+
This means that our `CHANGELOG.md` files are distributed alongside the package itself in the `packages` directory.
1010

11-
For example, the package `gatsby` has a CHANGELOG.md in [`packages/gatsby/CHANGELOG.md`](./packages/gatsby/CHANGELOG.md). If you'd like to check out others, check out the [`packages`](./packages) directory in the root of the repo.
11+
For example, the package `gatsby` has a `CHANGELOG.md` in [`packages/gatsby/CHANGELOG.md`](./packages/gatsby/CHANGELOG.md). If you'd like to check out others, check out the [`packages`](./packages) directory in the root of the repo.
1212

1313
[monorepo]: https://en.wikipedia.org/wiki/Monorepo
1414
[lerna]: https://github.com/lerna/lerna
15-
[babel]: https://github.com/babel/babel/tree/master/packages
16-
[react]: https://github.com/facebook/react/tree/master/packages

0 commit comments

Comments
 (0)