Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to Hybrid Core v7 #11

Open
wants to merge 37 commits into
base: master
Choose a base branch
from
Open

Update to Hybrid Core v7 #11

wants to merge 37 commits into from

Conversation

saas786
Copy link

@saas786 saas786 commented Mar 31, 2021

No description provided.

* php from v5.6 to >=7.4
saas786 added 3 commits June 7, 2023 17:16
* remove Hybrid Core v5
* add Hybrid Core v7
* add Hybrid Core addons
	* hybrid-attr
	* hybrid-lang
	* hybrid-media-meta
	* hybrid-pagination
	* hybrid-template
	* hybrid-template-hierarchy
	* hybrid-template-manager
	* hybrid-theme
	* hybrid-tools
* add Evn deps `vlucas/phpdotenv`
* change Hybrid\Tools\ServiceProvider to Hybrid\Core\ServiceProvide
* change Hybrid\hex_to_rgb to Hybrid\Theme\hex_to_rgb
* change Hybrid\Tools\Collection to Exhale\Tools\Collection
* change Hybrid\Comment to Hybrid\Theme\Comment
* change Hybrid\Site to Hybrid\Theme\Site
* change Hybrid\Menu to Hybrid\Theme\Menu
* change Hybrid\Sidebar to Hybrid\Theme\Sidebar
* change Hybrid\Post to Hybrid\Theme\Post
* change Hybrid\Template\hierarchy to Hybrid\Template\Hierarchy\hierarchy
* change Hybrid\Media\display to Hybrid\Media\Grabber\display
* change Hybrid\Media\display_meta to Hybrid\Media\Meta\display
* add legacy `Hybrid\Tools\Collection` class into `Exhale\Tools\Collection`
* change Hybrid\View\Contracts\Engine to Hybrid\Theme\View\Legacy\Contracts\Engine
* change Hybrid\View\Contracts\View to Hybrid\Theme\View\Legacy\Contracts\View
* register legacy Engine / View aliases (as no longer done by default)
* register Hybrid Addon(s) providers
 * `\Hybrid\Attr\Provider::class`
 * `\Hybrid\Lang\Provider::class`
 * `\Hybrid\Media\Meta\Provider::class`
 * `\Hybrid\Pagination\Provider::class`
 * `\Hybrid\Template\Hierarchy\Provider::class`
 * `\Hybrid\Template\Manager\Provider::class`
 * `\Hybrid\Theme\View\Legacy\Provider::class`
 * `\Hybrid\Theme\Provider::class`

refactor: wip
@saas786 saas786 force-pushed the 3.0 branch 5 times, most recently from 9e03f49 to 5a9c8d9 Compare August 7, 2023 07:43
@saas786 saas786 changed the title Update to Hybrid Core v6 Update to Hybrid Core v7 Jan 6, 2024
@saas786 saas786 force-pushed the 3.0 branch 13 times, most recently from c2c9624 to 12628d4 Compare August 12, 2024 16:08
…nd laravel-mix v6 compatibility

* Utilize the `@wordpress/browserslist-config` npm package instead of configuring manually.
* Update ESLint to version 9, transition to the flat configuration format, and migrate the existing `.eslintrc` file and `.eslintignore` to `eslint.config.mjs`.
* Add a `babel.config.js` file.
* Switch to using `yarn.lock` instead of `package-lock.json` for faster performance with Yarn.
* Update npm packages to their latest versions, and update `webpack.js` and `webpack.export.js` for Laravel Mix v6 compatibility.
…-value pairs

* Replaced the add() method in Collection, which no longer accepts key-value pairs, with the put() method.

* The current add() method only accepts a single value and appends it to the collection's array. The put() method is now used to insert items with both a key and a value, ensuring correct behavior with the updated Collection API.
* Renamed the Config::get() method to Config::getFromFile() to better reflect its purpose of retrieving data from a file.

* The old method name was ambiguous, so the new name improves code readability and clarity by specifying that the data is fetched from a file.
* Reordered provider registrations to ensure dependencies are registered first.
…se styles

* add mixin `caption-style` and `custom-scrollbars-on-hover`
* Fixed typo in primary menu template by changing `theme_location` to the correct `location` key
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant