diff --git a/.github/workflows/manual.yml b/.github/workflows/manual.yml index c457057..a46db4d 100644 --- a/.github/workflows/manual.yml +++ b/.github/workflows/manual.yml @@ -39,6 +39,6 @@ jobs: distributionId: "${{ secrets.DISTRIBUTION_ID }}" bucket: testcrudbucket source: ./dist - destination: /calculation/latest + destination: /calculate/latest acl: public-read invalidations: ${{ github.event.inputs.invalidations }} diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 8e2dfe1..dc59612 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,19 +1,19 @@ -# Contributing to CoCreate-calculations +# Contributing to CoCreate-calculate -This project is work of [many contributors](https://github.com/CoCreate-app/CoCreate-calculations/graphs/contributors). -You're encouraged to submit [pull requests](https://github.com/CoCreate-app/CoCreate-calculations/pulls), -[propose features and discuss issues](https://github.com/CoCreate-app/CoCreate-calculations/issues). +This project is work of [many contributors](https://github.com/CoCreate-app/CoCreate-calculate/graphs/contributors). +You're encouraged to submit [pull requests](https://github.com/CoCreate-app/CoCreate-calculate/pulls), +[propose features and discuss issues](https://github.com/CoCreate-app/CoCreate-calculate/issues). In the examples below, substitute your Github username for `contributor` in URLs. ## Fork the Project -Fork the [project on Github](https://github.com/CoCreate-app/CoCreate-calculations) and check out your copy. +Fork the [project on Github](https://github.com/CoCreate-app/CoCreate-calculate) and check out your copy. ``` -git calculations https://github.com/contributor/CoCreate-calculations.git -cd CoCreate-calculations -git remote add upstream https://github.com/CoCreate-app/CoCreate-calculations.git +git clone https://github.com/contributor/CoCreate-calculate.git +cd CoCreate-calculate +git remote add upstream https://github.com/CoCreate-app/CoCreate-calculate.git ``` ## Create a Topic Branch @@ -50,7 +50,7 @@ git config --global user.email "contributor@example.com" ``` We use [semantic-release](https://github.com/semantic-release/semantic-release) as process to generate changelog -and to release. Write meaningful commits according to +and to release. Write meaningful commits according to [Commit Message Formats](https://github.com/semantic-release/semantic-release#commit-message-format) is important. ``` @@ -66,7 +66,6 @@ Here is an example of the release type that should be done based on a [semantic- | `feat(pencil): add 'graphiteWidth' option` | ~~Minor~~ Feature Release | | `perf(pencil): remove graphiteWidth option`

