Skip to content

Commit c5faaae

Browse files
authored
Merge pull request #377 from creativedotdesign/acf-page-templates
Acf page templates
2 parents 507fe92 + c815202 commit c5faaae

File tree

95 files changed

+5333
-6669
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

95 files changed

+5333
-6669
lines changed

.editorconfig

Lines changed: 0 additions & 9 deletions
This file was deleted.

.eslintrc.cjs

Lines changed: 0 additions & 24 deletions
This file was deleted.

.git-ftp-ignore

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,24 @@
11
/src/
2-
node_modules
2+
node\*modules
33
.vscode
44
.editorconfig
55
.env
6-
.eslintrc.cjs
6+
.eslint.config.js
77
.git
88
.github
99
.gitignore
1010
.gitkeep
1111
.git-ftp-ignore
12-
.git-ftp-include
1312
.gitattributes
1413
.gitignore
15-
.prettierignore
16-
.npmrc
17-
.nvmrc
1814
composer.json
1915
composer.lock
2016
package.json
2117
package-lock.json
22-
postcss.config.cts
18+
postcss.config.ts
2319
tsconfig.json
24-
phpcs.xml
25-
**/*.md
26-
/cypress/
27-
cypress.config.ts
28-
prettier.config.cjs
20+
phpcs.xml \*\*/\_.md
21+
.prettierrc
2922
stylelint.config.ts
3023
tailwind.config.ts
3124
vite.config.ts
32-
vite-env.d.ts

.gitignore

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,10 @@
66
!.env
77
!.gitkeep
88
!.gitattributes
9-
!.stylelintrc.js
109
!.env
11-
!.prettierrc.js
1210
!.git-ftp-ignore
1311
!.github
14-
!.npmrc
15-
!.prettierignore
16-
!.eslintrc.cjs
17-
!.nvmrc
12+
!.prettierrc
1813

1914
# ignore node/grunt dependency directories
2015
node_modules/
@@ -29,11 +24,5 @@ dist/
2924
npm-debug.log
3025
yarn-debug.log
3126

32-
# cypress
33-
cypress/videos/
34-
cypress/screenshots/
35-
cypress/axe-reports/
36-
cypress/downloads/
37-
3827
# vitest
3928
*.ts.snap

.npmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

.nvmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

.prettierignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

.prettierrc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"printWidth": 100,
3+
"singleQuote": true,
4+
"semi": true,
5+
"trailingComma": "es5",
6+
"tailwindConfig": "./tailwind.config.ts",
7+
"plugins": ["prettier-plugin-tailwindcss"],
8+
"ignore": ["**/node_modules/**"]
9+
}

README.md

Lines changed: 1 addition & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ Important: You MUST set `WP_ENVIRONMENT_TYPE` to `development` or `local` in you
5353
- [TypeScript](https://www.typescriptlang.org/)
5454
- [Vite](https://vitejs.dev/guide/) build script
5555
- [Vitest](https://vitest.dev/) for testing Vue components
56-
- [Cypress](https://www.cypress.io/) for Integration and E2E tests
5756
- [Composer](https://getcomposer.org/) for PHP package management
5857
- Namespaced functions
5958
- Auto post type / slug based template routing
@@ -63,7 +62,6 @@ Important: You MUST set `WP_ENVIRONMENT_TYPE` to `development` or `local` in you
6362
- VueJS v3.x with Composition API
6463
- Pinia State Management
6564
- Form support via Tofino Form Builder plugin
66-
- AjaxForm PHP Class
6765
- Fragment Cache PHP Class
6866

6967
## Documentation
@@ -80,39 +78,4 @@ npm install
8078
npm run build
8179
```
8280

83-
The following files and directories should not be deployed on the server:
84-
85-
```
86-
src
87-
node_modules
88-
.vscode
89-
.editorconfig
90-
.env
91-
.eslintrc.cjs
92-
.git
93-
.github
94-
.gitignore
95-
.gitkeep
96-
.git-ftp-ignore
97-
.git-ftp-include
98-
.gitattributes
99-
.gitignore
100-
.prettierignore
101-
.npmrc
102-
composer.json
103-
composer.lock
104-
package.json
105-
package-lock.json
106-
postcss.config.cts
107-
tsconfig.json
108-
vite.config.ts
109-
phpcs.xml
110-
\*.md
111-
cypress
112-
cypress.config.ts
113-
prettier.config.cjs
114-
stylelint.config.ts
115-
tailwind.config.ts
116-
vite.config.ts
117-
vite-env.d.ts
118-
```
81+
Review the `.git-ftp-ignore` file to check which files and directories should not be deployed on the server.

composer.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,12 @@
2222
"tofino"
2323
],
2424
"require": {
25-
"php": ">=8.1.0",
26-
"composer/installers": "~v2.2.0",
27-
"respect/validation": "^2.2.4"
25+
"php": ">=8.2.0",
26+
"composer/installers": "~v2.2.0"
2827
},
2928
"autoload": {
3029
"psr-4": {
31-
"Tofino\\": "inc/lib/"
30+
"Tofino\\": "inc/lib/class"
3231
}
3332
},
3433
"config": {

0 commit comments

Comments
 (0)