This repository has been archived by the owner on Feb 26, 2024. It is now read-only.
-
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.
feat: Drop support for Node < v18 and rework all files
BREAKING CHANGE: This commit updates numerous package versions in the yarn.lock file. The updated versions have included several new dependencies and removed a few no longer needed. This change aims to improve application performance and security by keeping all packages at their latest available version.
- Loading branch information
Showing
697 changed files
with
4,334 additions
and
24,257 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 |
---|---|---|
|
@@ -2,7 +2,3 @@ | |
cjs | ||
es | ||
types | ||
|
||
# Yarn | ||
.yarn | ||
.pnp.* |
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,4 +1 @@ | ||
* text=auto eol=lf | ||
|
||
/.yarn/releases/** binary | ||
/.yarn/plugins/** binary |
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 |
---|---|---|
|
@@ -9,14 +9,16 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: pnpm/[email protected] | ||
- uses: actions/[email protected] | ||
with: | ||
cache: 'pnpm' | ||
registry-url: https://npm.pkg.github.com/ | ||
- name: Build commonjs, es6, esnext and amd | ||
run: | | ||
yarn build:cjs | ||
yarn build:es | ||
yarn build:types | ||
pnpm build:cjs | ||
pnpm build:es | ||
pnpm build:types | ||
- name: Publish to gpr | ||
run: npm publish | ||
env: | ||
|
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 |
---|---|---|
|
@@ -12,14 +12,16 @@ jobs: | |
id-token: write | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: pnpm/[email protected] | ||
- uses: actions/[email protected] | ||
with: | ||
cache: 'pnpm' | ||
registry-url: https://npm.pkg.github.com/ | ||
- name: Build commonjs, es6, esnext and amd | ||
run: | | ||
yarn build:cjs | ||
yarn build:es | ||
yarn build:types | ||
pnpm build:cjs | ||
pnpm build:es | ||
pnpm build:types | ||
- name: Install jq | ||
uses: dcarbone/[email protected] | ||
- name: Update version in deno.json | ||
|
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,14 +14,17 @@ jobs: | |
needs: test | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: pnpm/[email protected] | ||
- uses: actions/[email protected] | ||
with: | ||
cache: 'pnpm' | ||
- name: Build commonjs, es6, esnext and amd | ||
run: | | ||
yarn build:cjs | ||
yarn build:es | ||
yarn build:types | ||
pnpm build:cjs | ||
pnpm build:es | ||
pnpm build:types | ||
- name: Publish to npm | ||
run: yarn release | ||
run: pnpm release | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |
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 |
---|---|---|
|
@@ -11,17 +11,20 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: pnpm/[email protected] | ||
- uses: actions/[email protected] | ||
with: | ||
cache: 'pnpm' | ||
- name: Dependency check | ||
run: yarn --immutable --immutable-cache --check-cache | ||
run: pnpm --immutable | ||
- name: Dependency cruiser check | ||
run: yarn test:deps | ||
run: pnpm test:deps | ||
- name: Prettier check | ||
run: yarn test:prettier | ||
run: pnpm test:prettier | ||
- name: ESLint check | ||
run: yarn test:eslint | ||
run: pnpm test:eslint | ||
- name: Skypack check | ||
run: yarn test:skypack | ||
run: pnpm test:skypack | ||
test: | ||
needs: lints | ||
runs-on: ubuntu-latest | ||
|
@@ -30,9 +33,11 @@ jobs: | |
node: [18, 20, 21] | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: pnpm/[email protected] | ||
- name: Set up Node.js ${{matrix.node}} | ||
uses: actions/[email protected] | ||
with: | ||
node-version: ${{matrix.node}} | ||
cache: 'pnpm' | ||
- name: Unit tests | ||
run: yarn test | ||
run: pnpm test |
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,5 @@ | ||
{ | ||
"include": [ | ||
"src/**/*.ts" | ||
], | ||
"reporter": [ | ||
"lcov" | ||
], | ||
"extension": [ | ||
".ts" | ||
] | ||
"include": ["src/**/*.ts"], | ||
"reporter": ["lcov"], | ||
"extension": [".ts"] | ||
} |
Oops, something went wrong.