Skip to content

Commit 41c6df1

Browse files
author
ADMSK\AVROGAL1
committed
docs: updates on workflows
Added information on documentation
0 parents  commit 41c6df1

108 files changed

Lines changed: 22892 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.all-contributorsrc

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{
2+
"projectName": "github-action-proverbs",
3+
"projectOwner": "AlexRogalskiy",
4+
"repoType": "github",
5+
"repoHost": "https://github.com",
6+
"files": [
7+
"README.md"
8+
],
9+
"types": {
10+
"marketing": {
11+
"symbol": "💌",
12+
"description": "Marketing - People who help in marketing the repo/project"
13+
}
14+
},
15+
"imageSize": 100,
16+
"commit": true,
17+
"contributorsPerLine": 5,
18+
"contributors": [
19+
{
20+
"login": "AlexRogalskiy",
21+
"name": "Alex Rogalskiy",
22+
"avatar_url": "https://avatars3.githubusercontent.com/u/3901898",
23+
"profile": "https://github.com/AlexRogalskiy",
24+
"contributions": [
25+
"code",
26+
"design",
27+
"doc",
28+
"ideas",
29+
"infra",
30+
"maintenance",
31+
"test"
32+
]
33+
},
34+
{
35+
"login": "RenovateBot",
36+
"name": "Renovate Bot",
37+
"avatar_url": "https://avatars1.githubusercontent.com/u/25180681",
38+
"profile": "https://github.com/renovate-bot",
39+
"contributions": [
40+
"maintenance"
41+
]
42+
}
43+
]
44+
}

.all-membersrc

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"members":[
3+
{
4+
"login":"AlexRogalskiy",
5+
"avatar_url":"https://avatars3.githubusercontent.com/u/3901898",
6+
"url":"https://github.com/AlexRogalskiy",
7+
"blog":"",
8+
"name":"Alexander Rogalskiy",
9+
"bio":"Design Systems and UI Engineer",
10+
"location":"Saint-Petersburg, Russia"
11+
}
12+
]
13+
}

.all-sponsorsrc

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"individuals":[
3+
{
4+
"MemberId":3901898,
5+
"createdAt":"2019-09-07 09:53",
6+
"type":"USER",
7+
"role":"ADMIN",
8+
"isActive":true,
9+
"totalAmountDonated":0,
10+
"lastTransactionAt":"2020-12-07 16:17",
11+
"lastTransactionAmount":0,
12+
"profile":"https://opencollective.com/nullables",
13+
"name":"Alexander Rogalskiy",
14+
"company":"Nullables.io",
15+
"description":null,
16+
"image":"/avatars/3901898.jpg",
17+
"email":null,
18+
"twitter":null,
19+
"github":"https://github.com/AlexRogalskiy",
20+
"website":"https://github.com/AlexRogalskiy"
21+
}
22+
]
23+
}

.circleci/config.yml

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
version: 2.1
2+
3+
docker_defaults: &docker_defaults
4+
docker:
5+
- image: circleci/node:latest
6+
7+
commands:
8+
prep_env:
9+
description: Prepares environment with cache
10+
steps:
11+
- checkout:
12+
path: ~/repo
13+
# - run:
14+
# name: 'Update Node.js and npm'
15+
# command: |
16+
# curl -sSL "https://nodejs.org/dist/v12.13.0/node-v12.13.0-linux-x64.tar.xz" | sudo tar --strip-components=2 -xJ -C /usr/local/bin/ node-v12.13.0-linux-x64/bin/node
17+
# curl https://www.npmjs.com/install.sh | sudo bash
18+
- run:
19+
name: Check current version of node
20+
command: node -v
21+
- restore_cache:
22+
name: Restore node_modules cache
23+
keys:
24+
- github-action-proverbs-{{ checksum "package-lock.json" }}-{{ .Branch }} # appends cache key with a hash of pom.xml file
25+
- github-action-proverbs- # fallback in case previous cache key is not found
26+
27+
save_env_cache:
28+
description: Saves environment cache
29+
steps:
30+
- save_cache:
31+
name: Save node_modules cache
32+
key: github-action-proverbs-{{ checksum "package-lock.json" }}-{{ .Branch }}
33+
paths:
34+
- node_modules/
35+
36+
jobs:
37+
node_modules:
38+
<<: *docker_defaults
39+
working_directory: ~/repo
40+
steps:
41+
- prep_env
42+
- run: npm install
43+
- save_env_cache
44+
45+
publish_release:
46+
<<: *docker_defaults
47+
working_directory: ~/repo
48+
steps:
49+
- prep_env
50+
- run:
51+
name: Don't allow install of package, when published
52+
command:
53+
cat package.json | jq '.scripts.postinstall = "node index.js"' > package.json.tmp && mv
54+
package.json.tmp package.json
55+
- run:
56+
name: Semantic release to NPM and GitHub releases
57+
command: npx -p @semantic-release/release-notes-generator -p @semantic-release/npm -p @semantic-release/github semantic-release
58+
59+
workflows:
60+
version: 2
61+
build_and_deploy:
62+
jobs:
63+
- node_modules:
64+
filters:
65+
branches:
66+
only:
67+
- master
68+
- publish_release:
69+
requires:
70+
- node_modules
71+
filters:
72+
branches:
73+
only:
74+
- master
75+
76+
experimental:
77+
notify:
78+
branches:
79+
only:
80+
- master

.dependabot/config.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
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://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5+
version: 1
6+
7+
update_configs:
8+
# Keep package.json (& lockfiles) up to date as soon as
9+
# new versions are published to the npm registry
10+
- package_manager: "javascript"
11+
directory: "/"
12+
update_schedule: "live"
13+
allowed_updates:
14+
- match:
15+
dependency_type: "development"
16+
# Supported dependency types:
17+
# - "development"
18+
# Development dependency group (supported by some package managers)
19+
# - "production"
20+
# Production dependency group (supported by some package managers)
21+
# - "direct"
22+
# Direct/top-level dependencies
23+
# - "indirect"
24+
# Indirect/transient/sub-dependencies
25+
# - "all"
26+
update_type: "all"
27+
# Supported update types:
28+
# - "security"
29+
# - "all"
30+
- match:
31+
dependency_type: "production"
32+
update_type: "security"
33+
34+
# Keep Dockerfile up to date, batching pull requests weekly
35+
- package_manager: "docker"
36+
directory: "/"
37+
update_schedule: "daily"
38+
39+
- package_manager: "python"
40+
directory: "/"
41+
update_schedule: "weekly"

.editorconfig

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# http://editorconfig.org
2+
root = true
3+
4+
[*]
5+
indent_size = 2
6+
# Possible values - tab, space
7+
indent_style = space
8+
# Possible values - lf, crlf, cr
9+
end_of_line = lf
10+
# Possible values - latin1, utf-8, utf-16be, utf-16le
11+
charset = utf-8
12+
insert_final_newline = true
13+
trim_trailing_whitespace = true
14+
max_line_length = 120
15+
16+
[*.js]
17+
indent_size = 2
18+
max_line_length = 100
19+
20+
[*.{yml, yaml}]
21+
indent_size = 2
22+
23+
[*.{html, xml}]
24+
indent_size = 4
25+
26+
[*.{css, scss, json}]
27+
indent_size = 2
28+
29+
[*.{md, markdown}]
30+
max_line_length = off
31+
trim_trailing_whitespace = false

.eslintignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
dist/
2+
lib/
3+
node_modules/
4+
coverage/
5+
tests/

0 commit comments

Comments
 (0)