-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Refactor monorepo tooling and add Rsbuild configs packages (#225)
* More stuff * More stuff * More stuff * More stuff * More stuff * More stuff * More stuff * More stuff * More stuff * More stuff * More stuff * More stuff * More stuff * More stuff * More stuff * More stuff * More stuff * More stuff * More stuff * More stuff * More stuff * More stuff * More stuff * More stuff * More stuff * More stuff * More stuff * More stuff * More stuff * More stuff * More stuff * More stuff * More stuff * More stuff * More stuff * More stuff * Minor fixes * More stuff * More stuff * More stuff * More stuff * More stuff
- Loading branch information
1 parent
183c978
commit 4eb46d6
Showing
476 changed files
with
18,529 additions
and
8,715 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@squide/firefly-webpack-configs": patch | ||
--- | ||
|
||
Added additional shared dependencies for Honeycomb. |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@squide/firefly-rsbuild-configs": major | ||
--- | ||
|
||
New Rsbuild shared configs adapted for Squide firefly apps. |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@squide/react-router": patch | ||
--- | ||
|
||
Fixed an error message. |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@squide/firefly-honeycomb": major | ||
--- | ||
|
||
Added "@opentelemetry/instrumentation-fetch" and "@opentelemetry/sdk-trace-web" as peerDependencies. |
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,5 +1,3 @@ | ||
**/dist/* | ||
**/__snapshots__/* | ||
node_modules | ||
*.md | ||
*.yml | ||
|
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 |
---|---|---|
@@ -0,0 +1,63 @@ | ||
name: Publish PR packages | ||
|
||
# PNPM setup based on https://github.com/pnpm/action-setup#use-cache-to-reduce-installation-time | ||
|
||
on: | ||
push: | ||
branches: ["main"] | ||
pull_request: | ||
branches: ["main"] | ||
|
||
env: | ||
CI: true | ||
|
||
concurrency: | ||
group: pr-pkg-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install pnpm | ||
uses: pnpm/action-setup@v4 | ||
with: | ||
run_install: false | ||
|
||
- name: Install Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: ">=22.0.0" | ||
check-latest: true | ||
cache: pnpm | ||
cache-dependency-path: pnpm-lock.yaml | ||
|
||
- name: Install dependencies | ||
run: pnpm install --frozen-lockfile | ||
|
||
- name: Restore Turborepo cache | ||
id: cache-turborepo-restore | ||
uses: actions/cache/restore@v4 | ||
with: | ||
key: ${{ runner.os }}-turborepo-${{ github.sha }} | ||
restore-keys: | | ||
${{ runner.os }}-turborepo- | ||
path: .turbo | ||
|
||
- name: Build packages | ||
run: pnpm build-pkg | ||
|
||
- name: Save Turborepo cache | ||
id: cache-turborepo-save | ||
if: always() && steps.cache-turborepo-restore.outputs.cache-hit != 'true' | ||
uses: actions/cache/save@v4 | ||
with: | ||
key: ${{ steps.cache-turborepo-restore.outputs.cache-primary-key }} | ||
path: .turbo | ||
|
||
- name: Publish PR packages | ||
run: pnpm publish-pr-pkg |
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 |
---|---|---|
|
@@ -3,6 +3,7 @@ dist | |
.pnpm-debug.log* | ||
.netlify | ||
.turbo | ||
.rslib | ||
.retype | ||
|
||
# Mac | ||
|
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 |
---|---|---|
@@ -0,0 +1,42 @@ | ||
// @ts-check | ||
|
||
/** @type {import("syncpack").RcFile} */ | ||
export default { | ||
"lintFormatting": false, | ||
"dependencyTypes": ["prod", "dev"], | ||
"semverGroups": [ | ||
{ | ||
"dependencies": ["useless-lib"], | ||
"packages": ["**"], | ||
"isIgnored": true | ||
}, | ||
{ | ||
"range": "^", | ||
"dependencyTypes": ["prod"], | ||
"dependencies": ["**"], | ||
"packages": ["@squide/firefly-rsbuild-configs", "@squide/firefly-webpack-configs"], | ||
"label": "config packages dependencies version should be ranged" | ||
}, | ||
{ | ||
"range": "", | ||
"dependencyTypes": ["prod", "dev"], | ||
"dependencies": ["**"], | ||
"packages": ["**"], | ||
"label": "packages version should be pinned" | ||
}, | ||
], | ||
"versionGroups": [ | ||
{ | ||
"dependencies": ["useless-lib"], | ||
"packages": ["**"], | ||
"isIgnored": true | ||
}, | ||
{ | ||
"dependencyTypes": ["prod", "dev"], | ||
"preferVersion": "highestSemver", | ||
"dependencies": ["**"], | ||
"packages": ["**"], | ||
"label": "packages should have a single version across the repository" | ||
} | ||
] | ||
}; |
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
Oops, something went wrong.