@turnipxenon/pineapple 2.4.49 → 2.4.51
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/.idea/pineapple.iml +1 -0
- package/.idea/workspace.xml +34 -32
- package/.svelte-kit/__package__/template/seaweed/SeaweedTemplate.svelte +3 -1
- package/.svelte-kit/generated/server/internal.js +1 -1
- package/dist/template/seaweed/SeaweedTemplate.svelte +3 -1
- package/package.json +1 -1
- package/src/lib/template/seaweed/SeaweedTemplate.svelte +4 -2
package/.idea/pineapple.iml
CHANGED
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
<excludeFolder url="file://$MODULE_DIR$/.svelte-kit" />
|
|
9
9
|
<excludeFolder url="file://$MODULE_DIR$/.vercel" />
|
|
10
10
|
<excludeFolder url="file://$MODULE_DIR$/dist" />
|
|
11
|
+
<excludeFolder url="file://$MODULE_DIR$/build" />
|
|
11
12
|
</content>
|
|
12
13
|
<orderEntry type="inheritedJdk" />
|
|
13
14
|
<orderEntry type="sourceFolder" forTests="false" />
|
package/.idea/workspace.xml
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
<option name="autoReloadType" value="SELECTIVE" />
|
|
5
5
|
</component>
|
|
6
6
|
<component name="ChangeListManager">
|
|
7
|
-
<list default="true" id="accb6ba2-c343-4f84-ad30-6e2d71eceee5" name="Changes" comment="Add
|
|
8
|
-
<change beforePath="$PROJECT_DIR$/
|
|
7
|
+
<list default="true" id="accb6ba2-c343-4f84-ad30-6e2d71eceee5" name="Changes" comment="Add logs to observe queryTermMap in downstream package">
|
|
8
|
+
<change beforePath="$PROJECT_DIR$/package.json" beforeDir="false" afterPath="$PROJECT_DIR$/package.json" afterDir="false" />
|
|
9
9
|
</list>
|
|
10
10
|
<option name="SHOW_DIALOG" value="false" />
|
|
11
11
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
@@ -324,31 +324,9 @@
|
|
|
324
324
|
<workItem from="1712476456680" duration="329000" />
|
|
325
325
|
<workItem from="1712476890510" duration="1084000" />
|
|
326
326
|
<workItem from="1712532951966" duration="51000" />
|
|
327
|
-
<workItem from="1712533167568" duration="
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
<option name="closed" value="true" />
|
|
331
|
-
<created>1711499848251</created>
|
|
332
|
-
<option name="number" value="00113" />
|
|
333
|
-
<option name="presentableId" value="LOCAL-00113" />
|
|
334
|
-
<option name="project" value="LOCAL" />
|
|
335
|
-
<updated>1711499848251</updated>
|
|
336
|
-
</task>
|
|
337
|
-
<task id="LOCAL-00114" summary="Fix double dor parsing issue in NavigationComponent">
|
|
338
|
-
<option name="closed" value="true" />
|
|
339
|
-
<created>1711587709413</created>
|
|
340
|
-
<option name="number" value="00114" />
|
|
341
|
-
<option name="presentableId" value="LOCAL-00114" />
|
|
342
|
-
<option name="project" value="LOCAL" />
|
|
343
|
-
<updated>1711587709414</updated>
|
|
344
|
-
</task>
|
|
345
|
-
<task id="LOCAL-00115" summary="Layout adjustments to PineappleBaseLayout">
|
|
346
|
-
<option name="closed" value="true" />
|
|
347
|
-
<created>1711680166876</created>
|
|
348
|
-
<option name="number" value="00115" />
|
|
349
|
-
<option name="presentableId" value="LOCAL-00115" />
|
|
350
|
-
<option name="project" value="LOCAL" />
|
|
351
|
-
<updated>1711680166877</updated>
|
|
327
|
+
<workItem from="1712533167568" duration="339000" />
|
|
328
|
+
<workItem from="1712533592123" duration="803000" />
|
|
329
|
+
<workItem from="1712534451700" duration="408000" />
|
|
352
330
|
</task>
|
|
353
331
|
<task id="LOCAL-00116" summary="Allow preventing NavigationComponent pagination">
|
|
354
332
|
<option name="closed" value="true" />
|
|
@@ -718,7 +696,31 @@
|
|
|
718
696
|
<option name="project" value="LOCAL" />
|
|
719
697
|
<updated>1712477820038</updated>
|
|
720
698
|
</task>
|
|
721
|
-
<
|
|
699
|
+
<task id="LOCAL-00162" summary="Delay parsing for query terms after page transformation">
|
|
700
|
+
<option name="closed" value="true" />
|
|
701
|
+
<created>1712533399159</created>
|
|
702
|
+
<option name="number" value="00162" />
|
|
703
|
+
<option name="presentableId" value="LOCAL-00162" />
|
|
704
|
+
<option name="project" value="LOCAL" />
|
|
705
|
+
<updated>1712533399160</updated>
|
|
706
|
+
</task>
|
|
707
|
+
<task id="LOCAL-00163" summary="Put parseQTTerms in afterUpdate instead of onMount">
|
|
708
|
+
<option name="closed" value="true" />
|
|
709
|
+
<created>1712533946790</created>
|
|
710
|
+
<option name="number" value="00163" />
|
|
711
|
+
<option name="presentableId" value="LOCAL-00163" />
|
|
712
|
+
<option name="project" value="LOCAL" />
|
|
713
|
+
<updated>1712533946790</updated>
|
|
714
|
+
</task>
|
|
715
|
+
<task id="LOCAL-00164" summary="Add logs to observe queryTermMap in downstream package">
|
|
716
|
+
<option name="closed" value="true" />
|
|
717
|
+
<created>1712534850791</created>
|
|
718
|
+
<option name="number" value="00164" />
|
|
719
|
+
<option name="presentableId" value="LOCAL-00164" />
|
|
720
|
+
<option name="project" value="LOCAL" />
|
|
721
|
+
<updated>1712534850791</updated>
|
|
722
|
+
</task>
|
|
723
|
+
<option name="localTasksCounter" value="165" />
|
|
722
724
|
<servers />
|
|
723
725
|
</component>
|
|
724
726
|
<component name="TypeScriptGeneratedFilesManager">
|
|
@@ -776,9 +778,6 @@
|
|
|
776
778
|
</option>
|
|
777
779
|
</component>
|
|
778
780
|
<component name="VcsManagerConfiguration">
|
|
779
|
-
<MESSAGE value="Correct app_build_command in Azure SWA GithubActions app_build_command by default runs npm install when it should be running yarn install" />
|
|
780
|
-
<MESSAGE value="Add resolutions to use Node 20 in Azure SWA GithubActions" />
|
|
781
|
-
<MESSAGE value="Add resolutions to use Node 20 in Azure SWA GithubActions Reference: https://github.com/Azure/static-web-apps-cli/issues/756#issuecomment-1775748572" />
|
|
782
781
|
<MESSAGE value="Migrate from azure swa adapter to node adapter" />
|
|
783
782
|
<MESSAGE value="Add cdktf" />
|
|
784
783
|
<MESSAGE value="Implement cdktf for empty AppService" />
|
|
@@ -801,6 +800,9 @@
|
|
|
801
800
|
<MESSAGE value="Fix yarn dependencies" />
|
|
802
801
|
<MESSAGE value="Support swappable group for backwards compatibility" />
|
|
803
802
|
<MESSAGE value="Add back gameSectionFirst behaviour" />
|
|
804
|
-
<
|
|
803
|
+
<MESSAGE value="Delay parsing for query terms after page transformation" />
|
|
804
|
+
<MESSAGE value="Put parseQTTerms in afterUpdate instead of onMount" />
|
|
805
|
+
<MESSAGE value="Add logs to observe queryTermMap in downstream package" />
|
|
806
|
+
<option name="LAST_COMMIT_MESSAGE" value="Add logs to observe queryTermMap in downstream package" />
|
|
805
807
|
</component>
|
|
806
808
|
</project>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<script>import { onMount } from "svelte";
|
|
1
|
+
<script>import { afterUpdate, onMount } from "svelte";
|
|
2
2
|
import EntryOrderConfig from "./entry_order_config/EntryOrderConfig.svelte";
|
|
3
3
|
import { runChaos } from "./RunChaos";
|
|
4
4
|
import SocialSection from "../../components/SocialSection.svelte";
|
|
@@ -47,6 +47,7 @@ const syncQT = () => {
|
|
|
47
47
|
seaweedTemplateData.queryTermMap = seaweedTemplateData.queryTermMap;
|
|
48
48
|
};
|
|
49
49
|
const parseQTTerms = async () => {
|
|
50
|
+
console.log("parsing", seaweedTemplateData.queryTermMap.size);
|
|
50
51
|
const qtSet = /* @__PURE__ */ new Set();
|
|
51
52
|
const rawTermList = [];
|
|
52
53
|
[...Object.values(entryList).map((e) => e.default), selfContent].forEach((body) => {
|
|
@@ -64,6 +65,7 @@ const parseQTTerms = async () => {
|
|
|
64
65
|
});
|
|
65
66
|
});
|
|
66
67
|
qtSet.forEach((t) => seaweedTemplateData.queryTermMap.set(t, true));
|
|
68
|
+
seaweedTemplateData.queryTermMap = seaweedTemplateData.queryTermMap;
|
|
67
69
|
syncQT();
|
|
68
70
|
};
|
|
69
71
|
const filterSearchParams = (searchParams) => {
|
|
@@ -21,7 +21,7 @@ export const options = {
|
|
|
21
21
|
app: ({ head, body, assets, nonce, env }) => "<!DOCTYPE html>\n<html lang=\"en\">\n\t<head>\n\t\t<meta charset=\"utf-8\" />\n\t\t<link rel=\"icon\" href=\"" + assets + "/favicon.png\" />\n\t\t<meta name=\"viewport\" content=\"width=device-width\" />\n\t\t" + head + "\n\t</head>\n\n\t<body data-sveltekit-preload-data=\"hover\" data-theme=\"crimson\">\n\t\t<div style=\"display: contents\" class=\"h-full overflow-hidden\">" + body + "</div>\n\t</body>\n</html>\n",
|
|
22
22
|
error: ({ status, message }) => "<!doctype html>\n<html lang=\"en\">\n\t<head>\n\t\t<meta charset=\"utf-8\" />\n\t\t<title>" + message + "</title>\n\n\t\t<style>\n\t\t\tbody {\n\t\t\t\t--bg: white;\n\t\t\t\t--fg: #222;\n\t\t\t\t--divider: #ccc;\n\t\t\t\tbackground: var(--bg);\n\t\t\t\tcolor: var(--fg);\n\t\t\t\tfont-family:\n\t\t\t\t\tsystem-ui,\n\t\t\t\t\t-apple-system,\n\t\t\t\t\tBlinkMacSystemFont,\n\t\t\t\t\t'Segoe UI',\n\t\t\t\t\tRoboto,\n\t\t\t\t\tOxygen,\n\t\t\t\t\tUbuntu,\n\t\t\t\t\tCantarell,\n\t\t\t\t\t'Open Sans',\n\t\t\t\t\t'Helvetica Neue',\n\t\t\t\t\tsans-serif;\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t\tjustify-content: center;\n\t\t\t\theight: 100vh;\n\t\t\t\tmargin: 0;\n\t\t\t}\n\n\t\t\t.error {\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t\tmax-width: 32rem;\n\t\t\t\tmargin: 0 1rem;\n\t\t\t}\n\n\t\t\t.status {\n\t\t\t\tfont-weight: 200;\n\t\t\t\tfont-size: 3rem;\n\t\t\t\tline-height: 1;\n\t\t\t\tposition: relative;\n\t\t\t\ttop: -0.05rem;\n\t\t\t}\n\n\t\t\t.message {\n\t\t\t\tborder-left: 1px solid var(--divider);\n\t\t\t\tpadding: 0 0 0 1rem;\n\t\t\t\tmargin: 0 0 0 1rem;\n\t\t\t\tmin-height: 2.5rem;\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t}\n\n\t\t\t.message h1 {\n\t\t\t\tfont-weight: 400;\n\t\t\t\tfont-size: 1em;\n\t\t\t\tmargin: 0;\n\t\t\t}\n\n\t\t\t@media (prefers-color-scheme: dark) {\n\t\t\t\tbody {\n\t\t\t\t\t--bg: #222;\n\t\t\t\t\t--fg: #ddd;\n\t\t\t\t\t--divider: #666;\n\t\t\t\t}\n\t\t\t}\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<div class=\"error\">\n\t\t\t<span class=\"status\">" + status + "</span>\n\t\t\t<div class=\"message\">\n\t\t\t\t<h1>" + message + "</h1>\n\t\t\t</div>\n\t\t</div>\n\t</body>\n</html>\n"
|
|
23
23
|
},
|
|
24
|
-
version_hash: "
|
|
24
|
+
version_hash: "b1dnc"
|
|
25
25
|
};
|
|
26
26
|
|
|
27
27
|
export async function get_hooks() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<script>import { onMount } from "svelte";
|
|
1
|
+
<script>import { afterUpdate, onMount } from "svelte";
|
|
2
2
|
import EntryOrderConfig from "./entry_order_config/EntryOrderConfig.svelte";
|
|
3
3
|
import { runChaos } from "./RunChaos";
|
|
4
4
|
import SocialSection from "../../components/SocialSection.svelte";
|
|
@@ -47,6 +47,7 @@ const syncQT = () => {
|
|
|
47
47
|
seaweedTemplateData.queryTermMap = seaweedTemplateData.queryTermMap;
|
|
48
48
|
};
|
|
49
49
|
const parseQTTerms = async () => {
|
|
50
|
+
console.log("parsing", seaweedTemplateData.queryTermMap.size);
|
|
50
51
|
const qtSet = /* @__PURE__ */ new Set();
|
|
51
52
|
const rawTermList = [];
|
|
52
53
|
[...Object.values(entryList).map((e) => e.default), selfContent].forEach((body) => {
|
|
@@ -64,6 +65,7 @@ const parseQTTerms = async () => {
|
|
|
64
65
|
});
|
|
65
66
|
});
|
|
66
67
|
qtSet.forEach((t) => seaweedTemplateData.queryTermMap.set(t, true));
|
|
68
|
+
seaweedTemplateData.queryTermMap = seaweedTemplateData.queryTermMap;
|
|
67
69
|
syncQT();
|
|
68
70
|
};
|
|
69
71
|
const filterSearchParams = (searchParams) => {
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import { type ComponentType, onMount } from "svelte";
|
|
2
|
+
import { afterUpdate, type ComponentType, onMount } from "svelte";
|
|
3
3
|
import EntryOrderConfig from "$pkg/template/seaweed/entry_order_config/EntryOrderConfig.svelte";
|
|
4
4
|
import { runChaos } from "$pkg/template/seaweed/RunChaos";
|
|
5
5
|
import SocialSection from "$pkg/components/SocialSection.svelte";
|
|
@@ -62,6 +62,7 @@
|
|
|
62
62
|
};
|
|
63
63
|
|
|
64
64
|
const parseQTTerms = async () => {
|
|
65
|
+
console.log("parsing", seaweedTemplateData.queryTermMap.size);
|
|
65
66
|
const qtSet = new Set<string>();
|
|
66
67
|
const rawTermList: string[] = [];
|
|
67
68
|
[...Object.values(entryList).map(e => (e as RawGlob).default), selfContent].forEach(body => {
|
|
@@ -89,8 +90,9 @@
|
|
|
89
90
|
});
|
|
90
91
|
});
|
|
91
92
|
|
|
92
|
-
// activate svelte reactivity
|
|
93
93
|
qtSet.forEach(t => seaweedTemplateData.queryTermMap.set(t, true));
|
|
94
|
+
// force svelte update
|
|
95
|
+
seaweedTemplateData.queryTermMap = seaweedTemplateData.queryTermMap;
|
|
94
96
|
syncQT();
|
|
95
97
|
};
|
|
96
98
|
|