Skip to content

Commit 4a746ce

Browse files
committed
chore(repo): bump some more packages
1 parent 773487a commit 4a746ce

File tree

5 files changed

+131
-102
lines changed

5 files changed

+131
-102
lines changed

apps/examples/src/app/cannon/chain/scene.ts

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,12 @@ const maxMultiplierExamples = [0, 500, 1000, 1500, undefined] as const;
9393
@Component({
9494
selector: 'app-chain',
9595
template: `
96-
@if (length() > 0) {
97-
<app-chain-link [color]="color()" [maxMultiplier]="maxMultiplier()">
98-
<app-chain [length]="length() - 1" [maxMultiplier]="maxMultiplier()" />
96+
@let length = this.length();
97+
@let maxMultiplier = this.maxMultiplier();
98+
99+
@if (length > 0) {
100+
<app-chain-link [color]="color()" [maxMultiplier]="maxMultiplier">
101+
<app-chain [length]="length - 1" [maxMultiplier]="maxMultiplier" />
99102
</app-chain-link>
100103
}
101104
`,
@@ -179,15 +182,8 @@ export class StaticHandle {
179182
template: `
180183
<ngt-color *args="['#171720']" attach="background" />
181184
<ngt-ambient-light [intensity]="0.5 * Math.PI" />
182-
<ngt-point-light [position]="[-10, -10, -10]" [intensity]="Math.PI" [decay]="0" />
183-
<ngt-spot-light
184-
[position]="[10, 10, 10]"
185-
[angle]="0.8"
186-
[penumbra]="1"
187-
[intensity]="Math.PI"
188-
[decay]="0"
189-
castShadow
190-
/>
185+
<ngt-point-light [position]="-10" [intensity]="Math.PI" [decay]="0" />
186+
<ngt-spot-light [position]="10" [angle]="0.8" [penumbra]="1" [intensity]="Math.PI" [decay]="0" castShadow />
191187
192188
<ngtc-physics [options]="{ gravity: [0, -40, 0], allowSleep: false }">
193189
<app-pointer-handle>

apps/examples/src/app/cannon/compound/scene.ts

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -112,25 +112,28 @@ export class CompoundBody {
112112
template: `
113113
<ngt-color attach="background" *args="['#f6d186']" />
114114
<ngt-hemisphere-light [intensity]="0.35" />
115-
<ngt-spot-light [position]="[5, 5, 5]" [angle]="0.3" [penumbra]="1" [intensity]="2" castShadow>
115+
<ngt-spot-light [position]="5" [angle]="0.3" [penumbra]="1" [intensity]="2" castShadow>
116116
<ngt-vector2 *args="[1028, 1028]" attach="shadow.mapSize" />
117117
</ngt-spot-light>
118118
119+
@let copy = this.copy();
120+
@let ready = this.ready();
121+
119122
<ngtc-physics [options]="{ iterations: 6 }" [debug]="{ scale: 1.1 }">
120123
<app-plane [rotation]="[-Math.PI / 2, 0, 0]" />
121124
<app-compound-body [position]="[1.5, 5, 0.5]" [rotation]="[1.25, 0, 0]" />
122125
<app-compound-body
123126
[position]="[2.5, 3, 0.25]"
124127
[rotation]="[1.25, -1.25, 0]"
125-
(positionChanged)="!copy() && (position = $event)"
126-
(rotationChanged)="!copy() && (rotation = $event)"
128+
(positionChanged)="!copy && (position = $event)"
129+
(rotationChanged)="!copy && (rotation = $event)"
127130
/>
128131
129-
@if (ready()) {
132+
@if (ready) {
130133
<app-compound-body [position]="[2.5, 4, 0.25]" [rotation]="[1.25, -1.25, 0]" />
131134
}
132135
133-
@if (copy()) {
136+
@if (copy) {
134137
<app-compound-body isTrigger [mass]="0" [position]="position" [rotation]="rotation" />
135138
}
136139
</ngtc-physics>

apps/examples/src/app/postprocessing/basic/scene.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@ export class Sun {
4242
<ngt-mesh-basic-material color="pink" />
4343
</ngt-mesh>
4444
45-
<ngt-mesh [position]="[2, 2, 2]">
45+
<ngt-mesh [position]="2">
4646
<ngt-sphere-geometry />
4747
<ngt-mesh-basic-material color="aquamarine" />
4848
</ngt-mesh>
4949
50-
<ngt-mesh [position]="[-2, -2, -2]">
50+
<ngt-mesh [position]="-2">
5151
<ngt-box-geometry />
5252
<ngt-mesh-basic-material color="goldenrod" />
5353
</ngt-mesh>

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
"cypress": "14.3.3",
6060
"cz-git": "^1.11.1",
6161
"czg": "^1.11.1",
62-
"dotenv-cli": "^7.4.4",
62+
"dotenv-cli": "^8.0.0",
6363
"enquirer": "^2.4.1",
6464
"eslint": "9.27.0",
6565
"eslint-config-prettier": "10.1.5",
@@ -87,7 +87,7 @@
8787
"tailwindcss": "^3.4.17",
8888
"three": "^0.176.0",
8989
"ts-jest": "^29.3.4",
90-
"ts-morph": "^25.0.1",
90+
"ts-morph": "^26.0.0",
9191
"ts-node": "10.9.2",
9292
"tweakpane": "^4.0.5",
9393
"typescript": "5.7.3",
@@ -105,7 +105,7 @@
105105
"@angular/platform-browser-dynamic": "19.2.11",
106106
"@angular/platform-server": "19.2.11",
107107
"@angular/router": "19.2.11",
108-
"@dimforge/rapier3d-compat": "^0.17.0",
108+
"@dimforge/rapier3d-compat": "^0.17.1",
109109
"@monogrid/gainmap-js": "^3.1.0",
110110
"@pmndrs/cannon-worker-api": "^2.4.0",
111111
"@pmndrs/vanilla": "^1.20.4",
@@ -130,7 +130,7 @@
130130
"three-stdlib": "^2.36.0",
131131
"troika-three-text": "^0.52.4",
132132
"tslib": "^2.8.1",
133-
"zone.js": "0.15.0"
133+
"zone.js": "0.15.1"
134134
},
135135
"web-types": [
136136
"node_modules/angular-three/web-types.json",

0 commit comments

Comments
 (0)