Skip to content
This repository has been archived by the owner on May 2, 2022. It is now read-only.

Commit

Permalink
Make a build and bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
adarshlilha committed Dec 2, 2019
1 parent b53227e commit c5b6716
Show file tree
Hide file tree
Showing 12 changed files with 281 additions and 3 deletions.
2 changes: 1 addition & 1 deletion checklist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Checklist to release a new version to NPM:
* Create a release-ready build, Run: node scripts/make-release-build.js
* Now release files would be created in release folder and ready to release
* Test the release/dist/* files if needed
* Now commit all the changes with this message: "Make a build and bump version"
* Now commit all the changes including release folder (so that other person can release from different system) with this message: "Make a build and bump version"
* Then finish the release, Run: git flow finish release [-s] <new_version_with_v_character> and enter release notes
* Push all changes and tags to remote, Run: git push origin master && git push origin develop && git push origin --tags
* Edit the title of the released tag in Github
Expand Down
1 change: 1 addition & 0 deletions dist/muze.css

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions dist/muze.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/muze.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/muze-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"d3-time": "^1.0.11",
"d3-transition": "^1.1.1",
"d3-voronoi": "^1.1.2",
"datamodel": "^2.2.2",
"datamodel": "^2.3.0",
"fusioncharts-smartlabel": "^1.0.2",
"hyperdis": "^1.0.1"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/muze/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "muze",
"private": true,
"version": "1.2.3",
"version": "1.3.0",
"description": "Composable visualisation library for web with a data-first approach",
"homepage": "https://muzejs.org",
"author": "Muzejs.org (https://muzejs.org/)",
Expand Down
51 changes: 51 additions & 0 deletions release/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
MIT License

Copyright (c) 2018 MuzeJS.org

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

##d3.js License

Copyright 2010-2017 Mike Bostock
All rights reserved.

Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

* Neither the name of the author nor the names of contributors may be used to
endorse or promote products derived from this software without specific prior
written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
152 changes: 152 additions & 0 deletions release/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,152 @@
<h3 align="center">
<br />
<br />
<a href="https://github.com/chartshq/muze">
<img src="https://github.com/chartshq/muze/raw/master/logo.png" alt="muzejs" title="muzejs" />
</a>
</h3>
<br />
<br />
<br />

[![NPM version](https://img.shields.io/npm/v/muze.svg)](https://www.npmjs.com/package/muze)
[![NPM total downloads](https://img.shields.io/npm/dt/muze.svg)](https://www.npmjs.com/package/muze)
[![Contributors](https://img.shields.io/github/contributors/chartshq/muze.svg)](https://github.com/chartshq/muze/graphs/contributors)
[![License](https://img.shields.io/github/license/chartshq/muze.svg)](https://github.com/chartshq/muze/blob/master/LICENSE)

## What is Muze?

Muze is a data visualization library which uses a layered Grammar of Graphics (GoG) to create composable and interactive data visualization for web. It uses a data-first approach to define the constructs and layers of the chart, automatically generates cross-chart interactivity, and allows you to over-ride any behavior or interaction on the chart.

Muze uses an in-browser [DataModel](https://github.com/chartshq/datamodel) to store and transform data, and control the behaviour of every component in the visualization, thereby enabling creating of complex and cross-connected charts.

## Features

* 🚀 Build complex and interactive visualizations by using **composable** layer constructs.
* 🔨 Use rich **data operators** to transform, visualize and interact with data.
* 👯 Define custom interactions by configuring **physical behavioural model** and **side effect**.
* ✂️ Use **css** to change look and feel of the charts.
* ☀️ Have a **single source of truth** for all your visualization and interaction controlled from data.
* 🔩 Integrate easily with your existing application by **dispatching actions** on demand.

## Installation

### CDN

Insert the muze build and the required CSS into the `<head>`:

```html
<link href="https://cdn.muzejs.org/lib/muze/core/latest/themes/muze.css" rel="stylesheet">
<script src="https://cdn.muzejs.org/lib/muze/core/latest/muze.js" type="text/javascript"></script>
```

### NPM

Install muze from NPM:

```bash
$ npm install --save muze
```

Also import the required stylesheet:

```javascript
import 'muze/dist/muze.css';
```

## Getting started

1. Prepare the data and the corresponding schema using [DataModel](https://github.com/chartshq/datamodel):

```javascript
// Prepare the schema for data
const schema = [
{
name: 'Name',
type: 'dimension'
},
{
name: 'Maker',
type: 'dimension'
},
{
name: 'Horsepower',
type: 'measure',
defAggFn: 'avg'
},
{
name: 'Origin',
type: 'dimension'
}
]

// Prepare the data
const data = [
{
"Name": "chevrolet chevelle malibu",
"Maker": "chevrolet",
"Horsepower": 130,
"Origin": "USA"
},
{
"Name": "buick skylark 320",
"Maker": "buick",
"Horsepower": 165,
"Origin": "USA"
},
{
"Name": "datsun pl510",
"Maker": "datsun",
"Horsepower": 88,
"Origin": "Japan"
}
]
```

2. Pass the data and schema to `DataModel` and create a new `DataModel` instance:

```javascript
const DataModel = muze.DataModel;
const dm = new DataModel(data, schema);
```

3. Pass the `DataModel` instance to `muze` and create your first chart:

```javascript
import muze from 'muze';
import 'muze/dist/muze.css';

// Create a global environment to share common configs across charts
const env = muze();
// Create a new canvas instance from the global environment
const canvas = env.canvas();
canvas
.data(dm)
.rows(["Horsepower"]) // Fields drawn on Y axis
.columns(["Origin"]) // Fields drawn on X axis
.mount("#chart"); // Specify an element to mount on using a CSS selector
```

See [muzejs.org/docs](https://muzejs.org/docs) for more documentation!

You also can checkout our Yeoman Generator [generator-muze](https://github.com/chartshq/generator-muze) to try out the **muze** through a boilerplate app.

## Documentation

You can find detailed tutorials, concepts and API references at [muzejs.org/docs](https://muzejs.org/docs).

## Support

Please raise a Github issue [here](https://github.com/chartshq/muze/issues/new).

## Roadmap

Please contribute to our public wishlist or upvote an existing feature at [Muze Public Wishlist & Roadmap](https://feedback.muzejs.org)

## Contributing

Your PRs and stars are always welcome :). Checkout the [Contributing](https://github.com/chartshq/muze/blob/master/CONTRIBUTING.md) guides.

## License

MIT
1 change: 1 addition & 0 deletions release/dist/muze.css

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions release/dist/muze.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions release/dist/muze.js.map

Large diffs are not rendered by default.

67 changes: 67 additions & 0 deletions release/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
{
"name": "muze",
"version": "1.3.0",
"description": "Composable visualisation library for web with a data-first approach",
"homepage": "https://muzejs.org",
"license": "MIT",
"author": "Muzejs.org (https://muzejs.org/)",
"contributors": [
{
"name": "Akash Goswami",
"email": "akashgoswami90s@gmail.com"
},
{
"name": "Ranajit Banerjee",
"email": "ranajit.113124@gmail.com",
"url": "https://github.com/ranajitbanerjee"
},
{
"name": "Mridul Meharia",
"email": "mehariamridul@gmail.com",
"url": "https://github.com/mridulmeh"
},
{
"name": "Subhash Haldar"
},
{
"name": "Sandeep Acharya"
},
{
"name": "Rousan Ali",
"email": "hello@rousan.io",
"url": "https://rousan.io"
},
{
"name": "Ujjal Kumar Dutta",
"email": "duttaujjal143@gmail.com"
},
{
"name": "Adarsh Lilha",
"email": "adarshlilha@gmail.com",
"url": "https://adarshlilha.com"
},
{
"name": "Swati Mukherjee",
"email": "swati@charts.com"
}
],
"main": "dist/muze.js",
"keywords": [
"muze",
"svg",
"vector",
"graphics",
"data-visualization",
"visualization",
"renderer",
"fusioncharts",
"relational",
"algebra",
"relation"
],
"repository": {
"type": "git",
"url": "https://github.com/chartshq/muze"
},
"dependencies": {}
}

0 comments on commit c5b6716

Please sign in to comment.