Skip to content

Commit

Permalink
Init V4
Browse files Browse the repository at this point in the history
  • Loading branch information
terehov committed Sep 1, 2022
1 parent b8b7b16 commit c9e89c2
Show file tree
Hide file tree
Showing 98 changed files with 3,631 additions and 36,727 deletions.
18 changes: 0 additions & 18 deletions .eslintrc.js

This file was deleted.

14 changes: 0 additions & 14 deletions .gitattributes

This file was deleted.

27 changes: 0 additions & 27 deletions .githooks/pre-commit/prettier_eslint

This file was deleted.

22 changes: 22 additions & 0 deletions .github/codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Based on https://docs.codecov.com/docs/codecov-yaml#default-yaml
codecov:
require_ci_to_pass: true

coverage:
precision: 2
round: up
range: "50...95"
status:
patch: off
project:
default:
target: 100%
threshold: 1%

parsers:
gcov:
branch_detection:
conditional: yes
loop: yes
method: no
macro: no
9 changes: 9 additions & 0 deletions .github/workflows/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
## 📝 tslog: Beautiful logging experience for TypeScript and JavaScript

[![lang: Typescript](https://img.shields.io/badge/Language-Typescript-Blue.svg?style=flat-square)](https://www.typescriptlang.org)
![License: MIT](https://img.shields.io/npm/l/tslog?logo=tslog&style=flat-square)
[![npm version](https://img.shields.io/npm/v/tslog?color=76c800&logoColor=76c800&style=flat-square)](https://www.npmjs.com/package/tslog)
[![CI: Travis](https://img.shields.io/travis/fullstack-build/tslog?style=flat-square)](https://travis-ci.com/github/fullstack-build/tslog)
[![Coverage Status](https://codecov.io/gh/fullstack-build/tslog/branch/v4/graphs/badge.svg?branch=v4)](https://codecov.io/gh/fullstack-build/tslog)
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
[![GitHub stars](https://img.shields.io/github/stars/fullstack-build/tslog.svg?style=social&label=Star)](https://github.com/fullstack-build/tslog)
33 changes: 33 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: CI

on:
push:
branches: [master, v4]
pull_request:
branches: [master]

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [16.x, 18.x]

env:
CI: true
COVERAGE: ${{ matrix.node-version == '18.x' && true || false }}

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm ci

# Coverage.
- name: Run coverage
run: npm run coverage
- name: Report coverage
uses: codecov/codecov-action@v3
157 changes: 81 additions & 76 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,76 +1,81 @@
# Logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Runtime data
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env

# next.js build output
.next

# OS X temporary files
.DS_Store

# Rush temporary files
common/temp/
**/.rush/temp/

# IDE
.idea

# don't check in build files
**/dist
/temp/

# Don't commit tsdoc meta
/src/tsdoc-metadata.json

# For now, ignore banchmarks (WIP)
/benchmarks/
# Logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Runtime data
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
/build/

# Dependency directories
/node_modules/
/jspm_packages/
**/node_modules/
**/jspm_packages/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env

# next.js build output
.next

# OS X temporary files
.DS_Store

# Rush temporary files
/common/temp/

# IDE
/.idea/

# don't check in build files
**/dist
/dist/
/temp/

# Don't commit tsdoc meta
/src/tsdoc-metadata.json

# coverage results
/coverage/

# For now, ignore banchmarks (WIP)
/benchmarks/
84 changes: 0 additions & 84 deletions .npmignore

This file was deleted.

2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
12
16
13 changes: 0 additions & 13 deletions .travis.yml

This file was deleted.

Loading

0 comments on commit c9e89c2

Please sign in to comment.