@turnipxenon/pineapple 2.4.76 → 2.4.78

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.
Files changed (40) hide show
  1. package/.idea/workspace.xml +38 -31
  2. package/.svelte-kit/__package__/components/BlogTemplate.svelte +41 -0
  3. package/.svelte-kit/__package__/components/BlogTemplate.svelte.d.ts +19 -0
  4. package/.svelte-kit/__package__/components/index.d.ts +1 -0
  5. package/.svelte-kit/__package__/components/index.js +1 -0
  6. package/.svelte-kit/__package__/components/navigation_component/PageMeta.d.ts +37 -0
  7. package/.svelte-kit/__package__/components/overrideable_meta/OverridableMetaProps.d.ts +2 -0
  8. package/.svelte-kit/__package__/template/seaweed/SeaweedTemplate.svelte +3 -0
  9. package/.svelte-kit/__package__/template/seaweed/SeaweedTemplate.svelte.d.ts +1 -0
  10. package/.svelte-kit/__package__/template/seaweed/entries/WorkExperience.svelte +105 -105
  11. package/.svelte-kit/__package__/template/seaweed/entry_order_config/EntryOrderConfig.svelte +4 -4
  12. package/.svelte-kit/__package__/template/seaweed/entry_order_config/EntryOrderConfig.svelte.d.ts +3 -1
  13. package/.svelte-kit/ambient.d.ts +4 -0
  14. package/.svelte-kit/generated/server/internal.js +1 -1
  15. package/dist/components/BlogTemplate.svelte +41 -0
  16. package/dist/components/BlogTemplate.svelte.d.ts +19 -0
  17. package/dist/components/index.d.ts +1 -0
  18. package/dist/components/index.js +1 -0
  19. package/dist/components/navigation_component/PageMeta.d.ts +37 -0
  20. package/dist/components/overrideable_meta/OverridableMetaProps.d.ts +2 -0
  21. package/dist/template/seaweed/SeaweedTemplate.svelte +3 -0
  22. package/dist/template/seaweed/SeaweedTemplate.svelte.d.ts +1 -0
  23. package/dist/template/seaweed/entries/WorkExperience.svelte +105 -105
  24. package/dist/template/seaweed/entry_order_config/EntryOrderConfig.svelte +4 -4
  25. package/dist/template/seaweed/entry_order_config/EntryOrderConfig.svelte.d.ts +3 -1
  26. package/package.json +1 -1
  27. package/src/lib/components/BlogTemplate.svelte +44 -0
  28. package/src/lib/components/index.ts +9 -8
  29. package/src/lib/components/navigation_component/PageMeta.ts +43 -0
  30. package/src/lib/components/overrideable_meta/OverridableMetaProps.ts +2 -0
  31. package/src/lib/template/seaweed/SeaweedTemplate.svelte +3 -0
  32. package/src/lib/template/seaweed/entries/WorkExperience.svelte +115 -115
  33. package/src/lib/template/seaweed/entry_order_config/EntryOrderConfig.svelte +5 -5
  34. package/src/lib/template/seaweed/index.ts +4 -4
  35. package/src/routes/(pineapple)/pineapple/(extra-pages)/page1/+page.svelte +6 -5
  36. package/src/routes/(pineapple)/pineapple/(extra-pages)/page2/+page.svelte +6 -5
  37. package/src/routes/(pineapple)/pineapple/(extra-pages)/page3/page5/+page.svelte +6 -5
  38. package/src/routes/(seaweed)/portfolio/+page.svelte +2 -0
  39. package/vite.config.ts +1 -1
  40. package/docs/Workflow.md +0 -5
