diff --git a/.npmignore b/.npmignore index dce48325..b5033466 100644 --- a/.npmignore +++ b/.npmignore @@ -24,3 +24,12 @@ venv .travis.yml CHANGELOG.md README.md +demos +*__pycache__* +build +.vscode +tests +dist +usage* +.circleci +.github \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 60675c23..e665d3b8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [Unreleased] +## [0.3.0] - 2021-05-19 + +### Added +* Contributed initial build of Julia package. +* R package now includes an example application for `cytoCytoscape`. ### Changed * Dash has been upgraded to 1.* in requirements.txt and tests/requirements.txt (#123) @@ -15,7 +19,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed * Various security fixes -## [0.2.0] - 20120-07-09 +## [0.2.0] - 2020-07-09 ### Added * Contributed initial build of R package. diff --git a/dash_cytoscape/package.json b/dash_cytoscape/package-info.json similarity index 86% rename from dash_cytoscape/package.json rename to dash_cytoscape/package-info.json index e2766c49..97f8563f 100644 --- a/dash_cytoscape/package.json +++ b/dash_cytoscape/package-info.json @@ -1,6 +1,6 @@ { "name": "dash-cytoscape", - "version": "0.2.0", + "version": "0.3.0", "description": "A Component Library for Dash aimed at facilitating network visualization in Python, wrapped around Cytoscape.js", "repository": { "type": "git", @@ -21,10 +21,8 @@ "build:js-dev-extra": "webpack --config webpack.dev.extra.config.js", "build:js-extra": "webpack --config webpack.prod.extra.config.js", "build:js-all": "npm run build:js && npm run build:js-dev && npm run build:js-dev-extra && npm run build:js-extra", - "build:py": "dash-generate-components ./src/lib/components dash_cytoscape", - "build:py-activated": "(. venv/bin/activate || venv\\scripts\\activate && npm run build:py)", - "build:r": "dash-generate-components ./src/lib/components dash_cytoscape --r-prefix='cyto'", - "build:all": "npm run build:js-all && npm run build:py", + "build:backends": "dash-generate-components ./src/lib/components dash_cytoscape -p package-info.json --r-prefix 'cyto' --jl-prefix 'cyto'", + "build:all": "npm run build:js-all && npm run build:backends", "build:all-activated": "(. venv/bin/activate || venv\\scripts\\activate && npm run build:all)" }, "author": "The Plotly Team ", diff --git a/package.json b/package.json index e2766c49..97f8563f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dash-cytoscape", - "version": "0.2.0", + "version": "0.3.0", "description": "A Component Library for Dash aimed at facilitating network visualization in Python, wrapped around Cytoscape.js", "repository": { "type": "git", @@ -21,10 +21,8 @@ "build:js-dev-extra": "webpack --config webpack.dev.extra.config.js", "build:js-extra": "webpack --config webpack.prod.extra.config.js", "build:js-all": "npm run build:js && npm run build:js-dev && npm run build:js-dev-extra && npm run build:js-extra", - "build:py": "dash-generate-components ./src/lib/components dash_cytoscape", - "build:py-activated": "(. venv/bin/activate || venv\\scripts\\activate && npm run build:py)", - "build:r": "dash-generate-components ./src/lib/components dash_cytoscape --r-prefix='cyto'", - "build:all": "npm run build:js-all && npm run build:py", + "build:backends": "dash-generate-components ./src/lib/components dash_cytoscape -p package-info.json --r-prefix 'cyto' --jl-prefix 'cyto'", + "build:all": "npm run build:js-all && npm run build:backends", "build:all-activated": "(. venv/bin/activate || venv\\scripts\\activate && npm run build:all)" }, "author": "The Plotly Team ", diff --git a/setup.py b/setup.py index 364f90dd..f46278b1 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages -with open(os.path.join('dash_cytoscape', 'package.json')) as f: +with open('package.json') as f: package = json.load(f) package_name = package["name"].replace(" ", "_").replace("-", "_")