@tinacms/cli 2.0.0 → 2.0.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.
Files changed (2) hide show
  1. package/dist/index.js +2 -9
  2. package/package.json +5 -5
package/dist/index.js CHANGED
@@ -1,15 +1,8 @@
1
- var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
2
- get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
3
- }) : x)(function(x) {
4
- if (typeof require !== "undefined") return require.apply(this, arguments);
5
- throw Error('Dynamic require of "' + x + '" is not supported');
6
- });
7
-
8
1
  // src/index.ts
9
2
  import { Cli, Builtins } from "clipanion";
10
3
 
11
4
  // package.json
12
- var version = "2.0.0";
5
+ var version = "2.0.1";
13
6
 
14
7
  // src/next/commands/dev-command/index.ts
15
8
  import path8 from "path";
@@ -6127,6 +6120,7 @@ var addSelfHostedTinaAuthToConfig = async (config2, configFile) => {
6127
6120
  };
6128
6121
 
6129
6122
  // src/cmds/init/apply.ts
6123
+ import { exec } from "child_process";
6130
6124
  async function apply({
6131
6125
  env,
6132
6126
  params,
@@ -6613,7 +6607,6 @@ var addReactiveFile = {
6613
6607
  }
6614
6608
  };
6615
6609
  function execShellCommand(cmd) {
6616
- const exec = __require("child_process").exec;
6617
6610
  return new Promise((resolve2, reject) => {
6618
6611
  exec(cmd, (error, stdout, stderr) => {
6619
6612
  if (error) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tinacms/cli",
3
3
  "type": "module",
4
- "version": "2.0.0",
4
+ "version": "2.0.1",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
7
7
  "files": [
@@ -90,12 +90,12 @@
90
90
  "vite": "^4.5.9",
91
91
  "yup": "^1.6.1",
92
92
  "zod": "^3.24.2",
93
- "@tinacms/app": "2.3.12",
93
+ "@tinacms/app": "2.3.13",
94
94
  "@tinacms/metrics": "2.0.0",
95
- "@tinacms/graphql": "2.0.0",
96
- "@tinacms/search": "1.1.4",
97
95
  "@tinacms/schema-tools": "2.0.0",
98
- "tinacms": "3.0.0"
96
+ "@tinacms/search": "1.1.4",
97
+ "@tinacms/graphql": "2.0.0",
98
+ "tinacms": "3.0.1"
99
99
  },
100
100
  "publishConfig": {
101
101
  "registry": "https://registry.npmjs.org"