This repository has been archived by the owner on Sep 30, 2022. It is now read-only.
Releases: flex-development/log
Releases · flex-development/log
log@4.0.1-dev.3
log@4.0.1-dev.2
log@4.0.1-dev.1
🐛 Fixes
- cjs:
Must use import to load ES Module: figures/index.js
(c811df7) - cjs: missing named exports (a34228b)
🔨 Build
- deps-dev: cleanup + interactive upgrades (902e0cd)
- deps-peer: add
@types/node@>=14.0.0
(optional) (3fd378c) - deps: use
@flex-development/tutils@4.0.3
(e8ccdf7) - deps: use
@flex-development/tutils@4.2.1
(3f669cb)
🚚 Continuous Integration & Deployment
- workflows: add
delete-release-branch
job (d153326) - workflows: push to protected branch 'main' (b7d97ed)
- workflows: temporarily skip dependency graph check (35fb2e0)
- workflows: update
integrity
triggers (18078ee)
✏️ Housekeeping
- check code style (1629db0)
- scripts: add check:ci script (2c86c10)
- scripts: remove
*.tgz
files inclean:build
script (ab53a48) - tools: cleanup esm loader (2f09329)
- tools: reorganize build workflow (6699370)
- tools: use explicit environment variables in testing workflow (02457e9)
- typescript: add typings for
@vercel/ncc
(b5a9424) - typescript: add typings for
tsc-prog/dist/utils/log
(13ee632) - typescript: run type check (e59e47a)
- update eslint config to handle dotfiles (8dd39c8)
log@4.0.1-dev.0
🐛 Fixes
- cjs: directory index specifiers (a5745a9)
🔨 Build
- add
.d.ts
file source maps to build output (6430673) - cjs: enable downleveling (310d995)
- typescript: upgrade to
typescript@4.5.0-beta
(40db490)
🚚 Continuous Integration & Deployment
- workflows: update
continuous-integration
triggers (bc104d3) - workflows: update
integrity
triggers (5b1d5c4)
🤖 Testing
- typescript: disable
noImplicitAny
andnoUncheckedIndexedAccess
(3dc96ee)
log@4.0.0-dev.0
⚠ BREAKING CHANGES
- target
node>=14.18.0
- use
.cjs
and.mjs
extensions, drop.js
log.ts
->main.ts
🐛 Fixes
Error: Cannot find module ../loaders/env.cjs
(512eb0f)
♻️ Code Improvements
log.ts
->main.ts
(b4f9756)
🔨 Build
- deps-dev: add
eslint-plugin-markdownlint@0.2.2
(55c6e3c) - deps-dev: interactive upgrades (7ad9d8e)
- deps-dev: remove unused lodash deps (07919bf)
- use
.cjs
and.mjs
extensions, drop.js
(8bc6191)
✏️ Housekeeping
- add
.eslintrc.base.cjs
(3ca17b7) - add husky hooks to prettier overrides (0bd2783)
- github: add commit scopes -
cjs
,config
,esm
,hybrid
,utils
(8212043) - github: add labels -
scope:ci
,scope:tools
,scope:yarn
(5ea181c) - github: drop
log
commit scope (92abec0) - github: update
scope:scripts
label description (c994243) - release: set package version (7de69fe)
- set
typescript.tsdk
(80e35b6) - toggle
--experimental-json-modules
flag usage (84543f7) - tools: fix typo in jest script (218f4ba)
- tools: update
loadenv
invocations (7afab48) - update eslint + prettier ignore patterns (fe7f9d4)
- update eslint extensions (f3dae34)
- use husky v7 (f660aa1)
log@3.0.0-dev.0
⚠ BREAKING CHANGES
- use esm
- fix enum exports parsing
- kebab case filenames for
src
files
🔨 Build
- deps-dev: drop
@flex-development/exceptions@4.0.1
(e03aa28) - deps-dev: drop
lodash.merge@4.6.2
(afbd4fa) - deps-dev: interactively upgrade dependencies (9112437)
- deps-opt: make
shelljs
deps optional (f0df520) - deps-peer: require
typescript>=4.4.0
(65614ec) - fix enum exports parsing (1661ebd)
- use esm (4487c15)
- yarn: deduplicate dependencies (01b3adf)
🚚 Continuous Integration & Deployment
- workflows: add ids to
automate-pr-reviews
steps (e39878c) - workflows: support new tag prefix in
continuous-deployment
workflow (9188fcc) - workflows: update environment variables and workflow syntax (0078377)
📖 Documentation
- fix module annotations in
tools
directory (48f732b) - remove
docs/examples
directory (c60e611) - update
release/*
naming conventions (8c2b0e2) - update environment setup, merge strategies, and release docs (46de44f)
💅 Formatting & Structure
- kebab case filenames for
src
files (c59be49)
✏️ Housekeeping
- add
eslint-plugin-unicorn
(66ae749) - add
github
commit scope (34a50f5) - github: reorganize labels (5a3c380)
- re-add
scripts
commit scope (82293a8) - release: set package version to
3.0.0-dev.0
(dedc655) - scripts: add
check:upgrades
script (ae4209e) - scripts: disable
postinstall
during git installs (c39b762) - tools: add
prerelease
option torelease
cli (9c10682) - tools: add
ReleaseOptions.path
(b7841d8) - tools: add option aliases to
ReleaseOptions
(34e2a18) - tools: create tarballs from
build
script (214afcc) - tools: move scripts to
tools
directory (c5522e6) - tools: rename package data helper (ae8238c)
- tools: update
build
andrelease
cli options (1930db5) - tools: update
exec
return value (c763f8e) - tools: update release tag prefixing (c4d189b)
- tools: use
yarn pack
inpostchangelog
script (6b3ab68) - typescript: cleanup tsconfigs before esm migration (0cd74d7)
- update bug report issue template (0a52651)
- use
cjs
extensions (abaabd1) - use typescript
commitlint
config (e6c7aa2) - yarn: update
.yarnrc.yml
env var names (57ad692)
log@2.0.0
✏️ Housekeeping
- add
deps-peer
andyarn
commit scopes (21905de) - run
yarn set version berry
(4bcda50) - scripts: add
check:dedupe
(8ed8ce6) - scripts: add
check:install
(54304ea) - scripts: add
clean:modules
andclean:yarn
(8f2b31e) - update
lint-staged
config (f875714) - update environment variables (d8e08d5)
- yarn: add
@yarnpkg/plugin-interactive-tools
(aba5881)
🚚 Continuous Integration & Deployment
- scripts: don't run
postinstall
script in ci environments (948b852) - workflows: add
integrity
(f3b1ac2)
🔨 Build
- run
yarn dedupe --strategy highest
(51f11e6) - run local integrity check (785b39d)
- deps-dev: add
concurrently@6.2.1
(e4edd20) - update build output (cdd6c61)
- deps-dev: add
pinst@2.1.6
(8ae61c4) - deps-dev: add
is-ci@3.0.0
(f0f96c5) - deps-dev: upgrade
eslint
deps (3e14f52) - deps-dev: drop
@vercel/ncc@0.29.2
(ed6f7dd) - deps-dev: use
lint-staged@11.1.2
(1787132) - deps-dev: use
@types/rimraf@3.0.2
(78125e6) - deps-dev: use
@types/node@16.9.1
(fba0633) - deps-dev: use
@flex-development/grease@1.1.0
(d39acb4) - deps-dev: upgrade
commitlint
deps tov13.1.0
(ac3b319) - deps-dev: use
prettier-plugin-sh@0.7.1
(2758396) - deps-dev: use
prettier@2.4.0
(e837383) - deps-dev: use
npm@7.23.0
(5f8c0f7) - deps-dev: use
@types/jest@27.0.1
(eb24c95) - deps-dev: use
jest@27.2.0
(2b1cc6a) - deps-dev: use
ts-jest@27.0.5
(5a24e79) - deps-dev: use
ts-node@10.2.1
(6ad403a) - deps-dev: use
typescript@4.4.2
(6728e5c) - deps-dev: use
tsconfig-paths@3.11.0
(e5c9e10) - deps: use
@flex-development/tutils@3.1.7
(5b4040d)
log@1.0.1
log@1.0.0 (🎂 First Release)
Overview
Simple logging utility. Customize log entries and create entries based on log Level
presets.
Debug
Create a log entry in gray.
import log from '@flex-development/log'
/**
* @file Examples - debug log
* @module log/docs/examples/debug
*/
log('debug log')
Error
Create a log entry with a red cross.
import log from '@flex-development/log'
/**
* @file Examples - error log
* @module log/docs/examples/error
*/
log('error log', { level: 'ERROR' })
Info
Create a log entry with a blue info symbol.
import log from '@flex-development/log'
/**
* @file Examples - info log
* @module log/docs/examples/info
*/
log('info log', { level: 'INFO' })
Success
Create a log entry with a green tick mark.
import log from '@flex-development/log'
/**
* @file Examples - success log
* @module log/docs/examples/success
*/
log('success log', { level: 'SUCCESS' })
Warning
Create a log entry with a yellow exclamation point.
import log from '@flex-development/log'
/**
* @file Examples - warning log
* @module log/docs/examples/warning
*/
log('warning log', { level: 'WARN' })