Skip to content

Commit 6ae4a9f

Browse files
committed
fix: add @cocreate/config package
1 parent 8e43db0 commit 6ae4a9f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
},
6161
"dependencies": {
6262
"@cocreate/actions": "^1.8.31",
63-
"@cocreate/cli": "^1.34.0",
63+
"@cocreate/config": "^1.0.1",
6464
"@cocreate/render": "^1.24.31",
6565
"@cocreate/utils": "^1.21.15"
6666
}

src/server.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const crud = require('@cocreate/crud-client')
2-
const cli = require('@cocreate/cli')
2+
const Config = require('@cocreate/config')
33
const fs = require('fs');
44
const path = require('path');
55
const mimeTypes = {
@@ -88,7 +88,7 @@ module.exports = async function file(CoCreateConfig) {
8888
}
8989

9090
let { directories, sources } = CoCreateConfig;
91-
let config = await cli.config([
91+
let config = await Config([
9292
{
9393
key: 'organization_id',
9494
prompt: 'Enter your organization_id: '

0 commit comments

Comments
 (0)