ludicord 2.2.4 → 2.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -1
- package/dist/runtime/index.d.ts +1 -1
- package/dist/runtime/server/dev-server.js +4 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,4 +1,16 @@
|
|
|
1
|
-
|
|
1
|
+
<p align="center">
|
|
2
|
+
<a href="https://github.com/mrcholer/ludicord"><img src="https://raw.githubusercontent.com/mrcholer/ludicord/main/.github/assets/ludicord-banner.png" alt="Ludicord" width="900" /></a>
|
|
3
|
+
</p>
|
|
4
|
+
|
|
5
|
+
<h1 align="center">ludicord</h1>
|
|
6
|
+
|
|
7
|
+
<p align="center">
|
|
8
|
+
<a href="https://www.npmjs.com/package/ludicord"><img alt="npm version" src="https://img.shields.io/npm/v/ludicord?style=flat-square&color=5865F2" /></a>
|
|
9
|
+
<a href="https://www.npmjs.com/package/ludicord"><img alt="npm downloads" src="https://img.shields.io/npm/dm/ludicord?style=flat-square&color=00B0F4" /></a>
|
|
10
|
+
<img alt="Node.js 20.19 or newer" src="https://img.shields.io/badge/node-%3E%3D20.19-339933?style=flat-square&logo=nodedotjs&logoColor=white" />
|
|
11
|
+
<img alt="React 18.3 and 19" src="https://img.shields.io/badge/react-18.3%20%7C%2019-61DAFB?style=flat-square&logo=react&logoColor=111" />
|
|
12
|
+
<a href="https://github.com/mrcholer/ludicord/blob/main/SECURITY.md"><img alt="Security policy" src="https://img.shields.io/badge/security-policy-6D5DFC?style=flat-square" /></a>
|
|
13
|
+
</p>
|
|
2
14
|
|
|
3
15
|
The full-stack React framework and CLI for Discord Activities.
|
|
4
16
|
|
package/dist/runtime/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare function useLudicordRuntime(): {
|
|
2
2
|
readonly environment: string;
|
|
3
|
-
readonly version: "2.2.
|
|
3
|
+
readonly version: "2.2.5";
|
|
4
4
|
readonly activityReady: boolean;
|
|
5
5
|
readonly discordReady: boolean;
|
|
6
6
|
readonly authStatus: import("../auth/types.js").LudicordAuthStatus;
|
|
@@ -130,6 +130,10 @@ export async function createLudicordDevServer(options) {
|
|
|
130
130
|
customLogger: ludicordLogger((error) => report(error, undefined, "compile")),
|
|
131
131
|
server: {
|
|
132
132
|
middlewareMode: true, allowedHosts: config.server.allowedHosts === true ? true : [...config.server.allowedHosts],
|
|
133
|
+
// Compile modules when the browser requests them. Vite's speculative
|
|
134
|
+
// pre-transform can still be running when a middleware-mode server is
|
|
135
|
+
// closed, which produces a false esbuild "build was canceled" error.
|
|
136
|
+
preTransformRequests: false,
|
|
133
137
|
hmr: options.hmr === false ? false : { server: httpServer, overlay: false },
|
|
134
138
|
watch: { ignored: ["**/.ludicord/**", "**/.dact/**"] },
|
|
135
139
|
},
|
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const LUDICORD_VERSION: "2.2.
|
|
1
|
+
export declare const LUDICORD_VERSION: "2.2.5";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/dist/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const LUDICORD_VERSION = "2.2.
|
|
1
|
+
export const LUDICORD_VERSION = "2.2.5";
|
|
2
2
|
//# sourceMappingURL=version.js.map
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ludicord",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.5",
|
|
4
4
|
"description": "Full-stack React framework for Discord Activities.",
|
|
5
5
|
"homepage": "https://github.com/mrcholer/ludicord#readme",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
|
-
"url": "git+https://github.com/mrcholer/ludicord
|
|
8
|
+
"url": "git+https://github.com/mrcholer/ludicord.git",
|
|
9
9
|
"directory": "packages/ludicord"
|
|
10
10
|
},
|
|
11
11
|
"bugs": {
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"publishConfig": {
|
|
17
17
|
"access": "public",
|
|
18
18
|
"registry": "https://registry.npmjs.org/",
|
|
19
|
-
"provenance":
|
|
19
|
+
"provenance": true
|
|
20
20
|
},
|
|
21
21
|
"engines": {
|
|
22
22
|
"node": ">=20.19.0"
|