@@ -1,116 +1,116 @@
1
- <script lang="ts">
2
- import SocialSection from "$pkg/components/SocialSection.svelte";
3
- import Card from "$pkg/components/Card.svelte";
4
- import { Accordion, AccordionItem } from "@skeletonlabs/skeleton";
5
- import ElementVisibilityDetector from "$pkg/components/ElementVisbilityDetector.svelte";
6
- import type { EntryProps } from "$pkg/template/seaweed/entries/EntryProps";
7
-
8
- export let entryProps: EntryProps;
9
- export let isVisible: boolean;
10
- let { email, letChaos, linkedinSlug, name } = entryProps;
11
- </script>
12
-
13
- <div class="experience-and-about-div">
14
-
15
- <div class="greater-about-div">
16
-
17
- <Card includeDataNoSnippet={false}>
18
- <section class="section-card" slot="content">
19
-
20
- <h1>About</h1>
21
-
22
- <p>
23
- Hi! My name is {name}! I work as a software developer. Outside of that, I like making games, and
24
- trying to do everything in between required to make one. I have some showcased below, our visit
25
- my itch.io page for more of them.
26
- </p>
27
- <!-- todo: link the degree details idk -->
28
- <p>
29
- I also graduated with BS Computing Science, Specializing in Software Practice, and a
30
- certificate in Computer Game Development at University of Alberta.
31
- </p>
32
- {#if entryProps.seaweedTemplateData.shouldAddFunNote}
33
- <p>
34
- I'm inspired by games like Harvest Moon: Friends of Mineral Town, Rune Factory 4, Theatrhythm,
35
- Bravely Default: Flying Fairy, Boku no Natsuyasumi 2, and A Short Hike.
36
- </p>
37
- {/if}
38
-
39
- <!-- todo: maybe put cute stuff here -->
40
- <!-- </ToggleableContent>-->
41
- </section>
42
- </Card>
43
-
44
- <Card>
45
- <section class="section-card" slot="content">
46
- <SocialSection email={email} linkedinSlug={linkedinSlug}></SocialSection>
47
- <ElementVisibilityDetector bind:isVisible={isVisible}>
48
- </ElementVisibilityDetector>
49
- </section>
50
- </Card>
51
-
52
- </div>
53
-
54
- <Card>
55
- <section class="section-card" slot="content">
56
- <h1>Experience</h1>
57
-
58
- <h2>Highlight</h2>
59
- <p>I like French Fries</p>
60
-
61
- <h2>Software Engineer</h2>
62
- <div class="two-column-separated">
63
- <div>July 2023 – January 2024</div>
64
- <div style="text-align: end">Control, Remote</div>
65
- </div>
66
- <ul>
67
- <li>
68
- Developed things
69
- </li>
70
- <li>
71
- Woah
72
- </li>
73
- </ul>
74
- <br>
75
-
76
- <h2>Software Engineer Intern</h2>
77
- <div class="two-column-separated">
78
- <div>May 2022 – Aug 2022</div>
79
- <div style="text-align: end">Pou Company</div>
80
- </div>
81
- <ul>
82
- <li>
83
- Stuff
84
- </li>
85
- <li>
86
- Golang
87
- </li>
88
- </ul>
89
- <br>
90
- <!-- todo: turn off flashing when accordion is expanded -->
91
- <Accordion>
92
- <AccordionItem>
93
- <div slot="summary">
94
- <h2 class="accordion-header">More experience</h2>
95
- </div>
96
- <svelte:fragment slot="content">
97
- <section class="more-section">
98
- <h2>Software Engineer Intern</h2>
99
- <div class="two-column-separated">
100
- <div>May 2021 – Dec 2021</div>
101
- <div style="text-align: end">Testing</div>
102
- </div>
103
- <ul>
104
- <li>
105
- Amazing
106
- </li>
107
- </ul>
108
- <br>
109
- </section>
110
- </svelte:fragment>
111
- </AccordionItem>
112
- </Accordion>
113
- </section>
114
- </Card>
115
-
1
+ <script lang="ts">
2
+ import SocialSection from "$pkg/components/SocialSection.svelte";
3
+ import Card from "$pkg/components/Card.svelte";
4
+ import { Accordion, AccordionItem } from "@skeletonlabs/skeleton";
5
+ import ElementVisibilityDetector from "$pkg/components/ElementVisbilityDetector.svelte";
6
+ import type { EntryProps } from "$pkg/template/seaweed/entries/EntryProps";
7
+
8
+ export let entryProps: EntryProps;
9
+ export let isVisible: boolean;
10
+ let { email, letChaos, linkedinSlug, name } = entryProps;
11
+ </script>
12
+
13
+ <div class="experience-and-about-div">
14
+
15
+ <div class="greater-about-div">
16
+
17
+ <Card includeDataNoSnippet={false}>
18
+ <section class="section-card" slot="content">
19
+
20
+ <h1>About</h1>
21
+
22
+ <p>
23
+ Hi! My name is {name}! I work as a software developer. Outside of that, I like making games, and
24
+ trying to do everything in between required to make one. I have some showcased below, our visit
25
+ my itch.io page for more of them.
26
+ </p>
27
+ <!-- todo: link the degree details idk -->
28
+ <p>
29
+ I also graduated with BS Computing Science, Specializing in Software Practice, and a
30
+ certificate in Computer Game Development at University of Alberta.
31
+ </p>
32
+ {#if entryProps.seaweedTemplateData.shouldAddFunNote}
33
+ <p>
34
+ I'm inspired by games like Harvest Moon: Friends of Mineral Town, Rune Factory 4, Theatrhythm,
35
+ Bravely Default: Flying Fairy, Boku no Natsuyasumi 2, and A Short Hike.
36
+ </p>
37
+ {/if}
38
+
39
+ <!-- todo: maybe put cute stuff here -->
40
+ <!-- </ToggleableContent>-->
41
+ </section>
42
+ </Card>
43
+
44
+ <Card>
45
+ <section class="section-card" slot="content">
46
+ <SocialSection email={email} linkedinSlug={linkedinSlug}></SocialSection>
47
+ <ElementVisibilityDetector bind:isVisible={isVisible}>
48
+ </ElementVisibilityDetector>
49
+ </section>
50
+ </Card>
51
+
52
+ </div>
53
+
54
+ <Card>
55
+ <section class="section-card" slot="content">
56
+ <h1>Experience</h1>
57
+
58
+ <h2>Highlight</h2>
59
+ <p>I like French Fries</p>
60
+
61
+ <h2>Software Engineer</h2>
62
+ <div class="two-column-separated">
63
+ <div>July 2023 – January 2024</div>
64
+ <div style="text-align: end">Control, Remote</div>
65
+ </div>
66
+ <ul>
67
+ <li>
68
+ Developed things
69
+ </li>
70
+ <li>
71
+ Woah
72
+ </li>
73
+ </ul>
74
+ <br>
75
+
76
+ <h2>Software Engineer Intern</h2>
77
+ <div class="two-column-separated">
78
+ <div>May 2022 – Aug 2022</div>
79
+ <div style="text-align: end">Pou Company</div>
80
+ </div>
81
+ <ul>
82
+ <li>
83
+ Stuff
84
+ </li>
85
+ <li>
86
+ Golang
87
+ </li>
88
+ </ul>
89
+ <br>
90
+ <!-- todo: turn off flashing when accordion is expanded -->
91
+ <Accordion>
92
+ <AccordionItem>
93
+ <div slot="summary">
94
+ <h2 class="accordion-header">More experience</h2>
95
+ </div>
96
+ <svelte:fragment slot="content">
97
+ <section class="more-section">
98
+ <h2>Software Engineer Intern</h2>
99
+ <div class="two-column-separated">
100
+ <div>May 2021 – Dec 2021</div>
101
+ <div style="text-align: end">Testing</div>
102
+ </div>
103
+ <ul>
104
+ <li>
105
+ Amazing
106
+ </li>
107
+ </ul>
108
+ <br>
109
+ </section>
110
+ </svelte:fragment>
111
+ </AccordionItem>
112
+ </Accordion>
113
+ </section>
114
+ </Card>
115
+
116
116
  </div>
@@ -2,9 +2,7 @@
2
2
  import {
3
3
  type ComponentMeta,
4
4
  type EntryGroup,
5
- GetAllEntryFromGlobal,
6
- GetEntryFromGlobal,
7
- type SeaweedTemplateData,
5
+ type SeaweedTemplateData
8
6
  } from "$pkg/template/seaweed/SeaweedTemplateData";
9
7
  import { removeProxyWrapperOnString } from "./EntryOrderConfig";
10
8
  import ComboBoxWithButton from "$pkg/components/combo_box/ComboBoxWithButton.svelte";
@@ -16,6 +14,8 @@
16
14
  export let seaweedEntries: EntryGroup[];
17
15
  export let orderUrl: string;
18
16
  export let updateUrl: (data: SeaweedTemplateData) => void;
17
+ export let getAllEntryFromGlobal: () => Map<string, ComponentMeta>;
18
+ export let getEntryFromGlobal: (s: string) => ComponentMeta | undefined;
19
19
 
20
20
  const updateOrderQuery = () => {
21
21
  orderUrl = "order=" + seaweedEntries.map(g => {
@@ -29,7 +29,7 @@
29
29
 
30
30
  const addEntry = (group: EntryGroup): ((selected: string) => void) => {
31
31
  return (selected: string) => {
32
- const c = GetEntryFromGlobal(selected);
32
+ const c = getEntryFromGlobal(selected);
33
33
  if (c) {
34
34
  group.items.push(c);
35
35
  seaweedEntries = seaweedEntries;
@@ -111,7 +111,7 @@
111
111
  };
112
112
  };
113
113
 
114
- const allDefaultEntries = Array.from(GetAllEntryFromGlobal().keys());
114
+ const allDefaultEntries = Array.from(getAllEntryFromGlobal().keys());
115
115
  </script>
116
116
 
117
117
  <br>
@@ -1,4 +1,4 @@
1
- export { default as SeaweedTemplate } from "./SeaweedTemplate.svelte";
2
- export * from "./SeaweedTemplateData";
3
- export * from "./SeaweedTemplateData";
4
- export * from "./entries/EntryProps";
1
+ export { default as SeaweedTemplate } from "./SeaweedTemplate.svelte";
2
+ export * from "./SeaweedTemplateData";
3
+ export * from "./SeaweedTemplateData";
4
+ export * from "./entries/EntryProps";
@@ -1,8 +1,9 @@
1
- <script>
2
- import { Card } from "$pkg";
1
+ <script lang="ts">
2
+ import pageMeta from "./meta.json";
3
3
  import { page } from "$app/stores";
4
+ import BlogTemplate from "$pkg/components/BlogTemplate.svelte";
4
5
  </script>
5
6
 
6
- <Card>
7
- <h1 slot="content" class="default-card">{$page.url}</h1>
8
- </Card>
7
+ <BlogTemplate pageMeta={pageMeta}>
8
+ <p>{$page.url}</p>
9
+ </BlogTemplate>
@@ -1,8 +1,9 @@
1
- <script>
2
- import { Card } from "$pkg";
1
+ <script lang="ts">
2
+ import pageMeta from "./meta.json";
3
3
  import { page } from "$app/stores";
4
+ import BlogTemplate from "$pkg/components/BlogTemplate.svelte";
4
5
  </script>
5
6
 
6
- <Card>
7
- <h1 slot="content" class="default-card">{$page.url}</h1>
8
- </Card>
7
+ <BlogTemplate pageMeta={pageMeta}>
8
+ <p>{$page.url}</p>
9
+ </BlogTemplate>
@@ -1,8 +1,9 @@
1
- <script>
2
- import { Card } from "$pkg";
1
+ <script lang="ts">
2
+ import pageMeta from "./meta.json";
3
3
  import { page } from "$app/stores";
4
+ import BlogTemplate from "$pkg/components/BlogTemplate.svelte";
4
5
  </script>
5
6
 
6
- <Card>
7
- <h1 slot="content" class="default-card">{$page.url}</h1>
8
- </Card>
7
+ <BlogTemplate pageMeta={pageMeta}>
8
+ <p>{$page.url}</p>
9
+ </BlogTemplate>
@@ -2,6 +2,7 @@
2
2
  import SeaweedTemplate from "$pkg/template/seaweed/SeaweedTemplate.svelte";
3
3
  import {
4
4
  AllGroupedEntriesProjectFirst,
5
+ GetAllEntryFromGlobal,
5
6
  GetEntryFromGlobal,
6
7
  seaweedTemplateData
7
8
  } from "$pkg/template/seaweed/SeaweedTemplateData";
@@ -10,6 +11,7 @@
10
11
 
11
12
  <!--todo: maybe add check that this is always false? -->
12
13
  <SeaweedTemplate
14
+ getAllEntryFromGlobal={GetAllEntryFromGlobal}
13
15
  seaweedTemplateData={seaweedTemplateData}
14
16
  projectFirstGroupedEntries={AllGroupedEntriesProjectFirst}
15
17
  getEntryFromGlobal={GetEntryFromGlobal}
package/vite.config.ts CHANGED
@@ -3,5 +3,5 @@ import { defineConfig } from "vite";
3
3
 
4
4
  export default defineConfig({
5
5
  plugins: [sveltekit()],
6
- assetsInclude: ["**/*.yarn", "**/*.json"]
6
+ assetsInclude: ["**/*.yarn"]
7
7
  });
package/docs/Workflow.md DELETED
@@ -1,5 +0,0 @@
1
- # Workflow
2
-
3
- - When making new changes, update the number in the package.json on the dependent codebase.
4
- - Run `npm update-pineapple` to update afterwards
5
- - To update all repos, run `./dev/update_all_repos.sh`