Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
4500 commits
Select commit Hold shift + click to select a range
0e812af
Algorithm to find the most specific common path
emmadesilva Dec 25, 2024
1ec031a
Refactor for the new publisher system
emmadesilva Dec 25, 2024
4f982fd
Make array writable
emmadesilva Dec 25, 2024
9917956
Remove unused methods
emmadesilva Dec 25, 2024
648e3c4
Use instance data
emmadesilva Dec 25, 2024
c50f60a
Simplify publishing handler
emmadesilva Dec 25, 2024
a7a6652
Formatting
emmadesilva Dec 25, 2024
ee62aaf
Remove todo as we overwrite files
emmadesilva Dec 25, 2024
8697255
Get selected files from instance
emmadesilva Dec 25, 2024
6ff9b2c
Use dynamic base directory
emmadesilva Dec 25, 2024
df24553
Publish files
emmadesilva Dec 25, 2024
b69a93a
Write output
emmadesilva Dec 25, 2024
9672a0b
Fix source not being used
emmadesilva Dec 25, 2024
05d4781
Helper to only publish the selected files
emmadesilva Dec 25, 2024
e6d03fe
Cleanup code
emmadesilva Dec 25, 2024
5c8cec8
Interactively publish selected files
emmadesilva Dec 25, 2024
aebd65a
Cleanup code
emmadesilva Dec 25, 2024
93af32e
Remove unused method
emmadesilva Dec 25, 2024
7b1b7b0
Remove unused import
emmadesilva Dec 25, 2024
6406e7c
Improve formatting
emmadesilva Dec 25, 2024
8f1790c
Simplify 'if'
emmadesilva Dec 25, 2024
5f19c37
Extract helper method
emmadesilva Dec 25, 2024
1624692
Extract helper method
emmadesilva Dec 25, 2024
0966cc7
Cleanup code
emmadesilva Dec 25, 2024
54c125f
Remove extra newline
emmadesilva Dec 25, 2024
991ffe1
Print more helpful output
emmadesilva Dec 25, 2024
6d5606f
Add magic key to select all
emmadesilva Dec 25, 2024
215d75c
No need to write we select all here
emmadesilva Dec 25, 2024
4be8d42
Move up method in source
emmadesilva Dec 25, 2024
a628959
Fix parameter name
emmadesilva Dec 25, 2024
e54e782
No longer need hint
emmadesilva Dec 25, 2024
5df46b5
Use search instead of select
emmadesilva Dec 25, 2024
3f95c4d
Revert "Use search instead of select"
emmadesilva Dec 25, 2024
004b7de
Extract helper method
emmadesilva Dec 25, 2024
baf1571
Fix formatting
emmadesilva Dec 25, 2024
20d879c
Cleanup control flow
emmadesilva Dec 25, 2024
93fba2c
Ignore coverage for Laravel Prompts patch
emmadesilva Dec 25, 2024
592c2eb
Dynamic label
emmadesilva Dec 25, 2024
d51c768
Revert "Dynamic label"
emmadesilva Dec 25, 2024
793d27c
Use more semantic helper
emmadesilva Dec 25, 2024
d54b2b9
Formatting
emmadesilva Dec 25, 2024
da40f5f
Rewrite unit test for new scope
emmadesilva Dec 25, 2024
134b4e9
Remove experimental marker
emmadesilva Dec 25, 2024
2025cf6
Fix formatting
emmadesilva Dec 25, 2024
51358b1
Make helper public
emmadesilva Dec 25, 2024
574fb8b
Use more realistic dataset
emmadesilva Dec 25, 2024
e52b1f9
Test more cases
emmadesilva Dec 25, 2024
0f3fd96
Test the base directory helper
emmadesilva Dec 25, 2024
7c21ab5
Fix formatting
emmadesilva Dec 25, 2024
796bae1
Cleanup and refactor method
emmadesilva Dec 25, 2024
2529630
Reformat to ternary return
emmadesilva Dec 25, 2024
1accd03
Merge declaration
emmadesilva Dec 25, 2024
f9d36f6
Remove multi select mocker we are no longer using
emmadesilva Dec 25, 2024
68b584f
Inline variable
emmadesilva Dec 25, 2024
06aad10
Refactor to move up output
emmadesilva Dec 25, 2024
80dbaec
Inline local variable
emmadesilva Dec 25, 2024
ca97255
Tweak helper methods
emmadesilva Dec 25, 2024
842c3d8
Fix logic
emmadesilva Dec 25, 2024
7023dea
Check the input
emmadesilva Dec 25, 2024
d466607
Check using helper
emmadesilva Dec 25, 2024
1248247
Update the test
emmadesilva Dec 25, 2024
7fee865
Remove annotation we don't need
emmadesilva Dec 26, 2024
586068f
Handle output in main command body
emmadesilva Dec 26, 2024
970b4c3
Return publisher to handle all output in main command body
emmadesilva Dec 26, 2024
5570d91
Print the published group
emmadesilva Dec 26, 2024
31fcc3a
Check group is not all
emmadesilva Dec 26, 2024
c7f1eac
Don't print selected when using argument
emmadesilva Dec 26, 2024
b829a82
Instead of printing count, assume we did what the user wanted
emmadesilva Dec 26, 2024
0ab7e8c
Null all group
emmadesilva Dec 26, 2024
c2002df
Remove unused variable
emmadesilva Dec 26, 2024
3c708b9
Remove unused method
emmadesilva Dec 26, 2024
50c55eb
Replace ternary return with match returns
emmadesilva Dec 26, 2024
bc5fb30
Print the file count
emmadesilva Dec 26, 2024
6bc6030
Add testing helper to disable prompts
emmadesilva Dec 26, 2024
78e73d7
Move up variable declaration
emmadesilva Dec 26, 2024
19d6e36
Use local variable
emmadesilva Dec 26, 2024
460bd1f
Invert local data flow
emmadesilva Dec 26, 2024
413e777
Remove null support as real code is never null
emmadesilva Dec 26, 2024
763662e
Fix wrong comparison
emmadesilva Dec 26, 2024
7bbdc49
Move down formatting
emmadesilva Dec 26, 2024
b6fc64c
Dynamic noun modifiers
emmadesilva Dec 26, 2024
10c0fde
Introduce local variable
emmadesilva Dec 26, 2024
def449a
Fix formatting
emmadesilva Dec 26, 2024
ea2dc68
Test covers helper
emmadesilva Dec 26, 2024
eda8e34
Remove periods
emmadesilva Dec 26, 2024
ef11340
Reimplement the test for base usages
emmadesilva Dec 26, 2024
3a9591c
Test with interactive output
emmadesilva Dec 26, 2024
0a8e97d
Add hacky workaround for https://github.com/laravel/prompts/issues/158
emmadesilva Dec 26, 2024
a527e30
Apply fixes from StyleCI
StyleCIBot Dec 26, 2024
4236205
Update tests for added parameter
emmadesilva Dec 26, 2024
3abd5bc
Remove code coverage ignore
emmadesilva Dec 26, 2024
bbea834
Set mock through container
emmadesilva Dec 26, 2024
24bf9ea
Cleanup formatting
emmadesilva Dec 26, 2024
c0683c3
Test all interactive selection paths
emmadesilva Dec 26, 2024
ba6d1b6
Extract helper method and cleanup code
emmadesilva Dec 26, 2024
e9fbb80
Use more explicit disabler
emmadesilva Dec 26, 2024
826779a
Test with the group question
emmadesilva Dec 26, 2024
e47239a
Change comment text
emmadesilva Dec 26, 2024
101d398
Create ViewPublishGroupTest.php
emmadesilva Dec 26, 2024
d5d36af
Call method on static provider
emmadesilva Dec 26, 2024
d8192c7
Use static instead of self
emmadesilva Dec 26, 2024
dfca559
Create setup for mocking the provider
emmadesilva Dec 26, 2024
ad57a2e
Mock paths to publish based on real output
emmadesilva Dec 26, 2024
2a8540f
Reorder helper classes
emmadesilva Dec 26, 2024
ebe07f8
Assert from helper class
emmadesilva Dec 26, 2024
4a7229a
Simplify test passer
emmadesilva Dec 26, 2024
f346f16
Cleanup
emmadesilva Dec 26, 2024
c272bbf
Import class
emmadesilva Dec 26, 2024
5010001
Draft initial test
emmadesilva Dec 26, 2024
3855c86
Mock file finder
emmadesilva Dec 26, 2024
0afe4ab
Assert all properties
emmadesilva Dec 26, 2024
adf92fc
Test custom names and descriptions
emmadesilva Dec 26, 2024
49eee7e
Use static instead of self
emmadesilva Dec 26, 2024
b701c32
Clean up formatting
emmadesilva Dec 26, 2024
7199591
Fix paths needing to be dynamic for monorepo
emmadesilva Dec 26, 2024
93ff4eb
Test we can get the publishable files map
emmadesilva Dec 26, 2024
9936d17
Test does not need config
emmadesilva Dec 26, 2024
b9b038b
Should not be singleton
emmadesilva Dec 26, 2024
88d0ea4
Run more tests on the 2.x branch
emmadesilva Dec 28, 2024
2d74f49
Merge branch '2.x-dev' into interactive-component-publisher-command
emmadesilva Dec 28, 2024
b9df42b
Apparently faked prompts can't run on Windows
emmadesilva Dec 28, 2024
fc972d5
Annotate array types
emmadesilva Dec 28, 2024
2650e64
Add missing closure type
emmadesilva Dec 28, 2024
a07d1ed
Add array cast
emmadesilva Dec 28, 2024
724362b
Fix default for non-interactive mode
emmadesilva Dec 29, 2024
e91f050
Revert "Fix default for non-interactive mode"
emmadesilva Dec 29, 2024
c74b8ba
Fall back naught value to all
emmadesilva Dec 29, 2024
ba2c0b6
Don't show feedback when prompts are not used
emmadesilva Dec 29, 2024
09c668e
Update customization.md
emmadesilva Dec 29, 2024
68aec1e
Update RELEASE_NOTES.md
emmadesilva Dec 29, 2024
5928843
Merge pull request #2062 from hydephp/interactive-component-publisher…
emmadesilva Dec 29, 2024
a74c252
Merge branch 'master' into 2.x-dev
emmadesilva Apr 20, 2025
b117a54
Apply fixes from StyleCI
StyleCIBot Apr 20, 2025
0f8931e
Apply fixes from StyleCI
StyleCIBot Apr 20, 2025
4e68451
Merge pull request #2143 from hydephp/update-to-new-styleci-rules
emmadesilva Apr 20, 2025
fe90e55
Minimum PHP version is now 8.2
emmadesilva Mar 22, 2025
244de05
Update Laravel Zero Framework version to 11
emmadesilva Mar 22, 2025
31e2d03
Update Symfony Yaml to 7.0
emmadesilva Mar 22, 2025
67e84db
Update Illuminate packages to 11
emmadesilva Mar 22, 2025
27c1e73
Update documentation for Laravel 11
emmadesilva Mar 22, 2025
e8f0249
Update documentation for PHP 8.2
emmadesilva Mar 22, 2025
0e66a99
Update release notes for Laravel 11 upgrade
emmadesilva Mar 22, 2025
82f4560
Upgrade Torchlight version to forked version
emmadesilva Mar 22, 2025
c8b03cd
Update packages to Laravel 11 and PHP 8.2
emmadesilva Mar 22, 2025
09fd8b9
Bump locked Composer dependencies
emmadesilva Mar 22, 2025
69a2050
Update PhpStorm configuration files
emmadesilva Mar 22, 2025
12eb0e7
Test on PHP 8.2 through 8.4
emmadesilva Apr 20, 2025
ddb8779
Fix view paths now need to be absolute in test
emmadesilva Apr 20, 2025
6f3ed0b
Fix string is now enforced to array
emmadesilva Apr 21, 2025
b2eb844
Fix assertion for slightly changed HTML output
emmadesilva Apr 21, 2025
a0c9cad
Update RELEASE_NOTES.md
emmadesilva Apr 21, 2025
95a4387
Merge pull request #2141 from hydephp/laravel-11
emmadesilva Apr 21, 2025
823e74f
Update RELEASE_NOTES.md
emmadesilva Apr 21, 2025
a2b4106
Copy the Vite config to the Hyde package
emmadesilva Apr 21, 2025
0263789
Sync Tailwind config files
emmadesilva Apr 21, 2025
7ae8431
Revert "Sync Tailwind config files"
emmadesilva Apr 21, 2025
4b63f4d
Update Tailwind config files
emmadesilva Apr 21, 2025
dcf9b8c
Prepare Tailwind v4 migration
emmadesilva Apr 21, 2025
834f26b
Run the Tailwind v4 migration tool
emmadesilva Apr 21, 2025
8bb01ef
Migrate Hyde to Tailwind v4
emmadesilva Apr 21, 2025
0218292
Remove the TailwindCSS PostCSS Vite plugin
emmadesilva Apr 21, 2025
2856a71
Use the new Tailwind Vite plugin
emmadesilva Apr 21, 2025
fb86a27
Use ESM extension for Vite configuration
emmadesilva Apr 21, 2025
6063edc
Register plugin under the right key
emmadesilva Apr 21, 2025
3b90e57
Build assets with Tailwind v4
emmadesilva Apr 21, 2025
08cf5c2
Merge pull request #2146 from hydephp/tailwind-4
emmadesilva Apr 21, 2025
6a35b31
Add todo comment for development builds
emmadesilva Apr 21, 2025
0848195
Fix watcher paths for Markdown pages
emmadesilva Apr 21, 2025
40d9fa4
Fix return type so it allows ints and bools
emmadesilva Apr 21, 2025
e6c8140
Merge branch 'master' into 2.x-dev
emmadesilva Apr 26, 2025
db037f4
Move Vite hot file to runtime directory
emmadesilva Apr 26, 2025
924026c
Merge branch 'master' into 2.x-dev
emmadesilva Apr 26, 2025
54521e9
Merge pull request #2154 from hydephp/move-vite-hotfile-to-runtime-di…
emmadesilva Apr 26, 2025
ec08333
Update Hyde to use ESM by default
emmadesilva Apr 26, 2025
cce03b4
Update script component to load scripts as module
emmadesilva Apr 26, 2025
fddf9c9
Update Tailwind config to use ESM
emmadesilva Apr 26, 2025
9e2954d
Revert "Use ESM extension for Vite configuration"
emmadesilva Apr 26, 2025
0c56862
Update RELEASE_NOTES.md
emmadesilva Apr 26, 2025
de32e08
Merge pull request #2159 from hydephp/switch-to-esm
emmadesilva Apr 26, 2025
65d4f8b
Sync package files
emmadesilva Apr 27, 2025
cd9a333
Use cleaner watcher syntax
emmadesilva Apr 26, 2025
3e1c830
Initialize new Vite plugin
emmadesilva Apr 26, 2025
98ee53a
Create main Vite plugin code
emmadesilva Apr 26, 2025
f6e49a7
Compile Vite plugin
emmadesilva Apr 26, 2025
aa9807e
Create Vite index page file
emmadesilva Apr 26, 2025
9a0a8ae
Create CHANGELOG.md
emmadesilva Apr 26, 2025
2880f39
Use the new Vite plugin
emmadesilva Apr 26, 2025
b7cdc52
Create option to set watchers
emmadesilva Apr 26, 2025
1aa2f92
Add changelog disclaimer
emmadesilva Apr 26, 2025
779bcee
Clarify documentation
emmadesilva Apr 26, 2025
a11a45a
Reformat table
emmadesilva Apr 26, 2025
ce8dae8
Format whitespace
emmadesilva Apr 26, 2025
3f4c168
Clean up comments
emmadesilva Apr 26, 2025
41ab5a8
Sync file
emmadesilva Apr 26, 2025
2da23a1
Clean up code
emmadesilva Apr 26, 2025
b42f7d9
Build plugin
emmadesilva Apr 26, 2025
ba1db3a
Create compile TypeScript action
emmadesilva Apr 26, 2025
87b2348
Document contributing
emmadesilva Apr 26, 2025
b9a5d0c
Update order to match
emmadesilva Apr 26, 2025
67bef01
Set up proper package
emmadesilva Apr 26, 2025
6854077
Split the new Vite plugin
emmadesilva Apr 26, 2025
38c0959
Update RELEASE_NOTES.md
emmadesilva Apr 27, 2025
12198c9
Remove extra index file
emmadesilva Apr 27, 2025
1ea19b4
Rename index file
emmadesilva Apr 27, 2025
9cfe63b
Update vcs.xml
emmadesilva Apr 27, 2025
1bfe78b
Compile TypeScript
github-actions[bot] Apr 27, 2025
4bade09
Merge pull request #2160 from hydephp/vite-plugin-package
emmadesilva Apr 27, 2025
83fd33b
Merge branch 'master' into 2.x-dev
emmadesilva Apr 27, 2025
f73643f
Build assets
emmadesilva Apr 27, 2025
9df2d65
Upgrade to Vite 6
emmadesilva Apr 27, 2025
6bff6af
Merge pull request #2161 from hydephp/vite-6
emmadesilva Apr 27, 2025
dbf6b8c
Update package.json
emmadesilva Apr 27, 2025
eb4bab3
Remove the experimental navigation menu configuration builder
emmadesilva Apr 27, 2025
8415043
Merge pull request #2162 from hydephp/remove-navigation-menu-configur…
emmadesilva Apr 27, 2025
61bfd58
Merge branch 'master' into 2.x-dev
emmadesilva Apr 27, 2025
1747d6c
Merge branch 'master' into 2.x-dev
emmadesilva Apr 27, 2025
df188ec
Change "category" to "group" in PublishViewsCommand
emmadesilva Apr 27, 2025
4afcbf6
Merge pull request #2166 from hydephp/rename-category-to-group-in-com…
emmadesilva Apr 27, 2025
1bacf0a
Add a new simplified image front matter schema
emmadesilva May 10, 2025
eeb98f8
Support inline Markdown for image captions
emmadesilva May 10, 2025
f903084
Update the documentation for new image schema
emmadesilva May 10, 2025
fbf764c
Update RELEASE_NOTES.md
emmadesilva May 10, 2025
f417c2b
Update managing-assets.md
emmadesilva May 10, 2025
2316390
Use the custom caption feature to override dynamic
emmadesilva May 10, 2025
6de0493
Fix style
emmadesilva May 10, 2025
97d4b5b
Merge pull request #2175 from hydephp/simplified-front-matter-image-s…
emmadesilva May 10, 2025
b3e723b
Merge branch 'master' into 2.x-dev
emmadesilva May 10, 2025
2a39dbf
Merge branch 'master' into 2.x-dev
emmadesilva May 11, 2025
754dc85
Apply fixes from StyleCI
StyleCIBot May 11, 2025
3407099
Merge branch 'master' into 2.x-dev
emmadesilva May 11, 2025
ac8362b
Rename `Routes::get` to `Routes::find`
emmadesilva May 11, 2025
d822a1d
Rename `Routes::getOrFail` to `Routes::get`
emmadesilva May 11, 2025
ea8455f
Improve the class documentation
emmadesilva May 11, 2025
f8537d4
Update RELEASE_NOTES.md
emmadesilva May 11, 2025
3cc7af9
Merge pull request #2179 from hydephp/improve-route-helper-methods
emmadesilva May 11, 2025
b462190
Add null safe new line helper to build tasks
emmadesilva May 11, 2025
2f2ec3e
Skip transferring media files when using CDN
emmadesilva May 11, 2025
9e2c9d3
Smartly skip just app styles when using CDN
emmadesilva May 11, 2025
d5d25e2
Set default value
emmadesilva May 11, 2025
accc471
Draft new unit test
emmadesilva May 11, 2025
ec8c637
Revert "Draft new unit test"
emmadesilva May 11, 2025
026cd1f
Test the app CSS file skipping
emmadesilva May 11, 2025
790ce0d
Update RELEASE_NOTES.md
emmadesilva May 11, 2025
55cde3c
Merge pull request #2180 from hydephp/dont-copy-app-css-when-its-load…
emmadesilva May 11, 2025
4002d73
Merge branch 'master' into 2.x-dev
emmadesilva May 17, 2025
180d001
Merge branch 'master' into 2.x-dev
emmadesilva May 17, 2025
cbc3ed4
Update supported versions for v2
emmadesilva May 18, 2025
bd7dff9
Format whitespace
emmadesilva May 18, 2025
1e73970
Parse and process release notes
emmadesilva May 18, 2025
0234dfd
Merge pull request #2210 from hydephp/assemble-release-notes-for-v2
emmadesilva May 18, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
48 changes: 48 additions & 0 deletions .github/workflows/compile-typescript.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Compile TypeScript

