@tinacms/cli 0.61.26 → 0.62.0

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.
@@ -19,6 +19,7 @@ interface ClientGenOptions {
19
19
  port?: number;
20
20
  }
21
21
  interface BuildOptions {
22
+ local: boolean;
22
23
  dev?: boolean;
23
24
  verbose?: boolean;
24
25
  rootPath?: string;
@@ -46,7 +47,7 @@ export declare const auditCmdBuild: (ctx: {
46
47
  export declare class ConfigBuilder {
47
48
  private database;
48
49
  constructor(database: Database);
49
- build({ dev, verbose, rootPath }: BuildOptions): Promise<{
50
+ build({ dev, verbose, rootPath, local }: BuildOptions): Promise<{
50
51
  schema: any;
51
52
  graphQLSchema: DocumentNode;
52
53
  tinaSchema: any;
@@ -11,9 +11,10 @@ See the License for the specific language governing permissions and
11
11
  limitations under the License.
12
12
  */
13
13
  import type { TinaCloudSchema } from '@tinacms/graphql';
14
- export declare const resetGeneratedFolder: ({ tinaGeneratedPath, usingTs, }: {
14
+ export declare const resetGeneratedFolder: ({ tinaGeneratedPath, usingTs, isBuild, }: {
15
15
  tinaGeneratedPath: string;
16
16
  usingTs: boolean;
17
+ isBuild: boolean;
17
18
  }) => Promise<void>;
18
19
  export declare const compileClient: (ctx: any, next: any, options: {
19
20
  clientFileType?: string;
@@ -1,13 +1,7 @@
1
+ export declare function initStaticTina(ctx: any, next: () => void, options: any): Promise<void>;
1
2
  /**
2
3
  * Executes a shell command and return it as a Promise.
3
4
  * @param cmd {string}
4
5
  * @return {Promise<string>}
5
6
  */
6
7
  export declare function execShellCommand(cmd: any): Promise<string>;
7
- export declare function initTina(ctx: any, next: () => void, options: any): Promise<void>;
8
- export declare const MIN_REACT_VERSION = ">=16.14.0";
9
- export declare function checkDeps(ctx: any, next: () => void, options: any): Promise<void>;
10
- export declare const checkPackage: (packageJSON: any, packageName: any) => boolean;
11
- export declare function installDeps(ctx: any, next: () => void, options: any): Promise<void>;
12
- export declare function tinaSetup(_ctx: any, next: () => void, _options: any): Promise<void>;
13
- export declare function successMessage(ctx: any, next: () => void, options: any): Promise<void>;
@@ -0,0 +1 @@
1
+ export declare function successMessage(ctx: any, next: () => void, options: any): Promise<void>;
@@ -0,0 +1,18 @@
1
+ /**
2
+ Copyright 2021 Forestry.io Holdings, Inc.
3
+ Licensed under the Apache License, Version 2.0 (the "License");
4
+ you may not use this file except in compliance with the License.
5
+ You may obtain a copy of the License at
6
+ http://www.apache.org/licenses/LICENSE-2.0
7
+ Unless required by applicable law or agreed to in writing, software
8
+ distributed under the License is distributed on an "AS IS" BASIS,
9
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10
+ See the License for the specific language governing permissions and
11
+ limitations under the License.
12
+ */
13
+ export declare const configExamples: {
14
+ next: () => string;
15
+ other: (args: {
16
+ publicFolder: string;
17
+ }) => string;
18
+ };
@@ -1,7 +1,15 @@
1
- export declare const adminPage = "import { TinaAdmin } from 'tinacms';\nexport default TinaAdmin;\n";
2
- export declare const blogPost = "---\ntitle: Vote For Pedro\n---\n# Welcome to the blog.\n\n> To edit this site head over to the [`/admin`](/admin) route. Then click the pencil icon in the bottom lefthand corner to start editing \uD83E\uDD99.\n\n# Dixi gaude Arethusa\n\n<PageSection heading=\"Oscula mihi\" content=\"Lorem markdownum numerabilis armentorum platanus, cultros coniunx sibi per\nsilvas, nostris clausit sequemur diverso scopulosque. Fecit tum alta sed non\nfalcato murmura, geminas donata Amyntore, quoque Nox. Invitam inquit, modo\nnocte; ut ignis faciemque manes in imagine sinistra ut mucrone non ramos\nsepulcro supplex. Crescentesque populos motura, fit cumque. Verumque est; retro\nsibi tristia bracchia Aetola telae caruerunt et.\"/>\n\n\n## Mutato fefellimus sit demisit aut alterius sollicito\n\nPhaethonteos vestes quem involvite iuvenca; furiali anne: sati totumque,\n**corpora** cum rapacibus nunc! Nervis repetatne, miserabile doleas, deprensum\nhunc, fluctus Threicio, ad urbes, magicaeque, quid. Per credensque series adicis\npoteram [quidem](#)! Iam uni mensas victrix\nvittas ut flumina Satyri adulter; bellum iacet domitae repercusso truncis urnis\nmille rigidi sub taurum.\n\n\n";
1
+ /**
2
+ Copyright 2021 Forestry.io Holdings, Inc.
3
+ Licensed under the Apache License, Version 2.0 (the "License");
4
+ you may not use this file except in compliance with the License.
5
+ You may obtain a copy of the License at
6
+ http://www.apache.org/licenses/LICENSE-2.0
7
+ Unless required by applicable law or agreed to in writing, software
8
+ distributed under the License is distributed on an "AS IS" BASIS,
9
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10
+ See the License for the specific language governing permissions and
11
+ limitations under the License.
12
+ */
3
13
  export declare const nextPostPage: ({ usingSrc, }: {
4
14
  usingSrc: boolean;
5
15
  }) => string;
6
- export declare const AppJsContent: (usingSrc: boolean, extraImports?: string) => string;
7
- export declare const AppJsContentPrintout: (usingSrc: boolean, extraImports?: string) => string;