firecrawl 0.0.28 → 0.0.30
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/build_and_publish.sh +2 -2
- package/package.json +1 -1
package/build_and_publish.sh
CHANGED
|
@@ -4,7 +4,7 @@ function build_and_publish {
|
|
|
4
4
|
PACKAGE_NAME=$1
|
|
5
5
|
|
|
6
6
|
# Replace placeholder with the package name in package.json
|
|
7
|
-
|
|
7
|
+
jq --arg name "$PACKAGE_NAME" '.name = $name' package.json > temp.json && mv temp.json package.json
|
|
8
8
|
|
|
9
9
|
# Debug: show modified state
|
|
10
10
|
echo "Modified package.json for $PACKAGE_NAME:"
|
|
@@ -20,7 +20,7 @@ function build_and_publish {
|
|
|
20
20
|
fi
|
|
21
21
|
|
|
22
22
|
# Revert the changes to the original placeholder in package.json
|
|
23
|
-
|
|
23
|
+
jq '.name = "PLACEHOLDER_NAME"' package.json > temp.json && mv temp.json package.json
|
|
24
24
|
|
|
25
25
|
# Debug: show reverted state
|
|
26
26
|
echo "Reverted package.json to placeholder:"
|