Skip to content
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
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
indent_size = 4
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
trim_trailing_whitespace = false

[*.{yml,yaml}]
indent_size = 2
12 changes: 6 additions & 6 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,24 +9,24 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php: [8.1, 8.2, 8.3]
php: [8.3, 8.4]

name: PHP ${{ matrix.php }} - Statamic ${{ matrix.statamic }}

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, mysql, mysqli, pdo_mysql, bcmath, soap, intl, gd, exif, iconv, imagick
coverage: none

- name: Install dependencies
run: |
composer update --prefer-stable --prefer-dist --no-interaction --no-suggest

- name: Execute tests
run: vendor/bin/pest
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
node_modules
vendor
mix-manifest.json
composer.lock
.phpunit.result.cache
.phpunit.cache/
.php-cs-fixer.cache
tests/__fixtures__/
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@
}
},
"require": {
"statamic/cms": "^5.0"
"statamic/cms": "^6.0"
},
"require-dev": {
"orchestra/testbench": "^6.9|^7.1|^8.0|^9.0|^10.0",
"pestphp/pest": "^1.22",
"spatie/pest-plugin-snapshots": "^1.1"
"orchestra/testbench": "^10.0",
"pestphp/pest": "^4.0",
"spatie/pest-plugin-snapshots": "^2.2"
},
"config": {
"allow-plugins": {
Expand Down
1 change: 1 addition & 0 deletions dist/build/assets/responsive-3MmKYngF.js

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

8 changes: 8 additions & 0 deletions dist/build/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"resources/js/responsive.js": {
"file": "assets/responsive-3MmKYngF.js",
"name": "responsive",
"src": "resources/js/responsive.js",
"isEntry": true
}
}
1 change: 0 additions & 1 deletion dist/css/responsive.css

This file was deleted.

1 change: 0 additions & 1 deletion dist/js/responsive.js

This file was deleted.

29 changes: 12 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,14 @@
{
"private": true,
"scripts": {
"dev": "npx mix",
"development": "npx mix",
"watch": "npx mix watch",
"prod": "npx mix --production",
"production": "npx mix --production",
"format": "prettier 'resources/**/*.{css,js,json,css,ts,tsx,vue}' '*.{js,css}' --write"
},
"devDependencies": {
"laravel-mix": "^6.0",
"postcss": "^8.1",
"prettier": "^1.18.2",
"vue": "^2.6.12",
"vue-loader": "^15.9.5",
"vue-template-compiler": "^2.6.12"
}
"private": true,
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build"
},
"devDependencies": {
"@statamic/cms": "file:./vendor/statamic/cms/resources/dist-package",
"laravel-vite-plugin": "^1.2.0",
"vite": "^6.3.4",
"vue": "^3.5.0"
}
}
24 changes: 0 additions & 24 deletions phpunit.xml

This file was deleted.

Loading
Loading