Skip to content

Commit

Permalink
chore: move to new org
Browse files Browse the repository at this point in the history
  • Loading branch information
amje committed Aug 24, 2022
1 parent 252fce9 commit 2c55fde
Show file tree
Hide file tree
Showing 10 changed files with 3,177 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ end_of_line = lf
indent_size = 4
indent_style = space
insert_final_newline = true
max_line_length = 120
max_line_length = 100
trim_trailing_whitespace = true

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

[*.md]
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Release

on:
push:
branches: [main]

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: gravity-ui/release-action@v1
with:
github-token: ${{ secrets.GRAVITY_UI_BOT_GITHUB_TOKEN }}
npm-token: ${{ secrets.GRAVITY_UI_BOT_NPM_TOKEN }}
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
# IDE settings
.idea
.vscode

# Dependencies
node_modules
4 changes: 4 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx commitlint -e
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
registry=https://registry.npmjs.org
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
14
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# @yandex-cloud/babel-preset
# @gravity-ui/babel-preset

Babel preset for Yandex Cloud projects
Babel preset for Gravity UI projects

## Installation
## Install
```
npm install --save-dev @yandex-cloud/babel-preset
npm install --save-dev @gravity-ui/babel-preset
```

## Usage
Expand All @@ -14,7 +14,7 @@ npm install --save-dev @yandex-cloud/babel-preset
```json5
{
"presets": [
"@yandex-cloud/babel-preset",
"@gravity-ui/babel-preset",
{
"env": {modules: false}, // defaults to {}
"runtime": {useESModules: true}, // defaults to {}
Expand Down
1 change: 1 addition & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = {extends: ['@commitlint/config-conventional']};
3,127 changes: 3,127 additions & 0 deletions package-lock.json

Large diffs are not rendered by default.

23 changes: 17 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,25 @@
{
"name": "@yandex-cloud/babel-preset",
"name": "@gravity-ui/babel-preset",
"version": "1.0.0",
"description": "Yandex.Cloud Babel preset",
"description": "Gravity UI Babel preset",
"keywords": [
"babel",
"preset"
],
"license": "MIT",
"main": "index.js",
"repository": {
"type": "git",
"url": "https://github.com/yandex-cloud/babel-preset"
"url": "git+https://github.com/gravity-ui/babel-preset.git"
},
"bugs": {
"url": "https://github.com/gravity-ui/babel-preset/issues"
},
"homepage": "https://github.com/gravity-ui/babel-preset#readme",
"scripts": {
"prepare": "husky install",
"test": "echo \"Error: no test specified\" && exit 0"
},
"files": [
"index.js"
],
"dependencies": {
"@babel/core": "^7.17.9",
"@babel/plugin-proposal-decorators": "^7.17.9",
Expand All @@ -24,5 +30,10 @@
"@babel/runtime": "^7.17.9",
"babel-plugin-dynamic-import-node": "^2.3.3",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24"
},
"devDependencies": {
"@commitlint/cli": "^17.0.3",
"@commitlint/config-conventional": "^17.0.3",
"husky": "^8.0.1"
}
}

0 comments on commit 2c55fde

Please sign in to comment.