Skip to content

Commit

Permalink
Remove patches and patching mechanism.
Browse files Browse the repository at this point in the history
  • Loading branch information
fibsifan committed Jun 13, 2024
1 parent deec329 commit 6dfbcec
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 114 deletions.
10 changes: 0 additions & 10 deletions js-storefront/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,16 +80,6 @@ EOF
progress "Applying optimizations"
cp -r "../bootstrap/.vscode" .
angular="$(grep -i '@angular/animations' package.json | awk '{ print $2 }')"
mkdir -p "patches"
for template in ../bootstrap/patches/*.patch; do
output="patches/$(basename "$template")"
sed "s/@NAME@/$NAME/g" "$template" > "$output.1"
sed "s/@ANGULAR@/$angular/g" "$output.1" > "$output"
rm "$output.1"
done
for patch in patches/*.patch; do
patch -p0 < "$patch" || true
done
yarn install
)
progress "Generating Manifest"
Expand Down
20 changes: 0 additions & 20 deletions js-storefront/bootstrap/patches/environments.patch

This file was deleted.

11 changes: 0 additions & 11 deletions js-storefront/bootstrap/patches/index.html.patch

This file was deleted.

24 changes: 0 additions & 24 deletions js-storefront/bootstrap/patches/package.json.patch

This file was deleted.

24 changes: 0 additions & 24 deletions js-storefront/bootstrap/patches/smart-edit-feature.module.ts.patch

This file was deleted.

This file was deleted.

0 comments on commit 6dfbcec

Please sign in to comment.