diff --git a/.changeset/twenty-rats-fry.md b/.changeset/twenty-rats-fry.md new file mode 100644 index 0000000..9a7fd25 --- /dev/null +++ b/.changeset/twenty-rats-fry.md @@ -0,0 +1,5 @@ +--- +'@rocketseat/gatsby-theme-docs': major +--- + +Updating gatsby-related dependencies to version ^4.0.0 alpha diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index e6239b4..4a88c09 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -15,7 +15,7 @@ jobs: - name: Set up Node uses: actions/setup-node@v1 with: - node-version: 12 + node-version: 14 - name: Install dependencies uses: bahmutov/npm-install@v1 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 771a3dd..7b814af 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,7 +18,7 @@ jobs: - name: Set up Node uses: actions/setup-node@v1 with: - node-version: 12 + node-version: 14 - name: Install dependencies uses: bahmutov/npm-install@v1 diff --git a/@rocketseat/gatsby-theme-docs-core/package.json b/@rocketseat/gatsby-theme-docs-core/package.json index a4d56c3..9e515eb 100644 --- a/@rocketseat/gatsby-theme-docs-core/package.json +++ b/@rocketseat/gatsby-theme-docs-core/package.json @@ -29,21 +29,21 @@ }, "dependencies": { "@mdx-js/mdx": "^1.6.18", - "gatsby-plugin-mdx": "^2.0.0", - "gatsby-plugin-sharp": "^3.0.0", - "gatsby-remark-autolink-headers": "^3.0.0", - "gatsby-remark-copy-linked-files": "^3.0.0", + "gatsby-plugin-mdx": "alpha-9689ff", + "gatsby-plugin-sharp": "alpha-9689ff", + "gatsby-remark-autolink-headers": "alpha-9689ff", + "gatsby-remark-copy-linked-files": "alpha-9689ff", "gatsby-remark-embedder": "^4.0.0", - "gatsby-remark-images": "^4.0.0", - "gatsby-remark-responsive-iframe": "^3.0.0", - "gatsby-source-filesystem": "^3.0.0", - "gatsby-transformer-sharp": "^3.0.0", - "gatsby-transformer-yaml": "^3.0.0", + "gatsby-remark-images": "alpha-9689ff", + "gatsby-remark-responsive-iframe": "alpha-9689ff", + "gatsby-source-filesystem": "alpha-9689ff", + "gatsby-transformer-sharp": "alpha-9689ff", + "gatsby-transformer-yaml": "alpha-9689ff", "url-join": "^4.0.1" }, "peerDependencies": { "@mdx-js/react": "^1.5.1", - "gatsby": "^3.0.0", + "gatsby": "^4.0.0", "react": "^16.9.0 || ^17.0.0", "react-dom": "^16.9.0 || ^17.0.0" } diff --git a/@rocketseat/gatsby-theme-docs/package.json b/@rocketseat/gatsby-theme-docs/package.json index 6cb6ad0..f036b74 100644 --- a/@rocketseat/gatsby-theme-docs/package.json +++ b/@rocketseat/gatsby-theme-docs/package.json @@ -32,10 +32,10 @@ "@emotion/styled": "^11.0.0", "@mdx-js/react": "^1.6.18", "@rocketseat/gatsby-theme-docs-core": "^2.3.2", - "gatsby-plugin-catch-links": "^3.0.0", - "gatsby-plugin-emotion": "^6.0.0", - "gatsby-plugin-mdx": "^2.0.0", - "gatsby-plugin-react-helmet": "^4.0.0", + "gatsby-plugin-catch-links": "^4.0.0", + "gatsby-plugin-emotion": "^7.0.0", + "gatsby-plugin-mdx": "^3.0.0", + "gatsby-plugin-react-helmet": "^5.0.0", "mdx-utils": "^0.2.0", "parse-numeric-range": "^1.2.0", "polished": "^4.0.0", @@ -48,7 +48,7 @@ "url-join": "^4.0.1" }, "peerDependencies": { - "gatsby": "^3.0.0", + "gatsby": "^4.0.0", "react": "^16.9.0 || ^17.0.0", "react-dom": "^16.9.0 || ^17.0.0" } diff --git a/examples/gatsby-theme-docs/package.json b/examples/gatsby-theme-docs/package.json index 7cba045..7bb3184 100644 --- a/examples/gatsby-theme-docs/package.json +++ b/examples/gatsby-theme-docs/package.json @@ -8,13 +8,13 @@ "starter-name": "gatsby-starter-rocketdocs", "dependencies": { "@rocketseat/gatsby-theme-docs": "^2.4.0", - "gatsby": "^3.0.4", - "gatsby-plugin-canonical-urls": "^3.0.0", - "gatsby-plugin-google-analytics": "^3.0.0", - "gatsby-plugin-manifest": "^3.0.0", - "gatsby-plugin-offline": "^4.0.0", - "gatsby-plugin-remove-trailing-slashes": "^3.0.0", - "gatsby-plugin-sitemap": "^3.0.0", + "gatsby": "^4.0.0", + "gatsby-plugin-canonical-urls": "^4.0.0", + "gatsby-plugin-google-analytics": "^4.0.0", + "gatsby-plugin-manifest": "^4.0.0", + "gatsby-plugin-offline": "^5.0.0", + "gatsby-plugin-remove-trailing-slashes": "^4.0.0", + "gatsby-plugin-sitemap": "^5.0.0", "prop-types": "^15.7.2", "react": "^17.0.1", "react-dom": "^17.0.1" diff --git a/package.json b/package.json index cfd575b..70a3b53 100644 --- a/package.json +++ b/package.json @@ -11,8 +11,7 @@ "commit": "cz" }, "engines": { - "yarn": "^1.17.3", - "node": ">=8.0.0" + "node": ">=14.15.0" }, "workspaces": [ "@rocketseat/*",