Skip to content

Commit

Permalink
Init repo commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ADMSK\AVROGAL1 committed Mar 15, 2021
0 parents commit 359c962
Show file tree
Hide file tree
Showing 116 changed files with 30,305 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .all-contributorsrc
@@ -0,0 +1,44 @@
{
"projectName": "github-action-json-fields",
"projectOwner": "AlexRogalskiy",
"repoType": "github",
"repoHost": "https://github.com",
"files": [
"README.md"
],
"types": {
"marketing": {
"symbol": "💌",
"description": "Marketing - People who help in marketing the repo/project"
}
},
"imageSize": 100,
"commit": true,
"contributorsPerLine": 5,
"contributors": [
{
"login": "AlexRogalskiy",
"name": "Alex Rogalskiy",
"avatar_url": "https://avatars3.githubusercontent.com/u/3901898",
"profile": "https://github.com/AlexRogalskiy",
"contributions": [
"code",
"design",
"doc",
"ideas",
"infra",
"maintenance",
"test"
]
},
{
"login": "RenovateBot",
"name": "Renovate Bot",
"avatar_url": "https://avatars1.githubusercontent.com/u/25180681",
"profile": "https://github.com/renovate-bot",
"contributions": [
"maintenance"
]
}
]
}
13 changes: 13 additions & 0 deletions .all-membersrc
@@ -0,0 +1,13 @@
{
"members":[
{
"login":"AlexRogalskiy",
"avatar_url":"https://avatars3.githubusercontent.com/u/3901898",
"url":"https://github.com/AlexRogalskiy",
"blog":"",
"name":"Alexander Rogalskiy",
"bio":"Design Systems and UI Engineer",
"location":"Saint-Petersburg, Russia"
}
]
}
23 changes: 23 additions & 0 deletions .all-sponsorsrc
@@ -0,0 +1,23 @@
{
"individuals":[
{
"MemberId":3901898,
"createdAt":"2019-09-07 09:53",
"type":"USER",
"role":"ADMIN",
"isActive":true,
"totalAmountDonated":0,
"lastTransactionAt":"2020-12-07 16:17",
"lastTransactionAmount":0,
"profile":"https://opencollective.com/nullables",
"name":"Alexander Rogalskiy",
"company":"Nullables.io",
"description":null,
"image":"/avatars/3901898.jpg",
"email":null,
"twitter":null,
"github":"https://github.com/AlexRogalskiy",
"website":"https://github.com/AlexRogalskiy"
}
]
}
80 changes: 80 additions & 0 deletions .circleci/config.yml
@@ -0,0 +1,80 @@
version: 2.1

docker_defaults: &docker_defaults
docker:
- image: circleci/node:latest

commands:
prep_env:
description: Prepares environment with cache
steps:
- checkout:
path: ~/repo
# - run:
# name: 'Update Node.js and npm'
# command: |
# 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
# curl https://www.npmjs.com/install.sh | sudo bash
- run:
name: Check current version of node
command: node -v
- restore_cache:
name: Restore node_modules cache
keys:
- github-action-json-fields-{{ checksum "package-lock.json" }}-{{ .Branch }} # appends cache key with a hash of pom.xml file
- github-action-json-fields- # fallback in case previous cache key is not found

save_env_cache:
description: Saves environment cache
steps:
- save_cache:
name: Save node_modules cache
key: github-action-json-fields-{{ checksum "package-lock.json" }}-{{ .Branch }}
paths:
- node_modules/

jobs:
node_modules:
<<: *docker_defaults
working_directory: ~/repo
steps:
- prep_env
- run: npm install
- save_env_cache

publish_release:
<<: *docker_defaults
working_directory: ~/repo
steps:
- prep_env
- run:
name: Don't allow install of package, when published
command:
cat package.json | jq '.scripts.postinstall = "node index.js"' > package.json.tmp && mv
package.json.tmp package.json
- run:
name: Semantic release to NPM and GitHub releases
command: npx -p @semantic-release/release-notes-generator -p @semantic-release/npm -p @semantic-release/github semantic-release

workflows:
version: 2
build_and_deploy:
jobs:
- node_modules:
filters:
branches:
only:
- master
- publish_release:
requires:
- node_modules
filters:
branches:
only:
- master

experimental:
notify:
branches:
only:
- master
41 changes: 41 additions & 0 deletions .dependabot/config.yml
@@ -0,0 +1,41 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
version: 1

update_configs:
# Keep package.json (& lockfiles) up to date as soon as
# new versions are published to the npm registry
- package_manager: "javascript"
directory: "/"
update_schedule: "live"
allowed_updates:
- match:
dependency_type: "development"
# Supported dependency types:
# - "development"
# Development dependency group (supported by some package managers)
# - "production"
# Production dependency group (supported by some package managers)
# - "direct"
# Direct/top-level dependencies
# - "indirect"
# Indirect/transient/sub-dependencies
# - "all"
update_type: "all"
# Supported update types:
# - "security"
# - "all"
- match:
dependency_type: "production"
update_type: "security"

# Keep Dockerfile up to date, batching pull requests weekly
- package_manager: "docker"
directory: "/"
update_schedule: "daily"

- package_manager: "python"
directory: "/"
update_schedule: "weekly"
31 changes: 31 additions & 0 deletions .editorconfig
@@ -0,0 +1,31 @@
# http://editorconfig.org
root = true

[*]
indent_size = 2
# Possible values - tab, space
indent_style = space
# Possible values - lf, crlf, cr
end_of_line = lf
# Possible values - latin1, utf-8, utf-16be, utf-16le
charset = utf-8
insert_final_newline = true
trim_trailing_whitespace = true
max_line_length = 120

[*.ts]
indent_size = 4
max_line_length = 100

[*.{yml, yaml, json}]
indent_size = 2

[*.{html, xml}]
indent_size = 4

[*.{css, scss}]
indent_size = 4

[*.{md, markdown}]
max_line_length = off
trim_trailing_whitespace = false
5 changes: 5 additions & 0 deletions .eslintignore
@@ -0,0 +1,5 @@
dist/
lib/
node_modules/
coverage/
tests/

0 comments on commit 359c962

Please sign in to comment.