Skip to content

Commit 925da47

Browse files
refactor: move packages list to config file
1 parent 5f42337 commit 925da47

1 file changed

Lines changed: 18 additions & 13 deletions

File tree

source/import/constants/config.ts

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,22 @@ import type { ExecSyncOptions } from 'node:child_process'
33
export const repoUrl = 'https://github.com/BootNodeDev/dAppBooster.git'
44
export const homeFolder = '/src/components/pageComponents/home'
55

6-
export const defaultExecOptions: ExecSyncOptions = {
7-
stdio: 'pipe',
8-
shell: 'true',
9-
}
10-
11-
export const fileExecOptions = {
12-
recursive: true,
13-
force: true,
14-
}
15-
16-
export const installPackageExecOptions: ExecSyncOptions = {
17-
stdio: 'inherit',
18-
shell: 'true',
6+
export const featurePackages: {
7+
[key: string]: string[]
8+
} = {
9+
subgraph: [
10+
'@bootnodedev/db-subgraph',
11+
'graphql graphql-request',
12+
'@graphql-codegen/cli',
13+
'@graphql-typed-document-node/core',
14+
],
15+
typedoc: [
16+
'typedoc',
17+
'typedoc-github-theme',
18+
'typedoc-plugin-inline-sources',
19+
'typedoc-plugin-missing-exports',
20+
'typedoc-plugin-rename-defaults',
21+
],
22+
vocs: ['vocs'],
23+
husky: ['husky', 'lint-staged', '@commitlint/cli', '@commitlint/config-conventional'],
1924
}

0 commit comments

Comments
 (0)