@tinacms/app 0.0.22 → 0.0.24
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/appFiles/package.json +19 -0
- package/appFiles/src/App.tsx +63 -0
- package/appFiles/src/assets/react.svg +1 -0
- package/appFiles/src/index.css +3 -0
- package/appFiles/src/lib/formify/index.ts +314 -0
- package/appFiles/src/lib/machines/document-machine.ts +348 -0
- package/appFiles/src/lib/machines/query-machine.ts +630 -0
- package/appFiles/src/lib/machines/util.ts +205 -0
- package/appFiles/src/main.tsx +24 -0
- package/appFiles/src/preview.tsx +114 -0
- package/appFiles/src/vite-env.d.ts +14 -0
- package/dist/index.js +123 -96
- package/package.json +21 -24
- package/dist/assets/out.es.js +0 -109825
- package/dist/assets/style.css +0 -651
- package/dist/index.dev.html +0 -26
- package/dist/index.html +0 -13
- package/dist/prebuild.d.ts +0 -1
- package/dist/prebuild.js +0 -308
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tinacms/app",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.24",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -9,59 +9,56 @@
|
|
|
9
9
|
"require": "./dist/index.js"
|
|
10
10
|
}
|
|
11
11
|
},
|
|
12
|
-
"typings": "dist/index.d.ts",
|
|
13
12
|
"files": [
|
|
13
|
+
"appFiles",
|
|
14
14
|
"dist"
|
|
15
15
|
],
|
|
16
|
+
"typings": "dist/index.d.ts",
|
|
16
17
|
"license": "Apache-2.0",
|
|
17
18
|
"buildConfig": {
|
|
18
19
|
"entryPoints": [
|
|
19
20
|
{
|
|
20
21
|
"name": "src/index.ts",
|
|
21
22
|
"target": "node"
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"name": "src/prebuild.ts",
|
|
25
|
-
"target": "node"
|
|
26
23
|
}
|
|
27
24
|
]
|
|
28
25
|
},
|
|
29
26
|
"devDependencies": {
|
|
30
27
|
"@types/fs-extra": "^9.0.1",
|
|
31
28
|
"@types/react": "17.0.2",
|
|
32
|
-
"@types/react-dom": "17.0.2"
|
|
29
|
+
"@types/react-dom": "17.0.2",
|
|
30
|
+
"@tinacms/scripts": "0.51.3",
|
|
31
|
+
"tinacms": "0.69.19",
|
|
32
|
+
"jest": "^27.0.6"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@
|
|
36
|
-
"
|
|
35
|
+
"@xstate/react": "3.0.0",
|
|
36
|
+
"xstate": "4.32.1",
|
|
37
|
+
"@headlessui/react": "1.6.6",
|
|
38
|
+
"final-form": "4.20.7",
|
|
39
|
+
"graphql": "15.8.0",
|
|
40
|
+
"@heroicons/react": "1.0.6",
|
|
41
|
+
"styled-components": "5.3.5",
|
|
37
42
|
"@tailwindcss/aspect-ratio": "^0.4.0",
|
|
38
43
|
"@tailwindcss/line-clamp": "^0.3.1",
|
|
39
44
|
"@tailwindcss/typography": "^0.5.4",
|
|
40
|
-
"@
|
|
41
|
-
"@tinacms/scripts": "0.51.2",
|
|
42
|
-
"@vitejs/plugin-react": "^1.3.2",
|
|
43
|
-
"@xstate/react": "^3.0.0",
|
|
45
|
+
"@vitejs/plugin-react": "^2.1.0",
|
|
44
46
|
"autoprefixer": "^10.4.0",
|
|
45
|
-
"final-form": "^4.20.7",
|
|
46
47
|
"fs-extra": "^9.0.1",
|
|
47
|
-
"esbuild": "^0.15.5",
|
|
48
|
-
"graphql": "^15.1.0",
|
|
49
|
-
"jest": "^27.0.6",
|
|
50
48
|
"postcss": "^8.4.14",
|
|
51
49
|
"postcss-nested": "^5.0.6",
|
|
52
50
|
"react": "17.0.2",
|
|
53
51
|
"react-dom": "17.0.2",
|
|
54
|
-
"react-is": "
|
|
55
|
-
"react-router-dom": "6",
|
|
52
|
+
"react-is": "17.0.2",
|
|
53
|
+
"react-router-dom": "6.3.0",
|
|
56
54
|
"tailwindcss": "^3.1.6",
|
|
57
|
-
"tinacms": "0.69.17",
|
|
58
55
|
"typescript": "^4.6.4",
|
|
59
|
-
"vite": "
|
|
60
|
-
"vite-node": "^0.23.4",
|
|
61
|
-
"xstate": "^4.32.1"
|
|
56
|
+
"vite": "^3.1.3"
|
|
62
57
|
},
|
|
63
58
|
"scripts": {
|
|
64
59
|
"types": "rm dist/index.d.ts && touch dist/index.d.ts && echo \"export declare const viteBuild: (args: any) => any\" > dist/index.d.ts",
|
|
65
|
-
"build": "tinacms-scripts build
|
|
60
|
+
"build": "tinacms-scripts build",
|
|
61
|
+
"inline": "cd appFiles && npm --prefix ./ i --legacy-peer-deps --omit=dev --no-package-lock && cd .. && npm run unlink",
|
|
62
|
+
"unlink": "cd appFiles && cp -RL node_modules node_modules2 && rm -rf node_modules && mv node_modules2 node_modules"
|
|
66
63
|
}
|
|
67
64
|
}
|