on:
push:
paths:
- 'packages/**/src/**/*.ts'

jobs:
compile:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0 # Needed for the git commit step

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'

- name: Install dependencies
run: |
npm ci
cd packages/vite-plugin && npm ci
cd ../..

- name: Compile TypeScript
run: |
cd packages/vite-plugin
npm run build
cd ../..

- name: Check for changes
id: check_changes
run: |
git diff --exit-code --quiet packages/vite-plugin/dist || echo "changes=true" >> $GITHUB_OUTPUT

- name: Commit changes
if: steps.check_changes.outputs.changes == 'true'
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git add packages/vite-plugin/dist
git commit -m "Compile TypeScript"
git push
55 changes: 10 additions & 45 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
steps:
- uses: shivammathur/setup-php@v2
with:
php-version: "8.1"
php-version: "8.2"
extensions: fileinfo

- uses: actions/checkout@v4
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
php: [8.1, 8.2, 8.3]
php: [8.2, 8.3, 8.4]
runs-on: ${{ matrix.os }}

steps:
Expand Down Expand Up @@ -109,41 +109,6 @@ jobs:
run: php monorepo/scripts/tests/${{ matrix.script }}.php


build-hydefront-assets:

runs-on: ubuntu-latest
needs: run-smoke-tests

steps:
- uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
cache: 'npm'

