Skip to content

Commit

Permalink
Merge pull request #615 from frontendnetwork/staging
Browse files Browse the repository at this point in the history
Release
  • Loading branch information
philipbrembeck authored Jan 24, 2024
2 parents 65cb930 + 7317fc6 commit 7eb53ba
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,6 @@ jobs:
key: ${{ secrets.SSH_PRIVATE_KEY }}
script: |
cd vegancheck
docker-compose stop vc-frontend
docker-compose pull vc-frontend
docker-compose stop vc-frontend-staging
docker-compose pull vc-frontend-staging
docker-compose up -d vc-frontend
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@ Check if a product is vegan or not with <a href="https://veganify.app"><strong>
<br/>
<a href="https://veganify.app"><img src="https://user-images.githubusercontent.com/4144601/233676587-c0b1f89a-9e1f-49f9-b4b9-fdbf1e592f5f.png" alt="Veganify Hero" align="center"></a>
<br><br>
<a href="https://www.producthunt.com/posts/vegancheck-me?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-vegancheck&#0045;me" target="_blank"><img src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=396704&theme=neutral" alt="Veganify - Check&#0032;if&#0032;a&#0032;product&#0032;if&#0032;vegan&#0047;vegetarian&#0032;easily&#0032;and&#0032;fast | Product Hunt" style="width: 250px; height: 54px;" width="250" height="54" /></a>
<a href="https://www.producthunt.com/posts/vegancheck-me?utm_source=badge-top-post-topic-badge&utm_medium=badge&utm_souce=badge-vegancheck&#0045;me" target="_blank"><img src="https://api.producthunt.com/widgets/embed-image/v1/top-post-topic-badge.svg?post_id=396704&theme=neutral&period=weekly&topic_id=43" alt="Veganify - Check&#0032;if&#0032;a&#0032;product&#0032;if&#0032;vegan&#0047;vegetarian&#0032;easily&#0032;and&#0032;fast | Product Hunt" style="width: 250px; height: 54px;" width="250" height="54" /></a>
<a href="https://www.producthunt.com/posts/vegancheck-me?utm_source=badge-top-post-topic-badge&utm_medium=badge&utm_souce=badge-vegancheck&#0045;me" target="_blank"><img src="https://api.producthunt.com/widgets/embed-image/v1/top-post-topic-badge.svg?post_id=396704&theme=neutral&period=weekly&topic_id=204" alt="Veganify- Check&#0032;if&#0032;a&#0032;product&#0032;if&#0032;vegan&#0047;vegetarian&#0032;easily&#0032;and&#0032;fast | Product Hunt" style="width: 250px; height: 54px;" width="250" height="54" /></a>
<a href="https://www.producthunt.com/products/vegancheck-me?utm_source=badge-featured" target="_blank"><img src="https://api.producthunt.com/widgets/embed-image/v1/top-post-topic-badge.svg?post_id=396704&theme=neutral&period=weekly&topic_id=43" alt="Veganify - Check&#0032;if&#0032;a&#0032;product&#0032;if&#0032;vegan&#0047;vegetarian&#0032;easily&#0032;and&#0032;fast | Product Hunt" style="width: 250px; height: 54px;" width="250" height="54" /></a>
<a href="https://www.producthunt.com/products/vegancheck-me?utm_source=badge-featured" target="_blank"><img src="https://api.producthunt.com/widgets/embed-image/v1/top-post-topic-badge.svg?post_id=396704&theme=neutral&period=weekly&topic_id=204" alt="Veganify- Check&#0032;if&#0032;a&#0032;product&#0032;if&#0032;vegan&#0047;vegetarian&#0032;easily&#0032;and&#0032;fast | Product Hunt" style="width: 250px; height: 54px;" width="250" height="54" /></a>
</div>

## Overview
Expand Down
10 changes: 5 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"dependencies": {
"@ducanh2912/next-pwa": "^9.7.2",
"@ericblade/quagga2": "^1.8.4",
"@frontendnetwork/vegancheck": "^1.1.45",
"@frontendnetwork/veganify": "^1.1.49",
"@types/node": "20.11.0",
"@types/react-dom": "18.2.18",
"eslint-config-sznm": "^2.0.2",
Expand Down
1 change: 1 addition & 0 deletions public/workbox-d5a6b829.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/components/check.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import VeganCheck from "@frontendnetwork/vegancheck";
import Veganify from "@frontendnetwork/veganify";
import Image from "next/image";
import { useTranslations } from "next-intl";
import React, { useState, useEffect, useRef } from "react";
Expand Down Expand Up @@ -54,7 +54,7 @@ const ProductSearch = () => {
setLoading(true);

try {
const data = await VeganCheck.getProductByBarcode(
const data = await Veganify.getProductByBarcode(
barcode,
process.env.NEXT_PUBLIC_STAGING === "true"
);
Expand Down
4 changes: 2 additions & 2 deletions src/components/ingredientscheck.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import VeganCheck from "@frontendnetwork/vegancheck";
import Veganify from "@frontendnetwork/veganify";
import Image from "next/image";
import { useTranslations } from "next-intl";
import React, { useState, FormEvent } from "react";
Expand All @@ -23,7 +23,7 @@ const IngredientsCheck = () => {
const checkIngredients = async () => {
setLoading(true);
try {
const data = await VeganCheck.checkIngredientsList(
const data = await Veganify.checkIngredientsList(
ingredients.value,
process.env.NEXT_PUBLIC_STAGING === "true" ? true : false
);
Expand Down

0 comments on commit 7eb53ba

Please sign in to comment.