create-tina-app 1.0.5 → 1.1.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.
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- require('../dist')
3
+ import '../dist'
package/dist/index.js CHANGED
@@ -35,7 +35,7 @@ var import_path4 = __toESM(require("path"));
35
35
 
36
36
  // package.json
37
37
  var name = "create-tina-app";
38
- var version = "1.0.5";
38
+ var version = "1.1.1";
39
39
 
40
40
  // src/util/fileUtil.ts
41
41
  var import_fs_extra = __toESM(require("fs-extra"));
@@ -165,7 +165,6 @@ var import_chalk5 = __toESM(require("chalk"));
165
165
  // src/util/git.ts
166
166
  var import_child_process = require("child_process");
167
167
  var import_path2 = __toESM(require("path"));
168
- var import_rimraf = __toESM(require("rimraf"));
169
168
  var import_fs_extra2 = __toESM(require("fs-extra"));
170
169
  var import_chalk3 = __toESM(require("chalk"));
171
170
  function isInGitRepository() {
@@ -218,7 +217,7 @@ function tryGitInit(root) {
218
217
  } catch (e) {
219
218
  if (didInit) {
220
219
  try {
221
- import_rimraf.default.sync(import_path2.default.join(root, ".git"));
220
+ import_fs_extra2.default.removeSync(import_path2.default.join(root, ".git"));
222
221
  } catch (_) {
223
222
  }
224
223
  }
@@ -298,6 +297,13 @@ var EXAMPLES = [
298
297
  isInternal: false,
299
298
  gitURL: "https://github.com/tinacms/tina-remix-starter"
300
299
  },
300
+ {
301
+ title: "Documentation Starter",
302
+ description: "Transform documentation with Smooth Doc: Features MDX support, light/dark mode, and seamless Vercel deployment for a dynamic, interactive experience.",
303
+ value: "demo-docs",
304
+ isInternal: false,
305
+ gitURL: "https://github.com/tinacms/demo-docs"
306
+ },
301
307
  {
302
308
  title: "Docusaurus Starter",
303
309
  description: "Docusaurus empowers you to build and evolve documentation like crafting a living, breathing knowledge repository.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-tina-app",
3
- "version": "1.0.5",
3
+ "version": "1.1.1",
4
4
  "main": "dist/index.js",
5
5
  "files": [
6
6
  "dist",
@@ -26,27 +26,26 @@
26
26
  "directory": "packages/create-tina-app"
27
27
  },
28
28
  "devDependencies": {
29
- "@tinacms/scripts": "1.1.3",
30
29
  "@types/fs-extra": "^9.0.13",
31
30
  "@types/node": "^16.11.7",
32
31
  "@types/prompts": "^2.0.14",
33
32
  "@types/tar": "4.0.3",
34
- "typescript": "4.3.5"
33
+ "typescript": "4.6.4",
34
+ "@tinacms/scripts": "1.1.5"
35
35
  },
36
36
  "dependencies": {
37
- "@tinacms/metrics": "1.0.2",
38
37
  "chalk": "^4.1.2",
39
38
  "commander": "^8.3.0",
40
39
  "cross-spawn": "^7.0.3",
41
40
  "fs-extra": "^10.0.0",
42
41
  "got": "^11.8.5",
43
42
  "prompts": "^2.4.2",
44
- "rimraf": "^3.0.2",
45
- "tar": "4.4.18"
43
+ "tar": "4.4.18",
44
+ "@tinacms/metrics": "1.0.3"
46
45
  },
47
46
  "scripts": {
48
47
  "types": "pnpm tsc",
49
48
  "build": "tinacms-scripts build",
50
- "test-run-bin": "yarn create-tina-app"
49
+ "test-run-bin": "pnpm create-tina-app"
51
50
  }
52
51
  }