Skip to content

Commit

Permalink
fix: renamed to caculate
Browse files Browse the repository at this point in the history
  • Loading branch information
frankpagan committed Nov 24, 2023
1 parent fe33eac commit 69a84f7
Show file tree
Hide file tree
Showing 9 changed files with 101 additions and 102 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
23 changes: 11 additions & 12 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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.

```
Expand All @@ -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`<br><br>`BREAKING CHANGE: The graphiteWidth option has been removed.`<br>`The default graphite width of 10mm is always used for performance reasons.` | ~~Major~~ Breaking Release |


## Push

```
Expand All @@ -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
Expand All @@ -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.
Please do know that we really appreciate and value your time and work. We love you, really.
6 changes: 3 additions & 3 deletions CoCreate.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down
56 changes: 28 additions & 28 deletions README.md
Original file line number Diff line number Diff line change
@@ -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
<script src="https://cdn.cocreate.app/calculation/latest/CoCreate-calculation.min.js"></script>
<script src="https://cdn.cocreate.app/calculate/latest/CoCreate-calculate.min.js"></script>
```

```html
<script src="https://cdn.cocreate.app/calculation/latest/CoCreate-calculation.min.css"></script>
<script src="https://cdn.cocreate.app/calculate/latest/CoCreate-calculate.min.css"></script>
```

## 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)

<a name="announcements"></a>

# 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.

<a name="roadmap"></a>

# 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.

<a name="about"></a>

# 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.

<a name="contribute"></a>

# 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!


<a name="license"></a>

# 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)
4 changes: 2 additions & 2 deletions demo/index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>Calculations | CoCreateJS</title>
<title>Calculate | CoCreateJS</title>
<!-- CoCreate Favicon -->
<link
rel="icon"
Expand All @@ -24,7 +24,7 @@ <h1 calculate="{[key='total']} + {#te}">sum</h1>
<!--<h1 calculate="1 + {#id1} * 5 + {#id3}/{#id2} + {#id2}"></h1>-->
<!--<h1 calculate="(({#id1} + {#id2})) * {#id3}"></h1>-->

<!--<script src="../dist/CoCreate-calculation.js"></script>-->
<!--<script src="../dist/CoCreate-calculate.js"></script>-->
<script src="https://CoCreate.app/dist/CoCreate.js"></script>
</body>
</html>
Loading

0 comments on commit 69a84f7

Please sign in to comment.