@phcdevworks/spectre-shell-wordpress 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of @phcdevworks/spectre-shell-wordpress might be problematic. Click here for more details.
- package/.devcontainer/devcontainer.json +40 -0
- package/.gitattributes +203 -0
- package/.github/FUNDING.yml +6 -0
- package/.github/ISSUE_TEMPLATE/bug_report.md +23 -0
- package/.github/ISSUE_TEMPLATE/docs_request.md +11 -0
- package/.github/ISSUE_TEMPLATE/feature_request.md +13 -0
- package/.github/dependabot.yml +12 -0
- package/.github/pull_request_template.md +15 -0
- package/.vscode/extensions.json +31 -0
- package/CHANGELOG.md +80 -0
- package/CODE_OF_CONDUCT.md +80 -0
- package/CONTRIBUTING.md +194 -0
- package/LICENSE +21 -0
- package/README.md +338 -0
- package/SECURITY.md +94 -0
- package/index.html +13 -0
- package/package.json +52 -0
- package/public/vite.svg +1 -0
- package/spectre-shell-wordpress.code-workspace +8 -0
- package/spectre-theme/README.md +33 -0
- package/spectre-theme/footer.php +9 -0
- package/spectre-theme/functions.php +89 -0
- package/spectre-theme/header.php +35 -0
- package/spectre-theme/index.php +60 -0
- package/spectre-theme/style.css +20 -0
- package/src/README.md +56 -0
- package/src/js/main.ts +11 -0
- package/src/styles/main.css +12 -0
- package/tailwind.config.ts +12 -0
- package/tsconfig.json +33 -0
- package/vite.config.ts +38 -0
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
|
|
2
|
+
// README at: https://github.com/devcontainers/templates/tree/main/src/typescript-node
|
|
3
|
+
{
|
|
4
|
+
"name": "Node.js & TypeScript",
|
|
5
|
+
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
|
|
6
|
+
"image": "mcr.microsoft.com/devcontainers/typescript-node:1-22-bookworm",
|
|
7
|
+
// Features to add to the dev container. More info: https://containers.dev/features.
|
|
8
|
+
"features": {
|
|
9
|
+
"ghcr.io/devcontainers/features/git:1": {},
|
|
10
|
+
"ghcr.io/devcontainers/features/github-cli:1": {},
|
|
11
|
+
"ghcr.io/devcontainers/features/node:1": {
|
|
12
|
+
"version": "22"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
|
16
|
+
"forwardPorts": [
|
|
17
|
+
5173,
|
|
18
|
+
4173,
|
|
19
|
+
3000
|
|
20
|
+
],
|
|
21
|
+
// Port attributes for development servers
|
|
22
|
+
"portsAttributes": {
|
|
23
|
+
"5173": {
|
|
24
|
+
"label": "Vite Dev Server",
|
|
25
|
+
"onAutoForward": "notify"
|
|
26
|
+
},
|
|
27
|
+
"4173": {
|
|
28
|
+
"label": "Vite Preview Server",
|
|
29
|
+
"onAutoForward": "notify"
|
|
30
|
+
},
|
|
31
|
+
"3000": {
|
|
32
|
+
"label": "Application Server",
|
|
33
|
+
"onAutoForward": "notify"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
// Use 'postCreateCommand' to run commands after the container is created.
|
|
37
|
+
"postCreateCommand": "node --version && npm --version"
|
|
38
|
+
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
|
|
39
|
+
// "remoteUser": "root"
|
|
40
|
+
}
|
package/.gitattributes
ADDED
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
###############################################################################
|
|
2
|
+
# Core: normalize line endings + UTF-8
|
|
3
|
+
###############################################################################
|
|
4
|
+
# Normalize to LF in repo; editors can show CRLF on Windows if configured
|
|
5
|
+
* text=auto eol=lf
|
|
6
|
+
|
|
7
|
+
# Explicit LF for common scripts
|
|
8
|
+
*.sh text eol=lf
|
|
9
|
+
*.bash text eol=lf
|
|
10
|
+
*.zsh text eol=lf
|
|
11
|
+
*.py text eol=lf
|
|
12
|
+
*.rb text eol=lf
|
|
13
|
+
*.pl text eol=lf
|
|
14
|
+
*.php text eol=lf
|
|
15
|
+
*.rs text eol=lf
|
|
16
|
+
*.go text eol=lf
|
|
17
|
+
*.java text eol=lf
|
|
18
|
+
*.kt text eol=lf
|
|
19
|
+
*.scala text eol=lf
|
|
20
|
+
*.ts text eol=lf
|
|
21
|
+
*.tsx text eol=lf
|
|
22
|
+
*.js text eol=lf
|
|
23
|
+
*.jsx text eol=lf
|
|
24
|
+
*.css text eol=lf
|
|
25
|
+
*.scss text eol=lf
|
|
26
|
+
*.less text eol=lf
|
|
27
|
+
*.md text eol=lf
|
|
28
|
+
*.yml text eol=lf
|
|
29
|
+
*.yaml text eol=lf
|
|
30
|
+
*.toml text eol=lf
|
|
31
|
+
*.json text eol=lf
|
|
32
|
+
*.sql text eol=lf
|
|
33
|
+
.env* text eol=lf
|
|
34
|
+
Dockerfile text eol=lf
|
|
35
|
+
devcontainer.json text eol=lf
|
|
36
|
+
vite.config.* text eol=lf
|
|
37
|
+
vitest.config.* text eol=lf
|
|
38
|
+
*.gradle text eol=lf
|
|
39
|
+
|
|
40
|
+
# Windows-only scripts that expect CRLF
|
|
41
|
+
*.bat text eol=crlf
|
|
42
|
+
*.cmd text eol=crlf
|
|
43
|
+
|
|
44
|
+
###############################################################################
|
|
45
|
+
# Binary safety: never auto-convert line endings; avoid broken diffs
|
|
46
|
+
###############################################################################
|
|
47
|
+
# Images
|
|
48
|
+
*.png binary
|
|
49
|
+
*.jpg binary
|
|
50
|
+
*.jpeg binary
|
|
51
|
+
*.gif binary
|
|
52
|
+
*.webp binary
|
|
53
|
+
*.tiff binary
|
|
54
|
+
*.ico binary
|
|
55
|
+
*.psd binary
|
|
56
|
+
|
|
57
|
+
# Fonts
|
|
58
|
+
*.woff binary
|
|
59
|
+
*.woff2 binary
|
|
60
|
+
*.ttf binary
|
|
61
|
+
*.otf binary
|
|
62
|
+
*.eot binary
|
|
63
|
+
|
|
64
|
+
# Audio / Video
|
|
65
|
+
*.mp3 binary
|
|
66
|
+
*.wav binary
|
|
67
|
+
*.flac binary
|
|
68
|
+
*.mp4 binary
|
|
69
|
+
*.mov binary
|
|
70
|
+
*.avi binary
|
|
71
|
+
*.mkv binary
|
|
72
|
+
*.webm binary
|
|
73
|
+
|
|
74
|
+
# Archives & packages
|
|
75
|
+
*.zip binary
|
|
76
|
+
*.gz binary
|
|
77
|
+
*.bz2 binary
|
|
78
|
+
*.7z binary
|
|
79
|
+
*.rar binary
|
|
80
|
+
*.tar binary
|
|
81
|
+
*.tgz binary
|
|
82
|
+
*.jar binary
|
|
83
|
+
*.war binary
|
|
84
|
+
*.nupkg binary
|
|
85
|
+
*.dmg binary
|
|
86
|
+
*.iso binary
|
|
87
|
+
|
|
88
|
+
# Data / design / CAD
|
|
89
|
+
*.pdf binary
|
|
90
|
+
*.ai binary
|
|
91
|
+
*.eps binary
|
|
92
|
+
*.sketch binary
|
|
93
|
+
*.fig binary
|
|
94
|
+
*.blend binary
|
|
95
|
+
*.step binary
|
|
96
|
+
*.stp binary
|
|
97
|
+
*.stl binary
|
|
98
|
+
*.glb binary
|
|
99
|
+
*.gltf binary
|
|
100
|
+
|
|
101
|
+
###############################################################################
|
|
102
|
+
# Diff quality: use built-in or custom drivers (configure in .gitconfig)
|
|
103
|
+
###############################################################################
|
|
104
|
+
# JSON: show word-level diffs ignoring whitespace & ordering (driver required)
|
|
105
|
+
*.json text diff=json
|
|
106
|
+
# Markdown: better prose diffs (driver required)
|
|
107
|
+
*.md text diff=markdown
|
|
108
|
+
# Lockfiles: huge JSON—treat as text but favor minimal/word diffs
|
|
109
|
+
package-lock.json text diff=lockfile
|
|
110
|
+
pnpm-lock.yaml text
|
|
111
|
+
yarn.lock text
|
|
112
|
+
composer.lock text
|
|
113
|
+
Pipfile.lock text
|
|
114
|
+
Cargo.lock text
|
|
115
|
+
Gemfile.lock text
|
|
116
|
+
poetry.lock text
|
|
117
|
+
go.sum text
|
|
118
|
+
|
|
119
|
+
# Source code tweaks (drivers optional—harmless if not configured)
|
|
120
|
+
*.py text diff=python
|
|
121
|
+
*.rb text diff=ruby
|
|
122
|
+
*.js text diff=javascript
|
|
123
|
+
*.ts text diff=javascript
|
|
124
|
+
*.tsx text diff=javascript
|
|
125
|
+
*.java text diff=java
|
|
126
|
+
*.kt text diff=kotlin
|
|
127
|
+
*.go text diff=golang
|
|
128
|
+
*.rs text diff=rust
|
|
129
|
+
*.css text diff=css
|
|
130
|
+
*.scss text diff=css
|
|
131
|
+
|
|
132
|
+
###############################################################################
|
|
133
|
+
# Merge strategies: reduce churn on “list” files; avoid conflicts on versioned files
|
|
134
|
+
###############################################################################
|
|
135
|
+
# Union-merge additive files (order may vary)
|
|
136
|
+
.gitignore merge=union
|
|
137
|
+
.gitattributes merge=union
|
|
138
|
+
docker-compose*.yml merge=union
|
|
139
|
+
|
|
140
|
+
# Keep lockfiles simple (requires `git config merge.theirs.driver true` alias)
|
|
141
|
+
# Uncomment if you prefer “take theirs” on lockfile conflicts:
|
|
142
|
+
# package-lock.json merge=theirs
|
|
143
|
+
# yarn.lock merge=theirs
|
|
144
|
+
# pnpm-lock.yaml merge=theirs
|
|
145
|
+
# Cargo.lock merge=theirs
|
|
146
|
+
# go.sum merge=theirs
|
|
147
|
+
|
|
148
|
+
###############################################################################
|
|
149
|
+
# Git LFS (optional): uncomment if you use LFS; keep large binaries out of Git
|
|
150
|
+
###############################################################################
|
|
151
|
+
# Filter typical large assets via LFS (requires git-lfs installed)
|
|
152
|
+
# *.psd filter=lfs diff=lfs merge=lfs -text
|
|
153
|
+
# *.ai filter=lfs diff=lfs merge=lfs -text
|
|
154
|
+
# *.pdf filter=lfs diff=lfs merge=lfs -text
|
|
155
|
+
# *.mp4 filter=lfs diff=lfs merge=lfs -text
|
|
156
|
+
# *.zip filter=lfs diff=lfs merge=lfs -text
|
|
157
|
+
# *.glb filter=lfs diff=lfs merge=lfs -text
|
|
158
|
+
# Design files lockable to avoid parallel edits
|
|
159
|
+
# *.psd lockable
|
|
160
|
+
# *.ai lockable
|
|
161
|
+
# *.fig lockable
|
|
162
|
+
# *.sketch lockable
|
|
163
|
+
|
|
164
|
+
###############################################################################
|
|
165
|
+
# Exports: keep release/source archives lean (git archive / GitHub “Download ZIP”)
|
|
166
|
+
###############################################################################
|
|
167
|
+
# Ignore dev-only files on export
|
|
168
|
+
.gitattributes export-ignore
|
|
169
|
+
.gitignore export-ignore
|
|
170
|
+
.gitmodules export-ignore
|
|
171
|
+
.github/ export-ignore
|
|
172
|
+
.githooks/ export-ignore
|
|
173
|
+
.gitlab/ export-ignore
|
|
174
|
+
.vscode/ export-ignore
|
|
175
|
+
.idea/ export-ignore
|
|
176
|
+
.editorconfig export-ignore
|
|
177
|
+
*.code-workspace export-ignore
|
|
178
|
+
# Tests, examples, docs (toggle to taste)
|
|
179
|
+
# /tests/ export-ignore
|
|
180
|
+
# /examples/ export-ignore
|
|
181
|
+
# /docs/ export-ignore
|
|
182
|
+
# Tooling
|
|
183
|
+
/.devcontainer/ export-ignore
|
|
184
|
+
/.docker/ export-ignore
|
|
185
|
+
/scripts/ export-ignore
|
|
186
|
+
node_modules/ export-ignore
|
|
187
|
+
*.log export-ignore
|
|
188
|
+
|
|
189
|
+
###############################################################################
|
|
190
|
+
# GitHub Linguist tuning (visual stats only—does not affect Git operations)
|
|
191
|
+
###############################################################################
|
|
192
|
+
# Treat vendored/generated files as such
|
|
193
|
+
vendor/** linguist-vendored
|
|
194
|
+
third_party/** linguist-vendored
|
|
195
|
+
**/dist/** linguist-generated
|
|
196
|
+
**/build/** linguist-generated
|
|
197
|
+
**/*.min.js linguist-generated
|
|
198
|
+
**/*.min.css linguist-generated
|
|
199
|
+
# Set language for odd extensions (examples)
|
|
200
|
+
*.hcl linguist-language=HCL
|
|
201
|
+
*.tf linguist-language=HCL
|
|
202
|
+
*.hbs linguist-language=Handlebars
|
|
203
|
+
*.tpl linguist-language=Go
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Bug report
|
|
3
|
+
about: Create a report to help us improve
|
|
4
|
+
labels: bug
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Description
|
|
8
|
+
|
|
9
|
+
## Steps to Reproduce
|
|
10
|
+
|
|
11
|
+
## Expected Behavior
|
|
12
|
+
|
|
13
|
+
## Actual Behavior
|
|
14
|
+
|
|
15
|
+
## Screenshots or Logs
|
|
16
|
+
|
|
17
|
+
## Environment
|
|
18
|
+
|
|
19
|
+
- Version:
|
|
20
|
+
- Node/NPM:
|
|
21
|
+
- OS:
|
|
22
|
+
|
|
23
|
+
## Additional Context
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# To get started with Dependabot version updates, you'll need to specify which
|
|
2
|
+
# package ecosystems to update and where the package manifests are located.
|
|
3
|
+
# Please see the documentation for more information:
|
|
4
|
+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
|
|
5
|
+
# https://containers.dev/guide/dependabot
|
|
6
|
+
|
|
7
|
+
version: 2
|
|
8
|
+
updates:
|
|
9
|
+
- package-ecosystem: "devcontainers"
|
|
10
|
+
directory: "/"
|
|
11
|
+
schedule:
|
|
12
|
+
interval: weekly
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"recommendations": [
|
|
3
|
+
// AI Assistants
|
|
4
|
+
"github.copilot",
|
|
5
|
+
"github.copilot-chat",
|
|
6
|
+
"openai.chatgpt",
|
|
7
|
+
// Code Quality & Linting
|
|
8
|
+
"dbaeumer.vscode-eslint",
|
|
9
|
+
"esbenp.prettier-vscode",
|
|
10
|
+
"editorconfig.editorconfig",
|
|
11
|
+
"streetsidesoftware.code-spell-checker",
|
|
12
|
+
// TypeScript & JavaScript
|
|
13
|
+
"usernamehw.errorlens",
|
|
14
|
+
"yoavbls.pretty-ts-errors",
|
|
15
|
+
// Import Management
|
|
16
|
+
"wix.vscode-import-cost",
|
|
17
|
+
// Theming & Icons
|
|
18
|
+
"zhuangtongfa.material-theme",
|
|
19
|
+
"pkief.material-icon-theme",
|
|
20
|
+
// Git & Version Control
|
|
21
|
+
"eamodio.gitlens",
|
|
22
|
+
"mhutchie.git-graph",
|
|
23
|
+
// Testing
|
|
24
|
+
"vitest.explorer",
|
|
25
|
+
// Utilities
|
|
26
|
+
"christian-kohler.path-intellisense",
|
|
27
|
+
"zignd.html-css-class-completion",
|
|
28
|
+
"formulahendry.auto-rename-tag",
|
|
29
|
+
"bradlc.vscode-tailwindcss"
|
|
30
|
+
]
|
|
31
|
+
}
|
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented here. The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and the versioning reflects package releases.
|
|
4
|
+
|
|
5
|
+
## [Unreleased]
|
|
6
|
+
|
|
7
|
+
## [1.1.0] - 2026-01-30
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
- Create LICENSE ([01491e8]).
|
|
12
|
+
- Add initial CHANGELOG.md following Keep a Changelog ([0754ae2]).
|
|
13
|
+
|
|
14
|
+
### Changed
|
|
15
|
+
|
|
16
|
+
- Rename theme folder to `spectre-theme/` and update references ([bba2b67]).
|
|
17
|
+
- Restructure project and update dependencies ([a38feba]).
|
|
18
|
+
- Refactor project structure into template directory ([2e7c5e4]).
|
|
19
|
+
|
|
20
|
+
### Documentation
|
|
21
|
+
|
|
22
|
+
- Revamp README with detailed setup and usage guide ([fe734ee]).
|
|
23
|
+
|
|
24
|
+
## [1.0.0] - 2026-01-30
|
|
25
|
+
|
|
26
|
+
### Added
|
|
27
|
+
|
|
28
|
+
- Initial implementation of Vite WordPress theme template with TypeScript and Tailwind CSS 4 ([8704a25]).
|
|
29
|
+
- Add Vite configuration with manifest-based asset loading for WordPress ([8704a25]).
|
|
30
|
+
- Add Tailwind CSS 4 configuration with WordPress template paths ([8704a25]).
|
|
31
|
+
- Add WordPress theme structure with `functions.php`, `header.php`, `footer.php`, and `index.php` ([8704a25]).
|
|
32
|
+
- Add source files with TypeScript entry point and CSS with Tailwind imports ([8704a25]).
|
|
33
|
+
- Add HMR support for development mode via Vite dev server ([8704a25]).
|
|
34
|
+
- Add dev/prod mode detection via `WP_ENV` environment variable ([8704a25]).
|
|
35
|
+
- Add GitHub issue templates for bug reports, feature requests, and documentation ([e005b39]).
|
|
36
|
+
- Add pull request template ([e005b39]).
|
|
37
|
+
- Add CONTRIBUTING.md with development workflow and guidelines ([6202054]).
|
|
38
|
+
- Add CODE_OF_CONDUCT.md based on Contributor Covenant ([1fb4ab3]).
|
|
39
|
+
- Add SECURITY.md with security policy and reporting guidelines ([417b4b4]).
|
|
40
|
+
- Add GitHub funding configuration ([e005b39]).
|
|
41
|
+
- Add VS Code workspace settings and devcontainer configuration ([4f8ddbb], [7b5b0ad]).
|
|
42
|
+
|
|
43
|
+
### Changed
|
|
44
|
+
|
|
45
|
+
- Rename project to Spectre Shell WordPress ([b5cf594]).
|
|
46
|
+
- Update package.json with full metadata, keywords, and repository information ([e005b39]).
|
|
47
|
+
- Fix TypeScript configuration to support Node.js module imports ([e005b39]).
|
|
48
|
+
- Install @types/node for proper TypeScript support ([e005b39]).
|
|
49
|
+
|
|
50
|
+
### Documentation
|
|
51
|
+
|
|
52
|
+
- Add comprehensive README with setup instructions and customization guide ([8704a25]).
|
|
53
|
+
- Add theme-specific README in `spectre-theme/` folder ([8704a25]).
|
|
54
|
+
- Add source-specific README in `src/` folder ([8704a25]).
|
|
55
|
+
|
|
56
|
+
[unreleased]: https://github.com/phcdevworks/spectre-shell-wordpress/compare/v1.1.0...HEAD
|
|
57
|
+
[1.1.0]: https://github.com/phcdevworks/spectre-shell-wordpress/tree/v1.1.0
|
|
58
|
+
[1.0.0]: https://github.com/phcdevworks/spectre-shell-wordpress/tree/v1.0.0
|
|
59
|
+
[bba2b67]: https://github.com/phcdevworks/spectre-shell-wordpress/commit/bba2b67
|
|
60
|
+
[a38feba]: https://github.com/phcdevworks/spectre-shell-wordpress/commit/a38feba
|
|
61
|
+
[2e7c5e4]: https://github.com/phcdevworks/spectre-shell-wordpress/commit/2e7c5e4
|
|
62
|
+
[fe734ee]: https://github.com/phcdevworks/spectre-shell-wordpress/commit/fe734ee
|
|
63
|
+
[01491e8]: https://github.com/phcdevworks/spectre-shell-wordpress/commit/01491e8
|
|
64
|
+
[0754ae2]: https://github.com/phcdevworks/spectre-shell-wordpress/commit/0754ae2
|
|
65
|
+
[b5cf594]: https://github.com/phcdevworks/spectre-shell-wordpress/commit/b5cf594
|
|
66
|
+
[e005b39]: https://github.com/phcdevworks/spectre-shell-wordpress/commit/e005b39
|
|
67
|
+
[417b4b4]: https://github.com/phcdevworks/spectre-shell-wordpress/commit/417b4b4
|
|
68
|
+
[6202054]: https://github.com/phcdevworks/spectre-shell-wordpress/commit/6202054
|
|
69
|
+
[1fb4ab3]: https://github.com/phcdevworks/spectre-shell-wordpress/commit/1fb4ab3
|
|
70
|
+
[8704a25]: https://github.com/phcdevworks/spectre-shell-wordpress/commit/8704a25
|
|
71
|
+
[4f8ddbb]: https://github.com/phcdevworks/spectre-shell-wordpress/commit/4f8ddbb
|
|
72
|
+
[7b5b0ad]: https://github.com/phcdevworks/spectre-shell-wordpress/commit/7b5b0ad
|
|
73
|
+
[b5cf594]: https://github.com/phcdevworks/spectre-shell-wordpress/commit/b5cf594
|
|
74
|
+
[e005b39]: https://github.com/phcdevworks/spectre-shell-wordpress/commit/e005b39
|
|
75
|
+
[417b4b4]: https://github.com/phcdevworks/spectre-shell-wordpress/commit/417b4b4
|
|
76
|
+
[6202054]: https://github.com/phcdevworks/spectre-shell-wordpress/commit/6202054
|
|
77
|
+
[1fb4ab3]: https://github.com/phcdevworks/spectre-shell-wordpress/commit/1fb4ab3
|
|
78
|
+
[8704a25]: https://github.com/phcdevworks/spectre-shell-wordpress/commit/8704a25
|
|
79
|
+
[4f8ddbb]: https://github.com/phcdevworks/spectre-shell-wordpress/commit/4f8ddbb
|
|
80
|
+
[7b5b0ad]: https://github.com/phcdevworks/spectre-shell-wordpress/commit/7b5b0ad
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
# Code of Conduct
|
|
2
|
+
|
|
3
|
+
## Our Pledge
|
|
4
|
+
|
|
5
|
+
We as members, contributors, and leaders pledge to make participation in the Spectre community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
|
|
6
|
+
|
|
7
|
+
We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
|
|
8
|
+
|
|
9
|
+
## Our Standards
|
|
10
|
+
|
|
11
|
+
Examples of behavior that contributes to a positive environment for our community include:
|
|
12
|
+
|
|
13
|
+
- Demonstrating empathy and kindness toward other people
|
|
14
|
+
- Being respectful of differing opinions, viewpoints, and experiences
|
|
15
|
+
- Giving and gracefully accepting constructive feedback
|
|
16
|
+
- Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
|
|
17
|
+
- Focusing on what is best not just for us as individuals, but for the overall community
|
|
18
|
+
|
|
19
|
+
Examples of unacceptable behavior include:
|
|
20
|
+
|
|
21
|
+
- The use of sexualized language or imagery, and sexual attention or advances of any kind
|
|
22
|
+
- Trolling, insulting or derogatory comments, and personal or political attacks
|
|
23
|
+
- Public or private harassment
|
|
24
|
+
- Publishing others' private information, such as a physical or email address, without their explicit permission
|
|
25
|
+
- Other conduct which could reasonably be considered inappropriate in a professional setting
|
|
26
|
+
|
|
27
|
+
## Enforcement Responsibilities
|
|
28
|
+
|
|
29
|
+
Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
|
|
30
|
+
|
|
31
|
+
Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
|
|
32
|
+
|
|
33
|
+
## Scope
|
|
34
|
+
|
|
35
|
+
This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
|
|
36
|
+
|
|
37
|
+
## Enforcement
|
|
38
|
+
|
|
39
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement via:
|
|
40
|
+
|
|
41
|
+
- GitHub Issues: [spectre-shell-wordpress/issues](https://github.com/phcdevworks/spectre-shell-wordpress/issues)
|
|
42
|
+
- Email: [Contact maintainers through GitHub](https://github.com/phcdevworks)
|
|
43
|
+
|
|
44
|
+
All complaints will be reviewed and investigated promptly and fairly.
|
|
45
|
+
|
|
46
|
+
All community leaders are obligated to respect the privacy and security of the reporter of any incident.
|
|
47
|
+
|
|
48
|
+
## Enforcement Guidelines
|
|
49
|
+
|
|
50
|
+
Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
|
|
51
|
+
|
|
52
|
+
### 1. Correction
|
|
53
|
+
|
|
54
|
+
**Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
|
|
55
|
+
|
|
56
|
+
**Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
|
|
57
|
+
|
|
58
|
+
### 2. Warning
|
|
59
|
+
|
|
60
|
+
**Community Impact**: A violation through a single incident or series of actions.
|
|
61
|
+
|
|
62
|
+
**Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
|
|
63
|
+
|
|
64
|
+
### 3. Temporary Ban
|
|
65
|
+
|
|
66
|
+
**Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
|
|
67
|
+
|
|
68
|
+
**Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
|
|
69
|
+
|
|
70
|
+
### 4. Permanent Ban
|
|
71
|
+
|
|
72
|
+
**Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
|
|
73
|
+
|
|
74
|
+
**Consequence**: A permanent ban from any sort of public interaction within the community.
|
|
75
|
+
|
|
76
|
+
## Attribution
|
|
77
|
+
|
|
78
|
+
This Code of Conduct is adapted from the [Contributor Covenant](https://www.contributor-covenant.org), version 2.1, available at [https://www.contributor-covenant.org/version/2/1/code_of_conduct.html](https://www.contributor-covenant.org/version/2/1/code_of_conduct.html).
|
|
79
|
+
|
|
80
|
+
Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
|