- name: Install Node.js dependencies
working-directory: 'packages/hydefront'
run: npm ci

- name: Build assets for production
working-directory: 'packages/hydefront'
run: npm run prod

- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: 'hydefront'
path: 'packages/hydefront/dist'

- name: Commit changes
uses: EndBug/add-and-commit@v9
with:
add: 'packages/hydefront/dist'
message: 'Compile HydeFront assets for production'
new_branch: compile-hydefront


build-tailwindcss:

runs-on: ubuntu-latest
Expand All @@ -164,7 +129,7 @@ jobs:
run: sed -i 's/\.\/vendor\/hyde\/framework\/resources\/views\/\*\*\/\*\.blade\.php/\.\/packages\/framework\/resources\/views\/\*\*\/\*\.blade\.php/' tailwind.config.js

- name: Build assets for production
run: npm run prod
run: npm run build

- name: Copy compiled app.css file to HydeFront dist folder
run: cp _media/app.css packages/hydefront/dist/app.css
Expand Down Expand Up @@ -196,7 +161,7 @@ jobs:
steps:
- uses: shivammathur/setup-php@v2
with:
php-version: "8.1"
php-version: "8.2"
coverage: xdebug
extensions: fileinfo
- uses: actions/checkout@v4
Expand Down Expand Up @@ -290,7 +255,7 @@ jobs:
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
php-version: "8.1"
php-version: "8.2"

