Skip to content

Commit

Permalink
week of 1/11 update
Browse files Browse the repository at this point in the history
  • Loading branch information
a2937 committed Jan 12, 2025
1 parent 1dd46e8 commit 66666e3
Show file tree
Hide file tree
Showing 9 changed files with 708 additions and 10 deletions.
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pnpm run format
19 changes: 12 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,22 @@
"build": "astro build",
"preview": "astro preview",
"astro": "astro",
"format": "prettier . --write"
"format": "prettier . --write",
"prepare": "husky",
"test": "vitest"
},
"dependencies": {
"@astrojs/check": "^0.9.4",
"@astrojs/preact": "^4.0.0",
"astro": "5.0.5",
"preact": "10.25.2",
"typescript": "^5.7.2"
"@astrojs/check": "0.9.4",
"@astrojs/preact": "4.0.1",
"astro": "5.1.5",
"preact": "10.25.4",
"typescript": "5.7.3"
},
"devDependencies": {
"husky": "^9.1.7",
"lint-staged": "^15.3.0",
"prettier": "^3.4.2",
"prettier-plugin-astro": "^0.14.1"
"prettier-plugin-astro": "^0.14.1",
"vitest": "^2.1.8"
}
}
606 changes: 606 additions & 0 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

15 changes: 15 additions & 0 deletions src/pages/fcc/01-04-2025.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
layout: ../../layouts/MarkdownPostLayout.astro
title: Week of January 4th 2024
---

## FreeCodeCamp work

- Updated answers for the CSS Colors Quiz

- Reviewed PR to update the working with media lecture

- Reviewed PR to update tests in event-hub lab

- Reviewed PR to update forms lecture wording

23 changes: 23 additions & 0 deletions src/pages/fcc/01-11-2025.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
layout: ../../layouts/MarkdownPostLayout.astro
title: Week of January 11th 2024
---

## FreeCodeCamp work


- Enabled JSON syntax highlighting in the description in the Curriculum

- Enable JSON syntax highlighting for the UI library

- Removed unused CSS rule from client

- Removed counter-productive hint from accessibility quiz project (both legacy and modern versions)

- Added a link to the development version of the challenge from the challenge editor

- Explored the templates to add seed verification

## Goals

- Determine if the seed verification works
4 changes: 1 addition & 3 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
---
import BaseLayout from '../layouts/BaseLayout.astro';
const pageTitle = "Home Page";
import Greeting from '../components/Greeting';
---

<BaseLayout pageTitle={pageTitle}>
<h2>My subtitle</h2>
<Greeting client:load messages={["Hi", "Hello", "Howdy", "Hey there"]} />
<h2>Welcome to my home page</h2>
</BaseLayout>
11 changes: 11 additions & 0 deletions src/pages/personal/01-4-2025.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
layout: ../../layouts/MarkdownPostLayout.astro
title: Week of January 4th 2025
---

## Personal Development

- Found an already completed Archive of Our Enchancement plugin with tag blocking
- Made a PR to make the word count easier to read

- Consider making the Undertale Accessibility Project a mod for Undertale instead of a full remake in Godot
18 changes: 18 additions & 0 deletions src/pages/personal/1-11-2025.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
layout: ../../layouts/MarkdownPostLayout.astro
title: Week of January 11th 2025
---

## Personal Development

- Download and read up on the Undertale Mod Tool

- Add an automatic linter and tester to this site

- Start working on a GameMaker to Godot importer

## Goals

- Add sprite buttons to Undertale Accessibility Project

- Import and create a single room in the Godot importer
21 changes: 21 additions & 0 deletions test/basic.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import { assert, expect, test } from "vitest";

// Edit an assertion and save to see HMR in action

test("Math.sqrt()", () => {
expect(Math.sqrt(4)).toBe(2);
expect(Math.sqrt(144)).toBe(12);
expect(Math.sqrt(2)).toBe(Math.SQRT2);
});

test("JSON", () => {
const input = {
foo: "hello",
bar: "world",
};

const output = JSON.stringify(input);

expect(output).eq('{"foo":"hello","bar":"world"}');
assert.deepEqual(JSON.parse(output), input, "matches original");
});

0 comments on commit 66666e3

Please sign in to comment.