-
Notifications
You must be signed in to change notification settings - Fork 173
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update dependencies, remove unused ones (#100)
* chore: update dependencies, remove unused ones * fix types * Updates snapshots * Fixes prepack * try with Node.js 16.x * Update more packages * Upgrade to Jest 28 * Bump other packages * Bump other packages * Use Node.js 14.19.2 * Revert "try with Node.js 16.x" This reverts commit 45aa8a3. This reverts commit 4a275f6. * Use specific Node.js version * trying something * Pin exact Node.js version number * Bump Jest to 28.1.0 * dist-upgrade * Don't pin Node.js version when it's not necessary * Update more dependencies * Update more dependencies * Revert "Pin exact Node.js version number" This reverts commit dd72a68. Co-authored-by: Maël Nison <[email protected]>
- Loading branch information
Showing
1,032 changed files
with
19,125 additions
and
23,939 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 |
---|---|---|
|
@@ -8,38 +8,38 @@ jobs: | |
strategy: | ||
matrix: | ||
platform: | ||
- [linux, ubuntu-latest] | ||
- [darwin, macos-latest] | ||
- [linux, ubuntu-latest] | ||
- [darwin, macos-latest] | ||
|
||
runs-on: ${{matrix.platform[1]}} | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Install Node | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 14.x | ||
- name: Install Node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 14.x | ||
|
||
- name: 'Build Node with corepack master' | ||
run: | | ||
yarn install --immutable | ||
yarn pack | ||
git clone -b mael/pmm --depth=1 https://github.com/arcanis/node.git node && cd node | ||
git config user.name 'John Doe' | ||
git config user.email '[email protected]' | ||
rm -rf deps/corepack && tar xvf ../package.tgz && mv package deps/corepack | ||
git add . | ||
if ! git diff-index --quiet HEAD; then | ||
git commit -m 'Updates corepack' | ||
git show --name-status | ||
fi | ||
./configure | ||
DISTTYPE=nightly DATESTRING=YYYY-MM-DD COMMIT=XXXX make binary -j8 | ||
mv node-v15.0.0-nightlyYYYY-MM-DDXXXX-*.tar.gz node-corepack-${{matrix.platform[0]}}-x64.tar.gz | ||
- name: "Build Node with corepack master" | ||
run: | | ||
corepack yarn install --immutable | ||
corepack yarn pack | ||
git clone -b mael/pmm --depth=1 https://github.com/arcanis/node.git node && cd node | ||
git config user.name 'John Doe' | ||
git config user.email '[email protected]' | ||
rm -rf deps/corepack && tar xvf ../package.tgz && mv package deps/corepack | ||
git add . | ||
if ! git diff-index --quiet HEAD; then | ||
git commit -m 'Updates corepack' | ||
git show --name-status | ||
fi | ||
./configure | ||
DISTTYPE=nightly DATESTRING=YYYY-MM-DD COMMIT=XXXX make binary -j8 | ||
mv node-v15.0.0-nightlyYYYY-MM-DDXXXX-*.tar.gz node-corepack-${{matrix.platform[0]}}-x64.tar.gz | ||
- name: Upload build artifacts | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: node-corepack-${{matrix.platform[0]}}-x64 | ||
path: node/node-corepack-${{matrix.platform[0]}}-x64.tar.gz | ||
- name: Upload build artifacts | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: node-corepack-${{matrix.platform[0]}}-x64 | ||
path: node/node-corepack-${{matrix.platform[0]}}-x64.tar.gz |
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,52 +3,52 @@ name: Version Sync | |
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '0 0 * * *' | ||
- cron: "0 0 * * *" | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Install Node | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 14.x | ||
|
||
- name: 'Update the package manager versions' | ||
run: | | ||
LATEST_NPM=$(curl https://registry.npmjs.org/npm | jq '.["dist-tags"].latest') | ||
LATEST_PNPM=$(curl https://registry.npmjs.org/pnpm | jq '.["dist-tags"].latest') | ||
LATEST_YARN=$(curl https://registry.npmjs.org/yarn | jq '.["dist-tags"].latest') | ||
LATEST_BERRY=$(curl https://repo.yarnpkg.com/tags | jq '.latest.stable') | ||
jq < config.json > config.json.new '. * '"{ | ||
definitions: { | ||
npm: { | ||
default: $LATEST_NPM, | ||
}, | ||
pnpm: { | ||
default: $LATEST_PNPM, | ||
}, | ||
yarn: { | ||
default: $LATEST_YARN, | ||
transparent: { | ||
default: $LATEST_BERRY, | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Install Node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 14.x | ||
|
||
- name: "Update the package manager versions" | ||
run: | | ||
LATEST_NPM=$(curl https://registry.npmjs.org/npm | jq '.["dist-tags"].latest') | ||
LATEST_PNPM=$(curl https://registry.npmjs.org/pnpm | jq '.["dist-tags"].latest') | ||
LATEST_YARN=$(curl https://registry.npmjs.org/yarn | jq '.["dist-tags"].latest') | ||
LATEST_BERRY=$(curl https://repo.yarnpkg.com/tags | jq '.latest.stable') | ||
jq < config.json > config.json.new '. * '"{ | ||
definitions: { | ||
npm: { | ||
default: $LATEST_NPM, | ||
}, | ||
pnpm: { | ||
default: $LATEST_PNPM, | ||
}, | ||
yarn: { | ||
default: $LATEST_YARN, | ||
transparent: { | ||
default: $LATEST_BERRY, | ||
}, | ||
}, | ||
}, | ||
}, | ||
}" | ||
}" | ||
rm config.json | ||
mv config.json.new config.json | ||
rm config.json | ||
mv config.json.new config.json | ||
if [[ ! -z "$(git status --porcelain)" ]]; then | ||
git config user.email '[email protected]' | ||
git config user.name 'Node.js GitHub Bot' | ||
if [[ ! -z "$(git status --porcelain)" ]]; then | ||
git config user.email '[email protected]' | ||
git config user.name 'Node.js GitHub Bot' | ||
git add config.json | ||
git commit -m 'chore: update package manager versions' | ||
git push | ||
fi | ||
git add config.json | ||
git commit -m 'chore: update package manager versions' | ||
git push | ||
fi |
Oops, something went wrong.