Skip to content

Commit

Permalink
feature: customisation
Browse files Browse the repository at this point in the history
closes #35
closes #36
  • Loading branch information
g105b committed Nov 20, 2023
1 parent f978aa4 commit 7c60a06
Show file tree
Hide file tree
Showing 12 changed files with 706 additions and 211 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
/.sass-cache
/www/
/config.*.ini
/data/upload
73 changes: 73 additions & 0 deletions build.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
{
"script/**/*.es6": {
"require": {
"node": "*",
"babel": "*",
"webpack": "*"
},
"execute": {
"command": "webpack",
"arguments": ["--entry","./script/script.es6", "--output-path", "./www", "--output-filename", "script.js", "--devtool", "source-map", "--mode", "development"]
}
},

"script/*sw.js": {
"require": {
"vendor/bin/sync": "*"
},
"execute": {
"command": "vendor/bin/sync",
"arguments": ["--pattern", "*sw.js", "script", "www/"]
}
},

"script/**/*.js": {
"require": {
"vendor/bin/sync": "*"
},
"execute": {
"command": "vendor/bin/sync",
"arguments": ["--pattern", "*.js", "script", "www/script"]
}
},

"style/**/*.scss": {
"require": {
"sass": "*"
},
"execute": {
"command": "sass",
"arguments": ["./style/style.scss", "www/style.css"]
}
},

"style/**/*.css": {
"require": {
"vendor/bin/sync": "*"
},
"execute": {
"command": "vendor/bin/sync",
"arguments": ["--pattern", "*.css", "style", "www/style"]
}
},

"asset/**/*": {
"require": {
"vendor/bin/sync": ">=1.3.0"
},
"execute": {
"command": "vendor/bin/sync",
"arguments": ["./asset", "./www/asset", "--symlink"]
}
},

"data/upload/**/*": {
"require": {
"vendor/bin/sync": ">=1.3.0"
},
"execute": {
"command": "vendor/bin/sync",
"arguments": ["./data/upload", "./www/data/upload", "--symlink"]
}
}
}
2 changes: 1 addition & 1 deletion class/User/UserRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public function checkLogin(User $user, string $password):bool {
public function create(
ApplicationDeployment $deployment,
string $email,
string $password,
string $password = null,
):void {
$userId = new Ulid();
$this->db->insert("create", [
Expand Down
Loading

0 comments on commit 7c60a06

Please sign in to comment.