Skip to content

Commit

Permalink
Merge branch 'release/2.0.2' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhykos committed Nov 15, 2024
2 parents 8261011 + aa5cdc0 commit 9ef98ab
Show file tree
Hide file tree
Showing 7 changed files with 48 additions and 19 deletions.
3 changes: 3 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
FROM denoland/deno:bin-2.0.0 AS deno
FROM mcr.microsoft.com/devcontainers/typescript-node:20
COPY --from=deno /deno /usr/local/bin/deno
31 changes: 31 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"name": "Deno",
"build": {
"dockerfile": "Dockerfile"
},

// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],

// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "yarn install",

// Configure tool-specific properties.
"customizations": {
"vscode": {
"extensions": [
"justjavac.vscode-deno-extensionpack"
]
}
},
"features": {
"ghcr.io/devcontainers/features/common-utils:2": {},
"ghcr.io/devcontainers/features/git:1": {}
}

// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}
15 changes: 7 additions & 8 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
# ⚠ Deno is not still supported by Dependabot

# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
# Please see the documentation for more information:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
# https://containers.dev/guide/dependabot

version: 2
updates:
- package-ecosystem: "npm" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
- package-ecosystem: "devcontainers"
directory: "/"
schedule:
interval: weekly
11 changes: 1 addition & 10 deletions .github/workflows/deno-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,11 @@ jobs:
with:
deno-version: v2.x

- name: Build Linux binary x86_64
run: deno task build:linux-x86_64

- name: Archive Linux binary x86_64
uses: actions/upload-artifact@v4
with:
name: autophoto-linux-x86_64-2.0.1
path: build/linux-x86_64

- name: Build Linux binary ARM
run: deno task build:linux-arm

- name: Archive Linux binary ARM
uses: actions/upload-artifact@v4
with:
name: autophoto-linux-arm-2.0.1
name: autophoto-linux-arm-2.0.2
path: build/linux-arm
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,10 @@ This software uses the following open source packages:
- I wish to not generate a header with IA so I used an image by <a href="https://unsplash.com/fr/@enikoo?utm_content=creditCopyText&utm_medium=referral&utm_source=unsplash">eniko kis</a> on <a href="https://unsplash.com/fr/photos/appareil-photo-instantane-polaroid-one-step-2-blanc-et-noir-sur-tableau-blanc-KsLPTsYaqIQ?utm_content=creditCopyText&utm_medium=referral&utm_source=unsplash">Unsplash</a>
- Everyone, somehow, because I used Copilot to help me write the code

## Authors

- **Thomas Cicognani** - *Original creator* - [Zhykos](https://github.com/Zhykos)

## License

[MIT](https://opensource.org/license/MIT)
Expand Down
1 change: 1 addition & 0 deletions src/scanner/domain/valueobject/VideoGamePlatform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ const platforms = [
"PlayStation 4",
"PlayStation 4 (beta)",
"PlayStation 5",
"PS Vita",
"Steam Deck",
"unknown",
"Xbox 360",
Expand Down
2 changes: 1 addition & 1 deletion test/scanner/domain/valueobject/VideoGamePlatform.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ describe("VideoGamePlatform", () => {
assert(error instanceof DomainError);
assertEquals(
error.message,
"Platform (foo) must be one of the following: Android, Android (preview), Nintendo Switch, PC, PC (alpha), PC (demo), PC (early access), PlayStation 4, PlayStation 4 (beta), PlayStation 5, Steam Deck, Xbox 360, Xbox Game Cloud, Xbox One, Xbox Series X, Xbox Series X (beta), iOS, unknown",
"Platform (foo) must be one of the following: Android, Android (preview), Nintendo Switch, PC, PC (alpha), PC (demo), PC (early access), PS Vita, PlayStation 4, PlayStation 4 (beta), PlayStation 5, Steam Deck, Xbox 360, Xbox Game Cloud, Xbox One, Xbox Series X, Xbox Series X (beta), iOS, unknown",
);
});

Expand Down

0 comments on commit 9ef98ab

Please sign in to comment.