Skip to content

Commit

Permalink
Merge pull request #1 from core-ds/feat/setup
Browse files Browse the repository at this point in the history
Feat/setup
  • Loading branch information
kiskv authored Jul 5, 2024
2 parents 218062a + 2d36bf4 commit 445e076
Show file tree
Hide file tree
Showing 21 changed files with 9,569 additions and 4,870 deletions.
8 changes: 8 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8
trim_trailing_whitespace = true
max_line_length = 100
indent_style = space
indent_size = 4
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @kiskv @reme3d2y @Valeri8888 @fulcanellee @SiebenSieben
15 changes: 15 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Как я могу улучшить стандарты?

Ну для начала - спасибо за готовность выделить время на доработки! 🥰

Все задачи по доработке есть в [issues](https://github.com/core-ds/stylelint-core-vars/issues).

Все обсуждение стандартов ведется так же в issue.

Если вы хотите изменить какие-либо из правил линтера вам нужно быть готовым ответить на один
самый главный вопрос:

**Чем мотивированы эти изменения?**

Старайтесь излагать свою точку зрения максимально аргументировано, убрав из нее
все субъективные моменты. Мы не можем менять правила только потому что вам так привычнее.
11 changes: 11 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!--- Проблема -->

## Пример кода

## Актуальное поведение

## Ожидаемое поведение

## Мотивация изменений

<!--- Почему стоит сделать такие изменения? Чем новое поведение лучше текущего? --->
6 changes: 6 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<!--- Название для изменений -->

## Мотивация и контекст

<!--- Почему эти изменения необходимы? Какую проблему они решают? -->
<!--- Если изменения исправляют открытый issue, прикрепите на него ссылку -->
24 changes: 24 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Run tests

on: push

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.x, 20.x, 22.x]

steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: yarn install and test
run: |
yarn install --immutable
yarn run test
env:
CI: true
26 changes: 26 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Create new library package

on:
workflow_dispatch:
push:
branches:
- master
- beta

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.GH_TOKEN }}
- name: create new version
run: |
yarn install --immutable
yarn semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
WORK_SPACE: ${{ github.workspace }}
CI: true
48 changes: 17 additions & 31 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,32 +1,18 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
node_modules/
/.pnp
.pnp.js

# testing
/coverage

# production
/build
dist
*.tsbuildinfo

# misc
.build/
.idea/
.vscode/
.publish/
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
storybook-static

# IDE
.idea

.yalc/
yalc.lock
node_modules/
npm-debug.log
yarn-error.log
coverage/
test-results.xml
package-lock.json
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
11 changes: 11 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
.idea
test
.eslintrc.js
yarn-error.log
.editorconfig
.github
.yarn
.nvmrc
.yarnrc.yml
CHANGELOG.md
release.config.js
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20.14.0
7 changes: 0 additions & 7 deletions .prettierrc.js

This file was deleted.

894 changes: 894 additions & 0 deletions .yarn/releases/yarn-4.3.1.cjs

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
defaultSemverRangePrefix: ""

nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-4.3.1.cjs
Loading

0 comments on commit 445e076

Please sign in to comment.