Skip to content

Commit

Permalink
feat: Migrated to XWP Asset Loader
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Needs XWP Asset Loader
  • Loading branch information
seebeen committed Sep 17, 2024
1 parent 8727a9e commit dc1599a
Show file tree
Hide file tree
Showing 18 changed files with 553 additions and 1,056 deletions.
12 changes: 2 additions & 10 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,18 +1,10 @@
/.github export-ignore
/docs export-ignore
/tests export-ignore
/.codeclimate.yml export-ignore
/.editorconfig export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/CHANGELOG.md export-ignore
/.phpcs.xml export-ignore
/.releaserc export-ignore
/CODE_OF_CONDUCT.md export-ignore
/composer.lock export-ignore
/CONTRIBUTING.md export-ignore
/LICENSE export-ignore
/README.md export-ignore
/SECURITY.md export-ignore
/package.json export-ignore
/.phpcs.xml export-ignore
/phpunit.xml export-ignore
/.releaserc export-ignore
11 changes: 0 additions & 11 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,12 +1 @@
node_modules
vendor
test.php
php_errors.log

.yarn/*
!.yarn/cache
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
20 changes: 12 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,33 @@
"description": "Simple Asset Loader for WordPress",
"license": "GPL-2.0-only",
"require": {
"php": ">=8.0",
"x-wp/helper-classes": "^1",
"x-wp/helper-functions": "^1"
"x-wp/asset-loader": "^1"
},
"require-dev": {
"oblak/wordpress-coding-standard": "^1"
"oblak/wordpress-coding-standard": "^1",
"php-stubs/wordpress-stubs": "^6.5",
"phpstan/extension-installer": "^1.3",
"phpstan/phpstan": "^1.10",
"phpstan/phpstan-deprecation-rules": "^1.1",
"swissspidy/phpstan-no-private": "^0.2.0",
"szepeviktor/phpstan-wordpress": "^1.3"
},
"suggest": {
"automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package."
},
"autoload": {
"psr-4": {
"Oblak\\WP\\": "src/Legacy/",
"XWP\\Dependency\\": "src"
"XWP\\Dependency\\": "src/"
},
"files": [
"src/Utils/xwp-dep-loader-fns.php",
"src/Utils/xwp-dep-loader-init.php"
"src/Utils/xwp-dep-loader-fns.php"
]
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpstan/extension-installer": true
}
}
}
Loading

0 comments on commit dc1599a

Please sign in to comment.