diff --git a/.github/workflows/publish-container.yml b/.github/workflows/publish-container.yml new file mode 100644 index 0000000..0cc83c4 --- /dev/null +++ b/.github/workflows/publish-container.yml @@ -0,0 +1,114 @@ +# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json + +name: Build & Publish Containers + +on: + workflow_dispatch: + + push: + branches: + - next + - main + +env: + USER: alwatr + +jobs: + build: + name: Build & Publish Containers + runs-on: ubuntu-latest + + strategy: + fail-fast: false + matrix: + include: + - name: hybrid-ui-demo-app + path: ./demo/ + context: . + + permissions: + contents: read + packages: write + id-token: write + + steps: + - name: โคต๏ธ Checkout repository + uses: actions/checkout@v4.1.2 + + - name: โ” Check Container files changed + id: file_change + if: ${{ github.event_name != 'release' && github.event_name != 'workflow_dispatch' }} + uses: dorny/paths-filter@v3.0.2 + with: + filters: | + container_folder: + ${{ matrix.context }}/** + + - name: ๐Ÿ— Install cosign + if: ${{ github.event_name != 'pull_request' && steps.file_change.outputs.container_folder != 'false' }} + uses: sigstore/cosign-installer@v3.4.0 + + - name: ๐Ÿ— Setup Docker Buildx + if: ${{ steps.file_change.outputs.container_folder != 'false' }} + uses: docker/setup-buildx-action@v3.2.0 + + - name: ๐Ÿ— Cache Docker Layers + if: ${{ steps.file_change.outputs.container_folder != 'false' }} + uses: actions/cache@v4.0.2 + with: + path: /tmp/.buildx-cache + key: container/${{ matrix.name }} + + # - name: ๐Ÿ— Log into docker hub registry + # if: ${{ github.event_name != 'pull_request' && steps.file_change.outputs.container_folder != 'false' }} + # uses: docker/login-action@v3.1.0 + # with: + # username: ${{env.USER}} + # password: ${{secrets.DOCKER_HUB_TOKEN}} + + - name: ๐Ÿ— Log into ghcr.io registry + if: ${{ github.event_name != 'pull_request' && steps.file_change.outputs.container_folder != 'false' }} + uses: docker/login-action@v3.1.0 + with: + registry: ghcr.io + username: ${{env.USER}} + password: ${{secrets.GITHUB_TOKEN}} + + - name: ๐Ÿ— Extract metadata + if: ${{ steps.file_change.outputs.container_folder != 'false' }} + id: meta + uses: docker/metadata-action@v5.5.1 + with: + github-token: ${{secrets.GITHUB_TOKEN}} + images: | + name=ghcr.io/${{env.USER}}/${{matrix.name}},enable=true + name=docker.io/${{env.USER}}/${{matrix.name}},enable=false + tags: | + type=semver,enable=true,pattern={{major}} + type=semver,enable=true,pattern={{major}}.{{minor}} + type=semver,enable=true,pattern={{version}} + type=ref,enable=true,event=branch + labels: | + org.opencontainers.image.title="gecut/${{matrix.name}}" + org.opencontainers.image.vendor="Gecut" + org.opencontainers.image.documentation="https://github.com/gecut/hybrid-ui" + org.opencontainers.image.authors="S. MohammadMahdi Zamanian (https://mm25zamanian.ir)" + + - name: ๐Ÿš€ Build and push container image + if: ${{ steps.file_change.outputs.container_folder != 'false' }} + id: build_and_push + uses: docker/build-push-action@v5.3.0 + with: + context: ${{matrix.context}} + file: ${{matrix.path}}/Dockerfile + push: ${{ github.event_name != 'pull_request' }} + tags: ${{ steps.meta.outputs.tags }} + labels: ${{ steps.meta.outputs.labels }} + cache-from: type=local,src=/tmp/.buildx-cache + cache-to: type=local,dest=/tmp/.buildx-cache + + # - name: ๐Ÿ— Sign the image with GitHub OIDC Token + # if: ${{ github.event_name != 'pull_request' && steps.file_change.outputs.container_folder != 'false' }} + # env: + # COSIGN_EXPERIMENTAL: 'true' + # run: echo "${{steps.meta.outputs.tags}}" | xargs -I {} cosign sign --yes {}@${{steps.build_and_push.outputs.digest}} diff --git a/demo/.dockerignore b/demo/.dockerignore new file mode 100644 index 0000000..db18ccb --- /dev/null +++ b/demo/.dockerignore @@ -0,0 +1,7 @@ +.git* +.github +.vscode +deploy +dist +Dockerfile +README.md diff --git a/demo/Dockerfile b/demo/Dockerfile new file mode 100644 index 0000000..817d8b7 --- /dev/null +++ b/demo/Dockerfile @@ -0,0 +1,23 @@ +FROM ghcr.io/alwatr/node:21.7.1 as builder + +RUN apk add --no-cache git; +RUN set -ex; corepack enable; + +COPY . . + +RUN set -eux; \ + yarn install --immutable; \ + yarn build; \ + ls -lahF .; \ + ls -RlahF /app/demo; + +# --- + +FROM ghcr.io/alwatr/nginx-cdn:2.5.0 as nginx +LABEL org.opencontainers.image.base.name="ghcr.io/alwatr/nginx-cdn:2.5.0" + +COPY --from=builder /app/demo/dist/ . + +RUN pwd; ls -lAhF; + +EXPOSE 80 diff --git a/demo/assets/tick.svg b/demo/assets/tick.svg deleted file mode 100644 index e607268..0000000 --- a/demo/assets/tick.svg +++ /dev/null @@ -1 +0,0 @@ - diff --git a/demo/button/index.html b/demo/button/index.html index a7e8183..7d15a9c 100644 --- a/demo/button/index.html +++ b/demo/button/index.html @@ -4,6 +4,9 @@ Gecut Buttons + + + diff --git a/demo/dialog/index.html b/demo/dialog/index.html index 9beaffc..c8fd6b9 100644 --- a/demo/dialog/index.html +++ b/demo/dialog/index.html @@ -4,6 +4,9 @@ Gecut Dialog + + + diff --git a/demo/index.html b/demo/index.html index e885452..2d8a2c4 100644 --- a/demo/index.html +++ b/demo/index.html @@ -4,6 +4,9 @@ Gecut + + + diff --git a/demo/lists/index.html b/demo/lists/index.html index a8dc160..821489f 100644 --- a/demo/lists/index.html +++ b/demo/lists/index.html @@ -4,6 +4,9 @@ Gecut Lists + + + diff --git a/demo/lists/scripts.ts b/demo/lists/scripts.ts index 7f3a43a..bbda45b 100644 --- a/demo/lists/scripts.ts +++ b/demo/lists/scripts.ts @@ -4,7 +4,7 @@ import {map} from 'lit/directives/map.js'; import {range} from 'lit/directives/range.js'; import {html, render} from 'lit/html.js'; -import placeHolderImage from '../assets/placeholder.webp'; +import placeHolderImage from '../public/placeholder.webp'; render( html` diff --git a/demo/main/scripts.ts b/demo/main/scripts.ts index 3e7fb8c..b024980 100644 --- a/demo/main/scripts.ts +++ b/demo/main/scripts.ts @@ -3,9 +3,15 @@ import {classMap} from 'lit/directives/class-map.js'; import {map} from 'lit/directives/map.js'; import {html, render} from 'lit/html.js'; +import button from '../public/previews/button.png'; +import dialog from '../public/previews/dialog.png'; +import lists from '../public/previews/lists.png'; +import topBar from '../public/previews/top-bar.png'; + interface Demo { title: string; href: string; + imageSource: string; align?: 'center' | 'bottom' | 'top'; } @@ -15,21 +21,23 @@ const demos: Demo[] = [ { title: 'Commons Buttons', href: '/button/', - align: 'center', + imageSource: button, }, { title: 'Dialog', href: '/dialog/', - align: 'center', + imageSource: dialog, }, { title: 'Top App Bar', href: '/top-bar/', + imageSource: topBar, align: 'top', }, { title: 'Lists', href: '/lists/', + imageSource: lists, align: 'top', }, ]; @@ -45,7 +53,7 @@ if (container) >
Gecut Top Bar + + + diff --git a/demo/vite.config.mts b/demo/vite.config.mts index bb83260..b589595 100644 --- a/demo/vite.config.mts +++ b/demo/vite.config.mts @@ -31,9 +31,6 @@ export default defineConfig(() => { plugins: [ tsconfigPaths(), Unfonts({ - // fontsource: { - // families: ['Varela Round'], - // }, google: { families: [ { diff --git a/icons/android/play_store_512.png b/icons/android/play_store_512.png new file mode 100644 index 0000000..d1cd635 Binary files /dev/null and b/icons/android/play_store_512.png differ diff --git a/icons/android/res/mipmap-anydpi-v26/ic_launcher.xml b/icons/android/res/mipmap-anydpi-v26/ic_launcher.xml new file mode 100644 index 0000000..345888d --- /dev/null +++ b/icons/android/res/mipmap-anydpi-v26/ic_launcher.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/icons/android/res/mipmap-hdpi/ic_launcher.png b/icons/android/res/mipmap-hdpi/ic_launcher.png new file mode 100644 index 0000000..d9aa5c8 Binary files /dev/null and b/icons/android/res/mipmap-hdpi/ic_launcher.png differ diff --git a/icons/android/res/mipmap-hdpi/ic_launcher_background.png b/icons/android/res/mipmap-hdpi/ic_launcher_background.png new file mode 100644 index 0000000..e53426e Binary files /dev/null and b/icons/android/res/mipmap-hdpi/ic_launcher_background.png differ diff --git a/icons/android/res/mipmap-hdpi/ic_launcher_foreground.png b/icons/android/res/mipmap-hdpi/ic_launcher_foreground.png new file mode 100644 index 0000000..b30bbe5 Binary files /dev/null and b/icons/android/res/mipmap-hdpi/ic_launcher_foreground.png differ diff --git a/icons/android/res/mipmap-hdpi/ic_launcher_monochrome.png b/icons/android/res/mipmap-hdpi/ic_launcher_monochrome.png new file mode 100644 index 0000000..b30bbe5 Binary files /dev/null and b/icons/android/res/mipmap-hdpi/ic_launcher_monochrome.png differ diff --git a/icons/android/res/mipmap-mdpi/ic_launcher.png b/icons/android/res/mipmap-mdpi/ic_launcher.png new file mode 100644 index 0000000..f50e3be Binary files /dev/null and b/icons/android/res/mipmap-mdpi/ic_launcher.png differ diff --git a/icons/android/res/mipmap-mdpi/ic_launcher_background.png b/icons/android/res/mipmap-mdpi/ic_launcher_background.png new file mode 100644 index 0000000..09823e8 Binary files /dev/null and b/icons/android/res/mipmap-mdpi/ic_launcher_background.png differ diff --git a/icons/android/res/mipmap-mdpi/ic_launcher_foreground.png b/icons/android/res/mipmap-mdpi/ic_launcher_foreground.png new file mode 100644 index 0000000..cfb0300 Binary files /dev/null and b/icons/android/res/mipmap-mdpi/ic_launcher_foreground.png differ diff --git a/icons/android/res/mipmap-mdpi/ic_launcher_monochrome.png b/icons/android/res/mipmap-mdpi/ic_launcher_monochrome.png new file mode 100644 index 0000000..cfb0300 Binary files /dev/null and b/icons/android/res/mipmap-mdpi/ic_launcher_monochrome.png differ diff --git a/icons/android/res/mipmap-xhdpi/ic_launcher.png b/icons/android/res/mipmap-xhdpi/ic_launcher.png new file mode 100644 index 0000000..6383b14 Binary files /dev/null and b/icons/android/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/icons/android/res/mipmap-xhdpi/ic_launcher_background.png b/icons/android/res/mipmap-xhdpi/ic_launcher_background.png new file mode 100644 index 0000000..df0901d Binary files /dev/null and b/icons/android/res/mipmap-xhdpi/ic_launcher_background.png differ diff --git a/icons/android/res/mipmap-xhdpi/ic_launcher_foreground.png b/icons/android/res/mipmap-xhdpi/ic_launcher_foreground.png new file mode 100644 index 0000000..2a668c3 Binary files /dev/null and b/icons/android/res/mipmap-xhdpi/ic_launcher_foreground.png differ diff --git a/icons/android/res/mipmap-xhdpi/ic_launcher_monochrome.png b/icons/android/res/mipmap-xhdpi/ic_launcher_monochrome.png new file mode 100644 index 0000000..2a668c3 Binary files /dev/null and b/icons/android/res/mipmap-xhdpi/ic_launcher_monochrome.png differ diff --git a/icons/android/res/mipmap-xxhdpi/ic_launcher.png b/icons/android/res/mipmap-xxhdpi/ic_launcher.png new file mode 100644 index 0000000..fb16a6c Binary files /dev/null and b/icons/android/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/icons/android/res/mipmap-xxhdpi/ic_launcher_background.png b/icons/android/res/mipmap-xxhdpi/ic_launcher_background.png new file mode 100644 index 0000000..33e9be8 Binary files /dev/null and b/icons/android/res/mipmap-xxhdpi/ic_launcher_background.png differ diff --git a/icons/android/res/mipmap-xxhdpi/ic_launcher_foreground.png b/icons/android/res/mipmap-xxhdpi/ic_launcher_foreground.png new file mode 100644 index 0000000..748ae08 Binary files /dev/null and b/icons/android/res/mipmap-xxhdpi/ic_launcher_foreground.png differ diff --git a/icons/android/res/mipmap-xxhdpi/ic_launcher_monochrome.png b/icons/android/res/mipmap-xxhdpi/ic_launcher_monochrome.png new file mode 100644 index 0000000..748ae08 Binary files /dev/null and b/icons/android/res/mipmap-xxhdpi/ic_launcher_monochrome.png differ diff --git a/icons/android/res/mipmap-xxxhdpi/ic_launcher.png b/icons/android/res/mipmap-xxxhdpi/ic_launcher.png new file mode 100644 index 0000000..2d88d1c Binary files /dev/null and b/icons/android/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/icons/android/res/mipmap-xxxhdpi/ic_launcher_background.png b/icons/android/res/mipmap-xxxhdpi/ic_launcher_background.png new file mode 100644 index 0000000..13716ea Binary files /dev/null and b/icons/android/res/mipmap-xxxhdpi/ic_launcher_background.png differ diff --git a/icons/android/res/mipmap-xxxhdpi/ic_launcher_foreground.png b/icons/android/res/mipmap-xxxhdpi/ic_launcher_foreground.png new file mode 100644 index 0000000..581cba0 Binary files /dev/null and b/icons/android/res/mipmap-xxxhdpi/ic_launcher_foreground.png differ diff --git a/icons/android/res/mipmap-xxxhdpi/ic_launcher_monochrome.png b/icons/android/res/mipmap-xxxhdpi/ic_launcher_monochrome.png new file mode 100644 index 0000000..581cba0 Binary files /dev/null and b/icons/android/res/mipmap-xxxhdpi/ic_launcher_monochrome.png differ diff --git a/icons/ios/AppIcon-20@2x.png b/icons/ios/AppIcon-20@2x.png new file mode 100644 index 0000000..a57d4a8 Binary files /dev/null and b/icons/ios/AppIcon-20@2x.png differ diff --git a/icons/ios/AppIcon-20@2x~ipad.png b/icons/ios/AppIcon-20@2x~ipad.png new file mode 100644 index 0000000..a57d4a8 Binary files /dev/null and b/icons/ios/AppIcon-20@2x~ipad.png differ diff --git a/icons/ios/AppIcon-20@3x.png b/icons/ios/AppIcon-20@3x.png new file mode 100644 index 0000000..1a59674 Binary files /dev/null and b/icons/ios/AppIcon-20@3x.png differ diff --git a/icons/ios/AppIcon-20~ipad.png b/icons/ios/AppIcon-20~ipad.png new file mode 100644 index 0000000..93c42e5 Binary files /dev/null and b/icons/ios/AppIcon-20~ipad.png differ diff --git a/icons/ios/AppIcon-29.png b/icons/ios/AppIcon-29.png new file mode 100644 index 0000000..3665d93 Binary files /dev/null and b/icons/ios/AppIcon-29.png differ diff --git a/icons/ios/AppIcon-29@2x.png b/icons/ios/AppIcon-29@2x.png new file mode 100644 index 0000000..b4827e0 Binary files /dev/null and b/icons/ios/AppIcon-29@2x.png differ diff --git a/icons/ios/AppIcon-29@2x~ipad.png b/icons/ios/AppIcon-29@2x~ipad.png new file mode 100644 index 0000000..b4827e0 Binary files /dev/null and b/icons/ios/AppIcon-29@2x~ipad.png differ diff --git a/icons/ios/AppIcon-29@3x.png b/icons/ios/AppIcon-29@3x.png new file mode 100644 index 0000000..9154d62 Binary files /dev/null and b/icons/ios/AppIcon-29@3x.png differ diff --git a/icons/ios/AppIcon-29~ipad.png b/icons/ios/AppIcon-29~ipad.png new file mode 100644 index 0000000..3665d93 Binary files /dev/null and b/icons/ios/AppIcon-29~ipad.png differ diff --git a/icons/ios/AppIcon-40@2x.png b/icons/ios/AppIcon-40@2x.png new file mode 100644 index 0000000..d01437d Binary files /dev/null and b/icons/ios/AppIcon-40@2x.png differ diff --git a/icons/ios/AppIcon-40@2x~ipad.png b/icons/ios/AppIcon-40@2x~ipad.png new file mode 100644 index 0000000..d01437d Binary files /dev/null and b/icons/ios/AppIcon-40@2x~ipad.png differ diff --git a/icons/ios/AppIcon-40@3x.png b/icons/ios/AppIcon-40@3x.png new file mode 100644 index 0000000..df35c2c Binary files /dev/null and b/icons/ios/AppIcon-40@3x.png differ diff --git a/icons/ios/AppIcon-40~ipad.png b/icons/ios/AppIcon-40~ipad.png new file mode 100644 index 0000000..a57d4a8 Binary files /dev/null and b/icons/ios/AppIcon-40~ipad.png differ diff --git a/icons/ios/AppIcon-60@2x~car.png b/icons/ios/AppIcon-60@2x~car.png new file mode 100644 index 0000000..df35c2c Binary files /dev/null and b/icons/ios/AppIcon-60@2x~car.png differ diff --git a/icons/ios/AppIcon-60@3x~car.png b/icons/ios/AppIcon-60@3x~car.png new file mode 100644 index 0000000..a9029db Binary files /dev/null and b/icons/ios/AppIcon-60@3x~car.png differ diff --git a/icons/ios/AppIcon-83.5@2x~ipad.png b/icons/ios/AppIcon-83.5@2x~ipad.png new file mode 100644 index 0000000..5400987 Binary files /dev/null and b/icons/ios/AppIcon-83.5@2x~ipad.png differ diff --git a/icons/ios/AppIcon@2x.png b/icons/ios/AppIcon@2x.png new file mode 100644 index 0000000..df35c2c Binary files /dev/null and b/icons/ios/AppIcon@2x.png differ diff --git a/icons/ios/AppIcon@2x~ipad.png b/icons/ios/AppIcon@2x~ipad.png new file mode 100644 index 0000000..001b9d3 Binary files /dev/null and b/icons/ios/AppIcon@2x~ipad.png differ diff --git a/icons/ios/AppIcon@3x.png b/icons/ios/AppIcon@3x.png new file mode 100644 index 0000000..a9029db Binary files /dev/null and b/icons/ios/AppIcon@3x.png differ diff --git a/icons/ios/AppIcon~ios-marketing.png b/icons/ios/AppIcon~ios-marketing.png new file mode 100644 index 0000000..3c3cc0b Binary files /dev/null and b/icons/ios/AppIcon~ios-marketing.png differ diff --git a/icons/ios/AppIcon~ipad.png b/icons/ios/AppIcon~ipad.png new file mode 100644 index 0000000..f836b62 Binary files /dev/null and b/icons/ios/AppIcon~ipad.png differ diff --git a/icons/ios/Contents.json b/icons/ios/Contents.json new file mode 100644 index 0000000..bd04914 --- /dev/null +++ b/icons/ios/Contents.json @@ -0,0 +1,134 @@ +{ + "images": [ + { + "filename": "AppIcon@2x.png", + "idiom": "iphone", + "scale": "2x", + "size": "60x60" + }, + { + "filename": "AppIcon@3x.png", + "idiom": "iphone", + "scale": "3x", + "size": "60x60" + }, + { + "filename": "AppIcon~ipad.png", + "idiom": "ipad", + "scale": "1x", + "size": "76x76" + }, + { + "filename": "AppIcon@2x~ipad.png", + "idiom": "ipad", + "scale": "2x", + "size": "76x76" + }, + { + "filename": "AppIcon-83.5@2x~ipad.png", + "idiom": "ipad", + "scale": "2x", + "size": "83.5x83.5" + }, + { + "filename": "AppIcon-40@2x.png", + "idiom": "iphone", + "scale": "2x", + "size": "40x40" + }, + { + "filename": "AppIcon-40@3x.png", + "idiom": "iphone", + "scale": "3x", + "size": "40x40" + }, + { + "filename": "AppIcon-40~ipad.png", + "idiom": "ipad", + "scale": "1x", + "size": "40x40" + }, + { + "filename": "AppIcon-40@2x~ipad.png", + "idiom": "ipad", + "scale": "2x", + "size": "40x40" + }, + { + "filename": "AppIcon-20@2x.png", + "idiom": "iphone", + "scale": "2x", + "size": "20x20" + }, + { + "filename": "AppIcon-20@3x.png", + "idiom": "iphone", + "scale": "3x", + "size": "20x20" + }, + { + "filename": "AppIcon-20~ipad.png", + "idiom": "ipad", + "scale": "1x", + "size": "20x20" + }, + { + "filename": "AppIcon-20@2x~ipad.png", + "idiom": "ipad", + "scale": "2x", + "size": "20x20" + }, + { + "filename": "AppIcon-29.png", + "idiom": "iphone", + "scale": "1x", + "size": "29x29" + }, + { + "filename": "AppIcon-29@2x.png", + "idiom": "iphone", + "scale": "2x", + "size": "29x29" + }, + { + "filename": "AppIcon-29@3x.png", + "idiom": "iphone", + "scale": "3x", + "size": "29x29" + }, + { + "filename": "AppIcon-29~ipad.png", + "idiom": "ipad", + "scale": "1x", + "size": "29x29" + }, + { + "filename": "AppIcon-29@2x~ipad.png", + "idiom": "ipad", + "scale": "2x", + "size": "29x29" + }, + { + "filename": "AppIcon-60@2x~car.png", + "idiom": "car", + "scale": "2x", + "size": "60x60" + }, + { + "filename": "AppIcon-60@3x~car.png", + "idiom": "car", + "scale": "3x", + "size": "60x60" + }, + { + "filename": "AppIcon~ios-marketing.png", + "idiom": "ios-marketing", + "scale": "1x", + "size": "1024x1024" + } + ], + "info": { + "author": "iconkitchen", + "version": 1 + } +} \ No newline at end of file diff --git a/icons/macos/AppIcon.icns b/icons/macos/AppIcon.icns new file mode 100644 index 0000000..4c53798 Binary files /dev/null and b/icons/macos/AppIcon.icns differ diff --git a/icons/play-store/play_store_feature_graphic.png b/icons/play-store/play_store_feature_graphic.png new file mode 100644 index 0000000..780784a Binary files /dev/null and b/icons/play-store/play_store_feature_graphic.png differ diff --git a/icons/tvos/1x/background.png b/icons/tvos/1x/background.png new file mode 100644 index 0000000..c55e986 Binary files /dev/null and b/icons/tvos/1x/background.png differ diff --git a/icons/tvos/1x/foreground.png b/icons/tvos/1x/foreground.png new file mode 100644 index 0000000..fa66e83 Binary files /dev/null and b/icons/tvos/1x/foreground.png differ diff --git a/icons/tvos/2x/background.png b/icons/tvos/2x/background.png new file mode 100644 index 0000000..60af9a2 Binary files /dev/null and b/icons/tvos/2x/background.png differ diff --git a/icons/tvos/2x/foreground.png b/icons/tvos/2x/foreground.png new file mode 100644 index 0000000..1aea07f Binary files /dev/null and b/icons/tvos/2x/foreground.png differ diff --git a/icons/tvos/app_store_icon.png b/icons/tvos/app_store_icon.png new file mode 100644 index 0000000..387bc6b Binary files /dev/null and b/icons/tvos/app_store_icon.png differ diff --git a/icons/watchos/AppIcon-108@2x~watch.png b/icons/watchos/AppIcon-108@2x~watch.png new file mode 100644 index 0000000..0b58dff Binary files /dev/null and b/icons/watchos/AppIcon-108@2x~watch.png differ diff --git a/icons/watchos/AppIcon-24@2x~watch.png b/icons/watchos/AppIcon-24@2x~watch.png new file mode 100644 index 0000000..06c8638 Binary files /dev/null and b/icons/watchos/AppIcon-24@2x~watch.png differ diff --git a/icons/watchos/AppIcon-27.5@2x~watch.png b/icons/watchos/AppIcon-27.5@2x~watch.png new file mode 100644 index 0000000..9d2ac1b Binary files /dev/null and b/icons/watchos/AppIcon-27.5@2x~watch.png differ diff --git a/icons/watchos/AppIcon-29@2x~watch.png b/icons/watchos/AppIcon-29@2x~watch.png new file mode 100644 index 0000000..b4827e0 Binary files /dev/null and b/icons/watchos/AppIcon-29@2x~watch.png differ diff --git a/icons/watchos/AppIcon-29@3x~watch.png b/icons/watchos/AppIcon-29@3x~watch.png new file mode 100644 index 0000000..9154d62 Binary files /dev/null and b/icons/watchos/AppIcon-29@3x~watch.png differ diff --git a/icons/watchos/AppIcon-40@2x~watch.png b/icons/watchos/AppIcon-40@2x~watch.png new file mode 100644 index 0000000..d01437d Binary files /dev/null and b/icons/watchos/AppIcon-40@2x~watch.png differ diff --git a/icons/watchos/AppIcon-44@2x~watch.png b/icons/watchos/AppIcon-44@2x~watch.png new file mode 100644 index 0000000..f1ae1ec Binary files /dev/null and b/icons/watchos/AppIcon-44@2x~watch.png differ diff --git a/icons/watchos/AppIcon-50@2x~watch.png b/icons/watchos/AppIcon-50@2x~watch.png new file mode 100644 index 0000000..9a2308b Binary files /dev/null and b/icons/watchos/AppIcon-50@2x~watch.png differ diff --git a/icons/watchos/AppIcon-86@2x~watch.png b/icons/watchos/AppIcon-86@2x~watch.png new file mode 100644 index 0000000..7b13370 Binary files /dev/null and b/icons/watchos/AppIcon-86@2x~watch.png differ diff --git a/icons/watchos/AppIcon-98@2x~watch.png b/icons/watchos/AppIcon-98@2x~watch.png new file mode 100644 index 0000000..658760a Binary files /dev/null and b/icons/watchos/AppIcon-98@2x~watch.png differ diff --git a/icons/watchos/AppIcon~watch-marketing.png b/icons/watchos/AppIcon~watch-marketing.png new file mode 100644 index 0000000..3c3cc0b Binary files /dev/null and b/icons/watchos/AppIcon~watch-marketing.png differ diff --git a/icons/web/README.txt b/icons/web/README.txt new file mode 100644 index 0000000..3bdd02f --- /dev/null +++ b/icons/web/README.txt @@ -0,0 +1,18 @@ +Add this to your HTML : + + + + +Add this to your app's manifest.json: + + ... + { + "icons": [ + { "src": "/favicon.ico", "type": "image/x-icon", "sizes": "16x16 32x32" }, + { "src": "/icon-192.png", "type": "image/png", "sizes": "192x192" }, + { "src": "/icon-512.png", "type": "image/png", "sizes": "512x512" }, + { "src": "/icon-192-maskable.png", "type": "image/png", "sizes": "192x192", "purpose": "maskable" }, + { "src": "/icon-512-maskable.png", "type": "image/png", "sizes": "512x512", "purpose": "maskable" } + ] + } + ... diff --git a/icons/web/apple-touch-icon.png b/icons/web/apple-touch-icon.png new file mode 100644 index 0000000..58bc561 Binary files /dev/null and b/icons/web/apple-touch-icon.png differ diff --git a/icons/web/favicon.ico b/icons/web/favicon.ico new file mode 100644 index 0000000..43e16a3 Binary files /dev/null and b/icons/web/favicon.ico differ diff --git a/icons/web/icon-192-maskable.png b/icons/web/icon-192-maskable.png new file mode 100644 index 0000000..9bdd436 Binary files /dev/null and b/icons/web/icon-192-maskable.png differ diff --git a/icons/web/icon-192.png b/icons/web/icon-192.png new file mode 100644 index 0000000..6ba5523 Binary files /dev/null and b/icons/web/icon-192.png differ diff --git a/icons/web/icon-512-maskable.png b/icons/web/icon-512-maskable.png new file mode 100644 index 0000000..edae1e4 Binary files /dev/null and b/icons/web/icon-512-maskable.png differ diff --git a/icons/web/icon-512.png b/icons/web/icon-512.png new file mode 100644 index 0000000..b348076 Binary files /dev/null and b/icons/web/icon-512.png differ diff --git a/package.json b/package.json index 40cd90f..b913d00 100644 --- a/package.json +++ b/package.json @@ -40,9 +40,9 @@ "upd": "yarn set version latest; yarn up '*' -i; yarn up '*' -R; yarn dlx @yarnpkg/sdks vscode;", "lint": "run-s 'lint:*'", "lint:ts": "eslint --config .eslintrc.json --ignore-path .gitignore --ext .ts --ext .mjs '.'", - "build": "run-s build:ts build:r", + "build": "run-s build:ts build:lerna", "build:ts": "tsc --build", - "build:r": "lerna run build", + "build:lerna": "lerna run build", "format": "run-s format:prettier format:eslint", "format:eslint": "yarn run lint:ts --fix", "format:prettier": "prettier . --ignore-path .gitignore --write",