ecomplus / utils Goto Github PK
View Code? Open in Web Editor NEWIsomorphic JS utility functions to E-Com Plus (not only) related apps
Home Page: https://developers.e-com.plus/utils/
License: MIT License
Isomorphic JS utility functions to E-Com Plus (not only) related apps
Home Page: https://developers.e-com.plus/utils/
License: MIT License
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.
@commitlint/cli
, @commitlint/config-conventional
).github/workflows/create-release.yml
actions/checkout v4
actions/create-release v1
.github/workflows/publish.yml
actions/checkout v4
actions/setup-node v4
actions/cache v4
package.json
@babel/core ^7.24.6
@babel/preset-env ^7.24.6
@commitlint/cli ^17.8.1
@commitlint/config-conventional ^17.8.1
babel-loader ^8.3.0
copy-webpack-plugin ^6.4.1
core-js ^3.37.1
docdash ^2.0.2
husky ^4.3.8
jsdoc ^4.0.3
standard ^17.1.0
commit-and-tag-version ^9.6.0
webpack ^4.47.0
webpack-cli ^3.3.12
webpack-dev-server ^3.11.3
core-js ^3.37.1
.nvmrc
node 16.20.2
Add methods to parse:
{ day, month, year }
;{ country_code, number}
;customer.name
(or customer
) object to full name string;More?
🤔 BREAKING v2.0.0: Usar nomes mais descritivos e sempre (ou quase) iniciando com verbos (getAny
, formatAny
, listAny
).
Em algumas situações fica muito ruim utilizar os métodos com pronomes genéricos como estão, tudo bem quando utilizado como
ecomUtils.price
por exemplo, mas como geralmente é feito named imports, sóprice
parece um number, não uma função.
README.md
with usage example and development instructions;_config
and _self
;Named export 'img' not found. The requested module '@ecomplus/utils' is a CommonJS module, which may not support all module.exports as named exports.
https://github.com/ecomplus/store/actions/runs/3064321753/jobs/4947313663
🙃
Rename imported config object from config
to _config
and update the default values on methods documentation (jsdoc).
To explicitly reference the same object as did by other E-Com Plus related libs (eg.: ecomplus-client
).
Setup GH Actions workflow to generate documentation after push on master with edits to README.md
or src/*
.
Workflow steps should reproduce the same of following commands:
npm run doc
git add docs
git commit -m "docs(generate): update jsdoc/docdash generated documentation"
git push
👕
There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.
Error type: undefined. Note: this is a nested preset so please contact the preset author if you are unable to fix it yourself.
We haven't jsdoc examples for many methods:
alphabeticalSort
birthDate
categoriesList
findByName
formatDate
gridTitle
imgSizes
lineAddress
nickname
objectIdPad
phone
randomObjectId
specTextValue
specValueByText
specValues
Actually, these examples are intended not only for documentation but also unit tests, so we need them to release v1.
Imo would also be good to use write them to test/demo.js
file, then they will be called with npm run serve
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.