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
4 changes: 2 additions & 2 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
package-manager-cache: false

- name: Install Pnpm
uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8
uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
with:
run_install: true

Expand Down Expand Up @@ -77,7 +77,7 @@ jobs:
package-manager-cache: false

- name: Install Pnpm
uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8
uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
with:
run_install: true

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
with:
node-version: 24.16.0
node-version: 24.18.0
package-manager-cache: false

- name: Install Pnpm
uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8
uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
with:
run_install: true

Expand Down
32 changes: 8 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -258,9 +258,7 @@ The function follows the same premise as [`Array#filter`](https://developer.mozi
```js
import { rspack } from "@rspack/core";

const configuration = {
/* Rspack configuration */
};
const configuration = {/* Rspack configuration */};
const compiler = rspack(configuration);

devMiddleware(compiler, {
Expand All @@ -287,9 +285,7 @@ import myOutputFileSystem from "my-fs";
myOutputFileSystem.join = join;
myOutputFileSystem.mkdirp = mkdirp;

const compiler = rspack({
/* Rspack configuration */
});
const compiler = rspack({/* Rspack configuration */});

devMiddleware(compiler, { outputFileSystem: myOutputFileSystem });
```
Expand All @@ -301,9 +297,7 @@ Allows to set up a callback to change the response data.
```js
import { rspack } from "@rspack/core";

const configuration = {
/* Rspack configuration */
};
const configuration = {/* Rspack configuration */};
const compiler = rspack(configuration);

devMiddleware(compiler, {
Expand Down Expand Up @@ -339,9 +333,7 @@ import { rspack } from "@rspack/core";
import { devMiddleware } from "@rspack/dev-middleware";
import express from "express";

const compiler = rspack({
/* Rspack configuration */
});
const compiler = rspack({/* Rspack configuration */});

const instance = devMiddleware(compiler);

Expand Down Expand Up @@ -373,9 +365,7 @@ import { rspack } from "@rspack/core";
import { devMiddleware } from "@rspack/dev-middleware";
import express from "express";

const compiler = rspack({
/* Rspack configuration */
});
const compiler = rspack({/* Rspack configuration */});

const instance = devMiddleware(compiler);

Expand Down Expand Up @@ -412,9 +402,7 @@ import { rspack } from "@rspack/core";
import { devMiddleware } from "@rspack/dev-middleware";
import express from "express";

const compiler = rspack({
/* Rspack configuration */
});
const compiler = rspack({/* Rspack configuration */});

const instance = devMiddleware(compiler);

Expand Down Expand Up @@ -445,9 +433,7 @@ import { rspack } from "@rspack/core";
import { devMiddleware } from "@rspack/dev-middleware";
import express from "express";

const compiler = rspack({
/* Rspack configuration */
});
const compiler = rspack({/* Rspack configuration */});

const instance = devMiddleware(compiler);

Expand Down Expand Up @@ -530,9 +516,7 @@ import { devMiddleware } from "@rspack/dev-middleware";
import express from "express";
import isObject from "is-object";

const compiler = rspack({
/* Rspack configuration */
});
const compiler = rspack({/* Rspack configuration */});

const app = express();

Expand Down
24 changes: 12 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@
"bump": "npx bumpp"
},
"devDependencies": {
"@hapi/hapi": "^21.4.9",
"@hono/node-server": "^2.0.8",
"@rslib/core": "^0.22.1",
"@rslint/core": "^0.6.1",
"@rspack/core": "2.0.8",
"@rstest/core": "0.10.4",
"@hapi/hapi": "^21.4.10",
"@hono/node-server": "^2.0.12",
"@rslib/core": "^0.23.2",
"@rslint/core": "^0.7.1",
"@rspack/core": "2.1.5",
"@rstest/core": "0.11.4",
"@types/express": "^5.0.6",
"@types/node": "^24.13.2",
"@types/node": "^24.13.3",
"@types/on-finished": "^2.3.5",
"@types/range-parser": "^1.2.7",
"connect-next": "^4.0.3",
Expand All @@ -48,14 +48,14 @@
"execa": "^9.6.1",
"express": "^5.2.1",
"finalhandler": "^2.1.1",
"hono": "^4.12.25",
"hono": "^4.12.32",
"koa": "^3.2.1",
"memfs": "^4.57.7",
"memfs": "^4.64.0",
"mrmime": "^2.0.1",
"npm-run-all2": "^9.0.2",
"on-finished": "^2.4.1",
"prettier": "^3.8.4",
"range-parser": "^1.2.1",
"prettier": "^3.9.6",
"range-parser": "^1.3.0",
"router": "^2.2.0",
"supertest": "^7.2.2",
"typescript": "^7.0.2"
Expand All @@ -68,7 +68,7 @@
"optional": true
}
},
"packageManager": "pnpm@11.6.0",
"packageManager": "pnpm@11.17.0",
"engines": {
"node": "^20.19.0 || >=22.12.0"
}
Expand Down
Loading