appwrite-utils-cli 0.0.280 → 0.0.281
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/dist/utils/setupFiles.js
CHANGED
@@ -121,7 +121,7 @@ export const setupDirsFiles = async (example = false) => {
|
|
121
121
|
writeFileSync(appwriteConfigFile, configFileExample);
|
122
122
|
}
|
123
123
|
else {
|
124
|
-
const baseConfigContent = `import { AppwriteConfig } from "appwrite-utils";
|
124
|
+
const baseConfigContent = `import { type AppwriteConfig } from "appwrite-utils";
|
125
125
|
|
126
126
|
const appwriteConfig: AppwriteConfig = ${JSON.stringify(baseConfig, null, 2)};
|
127
127
|
|
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.
|
4
|
+
"version": "0.0.281",
|
5
5
|
"main": "src/main.ts",
|
6
6
|
"type": "module",
|
7
7
|
"repository": {
|
@@ -34,7 +34,7 @@
|
|
34
34
|
"dependencies": {
|
35
35
|
"@asteasolutions/zod-to-openapi": "^7.0.0",
|
36
36
|
"@types/inquirer": "^9.0.7",
|
37
|
-
"appwrite-utils": "^0.1.
|
37
|
+
"appwrite-utils": "^0.1.23",
|
38
38
|
"commander": "^12.0.0",
|
39
39
|
"inquirer": "^9.2.20",
|
40
40
|
"js-yaml": "^4.1.0",
|
package/src/utils/setupFiles.ts
CHANGED
@@ -143,7 +143,7 @@ export const setupDirsFiles = async (example: boolean = false) => {
|
|
143
143
|
if (example) {
|
144
144
|
writeFileSync(appwriteConfigFile, configFileExample);
|
145
145
|
} else {
|
146
|
-
const baseConfigContent = `import { AppwriteConfig } from "appwrite-utils";
|
146
|
+
const baseConfigContent = `import { type AppwriteConfig } from "appwrite-utils";
|
147
147
|
|
148
148
|
const appwriteConfig: AppwriteConfig = ${JSON.stringify(baseConfig, null, 2)};
|
149
149
|
|