@bigbinary/neeto-audit-frontend 1.0.5 → 1.0.7
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.
|
@@ -10,7 +10,7 @@ const DEV_DEPENDENCIES = {
|
|
|
10
10
|
"@babel/runtime": "7.22.6",
|
|
11
11
|
"@bigbinary/babel-preset-neeto": "1.0.3",
|
|
12
12
|
"@bigbinary/eslint-plugin-neeto": "1.1.2",
|
|
13
|
-
"@bigbinary/neeto-audit-frontend": "1.0.
|
|
13
|
+
"@bigbinary/neeto-audit-frontend": "1.0.7",
|
|
14
14
|
autoprefixer: "10.4.14",
|
|
15
15
|
"babel-loader": "9.1.3",
|
|
16
16
|
"babel-plugin-istanbul": "6.1.1",
|
package/dist/index.js
CHANGED
|
@@ -18471,11 +18471,11 @@ const getNanoType = async () => {
|
|
|
18471
18471
|
const git = simpleGit();
|
|
18472
18472
|
const { value: remoteOriginUrl } = await git.getConfig("remote.origin.url");
|
|
18473
18473
|
|
|
18474
|
-
const
|
|
18475
|
-
.split("
|
|
18476
|
-
.at(1)
|
|
18477
|
-
|
|
18478
|
-
|
|
18474
|
+
const projectGitName =
|
|
18475
|
+
remoteOriginUrl.split("git@github.com:bigbinary/").at(1) ||
|
|
18476
|
+
remoteOriginUrl.split("github.com/bigbinary/").at(1);
|
|
18477
|
+
|
|
18478
|
+
const projectName = projectGitName.split(".git").at(0);
|
|
18479
18479
|
|
|
18480
18480
|
return last$2(split$1("-", projectName));
|
|
18481
18481
|
};
|
|
@@ -18687,7 +18687,7 @@ const DEV_DEPENDENCIES$4 = {
|
|
|
18687
18687
|
"@babel/runtime": "7.22.6",
|
|
18688
18688
|
"@bigbinary/babel-preset-neeto": "1.0.3",
|
|
18689
18689
|
"@bigbinary/eslint-plugin-neeto": "1.1.2",
|
|
18690
|
-
"@bigbinary/neeto-audit-frontend": "1.0.
|
|
18690
|
+
"@bigbinary/neeto-audit-frontend": "1.0.7",
|
|
18691
18691
|
autoprefixer: "10.4.14",
|
|
18692
18692
|
"babel-loader": "9.1.3",
|
|
18693
18693
|
"babel-plugin-istanbul": "6.1.1",
|
package/package.json
CHANGED
package/src/utils/index.js
CHANGED
|
@@ -250,11 +250,11 @@ export const getNanoType = async () => {
|
|
|
250
250
|
const git = simpleGit();
|
|
251
251
|
const { value: remoteOriginUrl } = await git.getConfig("remote.origin.url");
|
|
252
252
|
|
|
253
|
-
const
|
|
254
|
-
.split("
|
|
255
|
-
.at(1)
|
|
256
|
-
|
|
257
|
-
|
|
253
|
+
const projectGitName =
|
|
254
|
+
remoteOriginUrl.split("git@github.com:bigbinary/").at(1) ||
|
|
255
|
+
remoteOriginUrl.split("github.com/bigbinary/").at(1);
|
|
256
|
+
|
|
257
|
+
const projectName = projectGitName.split(".git").at(0);
|
|
258
258
|
|
|
259
259
|
return last(split("-", projectName));
|
|
260
260
|
};
|