add linter, prettier and typescript support for jetstream (#1)

* add linter, prettier and typescript support for jetstream

* add github actions for lint, build and typecheck

* add composer install to build action

* fix composer lock

* add ext-intl and fixed php version

* fix intl php extension install

* add tip php extension to github npm build action

* fix php version to 8.3.1

* change github php base action

* fix primary button default type

* updated typescript types from Team to Organization

---------

Co-authored-by: Gregor Vostrak <gregorvostrak@Gregors-MacBook-Pro.local>
This commit is contained in:
Gregor Vostrak
2024-01-21 22:35:43 +01:00
committed by GitHub
parent 0a8d958ccc
commit 27140d4ffc
73 changed files with 4727 additions and 886 deletions

106
composer.lock generated
View File

@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "68ea9179372fd4db583f50784a1ca6f7",
"content-hash": "ad3e9deab517156569b424191cdb7871",
"packages": [
{
"name": "anourvalar/eloquent-serialize",
@@ -792,16 +792,16 @@
},
{
"name": "doctrine/dbal",
"version": "3.7.2",
"version": "3.7.3",
"source": {
"type": "git",
"url": "https://github.com/doctrine/dbal.git",
"reference": "0ac3c270590e54910715e9a1a044cc368df282b2"
"reference": "ce594cbc39a4866c544f1a970d285ff0548221ad"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/doctrine/dbal/zipball/0ac3c270590e54910715e9a1a044cc368df282b2",
"reference": "0ac3c270590e54910715e9a1a044cc368df282b2",
"url": "https://api.github.com/repos/doctrine/dbal/zipball/ce594cbc39a4866c544f1a970d285ff0548221ad",
"reference": "ce594cbc39a4866c544f1a970d285ff0548221ad",
"shasum": ""
},
"require": {
@@ -817,14 +817,14 @@
"doctrine/coding-standard": "12.0.0",
"fig/log-test": "^1",
"jetbrains/phpstorm-stubs": "2023.1",
"phpstan/phpstan": "1.10.42",
"phpstan/phpstan": "1.10.56",
"phpstan/phpstan-strict-rules": "^1.5",
"phpunit/phpunit": "9.6.13",
"phpunit/phpunit": "9.6.15",
"psalm/plugin-phpunit": "0.18.4",
"slevomat/coding-standard": "8.13.1",
"squizlabs/php_codesniffer": "3.7.2",
"symfony/cache": "^5.4|^6.0",
"symfony/console": "^4.4|^5.4|^6.0",
"squizlabs/php_codesniffer": "3.8.1",
"symfony/cache": "^5.4|^6.0|^7.0",
"symfony/console": "^4.4|^5.4|^6.0|^7.0",
"vimeo/psalm": "4.30.0"
},
"suggest": {
@@ -885,7 +885,7 @@
],
"support": {
"issues": "https://github.com/doctrine/dbal/issues",
"source": "https://github.com/doctrine/dbal/tree/3.7.2"
"source": "https://github.com/doctrine/dbal/tree/3.7.3"
},
"funding": [
{
@@ -901,7 +901,7 @@
"type": "tidelift"
}
],
"time": "2023-11-19T08:06:58+00:00"
"time": "2024-01-21T07:53:09+00:00"
},
{
"name": "doctrine/deprecations",
@@ -4522,31 +4522,31 @@
},
{
"name": "nette/schema",
"version": "v1.2.5",
"version": "v1.3.0",
"source": {
"type": "git",
"url": "https://github.com/nette/schema.git",
"reference": "0462f0166e823aad657c9224d0f849ecac1ba10a"
"reference": "a6d3a6d1f545f01ef38e60f375d1cf1f4de98188"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/nette/schema/zipball/0462f0166e823aad657c9224d0f849ecac1ba10a",
"reference": "0462f0166e823aad657c9224d0f849ecac1ba10a",
"url": "https://api.github.com/repos/nette/schema/zipball/a6d3a6d1f545f01ef38e60f375d1cf1f4de98188",
"reference": "a6d3a6d1f545f01ef38e60f375d1cf1f4de98188",
"shasum": ""
},
"require": {
"nette/utils": "^2.5.7 || ^3.1.5 || ^4.0",
"php": "7.1 - 8.3"
"nette/utils": "^4.0",
"php": "8.1 - 8.3"
},
"require-dev": {
"nette/tester": "^2.3 || ^2.4",
"nette/tester": "^2.4",
"phpstan/phpstan-nette": "^1.0",
"tracy/tracy": "^2.7"
"tracy/tracy": "^2.8"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.2-dev"
"dev-master": "1.3-dev"
}
},
"autoload": {
@@ -4578,9 +4578,9 @@
],
"support": {
"issues": "https://github.com/nette/schema/issues",
"source": "https://github.com/nette/schema/tree/v1.2.5"
"source": "https://github.com/nette/schema/tree/v1.3.0"
},
"time": "2023-10-05T20:37:59+00:00"
"time": "2023-12-11T11:54:22+00:00"
},
{
"name": "nette/utils",
@@ -9466,6 +9466,66 @@
],
"time": "2023-11-03T12:00:00+00:00"
},
{
"name": "fumeapp/modeltyper",
"version": "v2.2.7",
"source": {
"type": "git",
"url": "https://github.com/fumeapp/modeltyper.git",
"reference": "eeae47953b74aa74a67c7c7d6235418f02a31429"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/fumeapp/modeltyper/zipball/eeae47953b74aa74a67c7c7d6235418f02a31429",
"reference": "eeae47953b74aa74a67c7c7d6235418f02a31429",
"shasum": ""
},
"require": {
"illuminate/console": "^10.0.0",
"illuminate/database": "^10.0.0",
"illuminate/support": "^10.0.0",
"php": "^8.1"
},
"require-dev": {
"consolidation/robo": "^4.0",
"doctrine/dbal": "^3.6",
"laravel/pint": "^1.7",
"nunomaduro/larastan": "^2.2",
"orchestra/testbench": "^8.0",
"phpunit/phpunit": "^10.0",
"spatie/laravel-ray": "^1.32",
"totten/lurkerlite": "^1.3"
},
"type": "library",
"extra": {
"laravel": {
"providers": [
"FumeApp\\ModelTyper\\ModelTyperServiceProvider"
]
}
},
"autoload": {
"psr-4": {
"FumeApp\\ModelTyper\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "kevin olson",
"email": "acidjazz@gmail.com"
}
],
"description": "Generate TypeScript interfaces from Laravel Models",
"support": {
"issues": "https://github.com/fumeapp/modeltyper/issues",
"source": "https://github.com/fumeapp/modeltyper/tree/v2.2.7"
},
"time": "2023-12-20T12:55:56+00:00"
},
{
"name": "hamcrest/hamcrest-php",
"version": "v2.0.1",