Activity

Definitely Not A Dolphin

init v0.1.3

Even better init script, now also

  • checks whether project directory is empty,
  • doesn’t tell you to cd into the project directory if you are already in it.
Attachment
1

Comments

Jessi Flessi
Jessi Flessi about 18 hours ago

looks great

Definitely Not A Dolphin

v1.1.1

  • Better init script, instead of an unsafe curl bash pipe, you can now use the @kuusi/init package to initiate your next trillion dollar kuusi app!
Attachment
0
Definitely Not A Dolphin

v1.1.0: The Flexibility Update

  • Fixed the order in which the pathnames are checked for matches such that the generic pathnames (aka those starting with colons) are checked after the normal pathnames. This makes sure they don’t “claim” URL’s that have route parameters in them when they aren’t supposed to.
  • Rethought almost all errors to rely more on documentation rather on the small descriptions they show themselves, so they can be explained better in the documentation.
  • Adding routes from files outside of the routes directory is now supported, just use the Route class (was previously a type alias) and pass the file name to kuusi.config.ts and kuusi will import that route for you!
  • Added unit tests for the KuusiConfig class.
  • Renamed template dotenv to required dotenv, because I realised that is a better discription.
Attachment
0
Definitely Not A Dolphin

Version 1.0.1

Changelog

  • Updated the docs, there were some inconsistencies because my ADHD makes me forget everything
  • Made a simple guide because I realised I never actually told anyone how to get started
Attachment
0
Definitely Not A Dolphin

Version v1.0.0 everyone !!!1!!11!!

Dolphin’s back, back again!

Changelog

0.4.5

  • Removed two useless interfaces, because I learned that classes generate both a value (constructor function) and the interface in TypeScript.

1.0.0

  • Redid the configuration so now KuusiConfig is a class, not an interface. This cleans up the mess of semi-manually type checking the config and assigning default values.
  • Apparently the colon (:) character is reserved on windows for file names, so on windows you can use the semicolon (;) instead

Other notes

I had a really weird error during development that took 5 HOURS and 5 ppl to fix it, it turned out to be a triple dependency cycle which is crazy imo.

Attachment
0
Definitely Not A Dolphin

v0.4.4

This is actually one of the last versions before v.1.0.0. I have said that before but now I actually mean it.

Changed:

  • Fixed the importing of kuusi.config.ts not working at all.
  • Fixed most of the quirkyness of config.ts.
  • Added a new config option for required dotenv keys.

I will also now work with alpha releases because jsr forces me to test some thing in production (after I published to jsr)

I also started on the CLI again, but with a different approach now.

Attachment
0
Definitely Not A Dolphin

0.4.3

I didn’t skip a version I just didn’t log it because it was 45 minutes of work.

I did

  • Better documentation
  • bugs patched
  • Reach a jsr-score of 94% whooo!

That’s basically it, I am running out of ideas to implement, so if anyone reads this please give me some!

Attachment
0
Definitely Not A Dolphin

Version v0.4.1

Jahooo, added some small things, patched some bugs, finalized webhooks and looking for a way to implement websockets, but I don’t know whether I can do that.

Attachment
Attachment
0
Definitely Not A Dolphin

Don’t really know what to work on, webhook testing is really annoying because I need to maintain two servers at once that I need to mentally seperate and on codespaces that is not something I enjoy.

I have just been writing more documentation to procrastinate doing anything actually useful

Attachment
0
Definitely Not A Dolphin

Did so much I literally couldn’t even remember what I started with, but here is more code for you to nibble on

Attachment
0
Definitely Not A Dolphin
"RegEx".replace(/e.e/i, "agse");

Why is it that every time I release something it breaks instantly like wtf. Anyway webhooks are in development so thats that

Attachment
0
Definitely Not A Dolphin

Version 0.3.0 babyyyyyyyy.

The configging is now categorized, which was way harder to implement than it had any right to be. Fixed bugs, patched glitches, all that typa stuff.

I am going to work on webhooks now for version 0.4.0, and after that websockets for version 0.5.0.

Attachment
0
Definitely Not A Dolphin

Dear diary, today I had to cast a variable to itself to prevent a type error with never in my code. never wasn’t even present, it just showed up just to cause the type error. This makes me understand why people hate TypeScript.

Config parsing is done. Yippie! :D

Attachment
0
Definitely Not A Dolphin

Added two new config options:

  • exportDotenv: whether the dotenv variables should also be included in the env variables.
  • warnAmbiguousRoutes: whether a warning should be shown when two url’s only differ by a trailing backslash.

More things:

  • Added more stuff to the To-Do-list
  • Added a test for utils
  • Patched bugs caused by changes from the latest devlog.

Development is not only going smooth, its fun as well! :D

Attachment
0
Definitely Not A Dolphin

Implementing configging as a file (kuusi.config.ts) instead of a function, which allows parsing the config to be the first thing the framework does when it is used, even before exporting everything. By doing this, config options like dotenv path and template dotenv path can be implemented. :D

It is late and since an image of example code is kinda weird I will just add a random image from my laptop. Enjoy

Attachment
0