Skip to content

Commit bcfa554

Browse files
committed
Initial commit
1 parent 8b2cccd commit bcfa554

File tree

11 files changed

+4311
-0
lines changed

11 files changed

+4311
-0
lines changed

.editorconfig

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
################################################
2+
# ╔═╗╔╦╗╦╔╦╗╔═╗╦═╗┌─┐┌─┐┌┐┌┌─┐┬┌─┐
3+
# ║╣ ║║║ ║ ║ ║╠╦╝│ │ ││││├┤ ││ ┬
4+
# o╚═╝═╩╝╩ ╩ ╚═╝╩╚═└─┘└─┘┘└┘└ ┴└─┘
5+
#
6+
# > Formatting conventions for your Sails app.
7+
#
8+
# This file (`.editorconfig`) exists to help
9+
# maintain consistent formatting throughout the
10+
# files in your Sails app.
11+
#
12+
# For the sake of convention, the Sails team's
13+
# preferred settings are included here out of the
14+
# box. You can also change this file to fit your
15+
# team's preferences (for example, if all of the
16+
# developers on your team have a strong preference
17+
# for tabs over spaces),
18+
#
19+
# To review what each of these options mean, see:
20+
# http://editorconfig.org/
21+
#
22+
################################################
23+
root = true
24+
25+
[*]
26+
indent_style = space
27+
indent_size = 2
28+
end_of_line = lf
29+
charset = utf-8
30+
trim_trailing_whitespace = true
31+
insert_final_newline = true
32+
33+
[{Makefile,**.mk}]
34+
# Use tabs for indentation (Makefiles require tabs)
35+
indent_style = tab
36+
indent_size = 2

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text=auto eol=lf

.github/dependabot.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
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 all configuration options:
4+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5+
6+
version: 2
7+
updates:
8+
# Maintain dependencies for GitHub Actions
9+
- package-ecosystem: "github-actions"
10+
directory: "/"
11+
schedule:
12+
interval: "weekly"
13+
14+
# Maintain dependencies for npm
15+
- package-ecosystem: "npm"
16+
directory: "/"
17+
schedule:
18+
interval: "weekly"
19+
20+
# Maintain dependencies for Docker
21+
- package-ecosystem: "docker"
22+
directory: "/"
23+
schedule:
24+
interval: "weekly"

.github/workflows/coverage.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Code Coverage
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-latest
9+
10+
strategy:
11+
matrix:
12+
os: [
13+
"windows-latest",
14+
"ubuntu-latest",
15+
"macOS-latest"
16+
]
17+
node-version: [16.x, 18.x, 19.x]
18+
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
19+
20+
steps:
21+
- name: Checkout repository
22+
uses: actions/checkout@v2
23+
24+
- name: Set up Node.js ${{ matrix.node-version }}
25+
uses: actions/setup-node@v1
26+
with:
27+
node-version: ${{ matrix.node-version }}
28+
29+
- name: Install dependencies
30+
run: npm install
31+
32+
- name: Run the tests
33+
run: npm test -- --coverage

.gitignore

Lines changed: 171 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,171 @@
1+
###############################################################################
2+
# General
3+
###############################################################################
4+
.env
5+
*.env
6+
7+
###############################################################################
8+
# https://github.com/github/gitignore/blob/main/Global/macOS.gitignore
9+
###############################################################################
10+
11+
.DS_Store
12+
.AppleDouble
13+
.LSOverride
14+
15+
# Icon must end with two \r
16+
Icon
17+
18+
# Thumbnails
19+
._*
20+
21+
###############################################################################
22+
# https://github.com/github/gitignore/blob/main/Node.gitignore
23+
###############################################################################
24+
# Logs
25+
logs
26+
*.log
27+
npm-debug.log*
28+
yarn-debug.log*
29+
yarn-error.log*
30+
lerna-debug.log*
31+
.pnpm-debug.log*
32+
33+
# Diagnostic reports (https://nodejs.org/api/report.html)
34+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
35+
36+
# Runtime data
37+
pids
38+
*.pid
39+
*.seed
40+
*.pid.lock
41+
42+
# Directory for instrumented libs generated by jscoverage/JSCover
43+
lib-cov
44+
45+
# Coverage directory used by tools like istanbul
46+
coverage
47+
*.lcov
48+
49+
# nyc test coverage
50+
.nyc_output
51+
52+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
53+
.grunt
54+
55+
# Bower dependency directory (https://bower.io/)
56+
bower_components
57+
58+
# node-waf configuration
59+
.lock-wscript
60+
61+
# Compiled binary addons (https://nodejs.org/api/addons.html)
62+
build/Release
63+
64+
# Dependency directories
65+
node_modules/
66+
jspm_packages/
67+
68+
# Snowpack dependency directory (https://snowpack.dev/)
69+
web_modules/
70+
71+
# TypeScript cache
72+
*.tsbuildinfo
73+
74+
# Optional npm cache directory
75+
.npm
76+
77+
# Optional eslint cache
78+
.eslintcache
79+
80+
# Optional stylelint cache
81+
.stylelintcache
82+
83+
# Microbundle cache
84+
.rpt2_cache/
85+
.rts2_cache_cjs/
86+
.rts2_cache_es/
87+
.rts2_cache_umd/
88+
89+
# Optional REPL history
90+
.node_repl_history
91+
92+
# Output of 'npm pack'
93+
*.tgz
94+
95+
# Yarn Integrity file
96+
.yarn-integrity
97+
98+
# dotenv environment variable files
99+
.env
100+
.env.development.local
101+
.env.test.local
102+
.env.production.local
103+
.env.local
104+
105+
# parcel-bundler cache (https://parceljs.org/)
106+
.cache
107+
.parcel-cache
108+
109+
# Next.js build output
110+
.next
111+
out
112+
113+
# Nuxt.js build / generate output
114+
.nuxt
115+
dist
116+
117+
# Gatsby files
118+
.cache/
119+
# Comment in the public line in if your project uses Gatsby and not Next.js
120+
# https://nextjs.org/blog/next-9-1#public-directory-support
121+
# public
122+
123+
# vuepress build output
124+
.vuepress/dist
125+
126+
# vuepress v2.x temp and cache directory
127+
.temp
128+
.cache
129+
130+
# Docusaurus cache and generated files
131+
.docusaurus
132+
133+
# Serverless directories
134+
.serverless/
135+
136+
# FuseBox cache
137+
.fusebox/
138+
139+
# DynamoDB Local files
140+
.dynamodb/
141+
142+
# TernJS port file
143+
.tern-port
144+
145+
# Stores VSCode versions used for testing VSCode extensions
146+
.vscode-test
147+
148+
# yarn v2
149+
.yarn/cache
150+
.yarn/unplugged
151+
.yarn/build-state.yml
152+
.yarn/install-state.gz
153+
.pnp.*
154+
155+
###############################################################################
156+
# https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
157+
###############################################################################
158+
159+
.vscode/*
160+
!.vscode/settings.json
161+
!.vscode/tasks.json
162+
!.vscode/launch.json
163+
!.vscode/extensions.json
164+
!.vscode/*.code-snippets
165+
166+
# Local History for Visual Studio Code
167+
.history/
168+
169+
# Built Visual Studio Code Extensions
170+
*.vsix
171+

0 commit comments

Comments
 (0)