Skip to content

Commit 5942477

Browse files
Chau TranChau Tran
Chau Tran
authored and
Chau Tran
committed
fix(soba): init plugin with all dependencies
1 parent 0566683 commit 5942477

File tree

1 file changed

+6
-0
lines changed
  • libs/soba-plugin/src/generators/init

1 file changed

+6
-0
lines changed

libs/soba-plugin/src/generators/init/init.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ import { addDependenciesToPackageJson, installPackagesTask, logger, readJson, Tr
22

33
export const ANGULAR_THREE_SOBA_VERSION = '^2.0.0';
44
export const THREE_STDLIB_VERSION = '^2.0.0';
5+
export const STATS_VERSION = '^0.17.0';
6+
export const THREE_MESH_BVH_VERSION = '^0.5.0';
7+
export const TROIKA_THREE_TEXT_VERSION = '^0.47.0';
58

69
export default async function (tree: Tree) {
710
logger.log('Initializing Angular Three...');
@@ -18,6 +21,9 @@ export default async function (tree: Tree) {
1821
{
1922
'angular-three-soba': version,
2023
'three-stdlib': THREE_STDLIB_VERSION,
24+
'stats.js': STATS_VERSION,
25+
'three-mesh-bvh': THREE_MESH_BVH_VERSION,
26+
'troika-three-text': TROIKA_THREE_TEXT_VERSION,
2127
},
2228
{}
2329
);

0 commit comments

Comments
 (0)