Commit graph

26 commits

Author SHA1 Message Date
Miodec
0243be483d fixed linting issue in the watch task 2022-09-22 12:54:52 +02:00
Evan
f584d683bb
Rename scripts to ts (#2869) ferotiq
* Rename scripts to ts

* Update config.base.js

* Delete firebase-config.ts
2022-04-24 17:20:30 +02:00
Bruce Berrios
6d0966eea0
Compile sass using webpack (#2728) bruception
* Compile sass using webpack

* Add scss compilation
2022-03-18 15:40:40 +01:00
Bruce Berrios
0fe99e0a28
Handle static assets with webpack (#2723) bruception
* Move some static file management to webpack

* Add build time feedback

* Add lint step back

* Use concurrently
2022-03-17 21:00:20 +01:00
Bruce Berrios
032fe57f2a
Consolidate webpack configurations (#2716) bruception
* Consolidate webpack configurations

* Add lint step back into dev compilation
2022-03-16 20:57:30 +01:00
Bruce Berrios
64f06231cd
Add initial client version tracking (#2710) bruception
* Add initial client version tracking

* Make headers optional

* Add client version

* Add client version on build

* header fix

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-03-16 16:53:11 +01:00
Miodec
2ed9374d8d removed unused dependencies 2022-03-15 14:40:52 +01:00
Rizwan Mustafa
f3a96983d7
Renamed webpack config files (#2692) 2022-03-12 09:33:26 -06:00
Miodec
3caeb3fcdd fixed broken watches 2022-02-19 15:30:22 +01:00
Miodec
8cba5120c3 fixed scss task not running 2022-02-19 15:12:35 +01:00
Jack
432fedb3c0
Pr-check 2022-02-18 19:25:33 +01:00
Miodec
c9b9e2705a added tasks for pr check that only run certain tasks
part of #2527
2022-02-18 18:14:39 +01:00
Miodec
5d0c5998d2 moved json validation to its own file 2022-02-18 18:08:22 +01:00
Jack
e4a7c8b5e9
Layouts rewrite (#2529)
* added types

* converted qwerty to new format

* added type

* removed keymap structure

* updated space styling

* fixed keymap types

* removed type

* initial keymap element building (only supports staggered for now)

* using id instead of class

* using id

* moved class changes to the keymap file

* fixed matrix key count

* fixed split and matrix layouts

* fixed alice

* removed unused code

* removed unused code

* converted layout emulator to new format

* removed unnecessary field

* using type

* added layout

* added default layout

* added alias

* converted key flashing to new logic

* using new logic

* using new logic in mode next

* fixed iso alice

* converted some layouts

* added layouts json

* added functions to get layouts

* made getlayout synchronous

* updated layout types

* using new function

* added layout json schema validation
closes #2516

* converted ansi layouts to the new format

* modified schema

* fixed the rest of the layouts

* switched function back to async
2022-02-18 18:02:35 +01:00
Miodec
c85b644b88 added json schema validation. part of #2516 2022-02-17 23:36:40 +01:00
Bruce Berrios
eb2350bb1f
Move dependencies (#2483)
* Move dependencies

* Fixes

* Add stale pr action

* Update

* Fix cron schedule
2022-02-12 15:02:29 -05:00
Miodec
f9edda5412 removed transpile step 2022-02-12 16:40:59 +01:00
Miodec
202868269e renamed js folder to scripts
renamed sass folder to styles
moved types folder inside scripts
2022-02-12 16:25:53 +01:00
Rizwan Mustafa
1877cc31e7
(Draft) Replace Browserify with Webpack (Draft) (#2461) by rizwanmustafa
* Replaced browserify with webpack

* Modified gulpfile and webpack config

* Removed attempts of using undefined variables and functions

* fixed some incorrect changes

* setfunbox fix

* Added fallback for crypto-browserify and stream-browserify

* added circular dependency detection

* Created production tasks for gulp and updated webpack config

* fixed circular dependency in misc

* not failing on circular dependency

* Removed unused imports

* Added babel loader and plugins to webpack

* Removed unused dependencies and removed babel's plugins

* Workaround for test logic import in random quote

* Created a separate webpack config file for production

* Changed relative paths to absolute ones in webpack

* Added colored output for circular import number

* Removed comment from .eslintrc.json

* Added eslint plugin to webpack

* Moved 'buffer' and 'stream-browserify' to devDependencies

* Started using promises in webpack tasks

* Removed unused dependencies

* Updated package-lock.json

* Removed eslint plugin from webpack and added circular dependency detection in dev config as well

* Removed unrelated changes

* Updated production build command

* Added ability for webpack to be run with typescript conversion of project in process

* added gulp typscript dev dependency

* using const

* modified console logs on circular imports

* missing dev dependency

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-02-12 14:47:36 +01:00
Miodec
63d9287a3a using one eslint config 2022-02-11 23:34:40 +01:00
Sondre Kjempekjenn
26c57d2ad3
Compile both JS and TS (#2464) by sondrekje
* Compile both JS and TS

Builds upon Ferotiq's PR

* Compile both JS and TS

Builds upon Ferotiq's PR

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-02-11 19:02:21 +01:00
Miodec
c0c0bccc7b only uglifying when building for deployment 2022-02-11 12:46:19 +01:00
Miodec
90d4fed59e subscribing to config event
part of #2462
2022-02-10 21:29:59 +01:00
Miodec
25bb04a391 fixed watch paths 2022-02-09 20:43:42 +01:00
Miodec
a991545c12 fixed watch paths 2022-02-09 20:39:41 +01:00
Bruce Berrios
345740db5f
Separate backend and frontend dependencies (#2441) by Bruception
* Add request validation to user endpoints

* Remove tag id log

* Remove verbs from endpoints

* Remove old code

* Remove uid

* Fix

* Remove name from URI

* Rename utils

* Fix

* Move prettier

* Update gulp file

* Add additional scripts

* Update package-lock

* Update contributing.md

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-02-08 20:33:41 +01:00
Renamed from gulpfile.js (Browse further)