- name: Cache Composer packages
id: composer-cache
Expand Down Expand Up @@ -332,7 +297,7 @@ jobs:
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
php-version: "8.1"
php-version: "8.2"

- name: Cache Composer packages
id: composer-cache
Expand Down Expand Up @@ -377,7 +342,7 @@ jobs:
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
php-version: "8.1"
php-version: "8.2"

- name: Cache Composer packages
id: composer-cache
Expand Down Expand Up @@ -544,7 +509,7 @@ jobs:
steps:
- uses: shivammathur/setup-php@v2
with:
php-version: "8.1"
php-version: "8.2"
- uses: actions/checkout@v4

- name: Download static analysis tools
Expand All @@ -564,7 +529,7 @@ jobs:
steps:
- uses: shivammathur/setup-php@v2
with:
php-version: "8.1"
php-version: "8.2"
- uses: actions/checkout@v4

- name: Install Composer Dependencies
Expand All @@ -582,7 +547,7 @@ jobs:
steps:
- uses: shivammathur/setup-php@v2
with:
php-version: "8.1"
php-version: "8.2"
- uses: actions/checkout@v4

- name: Install Composer Dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverage-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
steps:
- uses: shivammathur/setup-php@v2
with:
php-version: "8.1"
php-version: "8.2"
coverage: xdebug
extensions: fileinfo
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/end-to-end-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
run: vendor/bin/pest --stop-on-failure

