Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 49 additions & 0 deletions .github/workflows/node-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Node Tests

on:
pull_request:
paths:
- packages/**/src/**/*.js
- packages/**/package.json
- package.json
- package-lock.json

jobs:
lint:
name: lint
runs-on: macos-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: 22
registry-url: https://registry.npmjs.org/

- run: npm install --no-audit --no-fund --no-progress

- run: npm run lint

tests:
name: tests
runs-on: macos-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: 22
registry-url: https://registry.npmjs.org/

- run: npm install --no-audit --no-fund --no-progress

- run: npm run test -- --test-reporter=spec --test-reporter=lcov --test-reporter-destination=stdout --test-reporter-destination=coverage.txt

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.txt
flags: unittests
fail_ci_if_error: false
verbose: true
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Tests
name: PHP Tests

on:
pull_request:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
registry-url: https://registry.npmjs.org/

- run: npm i
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ backup/

/vendor/
.phpunit.result.cache
/coverage.xml
/coverage.txt
/.eslintcache
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20
22
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,19 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## [Unreleased]

## [v6.3.5](https://github.com/studiometa/webpack-config/compare/6.3.4..6.3.5) (2025-06-04)

### Fixed

- **@studiometa/webpack-config-preset-prototyping:**
- add support for null style object values ([#196](https://github.com/studiometa/webpack-config/pull/196), [7a49821](https://github.com/studiometa/webpack-config/commit/7a49821))
- add support for null parameters ([#196](https://github.com/studiometa/webpack-config/pull/196), [63b36fa](https://github.com/studiometa/webpack-config/commit/63b36fa))

### Changed

- **@studiometa/webpack-config-preset-prototyping:** improve Twig template compilation by adding html-loader ([#195](https://github.com/studiometa/webpack-config/pull/195), [19a09aa](https://github.com/studiometa/webpack-config/commit/19a09aa))
- **@studiometa/webpack-config:** update dependencies ([3c9c35c](https://github.com/studiometa/webpack-config/commit/3c9c35c))

## [v6.3.4](https://github.com/studiometa/webpack-config/compare/6.3.3..6.3.4) (2025-05-06)

### Changed
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "studiometa/webpack-config",
"version": "6.3.4",
"version": "6.3.5",
"description": "PHP Helpers for @studiometa/webpack-config",
"type": "library",
"require": {
Expand Down
14 changes: 8 additions & 6 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
import { js, prettier } from '@studiometa/eslint-config';
import { globals } from '@studiometa/eslint-config/utils';
import { defineConfig, js, prettier, globals } from '@studiometa/eslint-config';

export default [
...js,
...prettier,
export default defineConfig(
js,
prettier,
{
files: ['packages/preset-*/**/*', 'packages/webpack-config/**/*'],
languageOptions: {
globals: globals.node,
},
},
];
{
ignores: ['**/dist/**'],
},
);
Loading
Loading