├── .editorconfig ├── .github └── workflows │ └── ci.yml ├── .gitignore ├── CHANGELOG.md ├── README.md ├── composer.json ├── config └── app_vite.php ├── docs ├── Migrating to version 1.2.x.md └── Migrating to version 1.x.md ├── etc ├── example.manifest.json └── vite.config.ts.example ├── phpcs.xml ├── phpstan.neon ├── phpunit.xml.dist ├── src ├── Exception │ ├── ConfigurationException.php │ ├── InvalidArgumentException.php │ ├── ManifestNotFoundException.php │ └── ViteHelperException.php ├── Plugin.php ├── Utilities │ ├── ConfigDefaults.php │ ├── ManifestRecord.php │ ├── ManifestRecords.php │ ├── ViteHelperConfig.php │ └── ViteManifest.php └── View │ └── Helper │ └── ViteScriptsHelper.php └── tests ├── TestCase └── Utilitites │ └── ViteManifestTest.php ├── bootstrap.php ├── resources └── test-manifest.json └── test_app └── src └── Controller └── AppController.php /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandcom/cakephp-vite/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandcom/cakephp-vite/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandcom/cakephp-vite/HEAD/.gitignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandcom/cakephp-vite/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandcom/cakephp-vite/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandcom/cakephp-vite/HEAD/composer.json -------------------------------------------------------------------------------- /config/app_vite.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandcom/cakephp-vite/HEAD/config/app_vite.php -------------------------------------------------------------------------------- /docs/Migrating to version 1.2.x.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandcom/cakephp-vite/HEAD/docs/Migrating to version 1.2.x.md -------------------------------------------------------------------------------- /docs/Migrating to version 1.x.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandcom/cakephp-vite/HEAD/docs/Migrating to version 1.x.md -------------------------------------------------------------------------------- /etc/example.manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandcom/cakephp-vite/HEAD/etc/example.manifest.json -------------------------------------------------------------------------------- /etc/vite.config.ts.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandcom/cakephp-vite/HEAD/etc/vite.config.ts.example -------------------------------------------------------------------------------- /phpcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandcom/cakephp-vite/HEAD/phpcs.xml -------------------------------------------------------------------------------- /phpstan.neon: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandcom/cakephp-vite/HEAD/phpstan.neon -------------------------------------------------------------------------------- /phpunit.xml.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandcom/cakephp-vite/HEAD/phpunit.xml.dist -------------------------------------------------------------------------------- /src/Exception/ConfigurationException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandcom/cakephp-vite/HEAD/src/Exception/ConfigurationException.php -------------------------------------------------------------------------------- /src/Exception/InvalidArgumentException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandcom/cakephp-vite/HEAD/src/Exception/InvalidArgumentException.php -------------------------------------------------------------------------------- /src/Exception/ManifestNotFoundException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandcom/cakephp-vite/HEAD/src/Exception/ManifestNotFoundException.php -------------------------------------------------------------------------------- /src/Exception/ViteHelperException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandcom/cakephp-vite/HEAD/src/Exception/ViteHelperException.php -------------------------------------------------------------------------------- /src/Plugin.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandcom/cakephp-vite/HEAD/src/Plugin.php -------------------------------------------------------------------------------- /src/Utilities/ConfigDefaults.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandcom/cakephp-vite/HEAD/src/Utilities/ConfigDefaults.php -------------------------------------------------------------------------------- /src/Utilities/ManifestRecord.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandcom/cakephp-vite/HEAD/src/Utilities/ManifestRecord.php -------------------------------------------------------------------------------- /src/Utilities/ManifestRecords.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandcom/cakephp-vite/HEAD/src/Utilities/ManifestRecords.php -------------------------------------------------------------------------------- /src/Utilities/ViteHelperConfig.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandcom/cakephp-vite/HEAD/src/Utilities/ViteHelperConfig.php -------------------------------------------------------------------------------- /src/Utilities/ViteManifest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandcom/cakephp-vite/HEAD/src/Utilities/ViteManifest.php -------------------------------------------------------------------------------- /src/View/Helper/ViteScriptsHelper.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandcom/cakephp-vite/HEAD/src/View/Helper/ViteScriptsHelper.php -------------------------------------------------------------------------------- /tests/TestCase/Utilitites/ViteManifestTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandcom/cakephp-vite/HEAD/tests/TestCase/Utilitites/ViteManifestTest.php -------------------------------------------------------------------------------- /tests/bootstrap.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandcom/cakephp-vite/HEAD/tests/bootstrap.php -------------------------------------------------------------------------------- /tests/resources/test-manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandcom/cakephp-vite/HEAD/tests/resources/test-manifest.json -------------------------------------------------------------------------------- /tests/test_app/src/Controller/AppController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandcom/cakephp-vite/HEAD/tests/test_app/src/Controller/AppController.php --------------------------------------------------------------------------------