appwrite-utils-cli 0.0.277 → 0.0.279

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.
@@ -1,6 +1,5 @@
1
1
  import { mkdirSync, writeFileSync, existsSync } from "node:fs";
2
2
  import path from "node:path";
3
- import configSchema from "./configSchema.json" assert { type: "json" };
4
3
  import { findAppwriteConfig } from "./loadConfigs.js";
5
4
  // Example base configuration using types from appwrite-utils
6
5
  const baseConfig = {
@@ -146,6 +145,5 @@ export default appwriteConfig;
146
145
  mkdirSync(appwriteHiddenFolder, { recursive: true });
147
146
  }
148
147
  const schemaFilePath = path.join(appwriteHiddenFolder, "appwriteUtilsConfigSchema.json");
149
- writeFileSync(schemaFilePath, JSON.stringify(configSchema, undefined, 2));
150
148
  console.log("Created config and setup files/directories successfully.");
151
149
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "appwrite-utils-cli",
3
3
  "description": "Appwrite Utility Functions to help with database management, data conversion, data import, migrations, and much more. Meant to be used as a CLI tool, I do not recommend installing this in frontend environments.",
4
- "version": "0.0.277",
4
+ "version": "0.0.279",
5
5
  "main": "src/main.ts",
6
6
  "type": "module",
7
7
  "repository": {
@@ -1,6 +1,5 @@
1
1
  import { mkdirSync, writeFileSync, existsSync } from "node:fs";
2
2
  import path from "node:path";
3
- import configSchema from "./configSchema.json" assert { type: "json" };
4
3
  import type { AppwriteConfig } from "appwrite-utils";
5
4
  import { findAppwriteConfig } from "./loadConfigs.js";
6
5
 
@@ -178,7 +177,6 @@ export default appwriteConfig;
178
177
  appwriteHiddenFolder,
179
178
  "appwriteUtilsConfigSchema.json"
180
179
  );
181
- writeFileSync(schemaFilePath, JSON.stringify(configSchema, undefined, 2));
182
180
 
183
181
  console.log("Created config and setup files/directories successfully.");
184
182
  };