Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/metarhia/Metarhia
Browse files Browse the repository at this point in the history
  • Loading branch information
leonpolak committed Dec 2, 2022
2 parents 8cd1e0f + f014cf0 commit 3b82ee7
Show file tree
Hide file tree
Showing 25 changed files with 1,946 additions and 31 deletions.
12 changes: 12 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# http://editorconfig.org
root = true

[*]
end_of_line = lf
charset = utf-8
insert_final_newline = true
trim_trailing_whitespace = true

[{*.js,*.mjs,*.ts,*.json,*.yml}]
indent_size = 2
indent_style = space
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules/
11 changes: 11 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"extends": ["metarhia", "plugin:prettier/recommended"],
"env": {
"browser": true,
"es6": true,
"node": true
},
"parserOptions": {
"ecmaVersion": "latest"
}
}
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* -text
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
patreon: tshemsedinov
53 changes: 53 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: 🐞 Bug report
description: Create a report to help us improve
labels: [bug]
body:
- type: textarea
attributes:
label: Describe the problem
description: A clear and concise description of what the problem is.
validations:
required: true
- type: textarea
attributes:
label: Describe the solution
description: A clear and concise description of the solution you'd like to have.
- type: textarea
attributes:
label: Alternatives
description: A clear and concise description of any alternative solutions or features you've considered.
- type: textarea
attributes:
label: Additional context
description: Add any other context about the problem here.
body:
- type: input
attributes:
label: Impress and Node.js versions
description: see `package.json` and run `node -v`
- type: input
attributes:
label: Platform
description: output of `uname -a`
- type: textarea
attributes:
label: Describe the bug
description: A clear and concise description of what the bug is.
validations:
required: true
- type: textarea
attributes:
label: To Reproduce
description: Steps to reproduce the behavior. Usage example or test.
- type: textarea
attributes:
label: Expected behavior
description: A clear and concise description of what you expected.
- type: textarea
attributes:
label: Screenshots
description: If applicable, add screenshots to help explain your problem.
- type: textarea
attributes:
label: Additional context
description: Add any other context about the problem here.
22 changes: 22 additions & 0 deletions .github/ISSUE_TEMPLATE/feature-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: 💡 Feature request
description: Suggest an idea for this project
labels: [bug]
body:
- type: textarea
attributes:
label: Describe the problem
description: A clear and concise description of what the problem is.
validations:
required: true
- type: textarea
attributes:
label: Describe the solution
description: A clear and concise description of the solution you'd like to have.
- type: textarea
attributes:
label: Alternatives
description: A clear and concise description of any alternative solutions or features you've considered.
- type: textarea
attributes:
label: Additional context
description: Add any other context about the problem here.
17 changes: 17 additions & 0 deletions .github/ISSUE_TEMPLATE/question.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
name: ❓ Question
about: Please don't open an issue to ask questions
---

Issues on GitHub are intended to be related to problems and feature requests
so we recommend not using this medium to ask them here grin. Thanks for
understanding!

If you have a question, please check out our support groups and channels for
developers community:

Telegram:

- Channel for Metarhia community: https://t.me/metarhia
- Group for Metarhia technology stack community: https://t.me/metaserverless
- Group for NodeUA community: https://t.me/nodeua
11 changes: 11 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!--
Thank you for your pull request.
Check following steps to help us land your changes:
Change [ ] to [x] for completed items.
-->

- [ ] tests and linter show no problems (`npm t`)
- [ ] tests are added/updated for bug fixes and new features
- [ ] code is properly formatted (`npm run fmt`)
- [ ] description of changes is added in CHANGELOG.md
- [ ] update .d.ts typings
33 changes: 33 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Testing CI

on: pull_request

jobs:
build:
runs-on: ${{ matrix.os }}

strategy:
matrix:
node:
- 14
- 16
- 18
os:
- ubuntu-latest
- windows-latest
- macos-latest

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: npm ci
- run: npm test
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
node_modules
/log/
*.log
*.pem
*.done
.DS_Store
6 changes: 6 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
node_modules
/log/
*.log
*.pem
*.done
.DS_Store
2 changes: 1 addition & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"singleQuote": true,
"trailingComma": "es5",
"trailingComma": "all",
"overrides": [
{
"files": ".prettierrc",
Expand Down
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2012-2022 Metarhia contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Binary file added Logos/metaconf.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions Logos/metaconf.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 0 additions & 16 deletions Logos/metarhia-community.svg

This file was deleted.

2 changes: 1 addition & 1 deletion doc/maintainers.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
| [`metarhia/sql`][] | [`@metarhia/sql`][] | [lundibundi][] |
| [`metarhia/tickplate`][] | [`tickplate`][] | [tshemsedinov][] |
| [`metarhia/tools`][] | [`@metarhia/tools`][] | [belochub][] |
| [`metarhia/config`][] | [`@metarhia/config`][] | [tshemsedinov][] |
| [`metarhia/config`][] | [`@metarhia/config`][] | [tshemsedinov][] |

[`metarhia/metarhia`]: https://github.com/metarhia/Metarhia
[`metarhia/common`]: https://github.com/metarhia/common
Expand Down
1 change: 1 addition & 0 deletions labels/make-preview.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env node
'use strict';

const labels = require('./labels.json');
const fs = require('fs');
Expand Down
4 changes: 1 addition & 3 deletions metarhia.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
'use strict';

var metarhia = {};
const metarhia = {};
module.exports = metarhia;

// place code here
Loading

0 comments on commit 3b82ee7

Please sign in to comment.