Skip to content
Merged
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
8 changes: 6 additions & 2 deletions .github/workflows/laravel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,17 @@ jobs:
- uses: shivammathur/setup-php@15c43e89cdef867065b0213be354c2841860869e
with:
php-version: '8.2'
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Copy .env
run: php -r "file_exists('.env') || copy('.env.example', '.env');"
- name: Install Dependencies
run: composer update -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
- name: Install Bun
run: |
curl -fsSL https://bun.sh/install | bash
echo "$HOME/.bun/bin" >> $GITHUB_PATH
- name: Install Node Dependencies
run: npm i && npm run build
run: bun i && bun run build
- name: Generate key
run: php artisan key:generate
- name: Directory Permissions
Expand Down
28 changes: 26 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,35 @@


## [1.2.0](https://github.com/justdlabs/inertia.ts/compare/1.1.8...1.2.0) (2024-12-14)
## <small>1.3.5 (2024-12-16)</small>

* fix: add bun to actions ([61be853](https://github.com/justdlabs/inertia.ts/commit/61be853))

## <small>1.3.4 (2024-12-16)</small>

* fix: fix actions ([47e3a74](https://github.com/justdlabs/inertia.ts/commit/47e3a74))

## <small>1.3.3 (2024-12-16)</small>

* fix: input error should not use cn from primitive ([cb816f7](https://github.com/justdlabs/inertia.ts/commit/cb816f7))

## <small>1.3.2 (2024-12-16)</small>

* fix: fix actions to use legacy ([0b691e5](https://github.com/justdlabs/inertia.ts/commit/0b691e5))

## <small>1.3.1 (2024-12-16)</small>

* change read me to add composer ([92f09dc](https://github.com/justdlabs/inertia.ts/commit/92f09dc))

## 1.3.0 (2024-12-16)

* fix: little thing ([d7a113c](https://github.com/justdlabs/inertia.ts/commit/d7a113c))
* feat: upgrade to react 19 and tailwindcss beta 7 ([afb1cdc](https://github.com/justdlabs/inertia.ts/commit/afb1cdc))

## [1.2.0](https://github.com/justdlabs/inertia.ts/compare/1.1.8...1.2.0) (2024-12-14)

### Features

* upgrade to inertia v2 ([fee9000](https://github.com/justdlabs/inertia.ts/commit/fee9000a614d5bfaddda6b39ac8eba392d667443))
- upgrade to inertia v2 ([fee9000](https://github.com/justdlabs/inertia.ts/commit/fee9000a614d5bfaddda6b39ac8eba392d667443))

## [1.1.8](https://github.com/justdlabs/inertia.ts/compare/1.1.7...1.1.8) (2024-11-20)

Expand Down
18 changes: 16 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,24 @@

```bash
composer create-project justd/laravel your-project-name
npm i && npm run dev
```

You absolutely need to run the `npm run dev`, because the route is generate and watching while it's in dev.
## Using NPM

when you're using npm, you have to include `--legacy-peer-deps` flag.

```bash
npm i --legacy-peer-deps
composer run dev
```

## Using Bun

```bash
bun i && composer run dev
```

You absolutely need to run the `bun run dev`, because the route is generated and watching while it's in dev.

### Laravel Inertia React w/ Typescript

Expand Down
7 changes: 3 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "justd/laravel",
"version": "1.2.0",
"version": "1.3.5",
"type": "project",
"description": "The skeleton application for the Laravel framework.",
"keywords": [
Expand Down Expand Up @@ -58,9 +58,8 @@
"@php artisan key:generate --ansi",
"@php -r \"file_exists('database/database.sqlite') || touch('database/database.sqlite');\"",
"@php artisan migrate --graceful --ansi",
"npm install",
"npm uninstall husky",
"npm run dev "
"npm install --legacy-peer-deps",
"npm uninstall husky @release-it/conventional-changelog @release-it/bumper @commitlint/config-conventional @commitlint/cli release-it"
],
"dev": [
"Composer\\Config::disableProcessTimeout",
Expand Down
Loading
Loading