Skip to content

Commit 747cffa

Browse files
committed
chore: bump to 4.0 and rebuild
1 parent 13e6f5d commit 747cffa

11 files changed

+16
-36
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ To rebuild the JavaScript continuously, run `yarn watch`.
6464

6565
* Update the JavaScript dependencies by changing `package.json` (e.g. with [ncu](https://www.npmjs.com/package/npm-check-updates)).
6666
* Run `yarn`.
67-
* Update the version number in `pyproject.toml` (with `poetry version [VERSION]`), `package.json`, `widget.py`, and `__init__.py`
67+
* Update the version number in `pyproject.toml` (with `poetry version [VERSION]`), `package.json`, `_frontend.py`, and `__init__.py`
6868
* Rebuild the JavaScript with `yarn build`.
6969
* Make sure that everything still works (launch notebook and widgets and try the examples).
7070
* Add a git tag.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jupyter-vega",
3-
"version": "3.6.0",
3+
"version": "4.0.0",
44
"description": "IPython/Jupyter notebook module for [Vega](https://vega.github.io/vega), and [Vega-Lite](https://vega.github.io/vega-lite).",
55
"repository": {
66
"type": "git",

pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "vega"
3-
version = "3.6.0"
3+
version = "4.0.0"
44
license = "BSD 3-clause"
55
description = "A Jupyter widget for Vega 5 and Vega-Lite 4"
66
authors = ["Dominik Moritz <[email protected]>"]
@@ -48,5 +48,5 @@ notebook = "vega.vegalite:entry_point_renderer"
4848
notebook = "vega.vega:entry_point_renderer"
4949

5050
[build-system]
51-
requires = ["poetry>=0.12"]
51+
requires = ["poetry>=1.4.2"]
5252
build-backend = "poetry.masonry.api"

vega/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
__all__ = ['Vega', 'VegaLite']
1010

11-
__version__ = '3.6.0'
11+
__version__ = '4.0.0'
1212

1313

1414
def _jupyter_nbextension_paths():

vega/_frontend.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
module_name = "jupyter-vega"
2-
EXTENSION_SPEC_VERSION = "^3.6.0"
2+
EXTENSION_SPEC_VERSION = "^4.0.0"

vega/static/index.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vega/static/labplugin.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vega/static/widget.js

-7
This file was deleted.

vega/static/widget.js.LICENSE.txt

-8
This file was deleted.

vega/static/widget.js.map

-5
This file was deleted.

webpack.config.js

+8-8
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,17 @@ const commonConfig = {
3333

3434
module.exports = [
3535
// the main vega extension
36-
Object.assign({}, commonConfig, {
36+
{...commonConfig, ...{
3737
entry: "./src/extension.ts",
3838
output: {
3939
filename: "extension.js",
4040
path: outputPath,
4141
libraryTarget: "amd",
4242
},
4343
externals: ["@jupyter-widgets/base"]
44-
}),
44+
}},
4545
// the main vega extension
46-
Object.assign({}, commonConfig, {
46+
{...commonConfig, ...{
4747
entry: "./src/index.ts",
4848
output: {
4949
filename: "index.js",
@@ -52,24 +52,24 @@ module.exports = [
5252
publicPath: `https://unpkg.com/jupyter-vega@${version}/dist/`
5353
},
5454
externals: ["@jupyter-widgets/base"]
55-
}),
55+
}},
5656
// the index extension
57-
Object.assign({}, commonConfig, {
57+
{...commonConfig, ...{
5858
entry: "./src/index.ts",
5959
output: {
6060
filename: "index.js",
6161
path: outputPath,
6262
libraryTarget: "amd"
6363
},
6464
externals: ["@jupyter-widgets/base"]
65-
}),
66-
Object.assign({}, commonConfig, {
65+
}},
66+
{...commonConfig, ...{
6767
entry: "./src/labplugin.ts",
6868
output: {
6969
filename: "labplugin.js",
7070
path: outputPath,
7171
libraryTarget: "amd"
7272
},
7373
externals: ["@jupyter-widgets/base"]
74-
}),
74+
}},
7575
];

0 commit comments

Comments
 (0)