forked from remix-run/remix
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
232 changed files
with
32,066 additions
and
16,327 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
name: ⚙️ Deduplicate yarn.lock | ||
name: ⚙️ Deduplicate lock file | ||
|
||
on: | ||
push: | ||
branches: | ||
- dev | ||
paths: | ||
- yarn.lock | ||
- pnpm-lock.yaml | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
|
@@ -22,14 +22,17 @@ jobs: | |
with: | ||
token: ${{ secrets.FORMAT_PAT }} | ||
|
||
- name: 📦 Setup pnpm | ||
uses: pnpm/[email protected] | ||
|
||
- name: ⎔ Setup node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version-file: ".nvmrc" | ||
cache: "yarn" | ||
cache: "pnpm" | ||
|
||
- name: ️️⚙️ Deduplicate yarn.lock | ||
run: npx yarn-deduplicate && rm -rf ./node_modules && yarn | ||
- name: ️️⚙️ Deduplicate pnpm-lock.yaml | ||
run: pnpm dedupe && rm -rf ./node_modules && pnpm install | ||
|
||
- name: 💪 Commit | ||
run: | | ||
|
@@ -41,6 +44,6 @@ jobs: | |
echo "💿 no deduplication needed" | ||
exit 0 | ||
fi | ||
git commit -m "chore: deduplicate yarn.lock" | ||
git commit -m "chore: deduplicate pnpm-lock.yaml" | ||
git push | ||
echo "💿 https://github.com/$GITHUB_REPOSITORY/commit/$(git rev-parse HEAD)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,6 +35,9 @@ jobs: | |
- name: ⬇️ Checkout repo | ||
uses: actions/checkout@v4 | ||
|
||
- name: 📦 Setup pnpm | ||
uses: pnpm/[email protected] | ||
|
||
- name: ⎔ Setup node | ||
uses: actions/setup-node@v4 | ||
with: | ||
|
@@ -69,6 +72,9 @@ jobs: | |
- name: ⬇️ Checkout repo | ||
uses: actions/checkout@v4 | ||
|
||
- name: 📦 Setup pnpm | ||
uses: pnpm/[email protected] | ||
|
||
- name: ⎔ Setup node | ||
uses: actions/setup-node@v4 | ||
with: | ||
|
@@ -104,6 +110,9 @@ jobs: | |
- name: ⬇️ Checkout repo | ||
uses: actions/checkout@v4 | ||
|
||
- name: 📦 Setup pnpm | ||
uses: pnpm/[email protected] | ||
|
||
- name: ⎔ Setup node | ||
uses: actions/setup-node@v4 | ||
with: | ||
|
@@ -140,6 +149,9 @@ jobs: | |
- name: ⬇️ Checkout repo | ||
uses: actions/checkout@v4 | ||
|
||
- name: 📦 Setup pnpm | ||
uses: pnpm/[email protected] | ||
|
||
- name: ⎔ Setup node | ||
uses: actions/setup-node@v4 | ||
with: | ||
|
@@ -179,6 +191,9 @@ jobs: | |
- name: ⬇️ Checkout repo | ||
uses: actions/checkout@v4 | ||
|
||
- name: 📦 Setup pnpm | ||
uses: pnpm/[email protected] | ||
|
||
- name: ⎔ Setup node | ||
uses: actions/setup-node@v4 | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,14 +21,17 @@ jobs: | |
with: | ||
token: ${{ secrets.FORMAT_PAT }} | ||
|
||
- name: 📦 Setup pnpm | ||
uses: pnpm/[email protected] | ||
|
||
- name: ⎔ Setup node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version-file: ".nvmrc" | ||
cache: "yarn" | ||
cache: "pnpm" | ||
|
||
- name: 📥 Install deps | ||
run: yarn --frozen-lockfile | ||
run: pnpm install --frozen-lockfile | ||
|
||
- name: 🔗 Convert Docs links to references | ||
run: node scripts/markdown-references.mjs | ||
|
@@ -37,15 +40,15 @@ jobs: | |
run: sort --ignore-case --output contributors.yml contributors.yml | ||
|
||
- name: 👔 Format | ||
run: yarn format | ||
run: pnpm format | ||
|
||
- name: 🦕 Install Deno | ||
uses: denoland/setup-deno@v1 | ||
with: | ||
deno-version: vx.x.x | ||
|
||
- name: 👔 Format Deno files | ||
run: yarn format:deno | ||
run: pnpm format:deno | ||
|
||
- name: 💪 Commit | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,11 +19,14 @@ jobs: | |
- name: ⬇️ Checkout repo | ||
uses: actions/checkout@v4 | ||
|
||
- name: 📦 Setup pnpm | ||
uses: pnpm/[email protected] | ||
|
||
- name: ⎔ Setup node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version-file: ".nvmrc" | ||
cache: "yarn" | ||
cache: "pnpm" | ||
|
||
- name: Disable GitHub Actions Annotations | ||
run: | | ||
|
@@ -32,15 +35,15 @@ jobs: | |
echo "::remove-matcher owner=eslint-stylish::" | ||
- name: 📥 Install deps | ||
run: yarn --frozen-lockfile | ||
run: pnpm install --frozen-lockfile | ||
|
||
- name: 🔬 Lint | ||
run: yarn lint | ||
run: pnpm lint | ||
|
||
- name: 🦕 Install Deno | ||
uses: denoland/setup-deno@v1 | ||
with: | ||
deno-version: vx.x.x | ||
|
||
- name: 🔬 Lint deno files | ||
run: yarn lint:deno | ||
run: pnpm lint:deno |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,14 +29,17 @@ jobs: | |
with: | ||
fetch-depth: 0 | ||
|
||
- name: 📦 Setup pnpm | ||
uses: pnpm/[email protected] | ||
|
||
- name: ⎔ Setup node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version-file: ".nvmrc" | ||
cache: "yarn" | ||
cache: "pnpm" | ||
|
||
- name: 📥 Install deps | ||
run: yarn --frozen-lockfile | ||
run: pnpm install --frozen-lockfile | ||
|
||
- name: 🔐 Setup npm auth | ||
run: | | ||
|
@@ -52,10 +55,10 @@ jobs: | |
id: changesets | ||
uses: changesets/action@v1 | ||
with: | ||
version: yarn run changeset:version | ||
version: pnpm run changeset:version | ||
commit: "chore: Update version for release" | ||
title: "chore: Update version for release" | ||
publish: yarn run changeset:release | ||
publish: pnpm run changeset:release | ||
createGithubReleases: false | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
@@ -72,6 +75,9 @@ jobs: | |
- name: ⬇️ Checkout repo | ||
uses: actions/checkout@v4 | ||
|
||
- name: 📦 Setup pnpm | ||
uses: pnpm/[email protected] | ||
|
||
- name: ⎔ Setup node | ||
uses: actions/setup-node@v4 | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,11 +14,14 @@ jobs: | |
- name: ⬇️ Checkout repo | ||
uses: actions/checkout@v4 | ||
|
||
- name: 📦 Setup pnpm | ||
uses: pnpm/[email protected] | ||
|
||
- name: ⎔ Setup node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version-file: ".nvmrc" | ||
cache: "yarn" | ||
cache: "pnpm" | ||
|
||
- name: Disable GitHub Actions Annotations | ||
run: | | ||
|
@@ -27,7 +30,7 @@ jobs: | |
echo "::remove-matcher owner=eslint-stylish::" | ||
- name: 📥 Install deps | ||
run: yarn --frozen-lockfile | ||
run: pnpm install --frozen-lockfile | ||
|
||
- name: 🏗 Build | ||
run: yarn build | ||
run: pnpm build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,11 +37,14 @@ jobs: | |
- name: ⬇️ Checkout repo | ||
uses: actions/checkout@v4 | ||
|
||
- name: 📦 Setup pnpm | ||
uses: pnpm/[email protected] | ||
|
||
- name: ⎔ Setup node ${{ matrix.node }} | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ matrix.node }} | ||
cache: "yarn" | ||
cache: "pnpm" | ||
|
||
- name: Disable GitHub Actions Annotations | ||
run: | | ||
|
@@ -50,10 +53,10 @@ jobs: | |
echo "::remove-matcher owner=eslint-stylish::" | ||
- name: 📥 Install deps | ||
run: yarn --frozen-lockfile | ||
run: pnpm install --frozen-lockfile | ||
|
||
- name: 📥 Install Playwright | ||
run: npx playwright install --with-deps ${{ matrix.browser }} | ||
|
||
- name: 👀 Run Integration Tests ${{ matrix.browser }} | ||
run: "yarn test:integration --project=${{ matrix.browser }}" | ||
run: "pnpm test:integration --project=${{ matrix.browser }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,11 +29,14 @@ jobs: | |
- name: ⬇️ Checkout repo | ||
uses: actions/checkout@v4 | ||
|
||
- name: 📦 Setup pnpm | ||
uses: pnpm/[email protected] | ||
|
||
- name: ⎔ Setup node ${{ matrix.node }} | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ matrix.node }} | ||
cache: "yarn" | ||
cache: "pnpm" | ||
|
||
- name: Disable GitHub Actions Annotations | ||
run: | | ||
|
@@ -42,11 +45,11 @@ jobs: | |
echo "::remove-matcher owner=eslint-stylish::" | ||
- name: 📥 Install deps | ||
run: yarn --frozen-lockfile | ||
run: pnpm install --frozen-lockfile | ||
|
||
# It's faster to use the built `cli.js` in tests if its available and up-to-date | ||
- name: 🏗 Build | ||
run: yarn build | ||
run: pnpm build | ||
|
||
- name: 🧪 Run Primary Tests | ||
run: "yarn test:primary" | ||
run: "pnpm test:primary" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
engine-strict=true | ||
engine-strict=true | ||
shell-emulator=true | ||
enable-pre-post-scripts=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
.changeset/*.md | ||
pnpm-lock.yaml |
Oops, something went wrong.