1
Fork 0
Commit graph

248 commits

Author SHA1 Message Date
Matei Adriel 4ef32c05c3
typescript(option): fix: fixed declaration containnig a bunch of anys
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-27 13:28:42 +02:00
Matei Adriel dd0c29a340
typescript(option): build: removed unused variables from rollup config
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-26 18:17:29 +02:00
Matei Adriel b02a3f887f
typescript(option): build: edited the rollup config to read paths from package.json and show the filesize of the esm bundle
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-26 18:13:37 +02:00
Matei Adriel 63ce76a552
typescript(option): fix: fixed lib not beeing tree-shakeable
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-26 17:19:26 +02:00
Matei Adriel 0fd6baac81
typescript(option): chore: updated readme
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-26 17:07:40 +02:00
Matei Adriel 457f1ee53e
typescript(option): feat: added the 'combine' helper
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-26 17:05:16 +02:00
Matei Adriel 08b28804e0
typescript(option): feat: added the 'values' helper
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-26 16:53:20 +02:00
Matei Adriel bf3fc154e3
typescript(option): test: refactored tests to use alwaysX instead of constantly(x)
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-26 16:37:04 +02:00
Matei Adriel ab5e468375
typescript(option): feat: added the 'unpack' helper
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-26 16:36:05 +02:00
Matei Adriel cd5dc00dbd
typescript(option): docs: fixed all the comments where I called Option Maybe and None Nothing
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-26 16:28:38 +02:00
Matei Adriel 09a788f8ff
typescript(option): fix: fixed withDefaultLazy not being exported
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-26 16:23:59 +02:00
Matei Adriel 69dcaa5e91
typescript(option): refactor: refactored everything to use unwrap instead of match
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-26 16:22:10 +02:00
Matei Adriel 6dc868c5fb
typescript(option): feat: added the 'withDefaultLazy' helper
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-26 16:16:09 +02:00
Matei Adriel 6f36c3d826
typescript(option): test: wrote tests for the 'withDefault' helper
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-26 16:04:36 +02:00
Matei Adriel 089ba6148f
typescript(option): docs: wrote docs for the 'withDefault' helper
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-26 16:04:09 +02:00
Matei Adriel 668c33b9fb
typescript(option): feat: added the 'unwrap' helper
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-26 15:52:15 +02:00
Matei Adriel 5ea670e3b9
typescript(option): chore: updated tags
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-25 17:05:11 +02:00
Matei Adriel 1d2e49fb02
typescript(option): chore: proper capitalisation for typescript
typescript(option):
typescript(option): BlueGhost told me I'm supposed to write TypeScript, not typescript, so here I am making a commit for modifying 4 characters =)

Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-25 16:52:20 +02:00
Matei Adriel 0350517b71
typescript(option): build: fixed rollup not reading tsconfig.json while emiting the declarations
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-25 16:33:05 +02:00
Matei Adriel 664a46319d
typescript(option): chore: updated readme
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-25 16:25:30 +02:00
Matei Adriel 470574fdad
typescript(option): feat: added the 'oneOf' helper
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-25 16:09:18 +02:00
Matei Adriel 6a8191cc34
typescript(option): feat: added the 'orLazy' helper
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-25 15:51:56 +02:00
Matei Adriel a525a46bca
typescript(option): feat: added a first helper
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-25 15:40:47 +02:00
Matei Adriel 9989591593
typescript(option): feat: added an or helper
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-25 15:31:43 +02:00
Matei Adriel cd4aba143c
typescript(option): feat: added an optionify helper
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-25 15:17:22 +02:00
Matei Adriel aade2d23d7
typescript(option): test: wrote tests for isSome
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-25 15:07:04 +02:00
Matei Adriel a649904d4e
typescript(option): test: wrote tests for isNone
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-25 15:06:19 +02:00
Matei Adriel 941263e82b
typescript(option): test: wrote tests for get
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-25 15:04:23 +02:00
Matei Adriel e241784601
typescript(option): test: wrote tests for flat
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-25 15:01:44 +02:00
Matei Adriel f8e501b876
typescript(option): test: wrote tests for filter
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-25 14:58:29 +02:00
Matei Adriel 7e2e25263c
typescript(option): ci: run tests before releasing
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-25 14:46:33 +02:00
Matei Adriel 2b681bfa7f
typescript(option): test: added tests for exists
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-23 16:11:20 +02:00
Matei Adriel ca91cd20f8
typescript(option): chore: added lib to gitignore
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-23 16:07:00 +02:00
Matei Adriel bf2022b56e
typescript(option): chore: WHY WASNT LIB GITIGNORED
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-23 16:06:26 +02:00
Matei Adriel d905e05a19
typescript(option): test: added tests for count
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-23 16:05:22 +02:00
Matei Adriel 1a443ee349
typescript(option): test: added tests for bindAsync
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-23 16:01:51 +02:00
Matei Adriel 1fc2ef32e4
typescript(option): test: added tests for bind
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-23 15:59:19 +02:00
Matei Adriel dcd55c5047
typescript(option): fix: compL was only used once so it wasn't worth the bundle sacrifice
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-23 15:17:09 +02:00
Matei Adriel a32f62cfc6
typescript(option): fix: fixed the type definition for count
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-23 15:12:48 +02:00
Matei Adriel 0ef7baa739
typescript(option): refactor: now using @thi.ng/compose
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-23 15:08:36 +02:00
Matei Adriel 0abd53917b
typescript(option): fix: fixed wrong types for bind, bindAsync, and probably other helpers as well
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-23 15:00:29 +02:00
Matei Adriel ff81096e6f
typescript(option): refactor: rewrote Some as a typecasted identity
typescript(option):
typescript(option): The Some function did nothing at runtime so a typecasted identity did the job

Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-23 14:25:10 +02:00
Matei Adriel 445bab939e
typescript(option): refactor: no longer using the useless some symbol
typescript(option):
typescript(option): The symbol was never actually used so declaring it is good enough

Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-23 14:24:23 +02:00
Matei Adriel f46ef3dbf8
typescript(option): fix: Fixed the name of isNone
typescript(option):
typescript(option): Previously the name was isNothing bu isNone makes more sense
typescript(option):
typescript(option): BREAKING CHANGE: Changed the name of isNothing to isNone

Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-23 14:16:32 +02:00
Matei Adriel d02031e416
typescript(option): feat: readded the .toString() method on None
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-23 14:05:26 +02:00
Matei Adriel e2e085cbc3
typescript(option): fix: fied broken brand equality
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-23 14:04:52 +02:00
Matei Adriel 729b901bc5
typescript(option): refactor: .then(Some) looks better than async await
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-23 13:53:54 +02:00
Matei Adriel c56f734d82
typescript(option): fix: fixed tslib not beeing installed
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-23 13:35:04 +02:00
Matei Adriel b16272a3aa
typescript(option): feat: added a bindAsync helper
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-23 13:31:56 +02:00
Matei Adriel 9236bade0c
typescript(option): feat: added a mapAsync helper
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-23 13:29:38 +02:00
Matei Adriel 467198921d
typescript(option): refactor: split heplers in different files
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-23 13:17:51 +02:00
Matei Adriel d1b7740878
typescript(option): refactor: Ditched the cusom NominalType type
typescript(option):
typescript(option): Instead of defining my own NominalType now I use the Brand type from
typescript(option): utility types.

Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-23 13:00:11 +02:00
Matei Adriel aed68688a1
typescript(option): fix: fixed the exporting by misstake of Some and None
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-22 17:50:25 +02:00
Matei Adriel 92a5ecbca1
typescript(option): feat: using symbols instead of plain strings
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-22 17:48:39 +02:00
Matei Adriel 6f93885507
typescript(option): chore: fixed build process
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-22 17:38:10 +02:00
Matei Adriel 906096a5cb
typescript(option): feat: Refactored everything to use nominal types
typescript(option):
typescript(option): BREAKING CHANGE: flat only works on one layer but is now strongly typed | everything uses nominal types now | match has the correct parameter order

Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-22 15:38:16 +02:00
Matei Adriel db6417d871
typescript(option): docs: fixed the fromNullable section not beeing in the table of contents
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-20 15:00:54 +02:00
Matei Adriel 7c143655ae
typescript(option): feat: added the fromArray function to the docs
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-20 15:00:09 +02:00
Matei Adriel 15f54ea45f
typescript(option): feat: added a fromArray helper
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-20 14:57:46 +02:00
Matei Adriel 689c746682
typescript(option): refactor: islotated T | null in a Nullable internal type and updated the docs
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-20 14:54:40 +02:00
Matei Adriel 6bd58b46ff
typescript(option): docs: added the docs for the fromNullable helper
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-20 14:46:53 +02:00
Matei Adriel 1f1afc0f28
typescript(option): feat: added a fromNullable helper
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-20 14:44:42 +02:00
Matei Adriel aa18688c7a
typescript(option): refactor: refactored iter to use always
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-20 14:41:13 +02:00
Matei Adriel 04ca5c6e00
typescript(option): chore: fixed readme docs url
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-19 20:58:54 +02:00
Matei Adriel 64cbae4830
typescript(option): docs: started working on the docs
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-19 20:42:23 +02:00
Matei Adriel 5c3225273c
typescript(option): fix: fixed fold returning void
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-19 20:23:59 +02:00
Matei Adriel 1fda9e8242
typescript(option): fix: fixed the flat helper returning a non-option value
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-19 15:12:01 +02:00
Matei Adriel c9cc0b0f22
typescript(option): feat: added a "flat" helper
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-19 14:34:48 +02:00
Matei Adriel 17569d9417
typescript(option): chore: explicitly set package to public
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-19 14:27:19 +02:00
Matei Adriel 4ebe549c29
typescript(option): feat: added a withDefault hepler
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-19 14:20:47 +02:00
Matei Adriel 0458b226c7
typescript(option): refactor: created some internal helpers to clean some of the code
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-19 14:17:55 +02:00
Matei Adriel c226f17987
typescript(option): chore: fixed github action config... again
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-19 14:10:32 +02:00
Matei Adriel 068f6ebd50
typescript(option): chore: added a Readme
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-19 14:06:56 +02:00
Matei Adriel 9a2ff8d174
typescript(option): chore: changed amd namespace to Option
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-19 14:04:54 +02:00
Matei Adriel ec2964ecff
typescript(option): chore: fixed github action config
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-19 14:03:26 +02:00
Matei Adriel 4cdd386295
typescript(option): chore: replaced rollup-plugin-node-resolve with @rollup/plugin-node-resolve
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-19 14:01:33 +02:00
Matei Adriel 8620f4b78d
typescript(option): chore: added semantic release
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-19 13:50:17 +02:00
Matei Adriel 1178d04079
typescript(option): feat: custom toString method for better logging
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-19 13:44:39 +02:00
Matei Adriel b388fb76aa
typescript(option): feat: added the base helpers
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-19 13:26:22 +02:00
Matei Adriel 052584b09a
typescript(option): chore: initial setup
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-19 12:37:48 +02:00
Matei Adriel 18892b03df
typescript(loopover): 0.1.1
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-11-25 18:19:11 +02:00
Matei Adriel 606d4546b0
typescript(loopover): chore: changed descriptions, amd build namespace
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-11-25 18:19:06 +02:00
Matei Adriel 23e9f54b57
typescript(loopover): ci: Added a basic github action
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-11-25 18:11:59 +02:00
Matei Adriel 43e657ac90
typescript(loopover): 0.1.0
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-11-25 18:05:09 +02:00
Matei Adriel d1b2f9e967
typescript(loopover): chore: added badges to the readme
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-11-25 18:04:25 +02:00
Matei Adriel a5ecfc656f
typescript(loopover): chore: added a readme
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-11-25 17:56:02 +02:00
Matei Adriel a156a02f94
typescript(loopover): chore: removed the testing stuff (for now)
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-11-25 17:34:29 +02:00
Matei Adriel 90b404f68b
typescript(loopover): feat: added the moveY method to the GameState class
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-11-25 17:31:07 +02:00
Matei Adriel 73f94f3018
typescript(loopover): feat: added the moveX method to the GameState class
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-11-25 17:08:07 +02:00
Matei Adriel 6894448f60
typescript(loopover): feat: added a basic GameState class
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-11-25 09:56:09 +02:00
Matei Adriel 91e8f869aa
typescript(loopover): chore: initial rollup setup
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-11-25 09:33:33 +02:00
dependabot[bot] 8961f4b523
typescript(lunargame/api): Bump knex from 0.18.1 to 0.19.5
typescript(lunargame/api):
typescript(lunargame/api): Bumps [knex](https://github.com/tgriesser/knex) from 0.18.1 to 0.19.5.
typescript(lunargame/api): - [Release notes](https://github.com/tgriesser/knex/releases)
typescript(lunargame/api): - [Changelog](https://github.com/knex/knex/blob/master/CHANGELOG.md)
typescript(lunargame/api): - [Commits](https://github.com/tgriesser/knex/commits/0.19.5)
typescript(lunargame/api):
typescript(lunargame/api): Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: prescientmoon <git@moonythm.dev>
2019-11-02 05:12:09 +00:00
Matei Adriel bf7e7308be
typescript(og-website): better mobile experience
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-10-20 16:27:23 +03:00
Matei Adriel 4ccd98961c
typescript(og-website): added url to readme
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-10-20 15:06:48 +03:00
Matei Adriel 6cb3f6fe03
typescript(og-website): moved some devDependencies to dependencies
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-10-20 15:01:13 +03:00
Matei Adriel 4668f5ebb5
typescript(og-website): Initial commit
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-10-20 14:44:05 +03:00
Matei Adriel ce24e8e1cd
typescript(og-website): finished projects page
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-10-20 14:43:20 +03:00
Matei Adriel 79fea699a7
typescript(og-website): basic projects page
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-10-20 14:20:54 +03:00
Matei Adriel 4b9d6c80ad
typescript(og-website): initial setup, basic home page and some other things
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-10-20 13:26:11 +03:00
Mateiadrielrafael 48edeb1093
typescript(lunargame/api): overall better tests (except for the validate ones)
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-08-13 23:58:20 +03:00