Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Repository Cleanup #37035

Merged
merged 10 commits into from
Nov 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions .babelrc.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
const ignore = [`**/dist`]

// Jest needs to compile this code, but generally we don't want this copied
// to output folders
// if (process.env.NODE_ENV !== `test`) {
// ignore.push(`**/__tests__`)
// }

module.exports = {
sourceMaps: true,
presets: [`babel-preset-gatsby-package`],
Expand Down
1 change: 0 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,6 @@ jobs:
sed -i ':a;N;$!ba;s/,\n\s*"workspaces":\s\[[^]]*]/,"workspaces":\["packages\/babel-preset-gatsby"\]/g' package.json
- <<: *install_node_modules
- run: yarn lint:code
- run: yarn lint:docs
- run: yarn lint:other

typecheck:
Expand Down
3 changes: 0 additions & 3 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ packages/*/scripts/**
**/__tests__/fixtures/**
peril
docs
plop-templates
starters
benchmarks
e2e-tests
Expand All @@ -23,8 +22,6 @@ packages/*/*.js
packages/gatsby-source-shopify/**/*.js
packages/gatsby-plugin-preload-fonts/prepare/*.js
packages/gatsby/cache-dir/commonjs/**/*
packages/gatsby-admin/public
packages/gatsby/gatsby-admin-public
packages/gatsby-codemods/transforms
packages/gatsby-source-graphql/batching
packages/gatsby-plugin-gatsby-cloud/components
Expand Down
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ module.exports = {
],
settings: {
react: {
version: `16.9.0`,
version: `18.2.0`,
},
},
}
4 changes: 0 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,5 @@ package-lock.json

# starters are special; we want to persist the lock files
!starters/*/package-lock.json
!themes/gatsby-starter-blog-theme/package-lock.json
!themes/gatsby-starter-notes-theme/package-lock.json
!themes/gatsby-starter-theme/package-lock.json
!themes/gatsby-starter-theme-workspace/package-lock.json

.parcel-cache
8 changes: 4 additions & 4 deletions .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,24 @@ image:
tasks:
- init: >
yarn run bootstrap &&
cd ./examples/gatsbygram &&
cd ./examples/using-typescript &&
yarn install &&
gatsby-dev --set-path-to-repo ../.. &&
gatsby-dev --scan-once &&
npx gatsby build &&
cd ../.. &&
touch /tmp/done.txt
command: >
yarn run watch --scope={gatsby,gatsby-image,gatsby-link}
yarn run watch --scope={gatsby,gatsby-link}
- openMode: split-right
before: >
cd ./examples/gatsbygram
cd ./examples/using-typescript
command: >
gp await-port 8000 &&
gatsby-dev --set-path-to-repo ../.. &&
gatsby-dev
- before: >
cd ./examples/gatsbygram
cd ./examples/using-typescript
init: |
until [ -f /tmp/done.txt ]
do
Expand Down
1 change: 0 additions & 1 deletion .jestSetup.js
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
process.env.GATSBY_RECIPES_NO_COLOR = "true"
process.env.GATSBY_SHOULD_TRACK_IMAGE_CDN_URLS = "true"
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
18
2 changes: 0 additions & 2 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ packages/**/*.js
!packages/gatsby-plugin-mdx/**/*.js
packages/gatsby-plugin-mdx/node_modules/**/*.js
packages/gatsby/cache-dir/commonjs/**/*.js
packages/gatsby-admin/public/styles.*
packages/gatsby/gatsby-admin-public/styles.*
packages/gatsby-source-wordpress/test-site/**

# fixtures
Expand Down
66 changes: 0 additions & 66 deletions .remarkrc.js

This file was deleted.

10 changes: 4 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
# Change Log
# Changelog

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

---

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.
Gatsby is distributed as a [monorepo][monorepo] using [lerna][lerna].

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

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.
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.

[monorepo]: https://en.wikipedia.org/wiki/Monorepo
[lerna]: https://github.com/lerna/lerna
[babel]: https://github.com/babel/babel/tree/master/packages
[react]: https://github.com/facebook/react/tree/master/packages
Loading