@tamyla/clodo-framework 3.1.15 → 3.1.16
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 +9 -0
- package/dist/utils/cloudflare/index.js +2 -3
- package/dist/utils/cloudflare/ops.js +8 -0
- package/dist/utils/config/unified-config-manager.js +1 -1
- package/dist/utils/deployment/config-cache.js +1 -1
- package/dist/utils/deployment/secret-generator.js +1 -1
- package/dist/utils/file-manager.js +8 -0
- package/dist/utils/formatters.js +8 -0
- package/dist/utils/framework-config.js +1 -1
- package/dist/utils/logger.js +8 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
## [3.1.16](https://github.com/tamylaa/clodo-framework/compare/v3.1.15...v3.1.16) (2025-10-28)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* Correct import path for cloudflare ops.js module ([b61de66](https://github.com/tamylaa/clodo-framework/commit/b61de66da57dfbd5d4157b2dfd0d5819db99b89b))
|
|
7
|
+
* Correct import path in cloudflare ops re-export wrapper ([5bda1d2](https://github.com/tamylaa/clodo-framework/commit/5bda1d2d76f6577f2475adc7d4fe21284ded91e2))
|
|
8
|
+
* Resolve all bin/ import paths by creating library re-export wrappers ([a6a2147](https://github.com/tamylaa/clodo-framework/commit/a6a2147562578945d4fb630086facfcdf8df66e5))
|
|
9
|
+
|
|
1
10
|
## [3.1.15](https://github.com/tamylaa/clodo-framework/compare/v3.1.14...v3.1.15) (2025-10-28)
|
|
2
11
|
|
|
3
12
|
|
|
@@ -46,8 +46,7 @@
|
|
|
46
46
|
// API-based operations
|
|
47
47
|
export { CloudflareAPI, formatZonesForDisplay, parseZoneSelection } from './api.js';
|
|
48
48
|
|
|
49
|
-
// CLI-based operations (re-export from ops.js
|
|
50
|
-
// Note: These are also available directly from bin/shared/cloudflare/ops.js
|
|
49
|
+
// CLI-based operations (re-export from compiled ops.js)
|
|
51
50
|
export {
|
|
52
51
|
// Authentication
|
|
53
52
|
checkAuth, authenticate, storeCloudflareToken, getCloudflareToken,
|
|
@@ -58,7 +57,7 @@ deploySecret, deleteSecret, listSecrets,
|
|
|
58
57
|
// D1 Database operations
|
|
59
58
|
listDatabases, databaseExists, createDatabase, deleteDatabase, runMigrations, executeSql, getDatabaseId,
|
|
60
59
|
// Utilities
|
|
61
|
-
validatePrerequisites } from '
|
|
60
|
+
validatePrerequisites } from './ops.js';
|
|
62
61
|
|
|
63
62
|
/**
|
|
64
63
|
* Helper: Choose the right tool for the job
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Cloudflare Operations - Library Export
|
|
3
|
+
*
|
|
4
|
+
* This module re-exports CLI operations from bin/ for use by the library.
|
|
5
|
+
* It gets compiled to dist/ and is included in the published package.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
export { checkAuth, authenticate, storeCloudflareToken, getCloudflareToken, listWorkers, workerExists, deployWorker, deploySecret, deleteSecret, listSecrets, listDatabases, databaseExists, createDatabase, deleteDatabase, runMigrations, executeSql, getDatabaseId, validatePrerequisites } from '../../../../bin/shared/cloudflare/ops.js';
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
import { readdirSync, statSync } from 'fs';
|
|
16
16
|
import { resolve, join } from 'path';
|
|
17
17
|
import { getDirname } from '../esm-helper.js';
|
|
18
|
-
import { FileManager } from
|
|
18
|
+
import { FileManager } from '../file-manager.js';
|
|
19
19
|
const __dirname = getDirname(import.meta.url, 'src/utils/config');
|
|
20
20
|
|
|
21
21
|
// Simple inline logger to avoid circular dependency with index.js
|
|
@@ -22,7 +22,7 @@ import { join, dirname } from 'path';
|
|
|
22
22
|
import { promisify } from 'util';
|
|
23
23
|
import { exec } from 'child_process';
|
|
24
24
|
import { frameworkConfig } from '../framework-config.js';
|
|
25
|
-
import { NameFormatters } from
|
|
25
|
+
import { NameFormatters } from '../formatters.js';
|
|
26
26
|
const execAsync = promisify(exec);
|
|
27
27
|
export class ConfigurationCacheManager {
|
|
28
28
|
constructor(options = {}) {
|
|
@@ -15,7 +15,7 @@ import { readdirSync, statSync } from 'fs';
|
|
|
15
15
|
import { join, dirname } from 'path';
|
|
16
16
|
import { execSync } from 'child_process';
|
|
17
17
|
import { fileURLToPath } from 'url';
|
|
18
|
-
import { FileManager } from
|
|
18
|
+
import { FileManager } from '../file-manager.js';
|
|
19
19
|
let __filename, __dirname;
|
|
20
20
|
|
|
21
21
|
// Module-level FileManager for standalone functions
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
import { join, dirname } from 'path';
|
|
10
10
|
import { fileURLToPath } from 'url';
|
|
11
|
-
import { FileManager } from
|
|
11
|
+
import { FileManager } from './file-manager.js';
|
|
12
12
|
export class FrameworkConfig {
|
|
13
13
|
constructor(configPath = null) {
|
|
14
14
|
this.fileManager = new FileManager({
|