Skip to content

Commit ca48c01

Browse files
committed
v0.0.1
1 parent 6c86c26 commit ca48c01

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

89 files changed

+4143
-678
lines changed

.env.template

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
NATS_IP=localhost
2+
NATS_PORT=4222
3+
JWT_PRIVATE_KEY
4+
JWT_PUBLIC_KEY

.eslintignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
node_modules
2+
dist

.eslintrc

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"root": true,
3+
"parser": "@typescript-eslint/parser",
4+
"plugins": [
5+
"@typescript-eslint",
6+
"prettier"
7+
],
8+
"extends": [
9+
"eslint:recommended",
10+
"plugin:@typescript-eslint/eslint-recommended",
11+
"plugin:@typescript-eslint/recommended",
12+
"prettier"
13+
],
14+
"rules": {
15+
"prettier/prettier": 2, // Means error
16+
"@typescript-eslint/no-namespace": 0,
17+
"@typescript-eslint/ban-ts-comment": "off"
18+
}
19+
}

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
.env.dev
2+
serviceAccount.json
3+
14
# Logs
25
logs
36
*.log
@@ -102,3 +105,5 @@ dist
102105

103106
# TernJS port file
104107
.tern-port
108+
109+
.vscode/

.prettierrc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"semi": true,
3+
"trailingComma": "all",
4+
"singleQuote": true,
5+
"printWidth": 100,
6+
"tabWidth": 2
7+
}

LICENSE

Lines changed: 0 additions & 674 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
Bitloops Language Boilerplate code for TypeScript
44

5-
v0.0.0
5+
v0.0.1

config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
import 'jest-ts-auto-mock';

global.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
import 'jest-extended';

jest.config.js

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
// eslint-disable-next-line no-undef
2+
module.exports = {
3+
transform: {
4+
'^.+\\.ts?$': 'ts-jest',
5+
},
6+
testEnvironment: 'node',
7+
// testRegex: './src/.*\\.(test|spec)?\\.(ts|ts)$',
8+
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
9+
roots: ['<rootDir>/src'],
10+
testMatch: ['**/*.steps.ts', '**/*.test.ts', '**/*.spec.ts'],
11+
globals: {
12+
'ts-jest': {
13+
compiler: 'ttypescript',
14+
},
15+
setupFiles: ['<rootDir>config.ts'],
16+
},
17+
setupFilesAfterEnv: ['jest-extended/all'],
18+
};

0 commit comments

Comments
 (0)