create-nodality-react 1.0.0-beta.7 → 1.0.0-beta.71
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/bin/index.js +1 -1
- package/package.json +2 -2
- package/release.sh +12 -0
- package/templates/src/App.js +1 -1
package/bin/index.js
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "create-nodality-react",
|
3
|
-
"version": "1.0.0-beta.
|
3
|
+
"version": "1.0.0-beta.71",
|
4
4
|
"description": "Scaffolding tool for creating Nodality React projects",
|
5
5
|
"main": "bin/index.js",
|
6
6
|
"bin": {
|
@@ -8,7 +8,7 @@
|
|
8
8
|
},
|
9
9
|
"scripts": {},
|
10
10
|
"keywords": ["nodality", "react", "scaffolding", "create"],
|
11
|
-
"author": "
|
11
|
+
"author": "Filip Vabrousek",
|
12
12
|
"license": "MIT",
|
13
13
|
"dependencies": {}
|
14
14
|
}
|
package/release.sh
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
# Run `gh auth status` and capture the output
|
2
|
+
auth_output=$(gh auth status 2>&1)
|
3
|
+
|
4
|
+
# Print the output for logging
|
5
|
+
|
6
|
+
# Check if logged in as 'nodalityjs'
|
7
|
+
if echo "$auth_output" | grep -q 'github\.com as nodalityjs'; then
|
8
|
+
echo "🚀 Logged in as nodalityjs — continuing."
|
9
|
+
else
|
10
|
+
echo "🚫 Not logged in as nodalityjs. Aborting."
|
11
|
+
exit 1
|
12
|
+
fi
|