Skip to content

Commit

Permalink
yarn upgrade, add --build-arg
Browse files Browse the repository at this point in the history
  • Loading branch information
nemanjam committed Aug 31, 2024
1 parent 89dc3f1 commit 86a0c98
Show file tree
Hide file tree
Showing 3 changed files with 442 additions and 465 deletions.
5 changes: 5 additions & 0 deletions docs/working-notes/todo3.md
Original file line number Diff line number Diff line change
Expand Up @@ -532,5 +532,10 @@ sentry
<script defer data-domain="nemanjamitic.com" src="https://plausible.arm1.nemanjamitic.com/js/script.js"></script>
add zod schema that checks node_env for plausible_url instead of optional
moze samo za 1 url data-domain="nemanjamitic.com"

paralelizuj docker arm x86 build, reuse cache, test
accessibility
image sizes
astro gallery, blur onload, infinite scroll
------------
```
15 changes: 7 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,21 @@
"deploy:nginx:local": "bash scripts/deploy-nginx.sh '~/traefik-proxy/apps/nmc-nginx-with-volume/website' lxc11",
"deploy:docker": "bash scripts/deploy-docker.sh arm1 '~/traefik-proxy/apps/nmc-docker' nemanjamitic/nemanjam.github.io",
"deploy:docker:local": "bash scripts/deploy-docker.sh lxc11 '~/traefik-proxy/apps/nmc-docker' nemanjamitic/nemanjam.github.io",
"docker:build:push:arm": "docker buildx build -f ./docker/Dockerfile -t nemanjamitic/nemanjam.github.io --build-arg ARG_SITE_URL='https://nmc-docker.arm1.nemanjamitic.com' ARG_PLAUSIBLE_SCRIPT_URL='https://plausible.arm1.nemanjamitic.com/js/script.js' --platform linux/arm64 --push .",
"docker:build:push:x86": "docker buildx build -f ./docker/Dockerfile -t nemanjamitic/nemanjam.github.io --build-arg ARG_SITE_URL='https://nmc-docker.local.nemanjamitic.com' ARG_PLAUSIBLE_SCRIPT_URL='https://plausible.arm1.nemanjamitic.com/js/script.js' --platform linux/amd64 --push .",
"docker:build:push:arm": "docker buildx build -f ./docker/Dockerfile -t nemanjamitic/nemanjam.github.io --build-arg ARG_SITE_URL='https://nmc-docker.arm1.nemanjamitic.com' --build-arg ARG_PLAUSIBLE_SCRIPT_URL='https://plausible.arm1.nemanjamitic.com/js/script.js' --platform linux/arm64 --push .",
"docker:build:push:x86": "docker buildx build -f ./docker/Dockerfile -t nemanjamitic/nemanjam.github.io --build-arg ARG_SITE_URL='https://nmc-docker.local.nemanjamitic.com' --build-arg ARG_PLAUSIBLE_SCRIPT_URL='https://plausible.arm1.nemanjamitic.com/js/script.js' --platform linux/amd64 --push .",
"docker:push": "docker push nemanjamitic/nemanjam.github.io",
"dc:up": "docker compose up --build --force-recreate -d"
},
"dependencies": {
"@astrojs/mdx": "^3.1.3",
"@astrojs/mdx": "^3.1.5",
"@astrojs/partytown": "^2.1.2",
"@astrojs/react": "^3.6.1",
"@astrojs/sitemap": "^3.1.6",
"@astrojs/tailwind": "^5.1.0",
"@fontsource-variable/inter": "^5.0.20",
"@tailwindcss/typography": "^0.5.13",
"astro": "^4.14.4",
"astro": "^4.15.1",
"astro-embed": "^0.7.2",
"astro-expressive-code": "^0.35.6",
"astro-expressive-code": "^0.36.1",
"astro-icon": "^1.1.0",
"astro-remote": "^0.3.3",
"astro-social-share": "^2.0.2",
Expand All @@ -46,7 +45,7 @@
"giscus": "^1.5.0",
"github-slugger": "^2.0.0",
"mdast-util-to-string": "^4.0.0",
"nanostores": "^0.10.3",
"nanostores": "^0.11.3",
"object-treeify": "^4.0.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
Expand All @@ -63,7 +62,7 @@
"@expressive-code/plugin-collapsible-sections": "^0.35.6",
"@ianvs/prettier-plugin-sort-imports": "^4.3.1",
"@iconify-json/mdi": "^1.1.66",
"@tailwindcss/typography": "^0.5.13",
"@tailwindcss/typography": "^0.5.15",
"@types/mdast": "^4.0.3",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
Expand Down
Loading

0 comments on commit 86a0c98

Please sign in to comment.