Skip to content

Commit 73707d8

Browse files
committed
refactor: uses app-config modules
1 parent 09ba1c4 commit 73707d8

File tree

4 files changed

+15
-8
lines changed

4 files changed

+15
-8
lines changed

app-config-exec/package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,13 @@
2929
"test": "jest",
3030
"prepublishOnly": "yarn clean && yarn build && yarn build:es"
3131
},
32-
"dependencies": {},
33-
"peerDependencies": {
34-
"@lcdev/app-config": "2"
32+
"dependencies": {
33+
"@app-config/core": "^2.1.8",
34+
"@app-config/extension-utils": "^2.1.8",
35+
"@app-config/utils": "^2.1.8"
3536
},
3637
"devDependencies": {
37-
"@lcdev/app-config": "2"
38+
"@app-config/main": "^2.1.8"
3839
},
3940
"prettier": "@lcdev/prettier",
4041
"jest": {

app-config-exec/src/index.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { defaultEnvExtensions, defaultExtensions, loadUnvalidatedConfig } from '@lcdev/app-config';
1+
import { defaultEnvExtensions, defaultExtensions, loadUnvalidatedConfig } from '@app-config/main';
22
import execParsingExtension from '.';
33

44
const defaultOptions = {

app-config-exec/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { Json, parseRawString, ParsingExtension } from '@lcdev/app-config';
2-
import { guessFileType } from '@lcdev/app-config/dist/config-source';
1+
import { Json } from '@app-config/utils';
2+
import { ParsingExtension, parseRawString, guessFileType } from '@app-config/core';
33
import { exec } from 'child_process';
44
import { promisify } from 'util';
55

app-config-exec/tsconfig.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,11 @@
66
"lib": ["dom"]
77
},
88
"include": ["src/**/*"],
9-
"exclude": ["node_modules"]
9+
"exclude": ["node_modules"],
10+
"references": [
11+
{ "path": "../app-config-main" },
12+
{ "path": "../app-config-utils" },
13+
{ "path": "../app-config-core" },
14+
{ "path": "../app-config-extension-utils" }
15+
]
1016
}

0 commit comments

Comments
 (0)