Skip to content

Commit

Permalink
Merge branch 'release-next' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
brophdawg11 committed Apr 28, 2023
2 parents 1f294a3 + 7ff51c0 commit fdb9069
Show file tree
Hide file tree
Showing 70 changed files with 1,959 additions and 2,088 deletions.
5 changes: 0 additions & 5 deletions .changeset/console-log-loader-error.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/descendant-routes-data-errors.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/disallow-return-undefined-type.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fetcher-404.md

This file was deleted.

13 changes: 0 additions & 13 deletions .changeset/fetcher-basename.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fix-component-rerenders-router.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/fix-component-rerenders.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fix-fetcher-revalidation.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/invalid-link-to.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/navigate-in-effect.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/remove-use-sync-external-store.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/revalidate-error-boundary.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/revalidating-fetcher-controller.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/stable-navigate-submit.md

This file was deleted.

2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ body:
### Test Case Starters:
* [Using `<RouterProvider>`](https://stackblitz.com/github/remix-run/react-router/tree/main/examples/data-router?file=src/App.tsx)
* [Using `<RouterProvider>`](https://stackblitz.com/github/remix-run/react-router/tree/main/examples/basic-data-router?file=src/app.tsx)
* [Using `<BrowserRouter>`](https://stackblitz.com/github/remix-run/react-router/tree/main/examples/basic?file=src/App.tsx)
- type: input
attributes:
Expand Down
31 changes: 19 additions & 12 deletions .github/workflows/no-response.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,27 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 🥺 Handle Ghosting
uses: actions/stale@v7
uses: actions/stale@v8
with:
days-before-close: 10
close-issue-message: >
This issue has been automatically closed because we haven't received a
response from the original author 🙈. This automation helps keep the issue
tracker clean from issues that aren't actionable. Please reach out if you
have more information for us! 🙂
This issue has been automatically closed because we didn't hear
anything from the original author after the previous notice.
close-pr-message: >
This PR has been automatically closed because we haven't received a
response from the original author 🙈. This automation helps keep the issue
tracker clean from PRs that aren't actionable. Please reach out if you
have more information for us! 🙂
# don't automatically mark issues/PRs as stale
days-before-stale: -1
This PR has been automatically closed because we didn't hear
anything from the original author after the previous notice.
stale-issue-label: needs-response
stale-issue-message: >
This issue has been automatically marked stale because we haven't
received a response from the original author in a while 🙈. This
automation helps keep the issue tracker clean from issues that are
not actionable. Please reach out if you have more information for us
or you think this issue shouldn't be closed! 🙂 If you don't do so
within 7 days, this issue will be automatically closed.
stale-pr-label: needs-response
stale-pr-message: >
This PR has been automatically marked stale because we haven't
received a response from the original author in a while 🙈. This
automation helps keep the issue tracker clean from issues that are
not actionable. Please reach out if you have more information for us
or you think this issue shouldn't be closed! 🙂 If you don't do so
within 7 days, this PR will be automatically closed.
38 changes: 7 additions & 31 deletions .github/workflows/release-comments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,44 +2,20 @@ name: 📝 Comment on Release

on:
workflow_call:
inputs:
ref:
required: true
type: string
package_version_to_follow:
required: true
type: string
release_branch:
required: true
type: string

jobs:
comment:
name: Comment on Release
name: 📝 Comment on related issues and pull requests
if: github.repository == 'remix-run/react-router'
runs-on: ubuntu-latest
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@v3

- name: ⎔ Setup node
uses: actions/setup-node@v3
with:
node-version-file: ".nvmrc"
cache: "npm"
cache-dependency-path: scripts/release/package-lock.json

- name: 📥 Install deps
run: npm ci
working-directory: ./scripts/release
fetch-depth: 0

- name: 📝 Comment on issues
working-directory: ./scripts/release
run: node -r esbuild-register ./comment.ts
env:
GITHUB_REPOSITORY: ${{ github.repository }}
GITHUB_TOKEN: ${{ github.token }}
VERSION: ${{ inputs.ref }}
DEFAULT_BRANCH: "main"
RELEASE_BRANCH: ${{ inputs.release_branch }}
PACKAGE_VERSION_TO_FOLLOW: ${{ inputs.package_version_to_follow }}
- name: 📝 Comment on related issues and pull requests
uses: mcansh/[email protected]
with:
DIRECTORY_TO_CHECK: "./packages"
PACKAGE_NAME: "react-router"
8 changes: 2 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
publish: yarn run release
createGithubReleases: false
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN_SO_OTHER_ACTIONS_RUN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

find_package_version:
Expand All @@ -80,7 +80,7 @@ jobs:

- id: find_package_version
run: |
package_version=$(node ./scripts/release/find-release-from-changeset.js)
package_version=$(node ./scripts/find-release-from-changeset.js)
echo "package_version=${package_version}" >> $GITHUB_OUTPUT
env:
PACKAGE_VERSION_TO_FOLLOW: "react-router"
Expand All @@ -91,7 +91,3 @@ jobs:
if: github.repository == 'remix-run/react-router' && needs.find_package_version.outputs.package_version != ''
needs: [release, find_package_version]
uses: ./.github/workflows/release-comments.yml
with:
ref: refs/tags/react-router@${{ needs.find_package_version.outputs.package_version }}
package_version_to_follow: "react-router"
release_branch: ${{ github.ref_name }}
127 changes: 0 additions & 127 deletions FAQ.md

This file was deleted.

5 changes: 3 additions & 2 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
MIT License

Copyright (c) React Training 2015-2019
Copyright (c) Remix Software 2020-2022
Copyright (c) React Training LLC 2015-2019
Copyright (c) Remix Software Inc. 2020-2021
Copyright (c) Shopify Inc. 2022-2023

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
Loading

0 comments on commit fdb9069

Please sign in to comment.