Skip to content

Commit 5cbf1fd

Browse files
committed
chore(release): first release
BREAKING CHANGE: First stable release
0 parents  commit 5cbf1fd

741 files changed

Lines changed: 75897 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.

.browserlistrc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Browsers we support
2+
> 0.5%
3+
Chrome >= 73
4+
ChromeAndroid >= 75
5+
Firefox >= 67
6+
Edge >= 17
7+
IE 11
8+
Safari >= 12.1
9+
iOS >= 11.3

.editorconfig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
root = true
2+
3+
[*]
4+
end_of_line = lf
5+
6+
[*.{js,json,ts,html,jsx,mdx}]
7+
indent_style = space
8+
indent_size = 2

.eslintrc.js

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
module.exports = {
2+
env: {
3+
"browser": true,
4+
"commonjs": true,
5+
"es6": true,
6+
"node": true
7+
},
8+
root: true,
9+
parser: "@typescript-eslint/parser",
10+
plugins: ["@typescript-eslint"],
11+
extends: [
12+
"eslint:recommended",
13+
"plugin:@typescript-eslint/recommended",
14+
"plugin:import/typescript",
15+
"plugin:react/recommended",
16+
"prettier",
17+
],
18+
rules: {
19+
"@typescript-eslint/no-empty-interface": "off",
20+
"@typescript-eslint/no-empty-function": "warn",
21+
"sort-imports": ["error", {
22+
"ignoreCase": false,
23+
"ignoreDeclarationSort": true,
24+
"ignoreMemberSort": false,
25+
"memberSyntaxSortOrder": ["none", "all", "multiple", "single"],
26+
"allowSeparatedGroups": false
27+
}]
28+
}
29+
};

.github/workflows/npm-publish.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: build
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v2
14+
- name: Setup Node.js
15+
uses: actions/setup-node@v1
16+
with:
17+
node-version: 12
18+
registry-url: https://registry.npmjs.org/
19+
scope: '@chatscope'
20+
- name: Set Yarn version
21+
run: yarn set version berry
22+
- name: Install dependencies
23+
run: yarn
24+
- name: Build
25+
run: yarn build
26+
- name: Publish package
27+
env:
28+
GITHUB_TOKEN: ${{secrets.RELEASE_TOKEN}}
29+
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
30+
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
31+
GIT_AUTHOR_NAME: supersnager
32+
GIT_AUTHOR_EMAIL: ${{secrets.GIT_AUTHOR_EMAIL}}
33+
GIT_COMMITTER_NAME: supersnager
34+
GIT_COMMITTER_EMAIL: ${{secrets.GIT_AUTHOR_EMAIL}}
35+
run: npx semantic-release

.gitignore

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
.idea
4+
# dependencies
5+
/node_modules
6+
/.pnp
7+
.pnp.js
8+
9+
# testing
10+
/coverage
11+
12+
# production
13+
/build
14+
/dist
15+
/storybook-static
16+
17+
# misc
18+
.DS_Store
19+
.env.local
20+
.env.development.local
21+
.env.test.local
22+
.env.production.local
23+
24+
npm-debug.log*
25+
yarn-debug.log*
26+
yarn-error.log*
27+
.eslintcache
28+
29+
# https://yarnpkg.com/getting-started/qa#which-files-should-be-gitignored
30+
.yarn/*
31+
!.yarn/cache
32+
!.yarn/patches
33+
!.yarn/plugins
34+
!.yarn/releases
35+
!.yarn/sdks
36+
!.yarn/versions

.husky/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
_

.husky/commit-msg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
yarn commitlint --edit $1

.husky/pre-commit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
yarn lint-staged

.prettierrc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}
Binary file not shown.

0 commit comments

Comments
 (0)