Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
darlanalves authored Apr 2, 2024
0 parents commit 781fa62
Show file tree
Hide file tree
Showing 7 changed files with 58 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: CICD
on:
push:
branches:
- main
jobs:
release:
uses: homebots/workflows/.github/workflows/node-build-release.yml@master
with:
branches: main
secrets:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node_modules/
dist/
coverage/
6 changes: 6 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
jest*.mjs
tsconfig.json
coverage/
.github/
dist/*.spec.js
dist/*.spec.d.ts
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# ts-template
3 changes: 3 additions & 0 deletions jest.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import config from "@cloud-cli/jest-config";

export default { ...config };
25 changes: 25 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"name": "@cloud-cli/",
"version": "0.0.0",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"type": "module",
"scripts": {
"build": "tsc",
"test": "jest",
"tdd": "jest --watchAll"
},
"prettier": "@cloud-cli/prettier-config",
"repository": {
"type": "git",
"url": "https://github.com/cloud-cli/.git"
},
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@cloud-cli/prettier-config": "^1.0.0",
"@cloud-cli/jest-config": "^1.0.0",
"@cloud-cli/typescript-config": "^1.0.0"
}
}
7 changes: 7 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"extends": "@cloud-cli/typescript-config",
"compilerOptions": {
"outDir": "./dist"
},
"include": ["src/**/*.ts"]
}

0 comments on commit 781fa62

Please sign in to comment.