Skip to content

Commit

Permalink
Merge pull request #3 from stepanenko3/new-version
Browse files Browse the repository at this point in the history
New Version
  • Loading branch information
stepanenko3 authored May 6, 2024
2 parents 4a35b90 + f0281c9 commit c363ebd
Show file tree
Hide file tree
Showing 32 changed files with 1,836 additions and 5,139 deletions.
15 changes: 15 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 4
trim_trailing_whitespace = true

[*.md]
trim_trailing_whitespace = false

[*.{yml,yaml}]
indent_size = 2
14 changes: 14 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
version: 2
updates:
- package-ecosystem: "composer"
directory: "/" # Location of package manifests
schedule:
interval: "daily"

- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "daily"
# Always increase the version requirement
# to match the new version.
versioning-strategy: increase
36 changes: 36 additions & 0 deletions .github/workflows/front-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# .github/workflows/duster.yml
name: Front lint

on:
push:
branches: main
pull_request:

env:
NODE_VERSION: 20.10.0

jobs:
application-test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: ${{env.NODE_VERSION}}
cache: "npm"

- name: "Setup PHP"
uses: "shivammathur/setup-php@v2"
with:
php-version: "latest"

- name: "composer install"
run: composer install --no-cache --ignore-platform-reqs --no-interaction --prefer-dist --optimize-autoloader --apcu-autoloader


- run: npm i
- run: npm run nova:install
- run: npm run build
27 changes: 27 additions & 0 deletions .github/workflows/php-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# .github/workflows/duster.yml
name: PHP Lint

on:
push:
branches: main
pull_request:

jobs:
php-lint:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: "Setup PHP"
uses: "shivammathur/setup-php@v2"
with:
php-version: "latest"

- name: "composer install"
run: composer install --no-cache --ignore-platform-reqs --no-interaction --prefer-dist --optimize-autoloader --apcu-autoloader

- name: "duster"
uses: tighten/duster-action@v2
with:
args: lint --using=phpstan,tlint,phpcs,pint
15 changes: 10 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,14 @@
"require": {
"php": ">=8.0",
"laravel/nova": "^4.0",
"spatie/cpu-load-health-check": "^1.0",
"spatie/laravel-health": "^1.9",
"spatie/cpu-load-health-check": "^1.0"
"spatie/ssl-certificate": "^2.6"
},
"repositories": [
{
"type": "path",
"url": "../nova"
"type": "composer",
"url": "https://laravelsatis.com"
}
],
"autoload": {
Expand All @@ -35,5 +36,9 @@
"sort-packages": true
},
"minimum-stability": "dev",
"prefer-stable": true
}
"prefer-stable": true,
"require-dev": {
"phpstan/phpstan": "^1.10",
"tightenco/duster": "^2.7"
}
}
12 changes: 12 additions & 0 deletions dist/.vite/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"resources/js/tool.js": {
"file": "js/tool.js",
"name": "tool",
"src": "resources/js/tool.js",
"isEntry": true
},
"style.css": {
"file": "css/tool.css",
"src": "style.css"
}
}
1 change: 1 addition & 0 deletions dist/css/tool.css

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

Loading

0 comments on commit c363ebd

Please sign in to comment.