![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@emartech/typescript-example
Advanced tools
Example package for Typescript/Javascript code reuse
Example package for Typescript/Javascript code reuse, includes all the components to publish a package. Consists of testing, linting, building and deploying of the package.
Use this repository as a template on the GitHub site and after creating the new project
replace the name typescript-example
of the package to the desired one.
Also, the GitHub links should be updated to the new repository.
The repository name don't have to include the term package
, it's just for the puropse of showing what is the intention of the example.
When setting up the continous integration two environment variables are necessary: NPM_TOKEN
, GH_TOKEN
.
The package uses Typesript becuase the consumers get hints on how to use the library within the sourcecode.
Jest does the testing as it's not only a testruner, but also includes assertions and a virtual DOM library.
npm run test # Single test run, suitable for continous integration
npm run test:watch # Reruns modified tests on modification, good for development
Linting is done with ESlint and Prettier because TSlint is no longer maintained.
npm run lint # Checks for lint failures based on ESlint rules and Prettier config
npm run lint:fix # Fixes lint errors where possible
Besides the basic Typescript transpilation, the project uses microbundle to generate separate optimized files for UMD, module and Node bundles.
npm run bundle # Generates the optimized files into the dist directory
Semantic release enables to generate automatic versions based on commit messages.
By default, the package releases as public, you can change it within package.json
(publishConfig.access
).
npm run release # Creates a release on Github and publishes to NPM
To use the package, run the following command in your application folder.
npm install @emartech/typescript-example
FAQs
Example package for Typescript/Javascript code reuse
The npm package @emartech/typescript-example receives a total of 0 weekly downloads. As such, @emartech/typescript-example popularity was classified as not popular.
We found that @emartech/typescript-example demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 170 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
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.