Skip to content

Commit

Permalink
Merge 9cffdf8 into fc9122c
Browse files Browse the repository at this point in the history
  • Loading branch information
lyrixx committed Aug 25, 2021
2 parents fc9122c + 9cffdf8 commit 4f2c6b1
Show file tree
Hide file tree
Showing 9 changed files with 186 additions and 214 deletions.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions update-js.sh
Expand Up @@ -4,7 +4,7 @@ rm -f yarn.lock
yarn add @fontsource/open-sans swagger-ui-dist
yarn add --production es6-promise fetch react react-dom graphiql graphql-playground-react@1.7.26 redoc

dest=src/Bridge/Symfony/Bundle/Resources/public/fonts/open-sans/
dest=src/Core/Bridge/Symfony/Bundle/Resources/public/fonts/open-sans/
if [[ -d "$dest" ]]; then
rm -Rf "$dest"
fi
Expand All @@ -26,7 +26,7 @@ cp node_modules/@fontsource/open-sans/files/open-sans-vietnamese-700-normal.woff
cp node_modules/@fontsource/open-sans/files/open-sans-latin-ext-700-normal.woff2 "${dest}files/"
cp node_modules/@fontsource/open-sans/files/open-sans-latin-700-normal.woff2 "${dest}files/"

dest=src/Bridge/Symfony/Bundle/Resources/public/swagger-ui/
dest=src/Core/Bridge/Symfony/Bundle/Resources/public/swagger-ui/
if [[ -d "$dest" ]]; then
rm -Rf "$dest"
fi
Expand All @@ -39,31 +39,31 @@ cp node_modules/swagger-ui-dist/swagger-ui.css "$dest"
cp node_modules/swagger-ui-dist/swagger-ui.css.map "$dest"
cp node_modules/swagger-ui-dist/oauth2-redirect.html "$dest"

dest=src/Bridge/Symfony/Bundle/Resources/public/react/
dest=src/Core/Bridge/Symfony/Bundle/Resources/public/react/
if [[ -d "$dest" ]]; then
rm -Rf "$dest"
fi
mkdir -p "$dest"
cp node_modules/react/umd/react.production.min.js "$dest"
cp node_modules/react-dom/umd/react-dom.production.min.js "$dest"

dest=src/Bridge/Symfony/Bundle/Resources/public/graphiql/
dest=src/Core/Bridge/Symfony/Bundle/Resources/public/graphiql/
if [[ -d "$dest" ]]; then
rm -Rf "$dest"
fi
mkdir -p "$dest"
cp node_modules/graphiql/graphiql.min.js "$dest"
cp node_modules/graphiql/graphiql.css "$dest"

dest=src/Bridge/Symfony/Bundle/Resources/public/graphql-playground/
dest=src/Core/Bridge/Symfony/Bundle/Resources/public/graphql-playground/
if [[ -d "$dest" ]]; then
rm -Rf "$dest"
fi
mkdir -p "$dest"
cp node_modules/graphql-playground-react/build/static/js/middleware.js "$dest"
cp node_modules/graphql-playground-react/build/static/css/index.css "$dest"

dest=src/Bridge/Symfony/Bundle/Resources/public/redoc/
dest=src/Core/Bridge/Symfony/Bundle/Resources/public/redoc/
if [[ -d "$dest" ]]; then
rm -Rf "$dest"
fi
Expand Down
374 changes: 173 additions & 201 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit 4f2c6b1

Please sign in to comment.