Skip to content

Commit

Permalink
Add basic files
Browse files Browse the repository at this point in the history
  • Loading branch information
acidicMercury8 committed Jul 15, 2024
1 parent d6d3710 commit 86321ee
Show file tree
Hide file tree
Showing 17 changed files with 1,567 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"name": "Setup Ninja",
"image": "mcr.microsoft.com/devcontainers/javascript-node:1-20-bookworm",
"postCreateCommand": "npm install",
"features": {
"ghcr.io/devcontainers/features/github-cli:1": {},
"ghcr.io/devcontainers-contrib/features/prettier:1": {}
},
"customizations": {
"codespaces": {
"openFiles": ["README.md"]
},
"vscode": {
"extensions": [
"EditorConfig.EditorConfig",
"DavidAnson.vscode-markdownlint",
"redhat.vscode-yaml",
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode"
],
"settings": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"redhat.telemetry.enabled": false
}
}
}
}
19 changes: 19 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Global attributes for forcing line endings normalization of specific files

* text=auto

# Generated files
dist/** -diff linguist-generated=true

# Configs
.gitattributes text eol=lf encoding=utf-8
.gitignore text eol=lf encoding=utf-8
*.json text eol=lf encoding=utf-8
*.yml text eof=lf encoding=utf-8
*.yaml text eof=lf encoding=utf-8

# Sources
*.js text eol=lf encoding=utf-8

# Documents
*.md text eol=crlf encoding=utf-8
2 changes: 2 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Default assignment
* @acidicMercury8
31 changes: 31 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
version: 2

updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
target-branch: default
groups:
actions-minor:
update-types:
- minor
- patch
ignore:
- dependency-name: 'imesense/gha-setup-conan*'

- package-ecosystem: npm
directory: /
schedule:
interval: weekly
target-branch: "develop"
groups:
npm-development:
dependency-type: development
update-types:
- minor
- patch
npm-production:
dependency-type: production
update-types:
- patch
12 changes: 12 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Global ignoring of different binaries and another temporary files

# Dependencies
node_modules/

# Logs
logs
*.log
npm-debug.log*

# macOS cache
.DS_Store
2 changes: 2 additions & 0 deletions .markdownlint-cli2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ignores:
- ".github/**.md"
1 change: 1 addition & 0 deletions .node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20.15.0
7 changes: 7 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Global ignoring of different binaries and another temporary files

# Generated files
dist/

# Dependencies
node_modules/
32 changes: 32 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"tabWidth": 4,
"useTabs": false,
"printWidth": 100,
"semi": true,
"trailingComma": "none",
"arrowParens": "always",
"endOfLine": "lf",
"overrides": [
{
"files": ["package*.json"],
"options": {
"tabWidth": 2
}
},
{
"files": ["*.yml", "*.yaml"],
"options": {
"tabWidth": 2,
"singleQuote": true
}
},
{
"files": ["*.js"],
"options": {
"tabWidth": 4,
"plugins": ["prettier-plugin-brace-style"],
"braceStyle": "allman"
}
}
]
}
9 changes: 9 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"recommendations": [
"EditorConfig.EditorConfig",
"DavidAnson.vscode-markdownlint",
"redhat.vscode-yaml",
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode"
]
}
4 changes: 4 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"editor.defaultFormatter": "esbenp.prettier-vscode",
"redhat.telemetry.enabled": false
}
12 changes: 12 additions & 0 deletions SetupConan.code-workspace
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"folders": [
{
"name": "Setup Conan",
"path": "."
}
],
"settings": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"redhat.telemetry.enabled": false
}
}
17 changes: 17 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: 'Setup Conan'
description: 'Action for installing and configuring Conan package manager to PATH of the runner'
author: 'acidicMercury8'

inputs:
input-string:
description: 'Input string'
required: true
default: 'input'

outputs:
output-string:
description: 'Output string'

runs:
using: node20
main: dist/index.js
5 changes: 5 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export default [
{
ignores: ["dist/**", "node_modules/**"]
}
];
Loading

0 comments on commit 86321ee

Please sign in to comment.