Skip to content

Commit 0831d3d

Browse files
authored
Merge pull request #694 from pmndrs/dev
Version 6.37.1
2 parents cd5b3e1 + 838ec7c commit 0831d3d

8 files changed

+207
-195
lines changed

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ package-lock.json
3535
dist/
3636
build/
3737
public/
38-
tmp/
38+
temp/
3939
resources/
4040
*.lock
4141
*.log

esbuild.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const banner = `/**
2121
const workers = {
2222
entryPoints: await glob("./src/**/worker.js"),
2323
outExtension: { ".js": ".txt" },
24-
outdir: "./tmp",
24+
outdir: "./temp",
2525
target: "es2019",
2626
logLevel: "info",
2727
format: "iife",

package.json

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "postprocessing",
3-
"version": "6.37.0",
3+
"version": "6.37.1",
44
"description": "A post processing library for three.js.",
55
"homepage": "https://github.com/pmndrs/postprocessing",
66
"license": "Zlib",
@@ -70,7 +70,7 @@
7070
"build:js": "node esbuild",
7171
"build:js:min": "node esbuild -m",
7272
"build:dts": "cpy \"types/*\" build/types && cpy \"types/*\" build/types --rename=index.d.cts",
73-
"clean": "del-cli build tmp manual/resources \"manual/assets/**/dist\" public",
73+
"clean": "del-cli build temp manual/resources \"manual/assets/**/dist\" public",
7474
"copy": "cpy \"demo/static/**/*\" public/demo",
7575
"deploy": "run-s copy postcss hugo gzip",
7676
"doc": "esdoc",
@@ -79,6 +79,7 @@
7979
"lint": "run-p lint:*",
8080
"lint:css": "stylelint --fix manual/assets/css/src",
8181
"lint:js": "eslint --fix src demo/src manual/assets/js/src",
82+
"lint:dts": "tsc types/index.d.ts --noEmit",
8283
"postcss": "postcss manual/assets/css/dist/index.css -o manual/assets/css/dist/index.css -c manual",
8384
"prepublishOnly": "npm test",
8485
"prewatch": "run-s clean copy build:css build:js",
@@ -93,6 +94,7 @@
9394
},
9495
"devDependencies": {
9596
"@tweakpane/core": "2.x.x",
97+
"@types/node": "22.x.x",
9698
"@types/three": "0.x.x",
9799
"@typescript-eslint/eslint-plugin": "8.x.x",
98100
"@typescript-eslint/parser": "8.x.x",
@@ -125,6 +127,6 @@
125127
"tiny-glob": "0.x.x",
126128
"tslib": "2.x.x",
127129
"tweakpane": "4.x.x",
128-
"typescript": "5.7.x"
130+
"typescript": "5.8.x"
129131
}
130132
}

pnpm-lock.yaml

+181-178
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/textures/lut/LookupTexture.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import {
1414

1515
import { LUTOperation } from "../../enums/LUTOperation.js";
1616
import { RawImageData } from "../RawImageData.js";
17-
import workerProgram from "../../../tmp/lut/worker.txt";
17+
import workerProgram from "../../../temp/lut/worker.txt";
1818

1919
const c = /* @__PURE__ */ new Color();
2020

src/textures/smaa/SMAAImageGenerator.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { LoadingManager } from "three";
22
import { RawImageData } from "../RawImageData.js";
3-
import workerProgram from "../../../tmp/smaa/worker.txt";
3+
import workerProgram from "../../../temp/smaa/worker.txt";
44

55
/**
66
* Generates the SMAA data images.

tsconfig.json

+15-9
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,27 @@
11
{
2-
"include": ["./src", "./demo/src", "./manual/js"],
2+
"include": [
3+
"./src",
4+
"./demo/src",
5+
"./manual/js",
6+
"./types"
7+
],
38
"compilerOptions": {
49
"baseUrl": ".",
510
"outDir": "./build",
6-
"paths": {
7-
"postprocessing": ["./src/index.js"]
8-
},
9-
"moduleResolution": "node",
10-
"module": "ESNext",
11-
"target": "ESNext",
11+
"moduleResolution": "bundler",
12+
"module": "ES2022",
13+
"target": "ES2022",
1214
"strict": true,
1315
"allowJs": true,
1416
"sourceMap": false,
1517
"skipLibCheck": true,
1618
"importHelpers": true,
17-
"downlevelIteration": true,
19+
"resolveJsonModule": true,
1820
"noImplicitOverride": true,
19-
"allowSyntheticDefaultImports": true
21+
"allowSyntheticDefaultImports": true,
22+
"paths": {
23+
"postprocessing": ["./src/index.js"],
24+
"temp": ["./temp"]
25+
}
2026
}
2127
}

types/index.d.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ declare module "postprocessing" {
2222
Color,
2323
ColorSpace,
2424
Data3DTexture,
25-
BaseEvent
25+
BaseEvent,
26+
CanvasTexture
2627
} from "three";
2728

2829
/**

0 commit comments

Comments
 (0)