`BREAKING CHANGE: The graphiteWidth option has been removed.`
`The default graphite width of 10mm is always used for performance reasons.` | ~~Major~~ Breaking Release | - ## Push ``` @@ -75,7 +74,7 @@ git push origin my-feature-branch ## Make a Pull Request -Go to [https://github.com/CoCreate-app/CoCreate-calculations](https://github.com/CoCreate-app/CoCreate-calculations) and select your feature branch. +Go to [https://github.com/CoCreate-app/CoCreate-calculate](https://github.com/CoCreate-app/CoCreate-calculate) and select your feature branch. Click the 'Pull Request' button and fill out the form. Pull requests are usually reviewed within a few days. ## Rebase @@ -94,4 +93,4 @@ It's likely that your change will not be merged and that the nitpicky maintainer ## Thank You -Please do know that we really appreciate and value your time and work. We love you, really. \ No newline at end of file +Please do know that we really appreciate and value your time and work. We love you, really. diff --git a/CoCreate.config.js b/CoCreate.config.js index b70bfe9..4697e26 100644 --- a/CoCreate.config.js +++ b/CoCreate.config.js @@ -8,13 +8,13 @@ module.exports = { "object": { "_id": "6019bade4eea0817df303b0a", "name": "index.html", - "path": "/docs/calculation", - "pathname": "/docs/calculation/index.html", + "path": "/docs/calculate", + "pathname": "/docs/calculate/index.html", "src": "{{./docs/index.html}}", "host": [ "*" ], - "directory": "calculation", + "directory": "calculate", "content-type": "{{content-type}}", "public": "true" } diff --git a/README.md b/README.md index 76b3e13..8076f09 100644 --- a/README.md +++ b/README.md @@ -1,85 +1,85 @@ -# CoCreate-calculation +# CoCreate-calculate -A handy vanilla JavaScript calculator, concatenate multiple elements containing integers & execute calculations. Can be used for creating invoices,making payments & any kind of complex calculation. Easily configured using HTML5 attributes and/or JavaScript API. Take it for a spin in our [playground!](https://cocreate.app/docs/calculation) +A handy vanilla JavaScript calculator, concatenate multiple elements containing integers & execute calculate. Can be used for creating invoices,making payments & any kind of complex calculate. Easily configured using HTML5 attributes and/or JavaScript API. Take it for a spin in our [playground!](https://cocreate.app/docs/calculate) -![minified](https://img.badgesize.io/https://cdn.cocreate.app/calculation/latest/CoCreate-calculation.min.js?style=flat-square&label=minified&color=orange) -![gzip](https://img.badgesize.io/https://cdn.cocreate.app/calculation/latest/CoCreate-calculation.min.js?compression=gzip&style=flat-square&label=gzip&color=yellow) -![brotli](https://img.badgesize.io/https://cdn.cocreate.app/calculation/latest/CoCreate-calculation.min.js?compression=brotli&style=flat-square&label=brotli) -![GitHub latest release](https://img.shields.io/github/v/release/CoCreate-app/CoCreate-calculation?style=flat-square) -![License](https://img.shields.io/github/license/CoCreate-app/CoCreate-calculation?style=flat-square) +![minified](https://img.badgesize.io/https://cdn.cocreate.app/calculate/latest/CoCreate-calculate.min.js?style=flat-square&label=minified&color=orange) +![gzip](https://img.badgesize.io/https://cdn.cocreate.app/calculate/latest/CoCreate-calculate.min.js?compression=gzip&style=flat-square&label=gzip&color=yellow) +![brotli](https://img.badgesize.io/https://cdn.cocreate.app/calculate/latest/CoCreate-calculate.min.js?compression=brotli&style=flat-square&label=brotli) +![GitHub latest release](https://img.shields.io/github/v/release/CoCreate-app/CoCreate-calculate?style=flat-square) +![License](https://img.shields.io/github/license/CoCreate-app/CoCreate-calculate?style=flat-square) ![Hiring](https://img.shields.io/static/v1?style=flat-square&label=&message=Hiring&color=blueviolet) -![CoCreate-calculation](https://cdn.cocreate.app/docs/CoCreate-calculation.gif) +![CoCreate-calculate](https://cdn.cocreate.app/docs/CoCreate-calculate.gif) -## [Docs & Demo](https://cocreate.app/docs/calculation) +## [Docs & Demo](https://cocreate.app/docs/calculate) -For a complete guide and working demo refer to the [doumentation](https://cocreate.app/docs/calculation) +For a complete guide and working demo refer to the [doumentation](https://cocreate.app/docs/calculate) ## CDN ```html - + ``` ```html - + ``` ## NPM ```shell -$ npm i @cocreate/calculation +$ npm i @cocreate/calculate ``` ## yarn ```shell -$ yarn install @cocreate/calculation +$ yarn install @cocreate/calculate ``` # Table of Contents -- [Table of Contents](#table-of-contents) -- [Announcements](#announcements) -- [Roadmap](#roadmap) -- [How to Contribute](#how-to-contribute) -- [About](#about) -- [License](#license) +- [Table of Contents](#table-of-contents) +- [Announcements](#announcements) +- [Roadmap](#roadmap) +- [How to Contribute](#how-to-contribute) +- [About](#about) +- [License](#license) # Announcements -All updates to this library are documented in our [CHANGELOG](https://github.com/CoCreate-app/CoCreate-calculation/blob/master/CHANGELOG.md) and [releases](https://github.com/CoCreate-app/CoCreate-calculation/releases). You may also subscribe to email for releases and breaking changes. +All updates to this library are documented in our [CHANGELOG](https://github.com/CoCreate-app/CoCreate-calculate/blob/master/CHANGELOG.md) and [releases](https://github.com/CoCreate-app/CoCreate-calculate/releases). You may also subscribe to email for releases and breaking changes. # Roadmap -If you are interested in the future direction of this project, please take a look at our open [issues](https://github.com/CoCreate-app/CoCreate-calculation/issues) and [pull requests](https://github.com/CoCreate-app/CoCreate-calculation/pulls). We would love to hear your feedback. +If you are interested in the future direction of this project, please take a look at our open [issues](https://github.com/CoCreate-app/CoCreate-calculate/issues) and [pull requests](https://github.com/CoCreate-app/CoCreate-calculate/pulls). We would love to hear your feedback. # About -CoCreate-calculation is guided and supported by the CoCreate Developer Experience Team. +CoCreate-calculate is guided and supported by the CoCreate Developer Experience Team. Please Email the Developer Experience Team [here](mailto:develop@cocreate.app) in case of any queries. -CoCreate-calculation is maintained and funded by CoCreate. The names and logos for CoCreate are trademarks of CoCreate, LLC. +CoCreate-calculate is maintained and funded by CoCreate. The names and logos for CoCreate are trademarks of CoCreate, LLC. # How to Contribute -We encourage contribution to our libraries (you might even score some nifty swag), please see our [CONTRIBUTING](https://github.com/CoCreate-app/CoCreate-calculation/blob/master/CONTRIBUTING.md) guide for details. +We encourage contribution to our libraries (you might even score some nifty swag), please see our [CONTRIBUTING](https://github.com/CoCreate-app/CoCreate-calculate/blob/master/CONTRIBUTING.md) guide for details. -We want this library to be community-driven, and CoCreate led. We need your help to realize this goal. To help make sure we are building the right things in the right order, we ask that you create [issues](https://github.com/CoCreate-app/CoCreate-calculation/issues) and [pull requests](https://github.com/CoCreate-app/CoCreate-calculation/pulls) or merely upvote or comment on existing issues or pull requests. +We want this library to be community-driven, and CoCreate led. We need your help to realize this goal. To help make sure we are building the right things in the right order, we ask that you create [issues](https://github.com/CoCreate-app/CoCreate-calculate/issues) and [pull requests](https://github.com/CoCreate-app/CoCreate-calculate/pulls) or merely upvote or comment on existing issues or pull requests. We appreciate your continued support, thank you! - + # License -[The MIT License (MIT)](https://github.com/CoCreate-app/CoCreate-calculation/blob/master/LICENSE) +[The MIT License (MIT)](https://github.com/CoCreate-app/CoCreate-calculate/blob/master/LICENSE) diff --git a/demo/index.html b/demo/index.html index d547e7d..4b475bf 100644 --- a/demo/index.html +++ b/demo/index.html @@ -1,7 +1,7 @@ - Calculations | CoCreateJS + Calculate | CoCreateJS sum - + diff --git a/docs/index.html b/docs/index.html index c5c3231..0a3c68b 100644 --- a/docs/index.html +++ b/docs/index.html @@ -4,7 +4,7 @@ - CoCreate-calculations Documentation | CoCreateJS + CoCreate-calculate Documentation | CoCreateJS + content="A handy JavaScript calculator,concatenate multiple inputs containing integers & execute calculate.Can be used for invoices,payments & any complex calculate" /> + content="https://cdn.cocreate.app/docs/calculate.png" /> + id="cocreate-calculate">
-

CoCreate-calculations

+

CoCreate-calculate

@@ -78,7 +78,7 @@

CoCreate-calculations

share-title="testing im a title" share-height="600" share-width="700" - share-media="https://cdn.cocreate.app/docs/calculation.png" + share-media="https://cdn.cocreate.app/docs/calculate.png" hover="display:block!important" hover-selector=".social-networks"> CoCreate-calculations

A handy vanilla JavaScript calculator, concatenate multiple - elements containing integers & execute calculations. Can be + elements containing integers & execute calculate. Can be used for creating invoices,making payments & any kind of - complex calculation. Easily configured using HTML5 attributes + complex calculate. Easily configured using HTML5 attributes and/or JavaScript API.

-
+