Skip to content

Commit 10a1fa1

Browse files
Chau TranChau Tran
Chau Tran
authored and
Chau Tran
committed
feat(soba): setup soba
1 parent 32b4528 commit 10a1fa1

File tree

5 files changed

+49
-38
lines changed

5 files changed

+49
-38
lines changed

libs/soba/ng-package.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,13 @@
33
"dest": "../../dist/libs/soba",
44
"lib": {
55
"entryFile": "src/index.ts"
6-
}
6+
},
7+
"assets": [
8+
{
9+
"input": "./shaders/src/assets/",
10+
"glob": "**/*",
11+
"output": "assets"
12+
}
13+
],
14+
"allowedNonPeerDependencies": ["@nx/devkit", "nx"]
715
}

libs/soba/package.json

Lines changed: 39 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,47 @@
11
{
22
"name": "angular-three-soba",
3-
"version": "0.0.1",
3+
"version": "0.0.0-replace",
4+
"publishConfig": {
5+
"access": "public"
6+
},
7+
"repository": {
8+
"type": "git",
9+
"url": "https://github.com/angular-threejs/angular-three/tree/main/libs/soba"
10+
},
11+
"author": {
12+
"name": "Chau Tran",
13+
"email": "nartc7789@gmail.com",
14+
"url": "https://nartc.me"
15+
},
16+
"description": "Utilities for Angular Three",
17+
"keywords": [
18+
"angular",
19+
"threejs",
20+
"renderer",
21+
"utilities",
22+
"shaders"
23+
],
24+
"license": "MIT",
25+
"exports": {
26+
"./assets/*": "./assets/*"
27+
},
428
"peerDependencies": {
529
"@angular/common": "^16.0.0",
6-
"@angular/core": "^16.0.0"
30+
"@angular/core": "^16.0.0",
31+
"angular-three": "^2.0.0",
32+
"three": "^0.148.0 || ^0.149.0 || ^0.150.0 || ^0.151.0 || ^0.152.0",
33+
"stats.js": "^0.17.0",
34+
"three-mesh-bvh": "^0.5.0",
35+
"three-stdlib": "^2.0.0",
36+
"troika-three-text": "^0.47.0"
737
},
838
"dependencies": {
9-
"tslib": "^2.3.0"
39+
"tslib": "^2.3.0",
40+
"@nx/devkit": "^16.0.0",
41+
"nx": "^16.0.0"
1042
},
11-
"sideEffects": false
43+
"sideEffects": false,
44+
"generators": "./plugin/generators.json",
45+
"schematics": "./plugin/generators.json",
46+
"web-types": "./web-types.json"
1247
}

libs/soba/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export * from './lib/soba/soba.component';
1+
export default void 0;

libs/soba/src/lib/soba/soba.component.spec.ts

Lines changed: 0 additions & 21 deletions
This file was deleted.

libs/soba/src/lib/soba/soba.component.ts

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)