-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: added documentation for all sections
This is a major change in our guidelines, where now there are multiple sections, that include not only a simple technology list, or project liting, but an extensive guide on the methodology for contribution, the styling we use and more.
- Loading branch information
Showing
50 changed files
with
2,309 additions
and
813 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,19 @@ | ||
# http://editorconfig.org | ||
|
||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
indent_style = space | ||
indent_size = 4 | ||
end_of_line = lf | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false | ||
|
||
# Use 2 spaces since npm does not respect custom indentation settings | ||
[package.json] | ||
indent_style = space | ||
indent_size = 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
#!/usr/bin/env sh | ||
|
||
# Load husky | ||
. "$(dirname -- "$0")/_/husky.sh"; | ||
|
||
# Read parameters | ||
# NOTHING TO READ HERE | ||
|
||
# Set failing on command fail, pipe fail, and undefined variable use | ||
set -euo pipefail | ||
|
||
# This hook is invoked by git-commit, and can be bypassed with the | ||
# --no-verify option. It takes no parameters, and is invoked before | ||
# obtaining the proposed commit log message and making a commit. | ||
# Exiting with a non-zero status from this script causes the git | ||
# commit command to abort before creating a commit. | ||
|
||
# The default pre-commit hook, when enabled, catches introduction of | ||
# lines with trailing whitespaces and aborts the commit when such a | ||
# line is found. | ||
|
||
# All the git commit hooks are invoked with the environment variable | ||
# GIT_EDITOR=: if the command will not bring up an editor to modify | ||
# the commit message. | ||
|
||
# The default pre-commit hook, when enabled and with the hooks.allownonascii | ||
# config option unset or set to false prevents the use of non-ASCII filenames. | ||
|
||
# We currently use this hook to update the changelog of the project | ||
# and make sure all files are prettified before sending them to the commit. | ||
# Generated files are added to the commit. | ||
|
||
# Show welcome message | ||
echo "**************************"; | ||
echo "Running pre commit hooks"; | ||
echo "**************************"; | ||
echo ""; | ||
|
||
# Run prettify | ||
echo "Run prettify\n"; | ||
npx --no -- gobstones-scripts run prettify --silent ; | ||
|
||
# Run changelog | ||
echo "\nRun changelog\n"; | ||
npx --no gobstones-scripts run changelog --silent ; | ||
|
||
# Add all generated files | ||
echo "\nAdd generated files to commit\n"; | ||
git add --all; | ||
|
||
# Exit | ||
exit 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Editor and style files | ||
.editorconfig | ||
.prettierignore | ||
.prettierrc | ||
.eslintrc.js | ||
.vscode/* | ||
.github/* | ||
.husky/* | ||
|
||
# tests | ||
test/* | ||
jest.config.js | ||
coverage | ||
|
||
# docs | ||
docs | ||
|
||
# Building Configuration Files | ||
webpack.config.js | ||
rollup.config.js | ||
tsconfig.json | ||
package-scripts.js | ||
|
||
# Additional documentation | ||
TODO.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
strict-peer-dependencies=false | ||
auto-install-peers=false | ||
legacy-peer-deps=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"recommendations": [ | ||
"streetsidesoftware.code-spell-checker", | ||
"editorconfig.editorconfig", | ||
"esbenp.prettier-vscode" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
// Use IntelliSense to learn about possible Node.js debug attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "Run Dev (npm run dev)", | ||
"request": "launch", | ||
"runtimeArgs": ["run-script", "dev"], | ||
"runtimeExecutable": "npm", | ||
"skipFiles": ["<node_internals>/**"], | ||
"type": "node" | ||
}, | ||
{ | ||
"name": "Test (npm run test)", | ||
"request": "launch", | ||
"runtimeArgs": ["run-script", "test"], | ||
"runtimeExecutable": "npm", | ||
"skipFiles": ["<node_internals>/**"], | ||
"type": "node" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
// Node and npm configuration | ||
"npm.autoDetect": "on", | ||
"debug.node.autoAttach": "smart", | ||
"files.exclude": { | ||
"tsconfig.build.json": true | ||
}, | ||
// Code style, regular and ESLint related | ||
"files.trimTrailingWhitespace": true, | ||
"editor.defaultFormatter": "esbenp.prettier-vscode", | ||
"eslint.validate": ["typescript"], | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll": "explicit" | ||
}, | ||
"editor.formatOnSave": false, | ||
// CSpell | ||
"cSpell.words": [] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# [0.1.0](https://github.com/gobstones/gobstones-guidelines/compare/v0.0.1...v0.1.0) (2024-02-02) | ||
|
||
|
||
### Build System | ||
|
||
* transform the guideline into a webpage ([83653ff](https://github.com/gobstones/gobstones-guidelines/commit/83653ffad470464d161885dfdd2d80427544b0ea)) | ||
|
||
|
||
### BREAKING CHANGES | ||
|
||
* The whole project structure has changed. | ||
|
||
|
||
|
||
# [0.1.0](https://github.com/gobstones/gobstones-guidelines/compare/v0.0.1...v0.1.0) (2024-02-02) | ||
|
||
|
||
### Build System | ||
|
||
* transform the guideline into a webpage ([83653ff](https://github.com/gobstones/gobstones-guidelines/commit/83653ffad470464d161885dfdd2d80427544b0ea)) | ||
|
||
|
||
### BREAKING CHANGES | ||
|
||
* The whole project structure has changed. | ||
|
||
|
||
|
||
## 0.0.1 (2022-10-26) | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Contibution Guidelines | ||
|
||
Please, before contributing to this project, take a moment to read our [Contributions Guidelines](https://github.com/gobstones/gobstones-guidelines). | ||
|
||
Also, be sure to understand that by contributing you agree to allow | ||
the project owners to license your work under the terms of our | ||
[License](https://github.com/gobstones/gobstones-guidelines/blob/main/LICENSE). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.