-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Upgrade repo infrastructure (#215)
* 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
- Loading branch information
1 parent
b7d90da
commit d6dfe8f
Showing
75 changed files
with
5,618 additions
and
5,675 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@workleap/eslint-plugin": patch | ||
--- | ||
|
||
Move some deprecated rules from `@typescript-eslint/eslint-plugin` to `@stylistic/eslint-plugin-ts`. |
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 @@ | ||
--- | ||
"@workleap/webpack-configs": patch | ||
--- | ||
|
||
Fixed typings. |
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,4 +1,3 @@ | ||
**/dist/* | ||
node_modules | ||
pnpm-lock.yaml | ||
*.md | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,11 @@ | ||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | ||
|
||
# rider / intellij | ||
.idea | ||
|
||
# dependencies | ||
node_modules | ||
.pnp | ||
.pnp.js | ||
|
||
# testing | ||
coverage | ||
|
||
# next.js | ||
.next/ | ||
out/ | ||
build | ||
dist | ||
.pnpm-debug.log* | ||
.netlify | ||
.turbo | ||
.rslib | ||
.retype | ||
|
||
# misc | ||
# Mac | ||
.DS_Store | ||
*.pem | ||
|
||
# debug | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
.pnpm-debug.log* | ||
|
||
# local env files | ||
.env.local | ||
.env.development.local | ||
.env.test.local | ||
.env.production.local | ||
|
||
dist |
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,31 @@ | ||
// @ts-check | ||
|
||
/** @type {import("syncpack").RcFile} */ | ||
export default { | ||
"lintFormatting": false, | ||
"dependencyTypes": ["prod", "dev"], | ||
"semverGroups": [ | ||
{ | ||
"range": "^", | ||
"dependencyTypes": ["prod"], | ||
"dependencies": ["**"], | ||
"packages": ["@workleap/**"] | ||
}, | ||
{ | ||
"range": "", | ||
"dependencyTypes": ["prod", "dev"], | ||
"dependencies": ["**"], | ||
"packages": ["**"], | ||
"label": "packages version should be pinned" | ||
}, | ||
], | ||
"versionGroups": [ | ||
{ | ||
"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.