@tinacms/app 0.0.0-20221012201933 → 0.0.0-20221012204516

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.
Files changed (2) hide show
  1. package/dist/index.js +6 -2
  2. package/package.json +15 -6
package/dist/index.js CHANGED
@@ -330,7 +330,7 @@ var viteBuild = async ({
330
330
  const generatedPath = import_path2.default.join(rootPath, ".tina/__generated__");
331
331
  const outputPath = import_path2.default.join(rootPath, publicFolder, outputFolder);
332
332
  const appCopyPath = import_path2.default.join(__dirname, "..", "appFiles");
333
- const appRootPath = import_path2.default.join(__dirname, "..", "appFiles");
333
+ const appRootPath = import_path2.default.join(generatedPath, "app");
334
334
  const devHTMLPath = import_path2.default.join(outputPath, "index.html");
335
335
  const prodHTMLPath = import_path2.default.join(appRootPath, "index.html");
336
336
  const configPath = import_path2.default.join(rootPath, ".tina/config.tsx");
@@ -367,7 +367,10 @@ var viteBuild = async ({
367
367
  __API_URL__: `"${apiUrl}"`
368
368
  },
369
369
  server: {
370
- port: 5173
370
+ port: 5173,
371
+ fs: {
372
+ strict: false
373
+ }
371
374
  },
372
375
  resolve: {
373
376
  alias
@@ -379,6 +382,7 @@ var viteBuild = async ({
379
382
  },
380
383
  logLevel: "silent"
381
384
  };
385
+ await import_fs_extra.default.copy(appCopyPath, appRootPath);
382
386
  await import_fs_extra.default.outputFile(import_path2.default.join(outputPath, ".gitignore"), `index.html
383
387
  assets/`);
384
388
  if (local) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tinacms/app",
3
- "version": "0.0.0-20221012201933",
3
+ "version": "0.0.0-20221012204516",
4
4
  "main": "dist/index.js",
5
5
  "exports": {
6
6
  ".": {
@@ -27,10 +27,23 @@
27
27
  "@types/fs-extra": "^9.0.1",
28
28
  "@types/react": "17.0.2",
29
29
  "@types/react-dom": "17.0.2",
30
- "@tinacms/scripts": "0.0.0-20221012201933",
30
+ "@tinacms/scripts": "0.0.0-20221012204516",
31
31
  "jest": "^27.0.6"
32
32
  },
33
33
  "dependencies": {
34
+ "react": "17.0.2",
35
+ "react-dom": "17.0.2",
36
+ "@xstate/react": "3.0.0",
37
+ "xstate": "4.32.1",
38
+ "tinacms": "0.0.0-20221012204516",
39
+ "@headlessui/react": "1.6.6",
40
+ "final-form": "4.20.7",
41
+ "graphql": "15.1.0",
42
+ "@heroicons/react": "1.0.6",
43
+ "webfontloader": "1.6.28",
44
+ "react-is": "17.0.2",
45
+ "react-router-dom": "6.4.2",
46
+ "styled-components": "5.3.5",
34
47
  "@tailwindcss/aspect-ratio": "^0.4.0",
35
48
  "@tailwindcss/line-clamp": "^0.3.1",
36
49
  "@tailwindcss/typography": "^0.5.4",
@@ -39,10 +52,6 @@
39
52
  "fs-extra": "^9.0.1",
40
53
  "postcss": "^8.4.14",
41
54
  "postcss-nested": "^5.0.6",
42
- "react": "17.0.2",
43
- "react-dom": "17.0.2",
44
- "react-is": "18.2.0",
45
- "react-router-dom": "6",
46
55
  "tailwindcss": "^3.1.6",
47
56
  "typescript": "^4.6.4",
48
57
  "vite": "^3.1.3"