Skip to content

Commit 6d8bf06

Browse files
committed
chore(repo): remove all standalone
1 parent f894178 commit 6d8bf06

File tree

103 files changed

+136
-335
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

103 files changed

+136
-335
lines changed

apps/astro-docs/src/components/cannon/sample-debug.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ extend(THREE);
2020

2121
@Component({
2222
selector: 'app-plane',
23-
standalone: true,
2423
template: `
2524
<ngt-mesh #mesh [receiveShadow]="true">
2625
<ngt-plane-geometry *args="[1000, 1000]" />
@@ -40,7 +39,6 @@ export class Plane {
4039

4140
@Component({
4241
selector: 'app-cube',
43-
standalone: true,
4442
template: `
4543
<ngt-mesh #mesh [receiveShadow]="true" [castShadow]="true">
4644
<ngt-box-geometry />
@@ -62,7 +60,6 @@ export class Cube {
6260
}
6361

6462
@Component({
65-
standalone: true,
6663
template: `
6764
<ngt-color attach="background" *args="['lightblue']" />
6865
<ngt-ambient-light />
@@ -108,7 +105,6 @@ export class SceneGraph {
108105
}
109106

110107
@Component({
111-
standalone: true,
112108
template: `
113109
<ngt-canvas
114110
[sceneGraph]="sceneGraph"

apps/astro-docs/src/components/cannon/sample.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ extend(THREE);
1919

2020
@Component({
2121
selector: 'app-plane',
22-
standalone: true,
2322
template: `
2423
<ngt-mesh #mesh [receiveShadow]="true">
2524
<ngt-plane-geometry *args="[1000, 1000]" />
@@ -39,7 +38,6 @@ export class Plane {
3938

4039
@Component({
4140
selector: 'app-cube',
42-
standalone: true,
4341
template: `
4442
<ngt-mesh #mesh [receiveShadow]="true" [castShadow]="true">
4543
<ngt-box-geometry />
@@ -61,7 +59,6 @@ export class Cube {
6159
}
6260

6361
@Component({
64-
standalone: true,
6562
template: `
6663
<ngt-color attach="background" *args="['lightblue']" />
6764
<ngt-ambient-light />
@@ -107,7 +104,6 @@ export class SceneGraph {
107104
}
108105

109106
@Component({
110-
standalone: true,
111107
template: `
112108
<ngt-canvas
113109
[sceneGraph]="sceneGraph"

apps/astro-docs/src/components/cursor/cursor.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import { type Mesh, Object3D } from 'three';
1616

1717
extend(THREE);
1818

19-
@Directive({ selector: '[cursor]', standalone: true })
19+
@Directive({ selector: '[cursor]' })
2020
export class Cursor {
2121
constructor() {
2222
const elementRef = inject<ElementRef<Object3D>>(ElementRef);
@@ -41,7 +41,6 @@ export class Cursor {
4141
}
4242

4343
@Component({
44-
standalone: true,
4544
template: `
4645
<ngt-spot-light [position]="[5, 5, 5]" [intensity]="Math.PI" [decay]="0" />
4746
<ngt-point-light [position]="[-10, -10, -10]" [decay]="0" />
@@ -72,7 +71,6 @@ export class SceneGraph {
7271
}
7372

7473
@Component({
75-
standalone: true,
7674
template: `
7775
<ngt-canvas [sceneGraph]="sceneGraph" [camera]="{ position: [0, 0, 2] }" />
7876
`,

apps/astro-docs/src/components/first-scene/first-scene.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import { scenes } from './scenes';
66
extend(THREE);
77

88
@Component({
9-
standalone: true,
109
template: `
1110
<ngt-canvas [sceneGraph]="sceneGraph()" />
1211
`,

apps/astro-docs/src/components/first-scene/scene-graph-step-five.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ import type { Mesh } from 'three';
1212

1313
@Component({
1414
selector: 'app-cube',
15-
standalone: true,
1615
template: `
1716
<ngt-mesh
1817
#mesh
@@ -47,7 +46,6 @@ class Cube {
4746
}
4847

4948
@Component({
50-
standalone: true,
5149
template: `
5250
<ngt-ambient-light [intensity]="0.5" />
5351
<ngt-spot-light [position]="10" [intensity]="0.5 * Math.PI" [angle]="0.15" [penumbra]="1" [decay]="0" />

apps/astro-docs/src/components/first-scene/scene-graph-step-four.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ import type { Mesh } from 'three';
1212

1313
@Component({
1414
selector: 'app-cube',
15-
standalone: true,
1615
template: `
1716
<ngt-mesh
1817
#mesh
@@ -47,7 +46,6 @@ class Cube {
4746
}
4847

4948
@Component({
50-
standalone: true,
5149
template: `
5250
<app-cube [position]="[1.5, 0, 0]" />
5351
<app-cube [position]="[-1.5, 0, 0]" />

apps/astro-docs/src/components/first-scene/scene-graph-step-one.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { ChangeDetectionStrategy, Component, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
22

33
@Component({
4-
standalone: true,
54
template: `
65
<ngt-mesh>
76
<ngt-box-geometry />

apps/astro-docs/src/components/first-scene/scene-graph-step-six.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ extend({ OrbitControls });
1515

1616
@Component({
1717
selector: 'app-cube',
18-
standalone: true,
1918
template: `
2019
<ngt-mesh
2120
#mesh
@@ -50,7 +49,6 @@ class Cube {
5049
}
5150

5251
@Component({
53-
standalone: true,
5452
template: `
5553
<ngt-ambient-light [intensity]="0.5" />
5654
<ngt-spot-light [position]="10" [intensity]="0.5 * Math.PI" [angle]="0.15" [penumbra]="1" [decay]="0" />

apps/astro-docs/src/components/first-scene/scene-graph-step-three.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import { injectBeforeRender } from 'angular-three';
1010
import type { Mesh } from 'three';
1111

1212
@Component({
13-
standalone: true,
1413
template: `
1514
<ngt-mesh
1615
#mesh

apps/astro-docs/src/components/first-scene/scene-graph-step-two.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { injectBeforeRender } from 'angular-three';
33
import type { Mesh } from 'three';
44

55
@Component({
6-
standalone: true,
76
template: `
87
<ngt-mesh #mesh>
98
<ngt-box-geometry />

0 commit comments

Comments
 (0)