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

Commit

Permalink
Merge branch 'release/v1.3.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
adarshlilha committed Dec 2, 2019
2 parents 74cbf00 + d747ee8 commit cf44a81
Show file tree
Hide file tree
Showing 303 changed files with 18,789 additions and 27,765 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,12 @@ typings/
.serverless

packages/*/.nsi.json

package-lock.json
packages/*/node_modules/
*/**/package-lock.json
dist.zip
sherlock.json
examples/*

TODO
# End of https://www.gitignore.io/api/node,macos
2 changes: 2 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,4 +149,4 @@ Your PRs and stars are always welcome :). Checkout the [Contributing](https://gi

## License

MIT
MIT
12 changes: 12 additions & 0 deletions bitbucket-pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
image: node:10.16.3

pipelines:
pull-requests:
'**':
- step:
script:
- apt-get update
- apt-get install zip
- npm install --unsafe-perm
- npm run test
- npm run autotest:prod
22 changes: 22 additions & 0 deletions checklist.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
Checklist to release a new version to NPM:
* Make sure DataModel has been released first
* Clone Muze repository from Github if needed
* Checkout develop branch and make sure develop branch is up-to-date with remote
* If git flow is not initialized yet, Run: git flow init
* Create a new release branch, Run: git flow release start <new_version_with_v_character>
* Delete all existing npm dependencies, Run: rm -rf node_modules package-lock.json packages/*/node_modules packages/*/package-lock.json
* Make sure DataModel's latest version is configured in packages/muze-utils/package.json
* Install dependencies again, Run: npm install
* Update LICENSE file if needed
* Update README.md file if needed
* 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 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 release finish [-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
* When everything is fine, it's ready to release
* Checkout master branch
* Change current directory, Run: cd release
* Now if everything is fine, release it to npm, Run: npm publish
2 changes: 1 addition & 1 deletion dist/muze.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/muze.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/muze.js.map

Large diffs are not rendered by default.

15 changes: 15 additions & 0 deletions env-keys.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
const dotenv = require('dotenv');
const fs = require('fs-extra');

module.exports = () => {
let env = {};

fs.pathExists('./.env.build').then((exists) => {
env = exists ? dotenv.config({ path: './.env.build' }).parsed : {};
});

return Object.keys(env).reduce((prev, next) => {
prev[`process.env.${next}`] = JSON.stringify(env[next]);
return prev;
}, {});
};
9 changes: 9 additions & 0 deletions examples/data/areaData.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Year,Profit,Type
2013,1000,Sales
2013,400,Expense
2014,1170,Sales
2014,460,Expense
2015,-660,Sales
2015,1120,Expense
2016,1030,Sales
2016,540,Expense
Loading

0 comments on commit cf44a81

Please sign in to comment.