Skip to content

Commit db36f6e

Browse files
authored
Merge pull request #58 from python-project-templates/copier-update-2025-06-22T05-18-05
Update from copier (2025-06-22T05:18:05)
2 parents eb30558 + 9cd6515 commit db36f6e

File tree

6 files changed

+19
-4
lines changed

6 files changed

+19
-4
lines changed

.copier-answers.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Changes here will be overwritten by Copier
2-
_commit: 5c63cb2
2+
_commit: 42057e0
33
_src_path: https://github.com/python-project-templates/base.git
44
add_extension: jupyter
55
email: 3105306+timkpaine@users.noreply.github.com

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,6 @@ js/coverage
139139
js/dist
140140
js/lib
141141
js/node_modules
142-
python_template_jupyter/extension
143142

144143
# Jupyter
145144
.ipynb_checkpoints

js/jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ module.exports = {
2828
"^.+\\.jsx?$": "babel-jest",
2929
".+\\.(css|styl|less|sass|scss)$": "jest-transform-css",
3030
},
31-
transformIgnorePatterns: [`/node_modules/(?!(${esModules}))`],
31+
transformIgnorePatterns: [`/node_modules/.pnpm/(?!(${esModules}))`],
3232
};

pyproject.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,14 @@ exclude = [
118118

119119
[tool.hatch.build.targets.wheel]
120120
packages = ["python_template_jupyter"]
121-
exclude = ["js"]
121+
exclude = [
122+
"/js"
123+
]
122124

123125
[tool.hatch.build.targets.wheel.shared-data]
124126
"python_template_jupyter/labextension" = "share/jupyter/labextensions/python_template_jupyter"
127+
"python_template_jupyter/extension/install.json" = "share/jupyter/labextensions/python_template_jupyter/install.json"
128+
"python_template_jupyter/extension/python_template_jupyter.json" = "etc/jupyter/jupyter_server_config.d/python_template_jupyter.json"
125129

126130
[tool.hatch.build.hooks.jupyter-builder]
127131
build-function = "hatch_jupyter_builder.npm_builder"
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"packageManager": "python",
3+
"packageName": "python-template-jupyter",
4+
"uninstallInstructions": "Use your Python package manager (pip, conda, etc.) to uninstall the package python-template-jupyter"
5+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"ServerApp": {
3+
"jpserver_extensions": {
4+
"python_template_jupyter": true
5+
}
6+
}
7+
}

0 commit comments

Comments
 (0)