@tinacms/scripts 1.4.2 → 1.5.0
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 +4 -3
- package/package.json +5 -1
package/dist/index.js
CHANGED
|
@@ -5,8 +5,8 @@ import {
|
|
|
5
5
|
|
|
6
6
|
// src/index.ts
|
|
7
7
|
import * as fs from "fs";
|
|
8
|
-
import { exec } from "
|
|
9
|
-
import path from "
|
|
8
|
+
import { exec } from "child_process";
|
|
9
|
+
import path from "path";
|
|
10
10
|
import chalk from "chalk";
|
|
11
11
|
import chokidar from "chokidar";
|
|
12
12
|
import commander from "commander";
|
|
@@ -387,7 +387,8 @@ See --help for a list of available commands.`
|
|
|
387
387
|
"@tinacms/toolkit": path.resolve(
|
|
388
388
|
process.cwd(),
|
|
389
389
|
"src/toolkit/index.ts"
|
|
390
|
-
)
|
|
390
|
+
),
|
|
391
|
+
"@utils": path.resolve(process.cwd(), "src/utils")
|
|
391
392
|
}
|
|
392
393
|
},
|
|
393
394
|
build: {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tinacms/scripts",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.5.0",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist",
|
|
@@ -30,6 +30,10 @@
|
|
|
30
30
|
"@types/json-diff": "^1.0.3",
|
|
31
31
|
"jest": "^30.1.3"
|
|
32
32
|
},
|
|
33
|
+
"repository": {
|
|
34
|
+
"url": "https://github.com/tinacms/tinacms.git",
|
|
35
|
+
"directory": "packages/@tinacms/scripts"
|
|
36
|
+
},
|
|
33
37
|
"scripts": {
|
|
34
38
|
"build:all": "bin/tina-build build:all",
|
|
35
39
|
"watch": "node bin/tina-build watch",
|