Skip to content

Releases: oropesa/oro-functions

Release v2.3.0

18 May 19:50
629382c
Compare
Choose a tag to compare

2.3.0 / 2024-05-18

  • Jumped version 2.2.0 to 2.3.0, to have the same minor-version of oro-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 from v2.2.2 to v2.3.0.
  • Updated dev libs:
    • @babel/core from v7.24.4 to v7.24.5.
    • @babel/preset-env from v7.24.4 to v7.24.5.
    • eslint-plugin-jest from v28.2.0 to v28.5.0.
    • eslint-plugin-unicorn from v52.0.0 to v53.0.0.
  • Added dev libs:
    • @eslint/js added v9.2.0.
    • globals added v15.2.0.
    • typescript-eslint added v7.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

26 Apr 21:56
a027376
Compare
Choose a tag to compare

2.1.1 / 2024-04-26

  • Improved github cicd replacing actions/--@v3 by actions/--@v4.
  • Fixed prettier endOfLine: 'lf'
  • Updated libs:
    • oro-functions-client from v2.2.0 to v2.2.2.
    • zip-lib from v1.0.0 to v1.0.4.
  • Added dev libs:
    • eslint-plugin-github@^4.10.2
  • Updated dev libs:
    • @babel/core from v7.23.9 to v7.24.4.
    • @babel/preset-env from v7.23.9 to v7.24.4.
    • @babel/preset-typescript from v7.23.3 to v7.24.1.
    • @typescript-eslint/eslint-plugin from v7.0.2 to v7.7.1.
    • @typescript-eslint/parser from v7.0.2 to v7.7.1.
    • eslint-plugin-jest from v27.9.0 to v28.2.0.
    • eslint-plugin-unicorn from v51.0.1 to v52.0.0.
    • typescript from v5.3.3 to v5.4.5.

Release v2.1.0

09 Mar 22:03
8d75327
Compare
Choose a tag to compare

2.1.0 / 2024-03-09

  • Updated some functions:
    • Updated obtainingConfig, obtainOConfigSync using by default the file oconfig.json.
    • Added in console process write:
      • consts PROCESS_WRITE_COLORS, PROCESS_WRITE_COLOR_NUMBER, PROCESS_WRITE_BACKGROUND_NUMBER.
      • types ProcessWriteColorNumber, ProcessWriteBackgroundNumber.
  • Setted a deprecated some functions:
    • obtainOroConfig, use obtainOConfig with oconfig.json as default file instead.
    • obtainOroConfigSync, use obtainOConfigSync with oconfig.json as default file instead.
    • isPortAvailable, use isPortFree instead.
  • Fixed let by const when it's required.
  • Added coverage for testing.
  • Added watcher for coding.
  • Improved github cicd replacing npm install to npm 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 from v11.1.1 to v11.2.0.
    • get-port-please from ^3.1.1 to v3.1.2.
    • oro-functions-client from v2.1.2 to v2.2.0.
    • zip-lib from v0.7.3 to v1.0.0.
  • Updated dev libs:
    • @babel/core from v7.23.3 to v7.23.9.
    • @babel/preset-env from v7.23.3 to v7.23.9.
    • @types/jest from v29.5.10 to v29.5.12.
    • @typescript-eslint/eslint-plugin from v6.12.0 to v7.0.2.
    • @typescript-eslint/parser from v6.12.0 to v7.0.2.
    • eslint from v8.54.0 to v^8.57.0.
    • eslint-plugin-unicorn from v49.0.0 to v50.0.1.
    • husky from v8.0.3 to v9.0.11.
    • prettier from v3.1.0 to v3.2.5.
    • tsup from v8.0.1 to v8.0.2.
    • typescript from v5.2.2 to v5.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

23 Nov 10:11
27d1353
Compare
Choose a tag to compare

2.0.3 / 2023-11-23

  • Updated lib: oro-functions-client from v2.1.1 to v2.1.2.

Release v2.0.2

22 Nov 13:58
9555435
Compare
Choose a tag to compare

2.0.2 / 2023-11-22

  • Fixed github action npm_publish_on_pr_merge_to_master.
  • Updated libs:
    • fast-glob from v3.3.1 to v3.3.2.
    • oro-functions-client from v2.1.0 to v2.1.1.
  • Updated dev libs:
    • @babel/core from v7.23.2 to v7.23.3.
    • @babel/preset-env from v7.23.2 to v7.23.3.
    • @babel/preset-typescript from v7.23.2 to v7.23.3.
    • @types/atob from v2.1.3 to v2.1.4.
    • @types/fs-extra from v11.0.3 to v11.0.4.
    • @types/jest from v29.5.7 to v29.5.10.
    • @typescript-eslint/eslint-plugin from v6.9.1 to v6.12.0.
    • @typescript-eslint/parser from v6.9.1 to v6.12.0.
    • eslint from v8.52.0 to v8.54.0.
    • prettier from v3.0.3 to v3.1.0.
    • tsup from v7.2.0 to v8.0.1.

Release v2.0.1

03 Nov 13:46
d75f417
Compare
Choose a tag to compare

2.0.1 / 2023-11-03

  • Fixed typescript output definition of fn getFileJsonRecursively, getFileJsonRecursivelySync to simplify their use (removing {}).
  • Updated dev libs:
    • @types/jest from v29.5.6 to v29.5.7.
    • @typescript-eslint/eslint-plugin from v6.9.0 to v6.9.1.
    • @typescript-eslint/parser from v6.9.0 to v6.9.1.
    • eslint-plugin-unicorn from v48.0.1 to v49.0.0.
  • Deleted non-use dev libs:
    • @types/crypto-js.
    • @types/express.
    • @types/lodash.clonedeep.

Release v2.0.0

29 Oct 10:27
1b280fc
Compare
Choose a tag to compare

2.0.0 / 2023-10-27

NOTE:

⚠️ It's not valid anymore:
const Ofn = require('oro-functions'),

✔️ use the following instead:
const { Ofn } = require('oro-functions')

  • Added method osIsAndroid.
  • Updated method isPortFree adding a second param host (by default localhost) to check specific port.
  • Updated method getPortFree adding a third param host (by default localhost) to get free port.
  • Refactored *.js to src/*.ts.
  • Improved typescript output declarations.
  • Updated package as type: "module".
  • Added tsup and now package is compiled to cjs (common) and mjs (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 to v3.3.1
    • get-port-please to v3.1.1
    • oro-functions-client to v2.1.0
  • Updated dev libs:
    • @babel/core to v7.23.2.
    • @babel/preset-env to v7.23.2.
    • @babel/preset-typescript to v7.23.2.
    • @types/express to 4.17.20
    • @types/jest to v29.5.6.
    • babel-jest to v29.7.0.
    • jest to v29.7.0.