@turnipxenon/pineapple 3.0.0-alpha.5 → 3.0.0-alpha.7
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/dist/components/dialog_manager/DialogManager.d.ts +0 -14
- package/dist/components/dialog_manager/DialogManager.js +0 -14
- package/dist/components/dialog_manager/DialogMangerInit.d.ts +15 -0
- package/dist/components/dialog_manager/DialogMangerInit.js +15 -0
- package/dist/components/dialog_manager/behavior_tree/line_processors/commands/JumpCommand.js +1 -1
- package/dist/components/dialog_overlay/DialogOverlay.svelte +1 -1
- package/dist/components/pineapple/PineappleBaseLayout.svelte +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/package.json +14 -9
|
@@ -79,17 +79,3 @@ export declare class DialogManager {
|
|
|
79
79
|
toggleDialogOverlay(): void;
|
|
80
80
|
parseAndSetDialogTree(dialogYarn: string): Promise<DialogDetail[]>;
|
|
81
81
|
}
|
|
82
|
-
/**
|
|
83
|
-
* strictly must be declared last! or you might receive a weird error that looks like:
|
|
84
|
-
*
|
|
85
|
-
* 2:04:21 AM [vite] Error when evaluating SSR module /src/lib/components/dialog_manager/DialogManagerStore.ts:
|
|
86
|
-
* |- TypeError: Cannot read properties of undefined (reading '0')
|
|
87
|
-
* at <instance_members_initializer> (/src/lib/components/dialog_manager/DialogManager.ts:38:67)
|
|
88
|
-
* at new DialogManager (/src/lib/components/dialog_manager/DialogManager.ts:53:14)
|
|
89
|
-
* at eval (/src/lib/components/dialog_manager/DialogManagerStore.ts:15:23)
|
|
90
|
-
* at async instantiateModule (file:///C:/Users/Pumpkin/Projects/Web/pineapple/node_modules/vite/dist/node/chunks/dep-934dbc7c.js:54360:9)
|
|
91
|
-
*
|
|
92
|
-
* what this means is that one member of dialogManager cannot be initialized. in our case, it was the
|
|
93
|
-
* defaultDialogMessage not yet being initialized
|
|
94
|
-
*/
|
|
95
|
-
export declare const dialogManager: DialogManager;
|
|
@@ -261,17 +261,3 @@ export class DialogManager {
|
|
|
261
261
|
});
|
|
262
262
|
}
|
|
263
263
|
}
|
|
264
|
-
/**
|
|
265
|
-
* strictly must be declared last! or you might receive a weird error that looks like:
|
|
266
|
-
*
|
|
267
|
-
* 2:04:21 AM [vite] Error when evaluating SSR module /src/lib/components/dialog_manager/DialogManagerStore.ts:
|
|
268
|
-
* |- TypeError: Cannot read properties of undefined (reading '0')
|
|
269
|
-
* at <instance_members_initializer> (/src/lib/components/dialog_manager/DialogManager.ts:38:67)
|
|
270
|
-
* at new DialogManager (/src/lib/components/dialog_manager/DialogManager.ts:53:14)
|
|
271
|
-
* at eval (/src/lib/components/dialog_manager/DialogManagerStore.ts:15:23)
|
|
272
|
-
* at async instantiateModule (file:///C:/Users/Pumpkin/Projects/Web/pineapple/node_modules/vite/dist/node/chunks/dep-934dbc7c.js:54360:9)
|
|
273
|
-
*
|
|
274
|
-
* what this means is that one member of dialogManager cannot be initialized. in our case, it was the
|
|
275
|
-
* defaultDialogMessage not yet being initialized
|
|
276
|
-
*/
|
|
277
|
-
export const dialogManager = new DialogManager();
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { DialogManager } from "./DialogManager";
|
|
2
|
+
/**
|
|
3
|
+
* strictly must be declared last! or you might receive a weird error that looks like:
|
|
4
|
+
*
|
|
5
|
+
* 2:04:21 AM [vite] Error when evaluating SSR module /src/lib/components/dialog_manager/DialogManagerStore.ts:
|
|
6
|
+
* |- TypeError: Cannot read properties of undefined (reading '0')
|
|
7
|
+
* at <instance_members_initializer> (/src/lib/components/dialog_manager/DialogManager.ts:38:67)
|
|
8
|
+
* at new DialogManager (/src/lib/components/dialog_manager/DialogManager.ts:53:14)
|
|
9
|
+
* at eval (/src/lib/components/dialog_manager/DialogManagerStore.ts:15:23)
|
|
10
|
+
* at async instantiateModule (file:///C:/Users/Pumpkin/Projects/Web/pineapple/node_modules/vite/dist/node/chunks/dep-934dbc7c.js:54360:9)
|
|
11
|
+
*
|
|
12
|
+
* what this means is that one member of dialogManager cannot be initialized. in our case, it was the
|
|
13
|
+
* defaultDialogMessage not yet being initialized
|
|
14
|
+
*/
|
|
15
|
+
export declare const dialogManager: DialogManager;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { DialogManager } from "./DialogManager";
|
|
2
|
+
/**
|
|
3
|
+
* strictly must be declared last! or you might receive a weird error that looks like:
|
|
4
|
+
*
|
|
5
|
+
* 2:04:21 AM [vite] Error when evaluating SSR module /src/lib/components/dialog_manager/DialogManagerStore.ts:
|
|
6
|
+
* |- TypeError: Cannot read properties of undefined (reading '0')
|
|
7
|
+
* at <instance_members_initializer> (/src/lib/components/dialog_manager/DialogManager.ts:38:67)
|
|
8
|
+
* at new DialogManager (/src/lib/components/dialog_manager/DialogManager.ts:53:14)
|
|
9
|
+
* at eval (/src/lib/components/dialog_manager/DialogManagerStore.ts:15:23)
|
|
10
|
+
* at async instantiateModule (file:///C:/Users/Pumpkin/Projects/Web/pineapple/node_modules/vite/dist/node/chunks/dep-934dbc7c.js:54360:9)
|
|
11
|
+
*
|
|
12
|
+
* what this means is that one member of dialogManager cannot be initialized. in our case, it was the
|
|
13
|
+
* defaultDialogMessage not yet being initialized
|
|
14
|
+
*/
|
|
15
|
+
export const dialogManager = new DialogManager();
|
package/dist/components/dialog_manager/behavior_tree/line_processors/commands/JumpCommand.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BehaviorStatus } from "../../core/BehaviorStatus";
|
|
2
2
|
import { SetVariableNode } from "../SetVariableNode";
|
|
3
3
|
import { btreeUtils } from "../../core/BTreeUtils";
|
|
4
|
-
import { dialogManager } from "../../../
|
|
4
|
+
import { dialogManager } from "../../../DialogMangerInit";
|
|
5
5
|
export class JumpCommand {
|
|
6
6
|
setVariableNode = new SetVariableNode();
|
|
7
7
|
process(nodeArgs) {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import AresHappy from "../../assets/characters/ares/ares_happy.webp";
|
|
3
3
|
import { onMount } from "svelte";
|
|
4
4
|
import { DialogState } from "../../types/pineapple_fiber/DialogState";
|
|
5
|
-
import { dialogManager } from "../dialog_manager/
|
|
5
|
+
import { dialogManager } from "../dialog_manager/DialogMangerInit";
|
|
6
6
|
|
|
7
7
|
let currentMessage = $state("");
|
|
8
8
|
dialogManager.currentMessage.subscribe((value) => {
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
import Toast from "./toast/Toast.svelte";
|
|
21
21
|
import DialogOverlay from "../dialog_overlay/DialogOverlay.svelte";
|
|
22
22
|
import { fade } from "svelte/transition";
|
|
23
|
-
import { dialogManager } from "../dialog_manager/
|
|
23
|
+
import { dialogManager } from "../dialog_manager/DialogMangerInit";
|
|
24
24
|
|
|
25
25
|
interface Props {
|
|
26
26
|
showDialogByDefault?: boolean;
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@turnipxenon/pineapple",
|
|
3
3
|
"description": "personal package for base styling for other personal projects",
|
|
4
|
-
"version": "3.0.0-alpha.
|
|
4
|
+
"version": "3.0.0-alpha.7",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"dev": "vite dev",
|
|
7
7
|
"build": "vite build && yarn package",
|
|
@@ -18,21 +18,24 @@
|
|
|
18
18
|
"to-dev": "git checkout main && git pull origin main && git branch -d turnip/dev && git checkout -b turnip/dev"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
|
+
"@eslint/compat": "^1.2.5",
|
|
22
|
+
"@eslint/js": "^9.18.0",
|
|
21
23
|
"@sveltejs/adapter-auto": "^3.1.1",
|
|
22
24
|
"@sveltejs/kit": "^2.5.27",
|
|
23
25
|
"@sveltejs/package": "^2.3.7",
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"eslint": "^
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"prettier": "^3.
|
|
30
|
-
"prettier-plugin-
|
|
26
|
+
"eslint": "^9.18.0",
|
|
27
|
+
"eslint-config-prettier": "^10.0.1",
|
|
28
|
+
"eslint-plugin-svelte": "^3.0.0",
|
|
29
|
+
"globals": "^16.0.0",
|
|
30
|
+
"prettier": "^3.4.2",
|
|
31
|
+
"prettier-plugin-svelte": "^3.3.3",
|
|
32
|
+
"prettier-plugin-tailwindcss": "^0.6.11",
|
|
31
33
|
"prisma": "^5.12.1",
|
|
32
34
|
"svelte-check": "^4.0.0",
|
|
33
35
|
"svelte2tsx": "^0.6.20",
|
|
34
36
|
"tslib": "^2.4.1",
|
|
35
37
|
"typescript": "^5.5.0",
|
|
38
|
+
"typescript-eslint": "^8.20.0",
|
|
36
39
|
"vite": "^5.4.4"
|
|
37
40
|
},
|
|
38
41
|
"dependencies": {
|
|
@@ -40,7 +43,6 @@
|
|
|
40
43
|
"@prisma/client": "^5.12.1",
|
|
41
44
|
"@skeletonlabs/skeleton": "^3.1.0",
|
|
42
45
|
"@skeletonlabs/skeleton-svelte": "^1.0.0",
|
|
43
|
-
"@sveltejs/kit": "^2.5.27",
|
|
44
46
|
"@sveltejs/vite-plugin-svelte": "^4.0.0",
|
|
45
47
|
"@tailwindcss/vite": "^4.0.14",
|
|
46
48
|
"@types/htmlparser2": "^3.10.7",
|
|
@@ -87,6 +89,9 @@
|
|
|
87
89
|
"src/lib/styles/app.css",
|
|
88
90
|
"src/lib/theme.css"
|
|
89
91
|
],
|
|
92
|
+
"engines": {
|
|
93
|
+
"node": ">=22"
|
|
94
|
+
},
|
|
90
95
|
"repository": "https://github.com/TurnipXenon/pineapple",
|
|
91
96
|
"author": "turnipxenon <turnipxenon@gmail.com>",
|
|
92
97
|
"license": "MIT",
|