Skip to content

Commit a1f0b68

Browse files
authored
Initial commit
0 parents  commit a1f0b68

File tree

7 files changed

+58
-0
lines changed

7 files changed

+58
-0
lines changed

.github/workflows/cicd.yml

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: CICD
2+
on:
3+
push:
4+
branches:
5+
- main
6+
jobs:
7+
release:
8+
uses: homebots/workflows/.github/workflows/node-build-release.yml@master
9+
with:
10+
branches: main
11+
secrets:
12+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
13+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
node_modules/
2+
dist/
3+
coverage/

.npmignore

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
jest*.mjs
2+
tsconfig.json
3+
coverage/
4+
.github/
5+
dist/*.spec.js
6+
dist/*.spec.d.ts

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# ts-template

jest.config.mjs

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import config from "@cloud-cli/jest-config";
2+
3+
export default { ...config };

package.json

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"name": "@cloud-cli/",
3+
"version": "0.0.0",
4+
"main": "./dist/index.js",
5+
"types": "./dist/index.d.ts",
6+
"type": "module",
7+
"scripts": {
8+
"build": "tsc",
9+
"test": "jest",
10+
"tdd": "jest --watchAll"
11+
},
12+
"prettier": "@cloud-cli/prettier-config",
13+
"repository": {
14+
"type": "git",
15+
"url": "https://github.com/cloud-cli/.git"
16+
},
17+
"publishConfig": {
18+
"access": "public"
19+
},
20+
"devDependencies": {
21+
"@cloud-cli/prettier-config": "^1.0.0",
22+
"@cloud-cli/jest-config": "^1.0.0",
23+
"@cloud-cli/typescript-config": "^1.0.0"
24+
}
25+
}

tsconfig.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"extends": "@cloud-cli/typescript-config",
3+
"compilerOptions": {
4+
"outDir": "./dist"
5+
},
6+
"include": ["src/**/*.ts"]
7+
}

0 commit comments

Comments
 (0)