Releases: oropesa/oro-functions
Releases · oropesa/oro-functions
Release v2.3.0
2.3.0 / 2024-05-18
- Jumped version
2.2.0
to2.3.0
, to have the same minor-version oforo-functions-client
. - Updated eslint to flat
eslint.config.js
. - Simplified
tsup.config.ts
. - Re-init
package-lock.json
. - Updated prettier
printWidth: 120
- Updated libs:
oro-functions-client
fromv2.2.2
tov2.3.0
.
- Updated dev libs:
@babel/core
fromv7.24.4
tov7.24.5
.@babel/preset-env
fromv7.24.4
tov7.24.5
.eslint-plugin-jest
fromv28.2.0
tov28.5.0
.eslint-plugin-unicorn
fromv52.0.0
tov53.0.0
.
- Added dev libs:
@eslint/js
addedv9.2.0
.globals
addedv15.2.0
.typescript-eslint
addedv7.9.0
.
- Removed dev libs:
@typescript-eslint/eslint-plugin
removed.@typescript-eslint/parser
removed.eslint-config-alloy
removed.eslint-plugin-github
removed.eslint-plugin-jest-formatting
removed.
Release v2.1.1
2.1.1 / 2024-04-26
- Improved github cicd replacing
actions/--@v3
byactions/--@v4
. - Fixed prettier
endOfLine: 'lf'
- Updated libs:
oro-functions-client
fromv2.2.0
tov2.2.2
.zip-lib
fromv1.0.0
tov1.0.4
.
- Added dev libs:
eslint-plugin-github@^4.10.2
- Updated dev libs:
@babel/core
fromv7.23.9
tov7.24.4
.@babel/preset-env
fromv7.23.9
tov7.24.4
.@babel/preset-typescript
fromv7.23.3
tov7.24.1
.@typescript-eslint/eslint-plugin
fromv7.0.2
tov7.7.1
.@typescript-eslint/parser
fromv7.0.2
tov7.7.1
.eslint-plugin-jest
fromv27.9.0
tov28.2.0
.eslint-plugin-unicorn
fromv51.0.1
tov52.0.0
.typescript
fromv5.3.3
tov5.4.5
.
Release v2.1.0
2.1.0 / 2024-03-09
- Updated some functions:
- Updated
obtainingConfig
,obtainOConfigSync
using by default the fileoconfig.json
. - Added in console process write:
- consts
PROCESS_WRITE_COLORS
,PROCESS_WRITE_COLOR_NUMBER
,PROCESS_WRITE_BACKGROUND_NUMBER
. - types
ProcessWriteColorNumber
,ProcessWriteBackgroundNumber
.
- consts
- Updated
- Setted a deprecated some functions:
obtainOroConfig
, useobtainOConfig
withoconfig.json
as default file instead.obtainOroConfigSync
, useobtainOConfigSync
withoconfig.json
as default file instead.isPortAvailable
, useisPortFree
instead.
- Fixed
let
byconst
when it's required. - Added coverage for testing.
- Added watcher for coding.
- Improved github cicd replacing
npm install
tonpm ci
. - Improved
export
declarations in index files. - Enhanced linter adding some extensions.
- Enhanced prettier adding import-sorter.
- Improved tests migrating every test to the same level as their source file.
- Enhanced testing to achieve the
~95%
of coverage (yay!). - Updated libs:
fs-extra
fromv11.1.1
tov11.2.0
.get-port-please
from^3.1.1
tov3.1.2
.oro-functions-client
fromv2.1.2
tov2.2.0
.zip-lib
fromv0.7.3
tov1.0.0
.
- Updated dev libs:
@babel/core
fromv7.23.3
tov7.23.9
.@babel/preset-env
fromv7.23.3
tov7.23.9
.@types/jest
fromv29.5.10
tov29.5.12
.@typescript-eslint/eslint-plugin
fromv6.12.0
tov7.0.2
.@typescript-eslint/parser
fromv6.12.0
tov7.0.2
.eslint
fromv8.54.0
tov^8.57.0
.eslint-plugin-unicorn
fromv49.0.0
tov50.0.1
.husky
fromv8.0.3
tov9.0.11
.prettier
fromv3.1.0
tov3.2.5
.tsup
fromv8.0.1
tov8.0.2
.typescript
fromv5.2.2
tov5.3.3
.
- Added dev libs:
@trivago/prettier-plugin-sort-imports
eslint-plugin-jest-formatting
eslint-config-prettier
eslint-plugin-jest
nodemon
Release v2.0.3
2.0.3 / 2023-11-23
- Updated lib:
oro-functions-client
fromv2.1.1
tov2.1.2
.
Release v2.0.2
2.0.2 / 2023-11-22
- Fixed github action
npm_publish_on_pr_merge_to_master
. - Updated libs:
fast-glob
fromv3.3.1
tov3.3.2
.oro-functions-client
fromv2.1.0
tov2.1.1
.
- Updated dev libs:
@babel/core
fromv7.23.2
tov7.23.3
.@babel/preset-env
fromv7.23.2
tov7.23.3
.@babel/preset-typescript
fromv7.23.2
tov7.23.3
.@types/atob
fromv2.1.3
tov2.1.4
.@types/fs-extra
fromv11.0.3
tov11.0.4
.@types/jest
fromv29.5.7
tov29.5.10
.@typescript-eslint/eslint-plugin
fromv6.9.1
tov6.12.0
.@typescript-eslint/parser
fromv6.9.1
tov6.12.0
.eslint
fromv8.52.0
tov8.54.0
.prettier
fromv3.0.3
tov3.1.0
.tsup
fromv7.2.0
tov8.0.1
.
Release v2.0.1
2.0.1 / 2023-11-03
- Fixed typescript output definition of fn
getFileJsonRecursively
,getFileJsonRecursivelySync
to simplify their use (removing{}
). - Updated dev libs:
@types/jest
fromv29.5.6
tov29.5.7
.@typescript-eslint/eslint-plugin
fromv6.9.0
tov6.9.1
.@typescript-eslint/parser
fromv6.9.0
tov6.9.1
.eslint-plugin-unicorn
fromv48.0.1
tov49.0.0
.
- Deleted non-use dev libs:
@types/crypto-js
.@types/express
.@types/lodash.clonedeep
.
Release v2.0.0
2.0.0 / 2023-10-27
NOTE:
const Ofn = require('oro-functions')
,
✔️ use the following instead:const { Ofn } = require('oro-functions')
- Added method
osIsAndroid
. - Updated method
isPortFree
adding a second paramhost
(by defaultlocalhost
) to check specific port. - Updated method
getPortFree
adding a third paramhost
(by defaultlocalhost
) to get free port. - Refactored
*.js
tosrc/*.ts
. - Improved typescript output declarations.
- Updated package as
type: "module"
. - Added
tsup
and now package is compiled tocjs
(common) andmjs
(module). - Added github actions:
validate_pr_to_master
npm_publish_on_pr_merge_to_master
.
- Added
husky
(to ensure only valid commits). - Added
eslint
(and applied it). - Added
prettier
(and applied it). - Updated package description
- Updated libs:
fast-glob
tov3.3.1
get-port-please
tov3.1.1
oro-functions-client
tov2.1.0
- Updated dev libs:
@babel/core
tov7.23.2
.@babel/preset-env
tov7.23.2
.@babel/preset-typescript
tov7.23.2
.@types/express
to4.17.20
@types/jest
tov29.5.6
.babel-jest
tov29.7.0
.jest
tov29.7.0
.