Skip to content

Commit 8aa899b

Browse files
Chau TranChau Tran
Chau Tran
authored and
Chau Tran
committed
chore: move lib to backup
1 parent 0d80f3e commit 8aa899b

Some content is hidden

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

58 files changed

+14811
-28
lines changed

apps/example/src/app/app.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Component } from '@angular/core';
22
import { RouterLink, RouterLinkActive, RouterOutlet } from '@angular/router';
3-
import { extend } from 'angular-three';
3+
import { extend } from 'angular-three-backup';
44
import * as THREE from 'three';
55

66
extend(THREE);

apps/example/src/app/scene/blue-scene.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Component, CUSTOM_ELEMENTS_SCHEMA, ElementRef, inject, ViewChild } from '@angular/core';
2-
import { injectBeforeRender, NgtStore } from 'angular-three';
2+
import { injectBeforeRender, NgtStore } from 'angular-three-backup';
33
import { CursorPointer } from './cursor';
44

55
@Component({

apps/example/src/app/scene/cursor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { DOCUMENT } from '@angular/common';
22
import { Directive, ElementRef, inject, OnInit, Renderer2 } from '@angular/core';
3-
import { getLocalState, injectNgtDestroy } from 'angular-three';
3+
import { getLocalState, injectNgtDestroy } from 'angular-three-backup';
44

55
@Directive({ selector: 'ngt-mesh[cursorPointer]', standalone: true })
66
export class CursorPointer implements OnInit {

apps/example/src/app/scene/extrude-scene.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Component, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
2-
import { NgtArgs } from 'angular-three';
2+
import { NgtArgs } from 'angular-three-backup';
33
import * as THREE from 'three';
44
import { CursorPointer } from './cursor';
55

apps/example/src/app/scene/red-scene.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Component, CUSTOM_ELEMENTS_SCHEMA, ElementRef, inject, ViewChild } from '@angular/core';
2-
import { injectBeforeRender, NgtStore } from 'angular-three';
2+
import { injectBeforeRender, NgtStore } from 'angular-three-backup';
33
import { CursorPointer } from './cursor';
44

55
@Component({

apps/example/src/app/scene/scene.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Component } from '@angular/core';
2-
import { NgtCanvas, NgtRoutedScene } from 'angular-three';
2+
import { NgtCanvas, NgtRoutedScene } from 'angular-three-backup';
33

44
@Component({
55
standalone: true,

libs/angular-three/README.md renamed to libs/angular-three-backup/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ Leverage your [Angular](https://angular.io) to build 3D applications with [THREE
77
## Installation
88

99
```shell
10-
npx ng add angular-three
10+
npx ng add angular-three-backup
1111
```
1212

1313
or
1414

1515
```shell
16-
npm i angular-three three
16+
npm i angular-three-backup three
1717
```
1818

1919
```shell
@@ -27,7 +27,7 @@ npm i -D @types/three
2727
1. Create a `Scene` component as a Standalone Component
2828

2929
```ts
30-
import { extend } from 'angular-three';
30+
import { extend } from 'angular-three-backup';
3131
import { Mesh, BoxGeometry, MeshBasicMaterial } from 'three';
3232

3333
extend({ Mesh, BoxGeometry, MeshBasicMaterial });
@@ -45,7 +45,7 @@ extend({ Mesh, BoxGeometry, MeshBasicMaterial });
4545
export class Scene {}
4646
```
4747

48-
- `extend` will add the THREE entities to `angular-three` catalogue which allows the renderer to recognize the custom tags: `ngt-mesh`, `ngt-box-geometry` etc..
48+
- `extend` will add the THREE entities to `angular-three-backup` catalogue which allows the renderer to recognize the custom tags: `ngt-mesh`, `ngt-box-geometry` etc..
4949
- Custom Element tags follow this rule: `ngt-` + THREE classes in **kebab-case**. `Mesh` -> `ngt-mesh`
5050
- `schemas: [CUSTOM_ELEMENTS_SCHEMA]` allows us to use custom tags on the template. This is Angular's limitation at the moment
5151

@@ -59,7 +59,7 @@ export class Scene {}
5959

6060
## Documentations
6161

62-
Read more about Angular Three usages in [Documentations](https://angular-threejs.netlify.app)
62+
Read more about Angular Three usages in [Documentations](https://angular-three-backupjs.netlify.app)
6363

6464
## Contributions
6565

libs/angular-three/jest.config.ts renamed to libs/angular-three-backup/jest.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
/* eslint-disable */
22
export default {
3-
displayName: 'angular-three',
3+
displayName: 'angular-three-backup',
44
preset: '../../jest.preset.js',
55
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
66
globals: {},
7-
coverageDirectory: '../../coverage/libs/angular-three',
7+
coverageDirectory: '../../coverage/libs/angular-three-backup',
88
transform: {
99
'^.+\\.(ts|mjs|js|html)$': [
1010
'jest-preset-angular',

0 commit comments

Comments
 (0)