Skip to content

Commit e597dea

Browse files
committed
Look for the package.json of the built extension
1 parent a58acda commit e597dea

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

MANIFEST.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ graft jupyterlab_blockly/labextension
1111
recursive-include patches *.patch
1212

1313
# Javascript files
14-
graft packages/
14+
graft packages/blockly-extension
1515
prune **/node_modules
1616
prune lib
1717
prune binder

jupyterlab_blockly/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
def _fetchVersion():
77
HERE = Path(__package__).parent.resolve()
88

9-
for settings in HERE.rglob("blockly-extension/package.json"):
9+
for settings in HERE.rglob("package.json"):
1010
try:
1111
with settings.open() as f:
1212
version = json.load(f)["version"]

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ build_cmd = "build:prod"
1414
npm = ["jlpm"]
1515

1616
[tool.check-manifest]
17-
ignore = ["jupyterlab_blockly/labextension/**", "assets/**", "lerna.json", "yarn.lock", ".*", "package-lock.json", "docs/**"]
17+
ignore = ["jupyterlab_blockly/labextension/**", "packages/**", "assets/**", "lerna.json", "yarn.lock", ".*", "package-lock.json", "docs/**"]
1818

1919
[tool.jupyter-releaser.hooks]
2020
before-bump-version = ["python -m pip install jupyterlab~=3.4"]

0 commit comments

Comments
 (0)