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

Commit cf44a81

Browse files
committed
Merge branch 'release/v1.3.0'
2 parents 74cbf00 + d747ee8 commit cf44a81

File tree

303 files changed

+18789
-27765
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

303 files changed

+18789
-27765
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,10 +104,12 @@ typings/
104104
.serverless
105105

106106
packages/*/.nsi.json
107-
107+
package-lock.json
108108
packages/*/node_modules/
109109
*/**/package-lock.json
110110
dist.zip
111111
sherlock.json
112+
examples/*
112113

114+
TODO
113115
# End of https://www.gitignore.io/api/node,macos

.vscode/settings.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
{
2+
}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,4 +149,4 @@ Your PRs and stars are always welcome :). Checkout the [Contributing](https://gi
149149

150150
## License
151151

152-
MIT
152+
MIT

bitbucket-pipelines.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
image: node:10.16.3
2+
3+
pipelines:
4+
pull-requests:
5+
'**':
6+
- step:
7+
script:
8+
- apt-get update
9+
- apt-get install zip
10+
- npm install --unsafe-perm
11+
- npm run test
12+
- npm run autotest:prod

checklist.txt

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
Checklist to release a new version to NPM:
2+
* Make sure DataModel has been released first
3+
* Clone Muze repository from Github if needed
4+
* Checkout develop branch and make sure develop branch is up-to-date with remote
5+
* If git flow is not initialized yet, Run: git flow init
6+
* Create a new release branch, Run: git flow release start <new_version_with_v_character>
7+
* Delete all existing npm dependencies, Run: rm -rf node_modules package-lock.json packages/*/node_modules packages/*/package-lock.json
8+
* Make sure DataModel's latest version is configured in packages/muze-utils/package.json
9+
* Install dependencies again, Run: npm install
10+
* Update LICENSE file if needed
11+
* Update README.md file if needed
12+
* Create a release-ready build, Run: node scripts/make-release-build.js
13+
* Now release files would be created in release folder and ready to release
14+
* Test the release/dist/* files if needed
15+
* 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"
16+
* Then finish the release, Run: git flow release finish [-s] <new_version_with_v_character> and enter release notes
17+
* Push all changes and tags to remote, Run: git push origin master && git push origin develop && git push origin --tags
18+
* Edit the title of the released tag in Github
19+
* When everything is fine, it's ready to release
20+
* Checkout master branch
21+
* Change current directory, Run: cd release
22+
* Now if everything is fine, release it to npm, Run: npm publish

dist/muze.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/muze.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/muze.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

env-keys.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
const dotenv = require('dotenv');
2+
const fs = require('fs-extra');
3+
4+
module.exports = () => {
5+
let env = {};
6+
7+
fs.pathExists('./.env.build').then((exists) => {
8+
env = exists ? dotenv.config({ path: './.env.build' }).parsed : {};
9+
});
10+
11+
return Object.keys(env).reduce((prev, next) => {
12+
prev[`process.env.${next}`] = JSON.stringify(env[next]);
13+
return prev;
14+
}, {});
15+
};

examples/data/areaData.csv

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
Year,Profit,Type
2+
2013,1000,Sales
3+
2013,400,Expense
4+
2014,1170,Sales
5+
2014,460,Expense
6+
2015,-660,Sales
7+
2015,1120,Expense
8+
2016,1030,Sales
9+
2016,540,Expense

0 commit comments

Comments
 (0)