Skip to content

Commit b6d6be3

Browse files
fix: reduce deps in stub
1 parent 614f516 commit b6d6be3

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

src/generators/package.gen.ts

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { writeJsonFile_ } from '../utilities/rx-fs'
22
import { resolve } from 'path'
3-
import { ANGULAR_CORE_DEPS } from './deps.const'
43

54
interface StringDictionary {
65
readonly [key: string]: string
@@ -35,22 +34,13 @@ export default function generatePackageFile(
3534
dirPath = '',
3635
filename = 'package.json'
3736
) {
38-
const deps: StringDictionary = {
39-
...ANGULAR_CORE_DEPS
40-
}
41-
42-
const devDeps: StringDictionary = {}
43-
4437
const config: npmPackageConfig = {
4538
version: '0.0.0',
4639
license: 'UNLICENSED',
4740
description: 'Angular app scaffolded by Fusing-Angular-CLI',
4841
..._config,
4942
dependencies: {
50-
...sortStringDict({ ...(_config.dependencies || {}), ...deps })
51-
},
52-
devDependencies: {
53-
...sortStringDict({ ...(_config.devDependencies || {}), ...devDeps })
43+
'fusing-angular-cli': '^0.2.x'
5444
}
5545
}
5646
return writeJsonFile_(

0 commit comments

Comments
 (0)