diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..d31caf1 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,18 @@ +# To get started with Dependabot version updates, you'll need to specify which +# package ecosystems to update and where the package manifests are located. +# Please see the documentation for all configuration options: +# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates + +version: 2 +updates: + - package-ecosystem: "npm" # See documentation for possible values + directory: "/" # Location of package manifests + schedule: + interval: "weekly" + + - package-ecosystem: "composer" + # Look for a `Dockerfile` in the `root` directory + directory: "/" + # Check for updates once a week + schedule: + interval: "weekly" diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..c2ab561 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,21 @@ +# .github/workflows/build.yml +name: Build Theme Assets + +on: + push: + branches: [ main, staging, dev ] + pull_request: + branches: [ main, staging ] + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + run-shared-build: + uses: adampatterson/.github/.github/workflows/wordpress-theme-build.yml@main + with: + # You can override versions here or just omit these lines to use the defaults + php-versions: '["8.2", "8.4"]' + node-versions: '["22", "24"]' + build-command: 'npm run prod' diff --git a/.gitignore b/.gitignore index 75f89aa..5fb0219 100755 --- a/.gitignore +++ b/.gitignore @@ -8,8 +8,6 @@ node_modules /src/vendor /node_modules /assets/vendor -/yarn.lock -/package-lock.json /mix-manifest.json /assets/js/manifest.js *.map @@ -19,3 +17,9 @@ node_modules /Axe-Helpers /acf-json .env +.design +.src +wp-cli.yml +auth.json +/docs +/rector.php diff --git a/README.md b/README.md index 6a28ee0..68890c2 100755 --- a/README.md +++ b/README.md @@ -4,8 +4,7 @@ Axe is a simple bare-bones WordPress starter theme and structure. It is a theme fast as possible. My build workflow might not be very orthodox, but I typically review the design, Set up my Custom post types -using [Custom Post Type UI](https://en-ca.wordpress.org/plugins/custom-post-type-ui/) and setup any page data structures -using [ACF](http://www.advancedcustomfields.com/). +using [Custom Post Type UI](https://en-ca.wordpress.org/plugins/custom-post-type-ui/) and setup any page data structures using [ACF](http://www.advancedcustomfields.com/). Simply being able to plow ahead creating my site structures and loading in real or fake content lets me have something tangible to work with. @@ -17,7 +16,7 @@ to the admin pages. /* * Load this in your footer, and * check to see if the user is logged in. - * / + */