@tinacms/cli 0.62.0 → 0.62.1
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/index.js +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -302,7 +302,7 @@ var commander = __toModule(require("commander"));
|
|
|
302
302
|
|
|
303
303
|
// package.json
|
|
304
304
|
var name = "@tinacms/cli";
|
|
305
|
-
var version = "0.62.
|
|
305
|
+
var version = "0.62.1";
|
|
306
306
|
|
|
307
307
|
// src/cmds/audit/audit.ts
|
|
308
308
|
var import_graphql = __toModule(require("@tinacms/graphql"));
|
|
@@ -674,12 +674,12 @@ var resetGeneratedFolder = async ({
|
|
|
674
674
|
}
|
|
675
675
|
await import_fs_extra2.default.mkdirp(tinaGeneratedPath);
|
|
676
676
|
const ext = usingTs ? "ts" : "js";
|
|
677
|
-
if (await
|
|
677
|
+
if (!await import_fs_extra2.default.pathExists(import_path3.default.join(tinaGeneratedPath, `types.${ext}`))) {
|
|
678
678
|
await import_fs_extra2.default.writeFile(import_path3.default.join(tinaGeneratedPath, `types.${ext}`), `
|
|
679
679
|
export const queries = (client)=>({})
|
|
680
680
|
`);
|
|
681
681
|
}
|
|
682
|
-
if (await
|
|
682
|
+
if (!await import_fs_extra2.default.pathExists(import_path3.default.join(tinaGeneratedPath, `client.${ext}`))) {
|
|
683
683
|
await import_fs_extra2.default.writeFile(import_path3.default.join(tinaGeneratedPath, `client.${ext}`), `
|
|
684
684
|
export const client = ()=>{}
|
|
685
685
|
export default client
|