@tinacms/cli 0.61.22 → 0.61.23
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 +2 -38
- package/package.json +4 -4
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.61.
|
|
305
|
+
var version = "0.61.23";
|
|
306
306
|
|
|
307
307
|
// src/cmds/audit/audit.ts
|
|
308
308
|
var import_graphql = __toModule(require("@tinacms/graphql"));
|
|
@@ -557,45 +557,10 @@ var nextPostPage = ({
|
|
|
557
557
|
// This is a demo file once you have tina setup feel free to delete this file
|
|
558
558
|
|
|
559
559
|
import Head from 'next/head'
|
|
560
|
-
import { createGlobalStyle } from 'styled-components'
|
|
561
560
|
import { useTina } from 'tinacms/dist/edit-state'
|
|
562
561
|
import { TinaMarkdown } from 'tinacms/dist/rich-text'
|
|
563
562
|
import client from '${usingSrc ? "../" : ""}../../../.tina/__generated__/client'
|
|
564
563
|
|
|
565
|
-
// Styles for markdown
|
|
566
|
-
const GlobalStyle = createGlobalStyle\`
|
|
567
|
-
h1,h2,h3,h4,h5 {
|
|
568
|
-
margin-bottom: 1.5rem;
|
|
569
|
-
margin-top: 1.5rem;
|
|
570
|
-
}
|
|
571
|
-
blockquote {
|
|
572
|
-
background-color: rgb(209,250,229);
|
|
573
|
-
}
|
|
574
|
-
h1 {
|
|
575
|
-
font-size: 45px;
|
|
576
|
-
}
|
|
577
|
-
h2 {
|
|
578
|
-
font-size: 35px;
|
|
579
|
-
}
|
|
580
|
-
h3 {
|
|
581
|
-
font-size: 25px;
|
|
582
|
-
}
|
|
583
|
-
h4 {
|
|
584
|
-
font-size: 22px;
|
|
585
|
-
}
|
|
586
|
-
ul {
|
|
587
|
-
padding-left: 0;
|
|
588
|
-
}
|
|
589
|
-
li {
|
|
590
|
-
list-style-type: none;
|
|
591
|
-
}
|
|
592
|
-
a {
|
|
593
|
-
font-weight: bold;
|
|
594
|
-
color: rgb(59,130,246);
|
|
595
|
-
text-decoration: underline;
|
|
596
|
-
}
|
|
597
|
-
\`
|
|
598
|
-
|
|
599
564
|
const BlogPage = (props) => {
|
|
600
565
|
const { data } = useTina({
|
|
601
566
|
query: props.query,
|
|
@@ -800,7 +765,6 @@ var nextPostPage = ({
|
|
|
800
765
|
<div className="relative px-4 sm:px-6 lg:px-8">
|
|
801
766
|
<div className="text-lg max-w-prose mx-auto">
|
|
802
767
|
<TinaMarkdown components={components} content={content} />
|
|
803
|
-
<GlobalStyle />
|
|
804
768
|
</div>
|
|
805
769
|
</div>
|
|
806
770
|
</div>
|
|
@@ -1123,7 +1087,7 @@ var checkVersion = (version2) => {
|
|
|
1123
1087
|
};
|
|
1124
1088
|
async function installDeps(ctx, next, options) {
|
|
1125
1089
|
const bar = new import_progress.default("Installing Tina packages. This might take a moment... :prog", 2);
|
|
1126
|
-
const deps = ["tinacms", "
|
|
1090
|
+
const deps = ["tinacms", "@tinacms/cli"];
|
|
1127
1091
|
bar.tick({
|
|
1128
1092
|
prog: ""
|
|
1129
1093
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tinacms/cli",
|
|
3
|
-
"version": "0.61.
|
|
3
|
+
"version": "0.61.23",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"typings": "dist/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
]
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@tinacms/scripts": "0.51.
|
|
24
|
+
"@tinacms/scripts": "0.51.2",
|
|
25
25
|
"@types/clear": "0.1.0",
|
|
26
26
|
"@types/cli-spinner": "^0.2.1",
|
|
27
27
|
"@types/cors": "2.8.5",
|
|
@@ -52,9 +52,9 @@
|
|
|
52
52
|
"@graphql-codegen/visitor-plugin-common": "^2.4.0",
|
|
53
53
|
"@graphql-tools/graphql-file-loader": "^7.2.0",
|
|
54
54
|
"@graphql-tools/load": "^7.3.2",
|
|
55
|
-
"@tinacms/app": "0.0.
|
|
55
|
+
"@tinacms/app": "0.0.22",
|
|
56
56
|
"@tinacms/datalayer": "0.2.4",
|
|
57
|
-
"@tinacms/graphql": "0.63.
|
|
57
|
+
"@tinacms/graphql": "0.63.15",
|
|
58
58
|
"@tinacms/metrics": "0.0.3",
|
|
59
59
|
"@tinacms/schema-tools": "0.1.8",
|
|
60
60
|
"add": "^2.0.6",
|