No description
- Rust 47.2%
- TypeScript 28.1%
- JavaScript 13.8%
- Svelte 7%
- CSS 3.6%
- Other 0.2%
This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [lucide-svelte](https://lucide.dev) ([source](https://redirect.github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-svelte)) | [`^0.577.0` → `^1.0.0`](https://renovatebot.com/diffs/npm/lucide-svelte/0.577.0/1.0.1) |  |  | --- ### Release Notes <details> <summary>lucide-icons/lucide (lucide-svelte)</summary> ### [`v1.0.1`](https://redirect.github.com/lucide-icons/lucide/releases/tag/1.0.1): Lucide V1 🚀 [Compare Source](https://redirect.github.com/lucide-icons/lucide/compare/1.0.0...1.0.1) After years of work and dedication, Lucide Version 1 has been officially **released**!. This milestone marks a significant achievement in our journey to provide a comprehensive and versatile icon library for developers and designers alike. It's been quite a ride — especially over the past year. Lucide has grown to over 30 million downloads per week and is used by million of projects worldwide. This release is a testament to the hard work of our community and contributors who have helped shape Lucide into what it is today. Thank you to everyone who has supported us along the way. We couldn't have done this without you! #### What's New in Version 1? TLDR; - Removed brand icons, see our [brand logo statement](/brand-logo-statement) for more details. - Improved documentation, guides per framework. - Improved accessibility, `aria-hidden` is now set by default on icons. - Removed UMD build, only ESM and CJS now (exception for the [`lucide`](../guide/lucide/index.md) package). - Package rename from `lucide-vue-next` to `@lucide/vue`. - A modern, standalone implementation for Angular, `@lucide/angular` - Support for context providers in React, Vue, Svelte, and Solid. - Stable code points for Lucide font. - Support for shadow DOM in the `lucide` package. - Many bug fixes and improvements. See more at [Lucide Version 1](https://lucide.dev/guide/version-1) ### [`v1.0.0`](https://redirect.github.com/lucide-icons/lucide/releases/tag/1.0.0): Version 1.0.0 [Compare Source](https://redirect.github.com/lucide-icons/lucide/compare/0.577.0...1.0.0) > \[!WARNING] > This release was published unintentionally. We've corrected this in [v1.0.1](https://redirect.github.com/lucide-icons/lucide/releases/tag/1.0.1), which should be used instead. #### What's Changed - docs(api): Update nitro to latest version by [@​ericfennis](https://redirect.github.com/ericfennis) in [#​4102](https://redirect.github.com/lucide-icons/lucide/pull/4102) - chore(icons): Add 'crypto' tag to bitcoin.json by [@​cwlowder](https://redirect.github.com/cwlowder) in [#​4120](https://redirect.github.com/lucide-icons/lucide/pull/4120) - fix(docs): fix incorrect Angular integration example for lucide-lab by [@​bhavberi](https://redirect.github.com/bhavberi) in [#​4101](https://redirect.github.com/lucide-icons/lucide/pull/4101) - fix(redirects): Fixes icon alias redirects on site by [@​ericfennis](https://redirect.github.com/ericfennis) in [#​4122](https://redirect.github.com/lucide-icons/lucide/pull/4122) - fix(icons): changed `school` icon by [@​jguddas](https://redirect.github.com/jguddas) in [#​4124](https://redirect.github.com/lucide-icons/lucide/pull/4124) - chore(deps): bump simple-git from 3.30.0 to 3.32.3 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​4133](https://redirect.github.com/lucide-icons/lucide/pull/4133) - docs(svelte): clarify Svelte 4 vs Svelte 5 Lucide packages by [@​bhavberi](https://redirect.github.com/bhavberi) in [#​4107](https://redirect.github.com/lucide-icons/lucide/pull/4107) - docs(site): add strapi lucide icons package by [@​shx08](https://redirect.github.com/shx08) in [#​4112](https://redirect.github.com/lucide-icons/lucide/pull/4112) - docs: add rule about consistent use of shapes by [@​jguddas](https://redirect.github.com/jguddas) in [#​3975](https://redirect.github.com/lucide-icons/lucide/pull/3975) - fix(icons): changed `gpu` icon by [@​jguddas](https://redirect.github.com/jguddas) in [#​4147](https://redirect.github.com/lucide-icons/lucide/pull/4147) - chore(deps-dev): bump h3 from 1.15.4 to 1.15.6 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​4163](https://redirect.github.com/lucide-icons/lucide/pull/4163) - fix(lucide-fonts): correct icon mappings in index.html and unicode.html by [@​buyuan-dev](https://redirect.github.com/buyuan-dev) in [#​4160](https://redirect.github.com/lucide-icons/lucide/pull/4160) - style(icons): fix formatting of `<svg>` element in two icons that were inconsistent by [@​LukasKalbertodt](https://redirect.github.com/LukasKalbertodt) in [#​4166](https://redirect.github.com/lucide-icons/lucide/pull/4166) - Update ICON\_GUIDELINES link in CONTRIBUTING.md by [@​AntoninKadrmas](https://redirect.github.com/AntoninKadrmas) in [#​4187](https://redirect.github.com/lucide-icons/lucide/pull/4187) - feat(icons): added `cctv-off` icon by [@​rrod497](https://redirect.github.com/rrod497) in [#​4162](https://redirect.github.com/lucide-icons/lucide/pull/4162) #### New Contributors - [@​cwlowder](https://redirect.github.com/cwlowder) made their first contribution in [#​4120](https://redirect.github.com/lucide-icons/lucide/pull/4120) - [@​shx08](https://redirect.github.com/shx08) made their first contribution in [#​4112](https://redirect.github.com/lucide-icons/lucide/pull/4112) - [@​buyuan-dev](https://redirect.github.com/buyuan-dev) made their first contribution in [#​4160](https://redirect.github.com/lucide-icons/lucide/pull/4160) - [@​LukasKalbertodt](https://redirect.github.com/LukasKalbertodt) made their first contribution in [#​4166](https://redirect.github.com/lucide-icons/lucide/pull/4166) - [@​AntoninKadrmas](https://redirect.github.com/AntoninKadrmas) made their first contribution in [#​4187](https://redirect.github.com/lucide-icons/lucide/pull/4187) - [@​rrod497](https://redirect.github.com/rrod497) made their first contribution in [#​4162](https://redirect.github.com/lucide-icons/lucide/pull/4162) **Full Changelog**: <https://github.com/lucide-icons/lucide/compare/0.577.0...1.0.0> </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/boardgamers/clash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xMzQuMSIsInVwZGF0ZWRJblZlciI6IjQ0LjEzNC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
||
|---|---|---|
| .github | ||
| .idea | ||
| client | ||
| docs | ||
| scripts | ||
| server | ||
| web-client | ||
| .gitignore | ||
| AGENTS.md | ||
| ANALYSIS.md | ||
| Cargo.lock | ||
| Cargo.toml | ||
| LICENSE | ||
| mise.toml | ||
| README.md | ||
| RELEASING.md | ||
clash
Play online at
Client
Run native client
cd clientcargo run.
Run remote with boardgamers-mono web client locally
mise run build-remote-clientcd client/js/dist && basic-http-server .google-chrome --js-flags='--stack-trace-limit 100' --disable-web-security --user-data-dir=/tmp http://localhost:8612
Server wrapper
cd servercargo install wasm-pack(if you haven't already)./build-remote-server.sh
Notes
- https://stackoverflow.com/questions/40102686/how-to-install-package-with-local-path-by-yarn-it-couldnt-find-package
- class:d-none={!stateSent}
Todo
- Add https://not-fl3.github.io/miniquad-samples/mq_js_bundle.js to scripts
Boardgamers Mono
docker run -d -p 27017:27017 mongo:4.4cd apps/api && pnpm seed && echo cron=1 > .envpnpm dev --filter @bgs/api --filter @bgs/game-server --filter @bgs/web --filter @bgs/admin- admin: http://localhost:3000 (admin@test.com / password)
- user: http://localhost:8612/ (user@test.com / password)
old
github.com/boardgamers/boardgamers-mono@683f4d4735/.gitpod.yml (L12-L18)(if you haven't already)- This will create three users, with emails admin@test.com, user@test.com and user2@test.com, and "password" password".
.tool-versions
nodejs 16.x
pnpm 6.14.1
Bypass npm publish
Index: apps/game-server/app/services/engines.ts
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/apps/game-server/app/services/engines.ts b/apps/game-server/app/services/engines.ts
--- a/apps/game-server/app/services/engines.ts (revision 741eecd403ed7c5b38b3b98b1e26be8a502cafc0)
+++ b/apps/game-server/app/services/engines.ts (date 1726905060117)
@@ -7,9 +7,7 @@
const engines = {};
async function requirePath(name: string, version: number) {
- const entryPoint = (await GameInfo.findById({ game: name, version }, "engine.entryPoint", { lean: true })).engine
- .entryPoint;
- return `../../games/node_modules/${name}_${version}/${entryPoint}`;
+ return `/home/gregor/source/clash/server/pkg`;
}
export async function getEngine(name: string, version: number): Promise<Engine> {
Set viewer directly
Index: apps/api/app/resources.ts
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/apps/api/app/resources.ts b/apps/api/app/resources.ts
--- a/apps/api/app/resources.ts (revision 741eecd403ed7c5b38b3b98b1e26be8a502cafc0)
+++ b/apps/api/app/resources.ts (date 1726922668897)
@@ -31,7 +31,8 @@
const viewer: ViewerInfo =
gameInfo?.viewer?.alternate?.url && ctx.query.alternate === "1" ? gameInfo?.viewer.alternate : gameInfo.viewer;
- const viewerUrl = ctx.query.customViewerUrl || viewer.url;
+ const viewerUrl = "http://127.0.0.1:4000/client.js";
ctx.body = `
<html>
@@ -48,7 +49,9 @@
</div>
</body>
<${"script"} type='text/javascript'>
- const gameObj = window.${viewer.topLevelVariable}.launch('#app');
+ const gameObj = window.clash.launch('#app');
window.addEventListener('message', event => {
console.log('received message from controller', event.data.type, JSON.parse(JSON.stringify(event.data)));
switch (event.data.type) {
GameInfo.json (for now)
{
"_id": {
"game": "clash",
"version": 1
},
"description": "Clash of Cultures",
"engine": {
"package": {
"name": "@boardgamers/clash-server",
"version": "*"
},
"entryPoint": "server.js"
},
"expansions": [],
"label": "Clash of Cultures",
"meta": {
"public": true,
"needOwnership": true
},
"options": [],
"players": [
2,
3,
4
],
"preferences": [],
"rules": "",
"viewer": {
"url": "//cdn.jsdelivr.net/npm/@boardgamers/clash-client@0.0.5/client.js",
"topLevelVariable": "clash",
"dependencies": {
"scripts": [],
"stylesheets": []
},
"replayable": true,
"alternate": null,
"settings": []
}
}
Also add "script URL" = https://not-fl3.github.io/miniquad-samples/mq_js_bundle.js