Skip to content

Commit cd6ed13

Browse files
committed
feat: 🎸 (files) add hidden files
1 parent b68dcaa commit cd6ed13

File tree

7 files changed

+135
-0
lines changed

7 files changed

+135
-0
lines changed

.all-contributorsrc

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"projectName": "ngIfResponsive",
3+
"projectOwner": "kreuzerk",
4+
"repoType": "github",
5+
"repoHost": "https://github.com",
6+
"files": [
7+
"README.md"
8+
],
9+
"imageSize": 100,
10+
"commit": true,
11+
"commitConvention": "angular",
12+
"contributors": [
13+
{
14+
"login": "kreuzerk",
15+
"name": "Kevin Kreuzer",
16+
"avatar_url": "https://avatars.githubusercontent.com/u/5468954?v=4",
17+
"profile": "https://medium.com/@kevinkreuzer",
18+
"contributions": [
19+
"code"
20+
]
21+
}
22+
],
23+
"contributorsPerLine": 7,
24+
"linkToUsage": false
25+
}

.eslintrc.json

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"env": {
3+
"browser": true,
4+
"es2021": true
5+
},
6+
"extends": "standard-with-typescript",
7+
"overrides": [],
8+
"parserOptions": {
9+
"ecmaVersion": "latest",
10+
"sourceType": "module",
11+
"project": ["./tsconfig.json"]
12+
},
13+
"rules": {
14+
"@typescript-eslint/semi": "off",
15+
"@typescript-eslint/comma-dangle": "off",
16+
"@typescript-eslint/readonly": "off",
17+
"@typescript-eslint/space-before-function-paren": "off",
18+
"@typescript-eslint/prefer-readonly": "off",
19+
"@typescript-eslint/consistent-indexed-object-style": "off",
20+
"@typescript-eslint/strict-boolean-expressions": "off",
21+
"@typescript-eslint/member-delimiter-style": "off",
22+
"@typescript-eslint/object-curly-spacing": "off",
23+
"no-prototype-builtins": "off",
24+
"padded-blocks": "off"
25+
}
26+
}

.github/workflows/ci.yml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: feature-branch
2+
on:
3+
push:
4+
branches:
5+
- '*'
6+
- '*/*'
7+
- '**'
8+
- '!main'
9+
jobs:
10+
CI:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v3
15+
- name: Install Node & NPM
16+
uses: actions/setup-node@v3
17+
- name: Install node modules
18+
run: npm install
19+
- name: Lint
20+
run: npm run lint
21+
- name: Test & Coverage
22+
run: npm run coverage:library
23+
- name: Build
24+
run: npm run build

.github/workflows/release.yml

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: release
2+
on:
3+
push:
4+
branches:
5+
- 'main'
6+
jobs:
7+
CI:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout
11+
uses: actions/checkout@v3
12+
- name: Install Node & NPM
13+
uses: actions/setup-node@v3
14+
- name: Install node modules
15+
run: npm install
16+
- name: Lint
17+
run: npm run lint
18+
- name: Test & Coverage
19+
run: npm run coverage:library
20+
- name: Upload coverage to Codecov
21+
uses: codecov/codecov-action@v3
22+
- name: Build Library
23+
run: npm run build:library
24+
- name: Build Showcase
25+
run: npm run build:showcase
26+
- name: Deploy to GitHub Pages
27+
uses: JamesIves/[email protected]
28+
with:
29+
folder: dist/ng-if-responsive-showcase
30+
- name: Release
31+
uses: cycjimmy/semantic-release-action@v3
32+
env:
33+
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
34+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.husky/commit-msg

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env sh
2+
. "$(dirname -- "$0")/_/husky.sh"
3+
4+
npm run commitlint

.husky/pre-commit

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npm run lint-staged

.releaserc

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"pkgRoot": "dist/ng-if-responsive",
3+
"branches": ["main"],
4+
"plugins": [
5+
"@semantic-release/commit-analyzer",
6+
"@semantic-release/release-notes-generator",
7+
"@semantic-release/changelog",
8+
"@semantic-release/npm",
9+
["@semantic-release/exec", {
10+
"prepareCmd": "VERSION=${nextRelease.version} npm run bump-version"
11+
}],
12+
["@semantic-release/git", {
13+
"assets": ["package.json", "CHANGELOG.md"],
14+
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
15+
}],
16+
"@semantic-release/github"
17+
]
18+
}

0 commit comments

Comments
 (0)