Skip to content

Commit 3ae9d6d

Browse files
committed
init
1 parent 4e7c37e commit 3ae9d6d

File tree

5 files changed

+152
-0
lines changed

5 files changed

+152
-0
lines changed
+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Publish in GitHub Package Registry
2+
3+
on:
4+
push:
5+
tags:
6+
- '*'
7+
8+
jobs:
9+
publish-gpr:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Git checkout
13+
uses: actions/checkout@v2
14+
15+
- name: Set Node.js Version
16+
uses: actions/setup-node@v2
17+
with:
18+
node-version: 14
19+
20+
- name: Install dependencies
21+
run: npm install
22+
23+
- name: Build package files
24+
run: npm run build
25+
26+
- name: Configure GitHub Package Registry as Publish Target
27+
uses: actions/setup-node@v2
28+
with:
29+
registry-url: 'https://npm.pkg.github.com'
30+
scope: '@supercharge'
31+
32+
- name: Publish to GitHub Package Registry
33+
run: npm publish
34+
env:
35+
NODE_AUTH_TOKEN: ${{ secrets.GH_PUBLISH_GPR_TOKEN }}

Diff for: .gitignore

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
haters
2+
3+
lib-cov
4+
*.seed
5+
*.log
6+
*.csv
7+
*.dat
8+
*.out
9+
*.pid
10+
*.gz
11+
.github-todos
12+
13+
pids
14+
results
15+
16+
dist
17+
node_modules
18+
npm-debug.log
19+
package-lock.json
20+
21+
# code coverage folder
22+
coverage
23+
.nyc_output
24+
25+
# Secrets
26+
.env
27+
.env.**
28+
29+
# IDEs and editors
30+
.idea
31+
.vscode
32+
33+
.vagrant

Diff for: LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2021 The Supercharge Node.js Framework
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

Diff for: package.json

+49
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
{
2+
"name": "@supercharge/eslint-config-supercharge-with-typescript",
3+
"description": "A Shareable ESLint Config for Supercharge Projects using TypeScript",
4+
"version": "0.0.0",
5+
"author": "Marcus Pöhls <[email protected]>",
6+
"bugs": {
7+
"url": "https://github.com/supercharge/eslint-config-supercharge-with-typescript/issues"
8+
},
9+
"devDependencies": {
10+
"@supercharge/tsconfig": "~1.0.0",
11+
"@types/eslint": "~7.29.0",
12+
"@typescript-eslint/eslint-plugin": "~4.33.0",
13+
"eslint": "~7.32.0",
14+
"eslint-config-standard-with-typescript": "~21.0.1",
15+
"eslint-plugin-import": "~2.25.3",
16+
"eslint-plugin-node": "~11.1.0",
17+
"eslint-plugin-promise": "~5.2.0",
18+
"eslint-plugin-standard": "~4.1.0",
19+
"typescript": "~4.4.2"
20+
},
21+
"main": "dist/index.js",
22+
"files": [
23+
"dist"
24+
],
25+
"homepage": "https://github.com/supercharge/eslint-config-supercharge-with-typescript",
26+
"keywords": [
27+
"supercharge",
28+
"superchargejs",
29+
"eslint",
30+
"eslint-config",
31+
"eslint-config-supercharge",
32+
"nodejs"
33+
],
34+
"license": "MIT",
35+
"publishConfig": {
36+
"access": "public"
37+
},
38+
"repository": {
39+
"type": "git",
40+
"url": "git+https://github.com/supercharge/eslint-config-supercharge-with-typescript.git"
41+
},
42+
"scripts": {
43+
"build": "tsc",
44+
"dev": "tsc --watch",
45+
"lint": "eslint src",
46+
"lint:fix": "npm run lint -- --fix",
47+
"test": "exit 0"
48+
}
49+
}

Diff for: tsconfig.json

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"extends": "@supercharge/tsconfig",
3+
"compilerOptions": {
4+
"outDir": "./dist"
5+
},
6+
"include": [
7+
"./**/*"
8+
],
9+
"exclude": [
10+
"./node_modules",
11+
"./test",
12+
"./dist"
13+
]
14+
}

0 commit comments

Comments
 (0)