@cocreate/file 1.3.3 → 1.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [1.3.4](https://github.com/CoCreate-app/CoCreate-file/compare/v1.3.3...v1.3.4) (2023-06-14)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * add @cocreate/config package ([6ae4a9f](https://github.com/CoCreate-app/CoCreate-file/commit/6ae4a9f870f36d293a1c2bcb2ea4f188cf3b136f))
7
+
1
8
  ## [1.3.3](https://github.com/CoCreate-app/CoCreate-file/compare/v1.3.2...v1.3.3) (2023-06-11)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/file",
3
- "version": "1.3.3",
3
+ "version": "1.3.4",
4
4
  "description": "A headless file uploader that uses HTML5 attributes for customization. Allows easy upload of files to server.",
5
5
  "keywords": [
6
6
  "file",
@@ -59,9 +59,9 @@
59
59
  "webpack-log": "^3.0.1"
60
60
  },
61
61
  "dependencies": {
62
- "@cocreate/actions": "^1.8.30",
63
- "@cocreate/cli": "^1.33.8",
64
- "@cocreate/render": "^1.24.30",
65
- "@cocreate/utils": "^1.21.14"
62
+ "@cocreate/actions": "^1.8.31",
63
+ "@cocreate/config": "^1.0.1",
64
+ "@cocreate/render": "^1.24.31",
65
+ "@cocreate/utils": "^1.21.15"
66
66
  }
67
67
  }
package/src/server.js CHANGED
@@ -1,5 +1,5 @@
1
1
  const crud = require('@cocreate/crud-client')
2
- const cli = require('@cocreate/cli')
2
+ const Config = require('@cocreate/config')
3
3
  const fs = require('fs');
4
4
  const path = require('path');
5
5
  const mimeTypes = {
@@ -88,7 +88,7 @@ module.exports = async function file(CoCreateConfig) {
88
88
  }
89
89
 
90
90
  let { directories, sources } = CoCreateConfig;
91
- let config = await cli.config([
91
+ let config = await Config([
92
92
  {
93
93
  key: 'organization_id',
94
94
  prompt: 'Enter your organization_id: '