@turnipxenon/pineapple 2.4.51 → 2.4.52

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.
@@ -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 logs to observe queryTermMap in downstream package">
8
- <change beforePath="$PROJECT_DIR$/package.json" beforeDir="false" afterPath="$PROJECT_DIR$/package.json" afterDir="false" />
7
+ <list default="true" id="accb6ba2-c343-4f84-ad30-6e2d71eceee5" name="Changes" comment="Add logs to observe parseQtTerms in downstream package">
8
+ <change beforePath="$PROJECT_DIR$/src/lib/template/seaweed/SeaweedTemplate.svelte" beforeDir="false" afterPath="$PROJECT_DIR$/src/lib/template/seaweed/SeaweedTemplate.svelte" afterDir="false" />
9
9
  </list>
10
10
  <option name="SHOW_DIALOG" value="false" />
11
11
  <option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -326,15 +326,8 @@
326
326
  <workItem from="1712532951966" duration="51000" />
327
327
  <workItem from="1712533167568" duration="339000" />
328
328
  <workItem from="1712533592123" duration="803000" />
329
- <workItem from="1712534451700" duration="408000" />
330
- </task>
331
- <task id="LOCAL-00116" summary="Allow preventing NavigationComponent pagination">
332
- <option name="closed" value="true" />
333
- <created>1711681303815</created>
334
- <option name="number" value="00116" />
335
- <option name="presentableId" value="LOCAL-00116" />
336
- <option name="project" value="LOCAL" />
337
- <updated>1711681303815</updated>
329
+ <workItem from="1712534451700" duration="490000" />
330
+ <workItem from="1712535021202" duration="97000" />
338
331
  </task>
339
332
  <task id="LOCAL-00117" summary="Export SocialSection">
340
333
  <option name="closed" value="true" />
@@ -720,7 +713,15 @@
720
713
  <option name="project" value="LOCAL" />
721
714
  <updated>1712534850791</updated>
722
715
  </task>
723
- <option name="localTasksCounter" value="165" />
716
+ <task id="LOCAL-00165" summary="Add logs to observe parseQtTerms in downstream package">
717
+ <option name="closed" value="true" />
718
+ <created>1712535101486</created>
719
+ <option name="number" value="00165" />
720
+ <option name="presentableId" value="LOCAL-00165" />
721
+ <option name="project" value="LOCAL" />
722
+ <updated>1712535101486</updated>
723
+ </task>
724
+ <option name="localTasksCounter" value="166" />
724
725
  <servers />
725
726
  </component>
726
727
  <component name="TypeScriptGeneratedFilesManager">
@@ -778,7 +779,6 @@
778
779
  </option>
779
780
  </component>
780
781
  <component name="VcsManagerConfiguration">
781
- <MESSAGE value="Migrate from azure swa adapter to node adapter" />
782
782
  <MESSAGE value="Add cdktf" />
783
783
  <MESSAGE value="Implement cdktf for empty AppService" />
784
784
  <MESSAGE value="WIP: cdktf" />
@@ -803,6 +803,7 @@
803
803
  <MESSAGE value="Delay parsing for query terms after page transformation" />
804
804
  <MESSAGE value="Put parseQTTerms in afterUpdate instead of onMount" />
805
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" />
806
+ <MESSAGE value="Add logs to observe parseQtTerms in downstream package" />
807
+ <option name="LAST_COMMIT_MESSAGE" value="Add logs to observe parseQtTerms in downstream package" />
807
808
  </component>
808
809
  </project>
@@ -51,6 +51,7 @@ const parseQTTerms = async () => {
51
51
  const qtSet = /* @__PURE__ */ new Set();
52
52
  const rawTermList = [];
53
53
  [...Object.values(entryList).map((e) => e.default), selfContent].forEach((body) => {
54
+ console.log("parsing", body);
54
55
  rawTermList.push(
55
56
  ...body.split('"').filter((s) => s.startsWith("qt-"))
56
57
  // step 2: filter out texts that does not begin with "qt-"
@@ -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: "b1dnc"
24
+ version_hash: "sdezcj"
25
25
  };
26
26
 
27
27
  export async function get_hooks() {
@@ -51,6 +51,7 @@ const parseQTTerms = async () => {
51
51
  const qtSet = /* @__PURE__ */ new Set();
52
52
  const rawTermList = [];
53
53
  [...Object.values(entryList).map((e) => e.default), selfContent].forEach((body) => {
54
+ console.log("parsing", body);
54
55
  rawTermList.push(
55
56
  ...body.split('"').filter((s) => s.startsWith("qt-"))
56
57
  // step 2: filter out texts that does not begin with "qt-"
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": "2.4.51",
4
+ "version": "2.4.52",
5
5
  "scripts": {
6
6
  "dev": "vite dev",
7
7
  "build": "vite build && yarn package",
@@ -68,6 +68,7 @@
68
68
  [...Object.values(entryList).map(e => (e as RawGlob).default), selfContent].forEach(body => {
69
69
  // parse the qt-* term which exists within elements like:
70
70
  // <span class="qt-*">TERM</span>
71
+ console.log("parsing", body);
71
72
  rawTermList.push(
72
73
  ...body // step 3: destructure the array
73
74
  .split("\"") // step 1: split the text as double quotations (") as the delimiter