- name: Prepare the Environment
run: echo -e "APP_URL=http://localhost:8080 \nDUSK_ENABLED=true\nSERVER_DASHBOARD=false" > .env
run: echo -e "APP_URL=http://localhost:8080 \nDUSK_ENABLED=true\nSERVER_DASHBOARD=false\nSERVER_SAVE_PREVIEW=true" > .env

- name: Upgrade Chrome Driver
run: php hyde dusk:chrome-driver `/opt/google/chrome/chrome --version | cut -d " " -f3 | cut -d "." -f1`
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/matrix-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Matrix Tests

on:
pull_request:
branches: [ "master" ]
branches: [ "master", "2.x-dev" ]
paths:
- 'app/**'
- 'packages/**'
Expand All @@ -19,7 +19,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
php: [8.1, 8.2, 8.3]
php: [8.2, 8.3, 8.4]
runs-on: ${{ matrix.os }}

steps:
Expand Down
50 changes: 50 additions & 0 deletions .github/workflows/split-monorepo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -390,3 +390,53 @@ jobs:
git commit --author="$COMMIT_AUTHOR_NAME <$COMMIT_AUTHOR_EMAIL>" -m "$COMMIT_MESSAGE https://github.com/hydephp/develop/commit/${{ github.sha }}"

git push upstream master

