mirror of
https://github.com/th30d4y/OpenLearnX.git
synced 2026-05-26 11:25:49 +00:00
Align npm package references to v2.0.4 scoped package
Agent-Logs-Url: https://github.com/th30d4y/OpenLearnX/sessions/29d50a49-95d6-4192-8230-96fae71d8219 Co-authored-by: 0x5t4l1n <161853795+0x5t4l1n@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
9f59efb0b4
commit
01f2187e36
+4
-4
@@ -47,8 +47,8 @@ if [ ! -f "package.json" ]; then
|
||||
fi
|
||||
|
||||
# Check for required fields
|
||||
if grep -q '"name": "openlearnx"' package.json; then
|
||||
pass "Package name is correct: openlearnx"
|
||||
if grep -q '"name": "@th30d4y/openlearnx"' package.json; then
|
||||
pass "Package name is correct: @th30d4y/openlearnx"
|
||||
else
|
||||
fail "Package name is incorrect or missing"
|
||||
fi
|
||||
@@ -121,7 +121,7 @@ fi
|
||||
# Test 8: Dry run of package creation
|
||||
echo ""
|
||||
echo "📦 Test 8: Testing package creation (dry run)..."
|
||||
if npm pack --dry-run 2>/dev/null | grep -q "openlearnx@2.0.4"; then
|
||||
if npm pack --dry-run 2>&1 | grep -q "@th30d4y/openlearnx@2.0.4"; then
|
||||
pass "Package would be created successfully"
|
||||
else
|
||||
fail "Package creation test failed"
|
||||
@@ -135,5 +135,5 @@ echo "🚀 Ready to publish:"
|
||||
echo " npm publish"
|
||||
echo ""
|
||||
echo "Or test locally first:"
|
||||
echo " npm pack && tar -tzf openlearnx-2.0.4.tgz | head -20"
|
||||
echo " npm pack && tar -tzf th30d4y-openlearnx-2.0.4.tgz | head -20"
|
||||
echo ""
|
||||
|
||||
Reference in New Issue
Block a user