@cobinar/dalus 0.1.6 → 0.1.8

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/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@cobinar/dalus",
3
- "version": "0.1.6",
3
+ "version": "0.1.8",
4
+ "type": "commonjs",
4
5
  "description": "Deploy Cobinar projects (Edge Compute, Static Hosting, Object Storage, Document DB, Vault) from the command line.",
5
6
  "bin": {
6
7
  "dalus": "./bin/dalus.js"
7
8
  },
8
9
  "main": "./src/index.js",
9
- "type": "commonjs",
10
10
  "engines": {
11
11
  "node": ">=18.0.0"
12
12
  },
@@ -1,5 +1,5 @@
1
1
  // src/storage.js
2
- import { generateId } from './utils.js';
2
+ const { generateId } = require('./utils.js');
3
3
 
4
4
  const FOLDER_COLLECTIONS = new Set(['posts', 'products', 'projects']);
5
5
  const FLAT_COLLECTIONS = new Set(['images', 'files']);