Security News
JavaScript Leaders Demand Oracle Release the JavaScript Trademark
In an open letter, JavaScript community leaders urge Oracle to give up the JavaScript trademark, arguing that it has been effectively abandoned through nonuse.
@americanexpress/one-app-locale-bundler
Advanced tools
A command line interface(CLI) tool for bundling the locale files.
A command line interface (CLI) tool for bundling a module's locale files for use within the One App ecosystem. This is used internally by
one-app-bundler
and itsbundle-module
script.
Add files and format them using either options shown below within your one app module.
- locale
- en-US
- links
- integration.json
- qa.json
- production.json
copy.json
or
- locale
- en-US.json
- es-ES.json
npm i -D @americanexpress/one-app-locale-bundler
There are two ways to use this:
Use bundle-module-locale
in your build script and one-app-locale-bundler
as a development dependency.
{
"scripts": {
"build": "bundle-module-locale"
},
"devDependencies": {
"@americanexpress/one-app-locale-bundler": "^2.3.0"
}
}
The other option is to require @americanexpress/one-app-locale-bundler
and invoke the function for bundling.
Within the package.json file.
{
"devDependencies": {
"@americanexpress/one-app-locale-bundler": "^2.3.0"
}
}
In your JS module.
const localeBundler = require('@americanexpress/one-app-locale-bundler');
localeBundler();
Once the npm script npm run build
is run or the function is invoked the locales are bundled and added to the build folders below. The json files contain
content for development
, qa
and production
environments.
- build
- 1.0.0
- en-us
- module-name.json
- integration.json
- qa.json
6.6.0 (2020-05-22)
FAQs
A command line interface(CLI) tool for bundling the locale files.
The npm package @americanexpress/one-app-locale-bundler receives a total of 31 weekly downloads. As such, @americanexpress/one-app-locale-bundler popularity was classified as not popular.
We found that @americanexpress/one-app-locale-bundler demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
In an open letter, JavaScript community leaders urge Oracle to give up the JavaScript trademark, arguing that it has been effectively abandoned through nonuse.
Security News
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Security News
Floating dependency ranges in npm can introduce instability and security risks into your project by allowing unverified or incompatible versions to be installed automatically, leading to unpredictable behavior and potential conflicts.