Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
adam_unchained committed Jun 12, 2023
1 parent c85b11a commit ff355fd
Show file tree
Hide file tree
Showing 1,463 changed files with 327,345 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .browserslistrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
# For additional information regarding the format and rule options, please see:
# https://github.com/browserslist/browserslist#queries

# For the full list of supported browsers by the Angular framework, please see:
# https://angular.io/guide/browser-support

# You can see what browsers were selected by your queries by running:
# npx browserslist

last 1 Chrome version
last 1 Firefox version
last 2 Edge major versions
last 2 Safari major versions
last 2 iOS major versions
Firefox ESR
not IE 11 # Angular supports IE 11 only as an opt-in. To opt-in, remove the 'not' prefix on this line.
5 changes: 5 additions & 0 deletions .commitlintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"extends": [
"@commitlint/config-conventional"
]
}
16 changes: 16 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Editor configuration, see https://editorconfig.org
root = true

[*]
charset = utf-8
indent_style = space
indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true

[*.ts]
quote_type = single

[*.md]
max_line_length = off
trim_trailing_whitespace = false
5 changes: 5 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
node_modules/*
package.json
package-lock.json
yarn.lock
dist
127 changes: 127 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
{
"root": true,
"overrides": [
{
"files": ["*.js"],
"parserOptions": {
"ecmaVersion": 2018
}
},
{
"files": ["*.ts"],
"parserOptions": {
"project": ["tsconfig.app.json"],
"createDefaultProgram": true
},
"extends": [
"eslint:recommended",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:import/typescript",
"google",
"plugin:@angular-eslint/recommended",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".jsx", ".ts", ".tsx"]
}
}
},
"rules": {
"@angular-eslint/component-class-suffix": [
"error",
{
"suffixes": ["Component", "Page"]
}
],
"@angular-eslint/directive-selector": [
"error",
{ "type": "attribute", "prefix": "wen", "style": "camelCase" }
],
"@angular-eslint/component-selector": [
"error",
{ "type": "element", "prefix": "wen", "style": "kebab-case" }
],
"@angular-eslint/contextual-decorator": [2],
"@angular-eslint/contextual-lifecycle": [2],
"@angular-eslint/no-attribute-decorator": [2],
"@angular-eslint/no-lifecycle-call": [2],
"@angular-eslint/no-output-native": [2],
"@angular-eslint/prefer-on-push-component-change-detection": [2],
"@angular-eslint/use-injectable-provided-in": [2],
"@angular-eslint/use-lifecycle-interface": [2],
"new-cap": [
"error",
{
"capIsNew": true,
"capIsNewExceptions": [
"UntilDestroy",
"Directive",
"HostBinding",
"HostListener",
"Injectable",
"Input",
"NgModule",
"Output",
"Pipe",
"ViewChild",
"ViewChildren",
"Component",
"Inject",
"MockComponent",
"MockProvider",
"MockModule"
],
"newIsCap": true,
"properties": true
}
],
"@typescript-eslint/no-explicit-any": 1,
"@typescript-eslint/no-non-null-assertion": 0,
"import/no-unresolved": 0,
"valid-jsdoc": 0,
"indent": 0,
"no-invalid-this": 2,
"use-isnan": 2,
"@typescript-eslint/await-thenable": 2,
"@typescript-eslint/no-misused-new": 2,
"@typescript-eslint/no-use-before-define": 2,
"keyword-spacing": 0,
"space-before-blocks": 2,
"space-before-function-paren": 0,
"@typescript-eslint/type-annotation-spacing": 2,
"comma-spacing": 2,
"quotes": [2, "single", { "allowTemplateLiterals": true }],
"no-multi-spaces": 2,
"no-multiple-empty-lines": 2,
"@typescript-eslint/prefer-enum-initializers": 2,
"@typescript-eslint/member-delimiter-style": 2,
"@typescript-eslint/ban-ts-comment": 1,
// "@typescript-eslint/member-ordering": 2,
// "@typescript-eslint/restrict-plus-operands": 2,
// "@typescript-eslint/no-unnecessary-condition": 2,
// Disabled for now.
"require-jsdoc": 0 // ["error", {
// "require": {
// "FunctionDeclaration": true,
// "MethodDefinition": true,
// "ClassDeclaration": true,
// "ArrowFunctionExpression": true,
// "FunctionExpression": true
// }
// }]
}
},
{
"files": ["*.html"],
"extends": ["plugin:@angular-eslint/template/recommended"]
},
{
"files": ["*.component.ts"],
"extends": ["plugin:@angular-eslint/template/process-inline-templates"]
}
]
}
26 changes: 26 additions & 0 deletions .firebaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"projects": {
"default": "soonaverse",
"preview": "soonaverse-test",
"dev": "soonaverse-dev"
},
"targets": {
"soonaverse": {
"hosting": {
"5d1024cf-d55e-4b10-9d27-eccc37e80161": [
"5d1024cf-d55e-4b10-9d27-eccc37e80161"
],
"def-host": [
"soonaverse"
]
}
},
"soonaverse-test": {
"hosting": {
"def-host": [
"soonaverse-test"
]
}
}
}
}
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
legacy-peer-deps=true
7 changes: 7 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/dist
coverage
**/src/**/files
lib
**/lib
**/node_modules
.angular
57 changes: 57 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# Contributing to Soonaverse

We want to make contributing to this project as easy and transparent as possible, whether it's:

- Reporting a bug
- Discussing the current state of the code
- Submitting a fix
- Proposing new features
- Becoming a maintainer

## We Develop with Github

We use github to host code, to track issues and feature requests, as well as accept pull requests.

## We Use [Github Flow](https://guides.github.com/introduction/flow/index.html), So All Code Changes Happen Through Pull Requests

Pull requests are the best way to propose changes to the codebase (we use [Github Flow](https://guides.github.com/introduction/flow/index.html)). We actively welcome your pull requests:

1. Fork the repo and create your branch from `develop`.
2. If you've added code that should be tested, add tests.
3. If you've changed APIs, update the documentation.
4. Ensure the test suite passes.
5. Make sure your code lints.
6. Submit the pull request picking "develop" as the base branch.

## Any contributions you make will be under the MIT Software License

In short, when you submit code changes, your submissions are understood to be under the same [MIT License](http://choosealicense.com/licenses/mit/) that covers the project. Feel free to contact the maintainers if that's a concern.

## Report bugs using Github's [issues](https://github.com/soonaverse/soonaverse/issues)

We use GitHub issues to track public bugs. Report a bug by [opening a new issue](https://docs.github.com/en/github/managing-your-work-on-github/creating-an-issue)

## Write bug reports with detail, background, and sample code

**Great Bug Reports** tend to have:

- A quick summary and/or background
- Steps to reproduce
- Be specific!
- Give sample code if you can.
- What you expected would happen
- What actually happens
- Notes (possibly including why you think this might be happening, or stuff you tried that didn't work)

## Use a Consistent Coding Style

- 2 spaces for indentation rather than tabs
- You can try running `npm run lint` for style unification

## License

By contributing, you agree that your contributions will be licensed under its MIT License.

## References

This document was adapted from the open-source contribution guidelines for [Facebook's Draft](https://github.com/facebook/draft-js/blob/a9316a723f9e918afde44dea68b5f9f39b7d9b00/CONTRIBUTING.md)
Loading

0 comments on commit ff355fd

Please sign in to comment.