Skip to content

Commit

Permalink
chore: update pob
Browse files Browse the repository at this point in the history
  • Loading branch information
christophehurpeau committed Nov 5, 2023
1 parent fa7476e commit c5eec70
Show file tree
Hide file tree
Showing 99 changed files with 511 additions and 525 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20

- name: Enable Corepack
run: corepack enable
Expand Down
22 changes: 7 additions & 15 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,6 @@ on:
required: true
type: boolean
default: false
bump-dependents-highest-as:
description: "Bump dependents highest as"
required: false
type: choice
options:
- major
- minor
- patch
default: "major"

jobs:
release:
Expand All @@ -24,11 +15,12 @@ jobs:
- uses: actions/checkout@v4
with:
token: ${{ secrets.GH_TOKEN }}
fetch-depth: 0
fetch-depth: 200
fetch-tags: true

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20

- name: Enable Corepack
run: corepack enable
Expand All @@ -38,7 +30,7 @@ jobs:

- name: New version (dry run)
if: github.ref == 'refs/heads/main' && inputs.dry-run
run: yarn version --dry-run --bump-dependents-highest-as=${{ inputs.bump-dependents-highest-as }}
run: yarn version --dry-run
- name: Configure Git user
if: github.ref == 'refs/heads/main' && !inputs.dry-run
run: |
Expand All @@ -48,7 +40,7 @@ jobs:
- name: New version
if: github.ref == 'refs/heads/main' && !inputs.dry-run
run: |
yarn version --create-release=github --bump-dependents-highest-as=${{ inputs.bump-dependents-highest-as }} -m 'chore: release [skip ci]\n\n%t'
yarn version --create-release=github -m 'chore: release %v [skip ci]'
env:
HUSKY: 0
GH_TOKEN: ${{ secrets.GH_TOKEN }}
Expand All @@ -62,7 +54,7 @@ jobs:
fi
echo >> ./.yarnrc.yml
echo "npmAuthToken: $NODE_AUTH_TOKEN" >> ./.yarnrc.yml
yarn workspaces foreach --parallel --no-private npm publish --tolerate-republish
yarn workspaces foreach --all --parallel --no-private npm publish --tolerate-republish
if: github.ref == 'refs/heads/main' && !inputs.dry-run
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
3 changes: 3 additions & 0 deletions .github/workflows/push-renovate-pob_root.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ jobs:
with:
token: ${{ secrets.GH_TOKEN }}

- name: Enable Corepack
run: corepack enable

- name: Install Dependencies
# no immutable here
run: yarn install
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/push-renovate-prettier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ jobs:
with:
token: ${{ secrets.GH_TOKEN }}

- name: Enable Corepack
run: corepack enable

- name: Install Dependencies
run: yarn install --immutable

Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20

- name: Enable Corepack
run: corepack enable
Expand All @@ -28,9 +28,9 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20

- name: Enable Corepack
run: corepack enable
Expand All @@ -50,9 +50,9 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20

- name: Enable Corepack
run: corepack enable
Expand All @@ -79,7 +79,7 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

Expand Down
2 changes: 1 addition & 1 deletion .husky/pre-push
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ do
# Skip if branch deletion
if [ "$local_sha" != "$z40" ]; then
if [ "$local_ref" = "$branch_ref" ]; then
yarn test --watchAll=false --changedSince=origin/main && yarn run checks
yarn run checks && yarn run lint && yarn test --watchAll=false --changedSince=origin/main
fi
fi
done
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/cache/arg-npm-4.1.3-1748b966a8-070ff801a9.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/cache/q-npm-1.5.1-a28b3cfeaf-7855fbdba1.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/cache/yn-npm-3.1.1-8ad4259784-0732468dd7.zip
Binary file not shown.
90 changes: 45 additions & 45 deletions .yarn/plugins/@yarnpkg/plugin-conventional-version.cjs

Large diffs are not rendered by default.

