8000 minor #110 [CI] Test for lowest and highest dependencies, close #109 … · symfony/stimulus-bridge@fe9ca0b · GitHub
[go: up one dir, main page]

Skip to content

Commit fe9ca0b

Browse files
committed
minor #110 [CI] Test for lowest and highest dependencies, close #109 (Kocal)
This PR was squashed before being merged into the main branch. Discussion ---------- [CI] Test for lowest and highest dependencies, close #109 Commits ------- 94faffa [CI] Test for lowest and highest dependencies, close #109
2 parents 3272aff + 94faffa commit fe9ca0b

File tree

5 files changed

+81
-89
lines changed

5 files changed

+81
-89
lines changed

.babelrc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
{
2-
"presets": ["@babel/env"],
3-
"plugins": ["@babel/plugin-proposal-class-properties"]
2+
"presets": ["@babel/env"]
43
}

.github/workflows/test.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,23 +56,29 @@ jobs:
5656
echo "The Git workspace is clean. No changes detected."
5757
fi
5858
tests:
59-
name: Tests (Node.js ${{ matrix.node-versions }})
59+
name: Tests (Node.js ${{ matrix.node-versions }}, deps ${{ matrix.dependency-version }})
6060
runs-on: ubuntu-latest
6161
strategy:
6262
fail-fast: false
6363
matrix:
6464
node-versions: [ '18', '20', '22', '23' ]
65+
dependency-version: ['locked', 'highest', 'lowest-direct']
6566
steps:
6667
- name: Checkout
6768
uses: actions/checkout@v4
6869

6970
- uses: pnpm/action-setup@v4
7071

72+
- name: Configure PNPM resolution mode
73+
if: ${{ matrix.dependency-version != 'locked' }}
74+
run: |
75+
pnpm config set resolution-mode ${{ matrix.dependency-version }}
76+
rm -rf pnpm-lock.yaml
77+
7178
- name: Node ${{matrix.node-versions}}
7279
uses: actions/setup-node@v4
7380
with:
7481
node-version: ${{matrix.node-versions}}
75-
cache: 'pnpm'
7682

7783
- name: Install Node.js Dependencies
7884
run: pnpm install

CHANGELOG.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,14 @@
99

1010
### Features
1111

12-
* Thus having no effects on the `dist/` files, TypeScript `module` is now set to `ESNext`, `moduleResolution` to `NodeNext`, and `target` to `ES2021`, by @Kocal in https://github.com/symfony/stimulus-bridge/pull/99
12+
* Thus having no effects on the `dist/` files, TypeScript `module` is now set to `ESNext`, `moduleResolution` to `NodeNext`, and `target` to `ES2021` by @Kocal in https://github.com/symfony/stimulus-bridge/pull/99
13+
* Upgrade minimum supported `acorn` version to 8.2.0 by @Kocal in https://github.com/symfony/stimulus-bridge/pull/110
1314

1415
### Internal
1516

1617
* [CI] Ensure tests are run under multiple Node.js versions by @Kocal in https://github.com/symfony/stimulus-bridge/pull/94
17-
* [CI] Check for un-built JS dist files by @Kocal in https://github.com/symfony/stimulus-bridge/pull/96
18+
* [CI] Check for un-built JS dist files by, @Kocal in https://github.com/symfony/stimulus-bridge/pull/96
19+
* [CI] Run tests for lowest/locked/highest dependency versions by @Kocal in https://github.com/symfony/stimulus-bridge/pull/111
1820
* Replace ESLint and Prettier by Biome.js by @Kocal in https://github.com/symfony/stimulus-bridge/pull/95
1921
* Migrate from [Rollup](https://rollupjs.org/) to [Rolldown](https://rolldown.rs/) by @Kocal in https://github.com/symfony/stimulus-bridge/pull/99
2022
* Migrate from [Yarn](https://yarnpkg.com/) to [pnpm](https://pnpm.io/) by @Kocal in https://github.com/symfony/stimulus-bridge/pull/108

package.json

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,14 @@
2222
"dependencies": {
2323
"@hotwired/stimulus-webpack-helpers": "^1.0.1",
2424
"@types/webpack-env": "^1.16.4",
25-
"acorn": "^8.0.5",
25+
"acorn": "^8.2.0",
2626
"loader-utils": "^2.0.0",
2727
"schema-utils": "^3.0.0"
2828
},
2929
"devDependencies": {
30-
"@babel/core": "^7.15.8",
31-
"@babel/plugin-proposal-class-properties": "^7.15.8",
32-
"@babel/preset-env": "^7.15.8",
33-
"@babel/preset-typescript": "^7.15.0",
30+
"@babel/core": "^7.22.0",
31+
"@babel/preset-env": "^7.22.0",
32+
"@babel/preset-typescript": "^7.22.0",
3433 9C9C
"@biomejs/biome": "^1.9.4",
3534
"@hotwired/stimulus": "^3.0",
3635
"@rollup/plugin-typescript": "^12.1.2",
@@ -41,8 +40,8 @@
4140
"rolldown": "^1.0.0-beta.3",
4241
"tslib": "^2.3.1",
4342
"typescript": "^4.4.4",
44-
"webpack": "^5.11.1",
45-
"webpack-cli": "^4.3.0"
43+
"webpack": "^5.72",
44+
"webpack-cli": "^5.1.4"
4645
},
4746
"resolutions": {
4847
"@types/jest": "^27.0"

pnpm-lock.yaml

Lines changed: 62 additions & 76 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
0