@tinacms/metrics 1.0.9 → 1.1.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 +2 -4
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -86,15 +86,13 @@ var _getPack = (rootDir) => {
|
|
|
86
86
|
return pack;
|
|
87
87
|
};
|
|
88
88
|
var getTinaVersion = () => {
|
|
89
|
-
var _a;
|
|
90
89
|
const pack = _getPack(process.cwd());
|
|
91
|
-
const version =
|
|
90
|
+
const version = pack?.dependencies?.tinacms;
|
|
92
91
|
return version || "";
|
|
93
92
|
};
|
|
94
93
|
var getTinaCliVersion = () => {
|
|
95
|
-
var _a, _b;
|
|
96
94
|
const pack = _getPack(process.cwd());
|
|
97
|
-
const version =
|
|
95
|
+
const version = pack?.devDependencies?.["@tinacms/cli"] || pack?.dependencies?.["@tinacms/cli"];
|
|
98
96
|
return version || "";
|
|
99
97
|
};
|
|
100
98
|
var getYarnVersion = () => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tinacms/metrics",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"typings": "dist/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"fs-extra": "^11.3.0",
|
|
26
26
|
"jest": "^29.7.0",
|
|
27
27
|
"typescript": "^5.7.3",
|
|
28
|
-
"@tinacms/scripts": "1.
|
|
28
|
+
"@tinacms/scripts": "1.4.0"
|
|
29
29
|
},
|
|
30
30
|
"publishConfig": {
|
|
31
31
|
"registry": "https://registry.npmjs.org"
|