Skip to content

Commit

Permalink
chore: Repository Cleanup (#37035)
Browse files Browse the repository at this point in the history
  • Loading branch information
LekoArts committed Nov 15, 2022
1 parent 88b9dc5 commit 0fb0390
Show file tree
Hide file tree
Showing 50 changed files with 82 additions and 4,077 deletions.
6 changes: 0 additions & 6 deletions .babelrc.js
@@ -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
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
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
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
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
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
@@ -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
@@ -0,0 +1 @@
18
2 changes: 0 additions & 2 deletions .prettierignore
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
@@ -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

0 comments on commit 0fb0390

Please sign in to comment.