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
11 changes: 4 additions & 7 deletions playgrounds/react/.editorconfig → .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,13 @@ root = true
[*]
charset = utf-8
end_of_line = lf
indent_size = 4
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
trim_trailing_whitespace = false
[*.{php,xml,htaccess}]
indent_size = 4

[*.{yml,yaml}]
[*.blade.php]
indent_size = 2

[docker-compose.yml]
indent_size = 4
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/0-bug-report.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Bug Report
description: "Submit an issue."
description: 'Submit an issue.'
body:
- type: markdown
attributes:
value: "Please read [our full contribution guide](https://laravel.com/docs/contributions#bug-reports) before submitting bug reports."
value: 'Please read [our full contribution guide](https://laravel.com/docs/contributions#bug-reports) before submitting bug reports.'
- type: checkboxes
attributes:
label: Inertia adapter(s) affected
Expand All @@ -15,7 +15,7 @@ body:
- label: Not Applicable
- type: input
attributes:
label: "JS package version"
label: 'JS package version'
description: Provide the version of `@inertiajs/{adapter}` you are using.
placeholder: 2.0.0
validations:
Expand Down
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/1-bug-report-react.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
name: Bug Report - React
description: "Submit a React related issue."
description: 'Submit a React related issue.'
labels: [react]
body:
- type: markdown
attributes:
value: "Please read [our full contribution guide](https://laravel.com/docs/contributions#bug-reports) before submitting bug reports."
value: 'Please read [our full contribution guide](https://laravel.com/docs/contributions#bug-reports) before submitting bug reports.'
- type: input
attributes:
label: "@inertiajs/react Version"
label: '@inertiajs/react Version'
description: Provide the version of `@inertiajs/react` you are using.
placeholder: 2.0.0
validations:
Expand Down
8 changes: 4 additions & 4 deletions .github/ISSUE_TEMPLATE/2-bug-report-vue.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
name: Bug Report - Vue 3
description: "Submit a Vue 3 related issue."
labels: ["vue 3"]
description: 'Submit a Vue 3 related issue.'
labels: ['vue 3']
body:
- type: markdown
attributes:
value: "Please read [our full contribution guide](https://laravel.com/docs/contributions#bug-reports) before submitting bug reports."
value: 'Please read [our full contribution guide](https://laravel.com/docs/contributions#bug-reports) before submitting bug reports.'
- type: input
attributes:
label: "@inertiajs/vue3 Version"
label: '@inertiajs/vue3 Version'
description: Provide the version of `@inertiajs/vue3` you are using.
placeholder: 2.0.0
validations:
Expand Down
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/3-bug-report-svelte.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
name: Bug Report - Svelte
description: "Submit a Svelte related issue."
description: 'Submit a Svelte related issue.'
labels: [svelte]
assignees:
- pedroborges
body:
- type: markdown
attributes:
value: "Please read [our full contribution guide](https://laravel.com/docs/contributions#bug-reports) before submitting bug reports."
value: 'Please read [our full contribution guide](https://laravel.com/docs/contributions#bug-reports) before submitting bug reports.'
- type: input
attributes:
label: "@inertiajs/svelte Version"
label: '@inertiajs/svelte Version'
description: Provide the version of `@inertiajs/svelte` you are using.
placeholder: 2.0.0
validations:
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ contact_links:
about: 'This repository is only for reporting bugs. If you have a question or need help using the library, click:'
- name: Documentation issue
url: https://github.com/inertiajs/inertiajs.com
about: For documentation issues, open a pull request at the inertiajs/inertiajs.com repository
about: For documentation issues, open a pull request at the inertiajs/inertiajs.com repository
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
Please only send a pull request to branches which are currently supported: https://laravel.com/docs/releases#support-policy
Please only send a pull request to branches which are currently supported: https://laravel.com/docs/releases#support-policy

If you are unsure which branch your pull request should be sent to, please read: https://laravel.com/docs/contributions#which-branch

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coding-standards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ jobs:
- name: Commit linted files
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "Fix code style"
commit_message: 'Fix code style'
2 changes: 1 addition & 1 deletion .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-24.04
strategy:
matrix:
adapter: ["vue", "react", "svelte"]
adapter: ['vue', 'react', 'svelte']
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
/packages/svelte/test-app/vite.config.js.timestamp-*.mjs
/playwright-report
/test-results
node_modules
node_modules
12 changes: 4 additions & 8 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,14 @@ node_modules/
**/dist/
**/.svelte-kit
**/bootstrap/ssr

# Generated files
*.d.ts
**/types/
*.timestamp-*.mjs
**/public/build

# Files we don't want to format
pnpm-lock.yaml
*.lock
*.yaml
*.json
*.md
*.timestamp-*.mjs

# Vue files with parsing issues (dual script blocks)
packages/vue3/test-app/Pages/PersistentLayouts/RenderFunction/Nested/PageA.vue
Expand All @@ -27,5 +24,4 @@ packages/vue3/test-app/Pages/PersistentLayouts/Shorthand/Nested/PageA.vue
packages/vue3/test-app/Pages/PersistentLayouts/Shorthand/Nested/PageB.vue

# Directories we don't want to format
.github/
**/test-results/
**/test-results/
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
"optionalDependencies": {
"@rollup/rollup-linux-x64-gnu": "^4.28.1"
}
}
}
2 changes: 1 addition & 1 deletion packages/react/test-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@
"react": "^19.0.0",
"react-dom": "^19.0.0"
}
}
}
2 changes: 1 addition & 1 deletion packages/react/test-app/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@
"skipLibCheck": true
},
"include": ["**/*.ts", "**/*.tsx", "**/*.jsx"]
}
}
2 changes: 1 addition & 1 deletion packages/react/test-app/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ declare global {
}
}

export type MulterFile = Express.Multer.File
export type MulterFile = Express.Multer.File
2 changes: 1 addition & 1 deletion packages/svelte/test-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
"@inertiajs/core": "workspace:*",
"@inertiajs/svelte": "workspace:*"
}
}
}
2 changes: 1 addition & 1 deletion packages/vue3/test-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
"@inertiajs/core": "workspace:*",
"@inertiajs/vue3": "workspace:*"
}
}
}
2 changes: 1 addition & 1 deletion packages/vue3/test-app/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@
"skipLibCheck": true
},
"include": ["**/*.ts", "**/*.d.ts", "**/*.vue"]
}
}
2 changes: 1 addition & 1 deletion playgrounds/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@
"typescript": "^4.9.5",
"vite": "^6.3.0"
}
}
}
18 changes: 0 additions & 18 deletions playgrounds/svelte4/.editorconfig

This file was deleted.

18 changes: 0 additions & 18 deletions playgrounds/svelte5/.editorconfig

This file was deleted.

2 changes: 1 addition & 1 deletion playgrounds/svelte5/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@
"typescript": "^5.6.2",
"vite": "^6.3.0"
}
}
}
18 changes: 0 additions & 18 deletions playgrounds/vue3/.editorconfig

This file was deleted.

2 changes: 1 addition & 1 deletion playgrounds/vue3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@
"vue-tsc": "^2.2.8"
},
"type": "module"
}
}
1 change: 1 addition & 0 deletions prettier.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ export default {
tabWidth: 2,
trailingComma: 'all',
plugins: ['prettier-plugin-svelte', 'prettier-plugin-organize-imports', 'prettier-plugin-tailwindcss'],
endOfLine: 'lf',
overrides: [
{
files: '*.svelte',
Expand Down
2 changes: 1 addition & 1 deletion tests/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
"multer": "^2.0.2",
"nodemon": "^3.0.0"
}
}
}