Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

feat: initialize UI #94

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
.gitignore export-ignore
.gitmodules export-ignore
.vscode export-ignore
*.config.ts export-ignore
*.config.js export-ignore
CHANGELOG.md export-ignore
composer.lock export-ignore
package.json export-ignore
Expand All @@ -18,4 +20,6 @@ pnpm-lock.yaml export-ignore
scripts export-ignore
submodules export-ignore
tests export-ignore
testbench.yaml export-ignore
tsconfig.json export-ignore
workbench export-ignore
8 changes: 6 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,10 @@
"@prepare"
],
"clear": "@php vendor/bin/testbench package:purge-skeleton --ansi",
"prepare": "@php vendor/bin/testbench package:discover --ansi",
"prepare": [
"@php vendor/bin/testbench package:discover --ansi",
"@php -r \"copy('public/favicon.ico', 'vendor/orchestra/testbench-core/laravel/public/favicon.ico');\""
],
"build": [
"@clear",
"@prepare",
Expand Down Expand Up @@ -86,7 +89,8 @@
"laravel/pint": "^1.1",
"laravel/sanctum": "^3.2|^4.0",
"nunomaduro/collision": "^7.4|^8.0",
"orchestra/testbench": "^8.5|^9.0"
"orchestra/testbench": "^8.5|^9.0",
"tightenco/ziggy": "^2.1"
},
"config": {
"preferred-install": "dist",
Expand Down
70 changes: 69 additions & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

48 changes: 42 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,26 +1,50 @@
{
"version": "0.0.0",
"type": "module",
"private": true,
"packageManager": "[email protected]",
"author": "Creasi Developers <[email protected]>",
"repository": "github:creasico/laravel-base",
"scripts": {
"build": "vite build",
"dev": "vite",
"lint": "eslint --ext .ts,.json resources",
"postinstall": "simple-git-hooks",
"release": "standard-version -s"
},
"dependencies": {
"alpinejs": "^3.13.7"
},
"devDependencies": {
"@commitlint/cli": "^18.2.0",
"@commitlint/config-conventional": "^18.1.0",
"lint-staged": "^15.0.2",
"simple-git-hooks": "^2.9.0",
"standard-version": "^9.5.0"
"@commitlint/cli": "^18.6.1",
"@commitlint/config-conventional": "^18.6.3",
"@creasico/eslint-config": "^0.0.1",
"@fontsource-variable/open-sans": "^5.0.28",
"@tailwindcss/vite": "4.0.0-alpha.11",
"@types/alpinejs": "^3.13.10",
"@types/node": "^20.12.2",
"eslint": "^8.57.0",
"laravel-vite-plugin": "^1.0.2",
"lint-staged": "^15.2.2",
"simple-git-hooks": "^2.11.1",
"standard-version": "^9.5.0",
"tailwindcss": "4.0.0-alpha.11",
"typescript": "^5.4.3",
"vite": "^5.2.7",
"ziggy-js": "^2.1.0"
},
"browserslist": [
"> 20%"
],
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"resources/**/*.{json,ts}": [
"eslint --fix"
],
"{config,database,src,scripts,tests}/**/*.php": [
"php vendor/bin/pint --preset laravel"
]
Expand All @@ -29,5 +53,17 @@
"commit-msg": "pnpm exec commitlint --edit $1",
"pre-commit": "pnpm exec lint-staged --allow-empty"
},
"standard-version": {}
"standard-version": {},
"eslintConfig": {
"root": true,
"env": {
"node": true,
"browser": true
},
"extends": "@creasico/eslint-config/ts",
"parserOptions": {
"tsconfigRootDir": ".",
"project": "./tsconfig.json"
}
}
}
Loading
Loading