-
-
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.
Added information on documentation
- Loading branch information
ADMSK\AVROGAL1
committed
Mar 18, 2021
1 parent
9b0b281
commit ee668cd
Showing
13 changed files
with
315 additions
and
9 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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
component_depth: 6 | ||
default_excludes: true | ||
languages: | ||
- javascript | ||
- typescript |
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,51 @@ | ||
codecov: | ||
notify: | ||
wait_for_ci: false | ||
require_ci_to_pass: true | ||
strict_yaml_branch: master | ||
branch: master | ||
|
||
coverage: | ||
precision: 2 | ||
round: down | ||
range: '70...100' | ||
|
||
status: | ||
project: | ||
default: | ||
base: auto | ||
informational: true | ||
target: 95% | ||
threshold: 1% | ||
patch: | ||
default: | ||
informational: true | ||
target: 80% | ||
threshold: 1% | ||
changes: no | ||
|
||
notify: | ||
# Wait for reasonable amount of tests to complete before | ||
# reporting coverage | ||
after_n_builds: 8 | ||
|
||
ignore: | ||
- '**/generated/**' | ||
- 'standalone' | ||
- 'test' | ||
|
||
parsers: | ||
gcov: | ||
branch_detection: | ||
conditional: yes | ||
loop: yes | ||
method: no | ||
macro: no | ||
|
||
comment: | ||
layout: 'header, reach, diff, flags, files, footer' | ||
behavior: default | ||
require_changes: false | ||
require_base: false | ||
require_head: true | ||
branches: master |
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,37 @@ | ||
name-template: "v$RESOLVED_VERSION" | ||
tag-template: "v$RESOLVED_VERSION" | ||
template: | | ||
# Changelog | ||
$CHANGES | ||
See details of [all code changes](https://github.com/AlexRogalskiy/stylegrams/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION) since previous release | ||
categories: | ||
- title: "🚀 Features" | ||
labels: | ||
- "feature" | ||
- "enhancement" | ||
- title: "🐛 Bug Fixes" | ||
labels: | ||
- "fix" | ||
- "bugfix" | ||
- "bug" | ||
- title: "🧰 Maintenance" | ||
labels: | ||
- "infrastructure" | ||
- "automation" | ||
- "documentation" | ||
- title: "🏎 Performance" | ||
label: "performance" | ||
change-template: "- $TITLE @$AUTHOR (#$NUMBER)" | ||
version-resolver: | ||
major: | ||
labels: | ||
- "type: breaking" | ||
minor: | ||
labels: | ||
- "type: enhancement" | ||
patch: | ||
labels: | ||
- "type: bug" | ||
- "type: maintenance" | ||
- "type: documentation" | ||
default: patch |
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 |
---|---|---|
@@ -1,5 +1,33 @@ | ||
{ | ||
"extends": [ | ||
"@commitlint/config-conventional" | ||
] | ||
], | ||
"rules": { | ||
"type-enum": [ | ||
2, | ||
"always", | ||
[ | ||
"build", | ||
"bot", | ||
"cassandra", | ||
"ceph", | ||
"ci", | ||
"cockroachdb", | ||
"core", | ||
"docs", | ||
"edgefs", | ||
"nfs", | ||
"test", | ||
"yugabytedb" | ||
] | ||
], | ||
"body-leading-blank": [ | ||
2, | ||
"always" | ||
], | ||
"footer-leading-blank": [ | ||
2, | ||
"always" | ||
] | ||
} | ||
} |
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,19 @@ | ||
# https://github.com/marketplace/actions/release-drafter | ||
name: Release Drafter | ||
# The branches to listen for configuration updates to .github/release-drafter.yml and for merge commits. | ||
# Default is the repository’s default branch. | ||
on: | ||
push: | ||
branches: | ||
- development | ||
|
||
jobs: | ||
Drafter: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Release Drafter | ||
uses: release-drafter/release-drafter@v5.7.0 | ||
with: | ||
config-name: ./.github/release-drafter.yml | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }} |
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,53 @@ | ||
#!/bin/echo docker build . -f | ||
# -*- coding: utf-8 -*- | ||
|
||
FROM gitpod/workspace-full:latest | ||
|
||
ARG BUILD_DATE="$(git rev-parse --short HEAD)" | ||
ARG VCS_REF="$(date -u +\"%Y-%m-%dT%H:%M:%SZ\")" | ||
ARG VERSION="1.0.0" | ||
|
||
LABEL maintainer="Alexander Rogalskiy <hi@nullables.io>" | ||
LABEL organization="nullables.io" | ||
LABEL io.nullables.api.playground.image.build-date=$BUILD_DATE | ||
LABEL io.nullables.api.playground.image.name="StyleGrams" | ||
LABEL io.nullables.api.playground.image.description="Styled infographics" | ||
LABEL io.nullables.api.playground.image.url="https://nullables.io/" | ||
LABEL io.nullables.api.playground.image.vcs-ref=$VCS_REF | ||
LABEL io.nullables.api.playground.image.vcs-url="https://github.com/AlexRogalskiy/stylegrams" | ||
LABEL io.nullables.api.playground.image.vendor="Nullables.io" | ||
LABEL io.nullables.api.playground.image.version=$VERSION | ||
|
||
ENV LC_ALL en_US.UTF-8 | ||
ENV LANG ${LC_ALL} | ||
ENV HOME /home/gitpod | ||
|
||
# Define a constant with the working directory | ||
ARG USER_HOME_DIR="/root" | ||
|
||
RUN apt-get update && \ | ||
apt-get -y install \ | ||
libgtkextra-dev \ | ||
libgconf2-dev \ | ||
libnss3 \ | ||
libasound2 \ | ||
libxtst-dev \ | ||
libxss1 \ | ||
libxss-dev \ | ||
software-properties-common \ | ||
build-essential \ | ||
xvfb \ | ||
curl \ | ||
libgtk-3-0 \ | ||
unzip | ||
|
||
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - | ||
RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list | ||
|
||
RUN curl -sL https://deb.nodesource.com/setup_10.x | bash - | ||
|
||
RUN apt-get update && apt-get -y install yarn nodejs | ||
|
||
USER gitpod | ||
|
||
WORKDIR $HOME |
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 @@ | ||
github: | ||
prebuilds: | ||
# enable for the master/default branch (defaults to true) | ||
master: true | ||
# enable for all branches in this repo (defaults to false) | ||
branches: true | ||
# add a "Review in Gitpod" button as a comment to pull requests (defaults to false) | ||
addComment: false | ||
# add a "Review in Gitpod" button to the pull request's description (defaults to false) | ||
addBadge: false | ||
# add a label once the prebuild is ready to pull requests (defaults to false) | ||
addLabel: false | ||
# enable for pull requests coming from this repo (defaults to true) | ||
pullRequests: true | ||
# enable for pull requests coming from forks (defaults to false) | ||
pullRequestsFromForks: true | ||
# add a check to pull requests (defaults to true) | ||
addCheck: true | ||
|
||
tasks: | ||
- before: yarn --version | ||
command: yarn install && yarn run all && yarn run test:all | ||
|
||
image: | ||
file: .gitpod.Dockerfile |
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,39 @@ | ||
# Configuration file for Mega-Linter | ||
# See all available variables at https://nvuillam.github.io/mega-linter/configuration/ and in linters documentation | ||
|
||
APPLY_FIXES: all # When active, APPLY_FIXES must also be defined as environment variable (in github/workflows/mega-linter.yml or other CI tool) | ||
# ENABLE: # If you use ENABLE variable, all other languages/formats/tooling formats will be disabled by default | ||
# ENABLE_LINTERS: # If you use ENABLE_LINTERS variable, all other linters will be disabled by default | ||
ENABLE: | ||
- DOCKERFILE | ||
- MARKDOWN | ||
- YAML | ||
- TYPESCRIPT | ||
- JAVASCRIPT | ||
- JSON | ||
- EDITORCONFIG | ||
DISABLE_LINTERS: | ||
- JAVASCRIPT_STANDARD | ||
- TYPESCRIPT_STANDARD | ||
FILTER_REGEX_EXCLUDE: '(\.automation/test|\.automation/generated|docs/javascripts|docs/overrides|docs/json-schemas|flavors|clj-kondo|TEMPLATES)' | ||
YAML_YAMLLINT_FILTER_REGEX_EXCLUDE: '(templates/\.mega-linter\.yml)' | ||
YAML_PRETTIER_FILTER_REGEX_EXCLUDE: '(templates/\.mega-linter\.yml|mkdocs\.yml)' | ||
YAML_V8R_FILTER_REGEX_EXCLUDE: '(descriptors|templates/\.mega-linter\.yml)' | ||
BASH_FILTER_REGEX_EXCLUDE: '(lib)' | ||
MARKDOWN_FILTER_REGEX_EXCLUDE: '(license\.md)' | ||
MARKDOWN_MARKDOWN_LINK_CHECK_DISABLE_ERRORS: true | ||
SPELL_MISSPELL_FILTER_REGEX_EXCLUDE: '(\.automation/generated|docs/descriptors)' | ||
DOCKERFILE_HADOLINT_ARGUMENTS: | ||
'--ignore DL3003 --ignore DL3007 --ignore DL3013 --ignore DL3016 --ignore DL3018 --ignore DL3028 --ignore | ||
DL4001 --ignore DL4006 --ignore SC2015 --ignore SC2016 --ignore SC2039 --ignore SC2086 --ignore SC1091' | ||
SHOW_ELAPSED_TIME: true | ||
EMAIL_REPORTER_EMAIL: hi@nullables.io | ||
FILEIO_REPORTER: true | ||
PLUGINS: | ||
- https://raw.githubusercontent.com/nvuillam/mega-linter/master/.automation/test/mega-linter-plugin-test/test.megalinter-descriptor.yml | ||
PRE_COMMANDS: | ||
- command: echo "This is Mega-Linter PRE_COMMAND on own Mega-Linter ! :)" | ||
cwd: 'root' | ||
POST_COMMANDS: | ||
- command: echo "This is Mega-Linter POST_COMMAND on own Mega-Linter ! :)" | ||
cwd: 'workspace' |
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,37 @@ | ||
FROM ubuntu:latest | ||
|
||
RUN apt-get update && \ | ||
apt-get -y install \ | ||
libgtkextra-dev \ | ||
libgconf2-dev \ | ||
libnss3 \ | ||
libasound2 \ | ||
libxtst-dev \ | ||
libxss1 \ | ||
libxss-dev \ | ||
software-properties-common \ | ||
build-essential \ | ||
xvfb \ | ||
curl \ | ||
libgtk-3-0 \ | ||
unzip | ||
|
||
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - | ||
RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list | ||
|
||
RUN curl -sL https://deb.nodesource.com/setup_10.x | bash - | ||
|
||
RUN apt-get update && \ | ||
apt-get -y install yarn nodejs | ||
|
||
RUN mkdir -p /app | ||
WORKDIR /app | ||
COPY . /app | ||
|
||
# we could run yarn to compile everything, but the | ||
# test lib does that too so don't bother | ||
RUN yarn | ||
|
||
# docker build -t before-dawn . && docker run -it -v $PWD:/app before-dawn bash | ||
# docker run -it before-dawn yarn test | ||
# tail -f ~/.config/Electron/log.log |