Skip to content

Commit b07816b

Browse files
committed
chore: update nx
1 parent aea07c6 commit b07816b

File tree

19 files changed

+30611
-23684
lines changed

19 files changed

+30611
-23684
lines changed

CHANGELOG.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,12 @@
1-
2-
31
## [2.0.0-beta.17](https://github.com/angular-threejs/angular-three/compare/2.0.0-beta.16...2.0.0-beta.17) (2023-08-23)
42

5-
63
### Bug Fixes
74

8-
* **core:** adjust createAttachFn positional type arguments ([b65fe57](https://github.com/angular-threejs/angular-three/commit/b65fe57bc8ab21089ebce86835c0508908f8a755))
9-
5+
- **core:** adjust createAttachFn positional type arguments ([b65fe57](https://github.com/angular-threejs/angular-three/commit/b65fe57bc8ab21089ebce86835c0508908f8a755))
106

117
### Documentations
128

13-
* adjust sandbox app component ([15b0a27](https://github.com/angular-threejs/angular-three/commit/15b0a279588dfe125e390093427b48ea09eaea17))
9+
- adjust sandbox app component ([15b0a27](https://github.com/angular-threejs/angular-three/commit/15b0a279588dfe125e390093427b48ea09eaea17))
1410

1511
## [2.0.0-beta.16](https://github.com/angular-threejs/angular-three/compare/2.0.0-beta.15...2.0.0-beta.16) (2023-08-16)
1612

@@ -64,4 +60,4 @@
6460

6561
### Features
6662

67-
- **core:** generate core ([e1cf6c7](https://github.com/angular-threejs/angular-three/commit/e1cf6c7422668afbbc0f767a444bcc591e1a6903))
63+
- **core:** generate core ([e1cf6c7](https://github.com/angular-threejs/angular-three/commit/e1cf6c7422668afbbc0f767a444bcc591e1a6903))

apps/examples/src/app/app.component.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ import { RouterOutlet } from '@angular/router';
55
selector: 'examples-root',
66
standalone: true,
77
imports: [RouterOutlet],
8-
template: ` <router-outlet />`,
8+
template: `
9+
<router-outlet />
10+
`,
911
})
1012
export class AppComponent {}

apps/sandbox/src/app/bot/canvas.component.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ import { BotScene } from './scene.component';
44

55
@Component({
66
standalone: true,
7-
template: ` <ngt-canvas [sceneGraph]="scene" [shadows]="true" /> `,
7+
template: `
8+
<ngt-canvas [sceneGraph]="scene" [shadows]="true" />
9+
`,
810
imports: [NgtCanvas],
911
host: { class: 'bot-canvas' },
1012
})

apps/sandbox/src/app/skydiving/components/wind-effect.component.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ import * as THREE from 'three';
77
@Component({
88
selector: 'app-wind-shape',
99
standalone: true,
10-
template: ` <ngts-instance color="white" [instanceRef]="ref" [position]="randomPosition" /> `,
10+
template: `
11+
<ngts-instance color="white" [instanceRef]="ref" [position]="randomPosition" />
12+
`,
1113
imports: [NgtsInstance],
1214
schemas: [CUSTOM_ELEMENTS_SCHEMA],
1315
})

libs/cannon/src/lib/physics.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,9 @@ export const [injectNgtcPhysicsApi, provideNgtcPhysicsApi] = createInjectionToke
7676
@Component({
7777
selector: 'ngtc-physics',
7878
standalone: true,
79-
template: `<ng-content />`,
79+
template: `
80+
<ng-content />
81+
`,
8082
providers: [provideNgtcPhysicsApi()],
8183
})
8284
export class NgtcPhysics implements OnInit {

libs/core/src/lib/canvas.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ export type NgtCanvasInputs = {
116116
standalone: true,
117117
template: `
118118
<div (ngxResize)="onResize($event)" style="height: 100%; width: 100%;">
119-
<canvas #glCanvas style="display: block;"> </canvas>
119+
<canvas #glCanvas style="display: block;"></canvas>
120120
</div>
121121
`,
122122
imports: [NgxResize],

libs/core/src/lib/routed-scene.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ import { safeDetectChanges } from './utils/safe-detect-changes';
88
@Component({
99
standalone: true,
1010
selector: 'ngt-routed-scene',
11-
template: `<router-outlet />`,
11+
template: `
12+
<router-outlet />
13+
`,
1214
imports: [RouterOutlet],
1315
})
1416
export class NgtRoutedScene {

libs/postprocessing/src/lib/effects/lut/lut.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ declare global {
1717
@Component({
1818
selector: 'ngtp-lut',
1919
standalone: true,
20-
template: ` <ngt-primitive *args="[effect()]" [ref]="effectRef" /> `,
20+
template: `
21+
<ngt-primitive *args="[effect()]" [ref]="effectRef" />
22+
`,
2123
imports: [NgtArgs],
2224
schemas: [CUSTOM_ELEMENTS_SCHEMA],
2325
})

libs/postprocessing/src/lib/effects/pixelation/pixelation.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ declare global {
1616
@Component({
1717
selector: 'ngtp-pixelation',
1818
standalone: true,
19-
template: ` <ngt-primitive *args="[effect()]" [ref]="effectRef" /> `,
19+
template: `
20+
<ngt-primitive *args="[effect()]" [ref]="effectRef" />
21+
`,
2022
imports: [NgtArgs],
2123
schemas: [CUSTOM_ELEMENTS_SCHEMA],
2224
})

libs/postprocessing/src/lib/effects/ssao/ssao.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ declare global {
1515
@Component({
1616
selector: 'ngtp-SSAO',
1717
standalone: true,
18-
template: ` <ngt-primitive *args="[effect()]" [ref]="effectRef" /> `,
18+
template: `
19+
<ngt-primitive *args="[effect()]" [ref]="effectRef" />
20+
`,
1921
imports: [NgtArgs],
2022
schemas: [CUSTOM_ELEMENTS_SCHEMA],
2123
})

libs/soba/controls/src/orbit-controls/orbit-controls.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ declare global {
3232
@Component({
3333
selector: 'ngts-orbit-controls',
3434
standalone: true,
35-
template: ` <ngt-primitive *args="args()" ngtCompound [enableDamping]="enableDamping()" /> `,
35+
template: `
36+
<ngt-primitive *args="args()" ngtCompound [enableDamping]="enableDamping()" />
37+
`,
3638
imports: [NgtArgs],
3739
schemas: [CUSTOM_ELEMENTS_SCHEMA],
3840
})

libs/soba/materials/src/point-material/point-material.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@ declare global {
4646
@Component({
4747
selector: 'ngts-point-material',
4848
standalone: true,
49-
template: `<ngt-primitive ngtCompound [ref]="pointMaterialRef" *args="[material]" attach="material" />`,
49+
template: `
50+
<ngt-primitive ngtCompound [ref]="pointMaterialRef" *args="[material]" attach="material" />
51+
`,
5052
imports: [NgtArgs],
5153
schemas: [CUSTOM_ELEMENTS_SCHEMA],
5254
})

libs/soba/src/misc/html.stories.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ import { makeDecorators, makeStoryFunction, makeStoryObject, turn } from '../set
88
@Component({
99
selector: 'html-content',
1010
standalone: true,
11-
template: `<h4>{{ text }}</h4>`,
11+
template: `
12+
<h4>{{ text }}</h4>
13+
`,
1214
})
1315
class HtmlContent {
1416
@Input({ required: true }) text!: string;

libs/soba/src/shaders/mesh-reflector-material.stories.ts

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -115,49 +115,63 @@ class Scene {
115115

116116
@Component({
117117
standalone: true,
118-
template: ` <default-scene [reflectorOffset]="1" /> `,
118+
template: `
119+
<default-scene [reflectorOffset]="1" />
120+
`,
119121
imports: [Scene],
120122
})
121123
class OffsetMeshReflectorMaterialStory {}
122124

123125
@Component({
124126
standalone: true,
125-
template: ` <default-scene [normalScale]="0.5" /> `,
127+
template: `
128+
<default-scene [normalScale]="0.5" />
129+
`,
126130
imports: [Scene],
127131
})
128132
class NormalMapMeshReflectorMaterialStory {}
129133

130134
@Component({
131135
standalone: true,
132-
template: ` <default-scene [distortion]="1" /> `,
136+
template: `
137+
<default-scene [distortion]="1" />
138+
`,
133139
imports: [Scene],
134140
})
135141
class DistortionMeshReflectorMaterialStory {}
136142

137143
@Component({
138144
standalone: true,
139-
template: ` <default-scene [depthScale]="2" /> `,
145+
template: `
146+
<default-scene [depthScale]="2" />
147+
`,
140148
imports: [Scene],
141149
})
142150
class DepthMeshReflectorMaterialStory {}
143151

144152
@Component({
145153
standalone: true,
146-
template: ` <default-scene [blur]="[500, 500]" /> `,
154+
template: `
155+
<default-scene [blur]="[500, 500]" />
156+
`,
147157
imports: [Scene],
148158
})
149159
class BlurMeshReflectorMaterialStory {}
150160

151161
@Component({
152162
standalone: true,
153-
template: ` <default-scene /> `,
163+
template: `
164+
<default-scene />
165+
`,
154166
imports: [Scene],
155167
})
156168
class PlainMeshReflectorMaterialStory {}
157169

158170
@Component({
159171
standalone: true,
160-
template: ` <default-scene [blur]="[100, 500]" [depthScale]="2" [distortion]="0.3" [normalScale]="0.5" /> `,
172+
template: `
173+
<default-scene [blur]="[100, 500]" [depthScale]="2" [distortion]="0.3" [normalScale]="0.5" />
174+
`,
161175
imports: [Scene],
162176
})
163177
class DefaultMeshReflectorMaterialStory {}

libs/soba/src/staging/accumulative-shadows.stories.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ type SuziGLTF = NgtsGLTF<{ materials: { default: THREE.MeshStandardMaterial } }>
1717
@Component({
1818
selector: 'accumulative-shadows-suzi',
1919
standalone: true,
20-
template: ` <ngt-primitive ngtCompound *args="[model()]" /> `,
20+
template: `
21+
<ngt-primitive ngtCompound *args="[model()]" />
22+
`,
2123
imports: [NgtArgs],
2224
schemas: [CUSTOM_ELEMENTS_SCHEMA],
2325
})

libs/soba/src/staging/backdrop.stories.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ import { makeCanvasOptions, makeDecorators, makeStoryFunction } from '../setup-c
99
@Component({
1010
selector: 'backdrop-robot',
1111
standalone: true,
12-
template: `<ngt-primitive ngtCompound *args="[robot()]" [ref]="animations.ref" />`,
12+
template: `
13+
<ngt-primitive ngtCompound *args="[robot()]" [ref]="animations.ref" />
14+
`,
1315
imports: [NgtArgs],
1416
schemas: [CUSTOM_ELEMENTS_SCHEMA],
1517
})

libs/soba/staging/src/wireframe/wireframe.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,9 @@ function setBarycentricCoordinates(geometry: THREE.BufferGeometry, simplify: boo
9595
@Component({
9696
selector: 'ngts-wireframe-without-custom-geometry',
9797
standalone: true,
98-
template: `<ngt-object3D [ref]="objectRef" />`,
98+
template: `
99+
<ngt-object3D [ref]="objectRef" />
100+
`,
99101
schemas: [CUSTOM_ELEMENTS_SCHEMA],
100102
})
101103
export class NgtsWireframeWithoutCustomGeometry {

package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,17 @@
2424
"@angular/cli": "~16.2.0",
2525
"@angular/compiler-cli": "16.2.1",
2626
"@angular/language-service": "16.2.1",
27-
"@nx/angular": "16.7.2",
28-
"@nx/devkit": "16.7.2",
29-
"@nx/eslint-plugin": "16.7.2",
30-
"@nx/jest": "16.7.2",
31-
"@nx/js": "16.7.2",
32-
"@nx/linter": "16.7.2",
33-
"@nx/plugin": "16.7.2",
34-
"@nx/storybook": "16.7.2",
35-
"@nx/vite": "16.7.2",
36-
"@nx/web": "16.7.2",
37-
"@nx/workspace": "16.7.2",
27+
"@nx/angular": "16.7.4",
28+
"@nx/devkit": "16.7.4",
29+
"@nx/eslint-plugin": "16.7.4",
30+
"@nx/jest": "16.7.4",
31+
"@nx/js": "16.7.4",
32+
"@nx/linter": "16.7.4",
33+
"@nx/plugin": "16.7.4",
34+
"@nx/storybook": "16.7.4",
35+
"@nx/vite": "16.7.4",
36+
"@nx/web": "16.7.4",
37+
"@nx/workspace": "16.7.4",
3838
"@release-it/bumper": "^5.1.0",
3939
"@release-it/conventional-changelog": "^7.0.0",
4040
"@schematics/angular": "16.2.0",
@@ -67,7 +67,7 @@
6767
"jsdom": "^22.1.0",
6868
"ng-packagr": "16.2.0",
6969
"ngx-resize": "^2.0.0",
70-
"nx": "16.7.2",
70+
"nx": "16.7.4",
7171
"postcss": "^8.4.28",
7272
"postcss-import": "~15.1.0",
7373
"postcss-preset-env": "~9.1.1",

0 commit comments

Comments
 (0)