10 changes: 2 additions & 8 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,12 @@
compressionLevel: 0

defaultSemverRangePrefix: ^

enableGlobalCache: false

enableMessageNames: false

nodeLinker: node-modules

plugins:
- checksum: 280033c7f80a0c3ae08023a0cb96eef8b4ce4dbd123a6abf97cd3af12023dedc70390980fd54b88a52c0ed3a6eb31445aa98e5013324717399d3f2384591997e
- checksum: 351165af3f87af1ec24528ccf2affc93f57694cc7bfc51a1842d8c17e19d4c7275176de471df52f3b462b7fb16615a1961896c3823b68c330317035020e92e40
path: .yarn/plugins/@yarnpkg/plugin-conventional-version.cjs
spec: "https://raw.githubusercontent.com/christophehurpeau/yarn-plugin-conventional-version/main/bundles/@yarnpkg/plugin-conventional-version.cjs"

spec: https://raw.githubusercontent.com/christophehurpeau/yarn-plugin-conventional-version/main/bundles/%40yarnpkg/plugin-conventional-version.cjs
supportedArchitectures:
cpu:
- x64
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,16 @@
},
"devDependencies": {
"@babel/core": "7.23.2",
"@pob/commitlint-config": "6.0.2",
"@pob/commitlint-config": "6.2.0",
"@pob/eslint-config": "51.1.2",
"@pob/eslint-config-typescript": "51.1.2",
"@pob/root": "8.4.2",
"@pob/root": "8.6.0",
"@types/jest": "29.5.7",
"@types/node": "20.8.10",
"check-package-dependencies": "6.8.0",
"eslint": "8.53.0",
"jest": "29.7.0",
"pob-babel": "36.4.4",
"pob-babel": "36.6.0",
"typedoc": "0.25.3",
"typescript": "5.2.2"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/nightingale-ansi-formatter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"devDependencies": {
"@babel/core": "7.23.2",
"@babel/preset-env": "7.23.2",
"pob-babel": "36.4.4",
"pob-babel": "36.6.0",
"typescript": "5.2.2"
}
}
2 changes: 1 addition & 1 deletion packages/nightingale-app-console/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
"devDependencies": {
"@babel/core": "7.23.2",
"@babel/preset-env": "7.23.2",
"pob-babel": "36.4.4",
"pob-babel": "36.6.0",
"typescript": "5.2.2"
}
}
2 changes: 1 addition & 1 deletion packages/nightingale-app-react-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
"devDependencies": {
"@babel/core": "7.23.2",
"@babel/preset-env": "7.23.2",
"pob-babel": "36.4.4",
"pob-babel": "36.6.0",
"typescript": "5.2.2"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
"@babel/core": "7.23.2",
"@babel/preset-env": "7.23.2",
"nightingale-levels": "14.2.0",
"pob-babel": "36.4.4",
"pob-babel": "36.6.0",
"typescript": "5.2.2"
}
}
2 changes: 1 addition & 1 deletion packages/nightingale-browser-console/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
"devDependencies": {
"@babel/core": "7.23.2",
"@babel/preset-env": "7.23.2",
"pob-babel": "36.4.4",
"pob-babel": "36.6.0",
"typescript": "5.2.2"
}
}
15 changes: 8 additions & 7 deletions packages/nightingale-console-example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,27 +12,27 @@
"homepage": "https://github.com/christophehurpeau/nightingale",
"type": "module",
"engines": {
"node": ">=18.12.0"
"node": ">=20.9.0"
},
"main": "./build/index-node18.mjs",
"main": "./build/index-node20.mjs",
"exports": {
"./package.json": "./package.json",
".": {
"types": "./src/index.ts",
"node": {
"import": "./build/index-node18.mjs"
"import": "./build/index-node20.mjs"
}
},
"./children": {
"types": "./src/children.ts",
"node": {
"import": "./build/children-node18.mjs"
"import": "./build/children-node20.mjs"
}
},
"./sentry": {
"types": "./src/sentry.ts",
"node": {
"import": "./build/sentry-node18.mjs"
"import": "./build/sentry-node20.mjs"
}
}
},
Expand All @@ -50,7 +50,8 @@
"babelEnvs": [
{
"target": "node",
"version": "18"
"version": "20",
"omitVersionInFileName": true
}
],
"entries": [
Expand All @@ -67,7 +68,7 @@
},
"devDependencies": {
"@babel/core": "7.23.2",
"pob-babel": "36.4.4",
"pob-babel": "36.6.0",
"typescript": "5.2.2"
}
}
2 changes: 1 addition & 1 deletion packages/nightingale-console-output/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
"devDependencies": {
"@babel/core": "7.23.2",
"@babel/preset-env": "7.23.2",
"pob-babel": "36.4.4",
"pob-babel": "36.6.0",
"typescript": "5.2.2"
}
}
2 changes: 1 addition & 1 deletion packages/nightingale-console/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
},
"devDependencies": {
"@babel/core": "7.23.2",
"pob-babel": "36.4.4",
"pob-babel": "36.6.0",
"typescript": "5.2.2"
}
}
2 changes: 1 addition & 1 deletion packages/nightingale-debug/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
"devDependencies": {
"@babel/core": "7.23.2",
"@babel/preset-env": "7.23.2",
"pob-babel": "36.4.4",
"pob-babel": "36.6.0",
"typescript": "5.2.2"
}
}
19 changes: 10 additions & 9 deletions packages/nightingale-example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,44 +12,44 @@
"homepage": "https://github.com/christophehurpeau/nightingale",
"type": "module",
"engines": {
"node": ">=18.12.0"
"node": ">=20.9.0"
},
"exports": {
"./package.json": "./package.json",
"./configure": {
"types": "./src/configure.ts",
"node": {
"import": "./build/configure-node18.mjs"
"import": "./build/configure-node20.mjs"
}
},
"./console": {
"types": "./src/console.ts",
"node": {
"import": "./build/console-node18.mjs"
"import": "./build/console-node20.mjs"
}
},
"./debug": {
"types": "./src/debug.ts",
"node": {
"import": "./build/debug-node18.mjs"
"import": "./build/debug-node20.mjs"
}
},
"./errors": {
"types": "./src/errors.ts",
"node": {
"import": "./build/errors-node18.mjs"
"import": "./build/errors-node20.mjs"
}
},
"./jsonConsole": {
"types": "./src/jsonConsole.ts",
"node": {
"import": "./build/jsonConsole-node18.mjs"
"import": "./build/jsonConsole-node20.mjs"
}
},
"./slack": {
"types": "./src/slack.ts",
"node": {
"import": "./build/slack-node18.mjs"
"import": "./build/slack-node20.mjs"
}
}
},
Expand All @@ -67,7 +67,8 @@
"babelEnvs": [
{
"target": "node",
"version": "18"
"version": "20",
"omitVersionInFileName": true
}
],
"entries": [
Expand All @@ -90,7 +91,7 @@
},
"devDependencies": {
"@babel/core": "7.23.2",
"pob-babel": "36.4.4",
"pob-babel": "36.6.0",
"typescript": "5.2.2"
}
}
2 changes: 1 addition & 1 deletion packages/nightingale-formatter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
"devDependencies": {
"@babel/core": "7.23.2",
"@babel/preset-env": "7.23.2",
"pob-babel": "36.4.4",
"pob-babel": "36.6.0",
"typescript": "5.2.2"
}
}
2 changes: 1 addition & 1 deletion packages/nightingale-html-formatter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
"@babel/core": "7.23.2",
"@babel/preset-env": "7.23.2",
"nightingale-levels": "14.2.0",
"pob-babel": "36.4.4",
"pob-babel": "36.6.0",
"typescript": "5.2.2"
}
}
Loading

0 comments on commit c5eec70

Please sign in to comment.