vite-plugin:
runs-on: ubuntu-latest
continue-on-error: true
environment:
name: hydephp/vite-plugin
url: https://github.com/hydephp/vite-plugin/tree/master

steps:
- name: Checkout hydephp/develop
uses: actions/checkout@v4
with:
path: develop
persist-credentials: false

- name: Checkout hydephp/vite-plugin
uses: actions/checkout@v4
with:
repository: hydephp/vite-plugin
path: vite-plugin
ref: master
fetch-depth: 0
persist-credentials: false

- name: Empty the destination directory
run: rm -rf vite-plugin/*

- name: Copy over files
run: cp -rf develop/packages/vite-plugin/. vite-plugin -v

- name: Commit and push changes
env:
COMMIT_MESSAGE: ${{ github.event.head_commit.message }}
COMMIT_AUTHOR_NAME: ${{ github.event.head_commit.author.name }}
COMMIT_AUTHOR_EMAIL: ${{ github.event.head_commit.author.email }}
run: |
cd vite-plugin
if ! [[ `git status --porcelain` ]]; then
echo "No changes to this package. Exiting gracefully.";
exit 0;
fi

git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git remote add upstream https://oauth2:${{ secrets.SPLIT_MONOREPO_TOKEN }}@github.com/hydephp/vite-plugin.git

git add .
git commit --author="$COMMIT_AUTHOR_NAME <$COMMIT_AUTHOR_EMAIL>" -m "$COMMIT_MESSAGE https://github.com/hydephp/develop/commit/${{ github.sha }}"

git push upstream master
2 changes: 1 addition & 1 deletion .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: 🔎 Static Analysis

on:
pull_request:
branches: [ "master" ]
branches: [ "master", "2.x-dev" ]

jobs:

Expand Down
23 changes: 23 additions & 0 deletions .idea/develop.iml

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

22 changes: 20 additions & 2 deletions .idea/php.xml

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

1 change: 0 additions & 1 deletion .idea/phpunit.xml

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

1 change: 1 addition & 0 deletions .idea/vcs.xml

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

2 changes: 2 additions & 0 deletions .phpstorm.meta.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,7 @@
namespace PHPSTORM_META {
override(\app(0), map([
'hyde' => \Hyde\Foundation\HydeKernel::class,
'navigation.main' => \Hyde\Framework\Features\Navigation\MainNavigationMenu::class,
'navigation.sidebar' => \Hyde\Framework\Features\Navigation\DocumentationSidebar::class,
]));
}
Loading
Loading