Skip to content

Commit 54f6b7a

Browse files
committed
.
1 parent e3037ea commit 54f6b7a

File tree

3 files changed

+19
-15
lines changed

3 files changed

+19
-15
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: 37f89c1
2+
_commit: b3bc450
33
_src_path: https://github.com/python-project-templates/base.git
44
add_docs: true
55
add_extension: rustjswasm

js/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,12 @@
5555
"@playwright/test": "^1.57.0",
5656
"@prospective.co/procss": "^0.1.17",
5757
"cpy": "^12.1.0",
58-
"esbuild": "^0.27.0",
58+
"esbuild": "^0.27.2",
5959
"esbuild-plugin-less": "^1.3.35",
6060
"http-server": "^14.1.1",
6161
"nodemon": "^3.1.11",
6262
"npm-run-all": "^4.1.5",
63-
"prettier": "^3.7.4",
63+
"prettier": "^3.8.1",
6464
"typescript": "^5.9.3"
6565
}
6666
}

pyproject.toml

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,9 @@ ignore = [
107107
".vscode/*",
108108
"python_template_rust/extension/**/*",
109109
"docs/**/*",
110-
"js/dist/**/*",
111-
"rust/.config/*",
112-
"rust/Cargo.lock",
113-
"rust/README.md",
110+
"js/**/*",
111+
"rust/**/*",
112+
"src/**/*",
114113
]
115114

116115
[tool.cibuildwheel]
@@ -165,22 +164,27 @@ path = "."
165164
[tool.hatch.build.targets.sdist]
166165
packages = [
167166
"python_template_rust",
168-
"/js",
169-
"/rust",
170-
"/src",
171167
]
172-
sources = [
173-
".",
168+
include = [
169+
"js",
170+
"rust",
171+
"src",
172+
"Cargo.toml",
173+
"Cargo.lock",
174+
]
175+
exclude = [
176+
"js/node_modules",
177+
"target",
174178
]
175179

176180
[tool.hatch.build.targets.wheel]
177181
packages = [
178182
"python_template_rust",
179183
]
180184
exclude = [
181-
"/js",
182-
"/rust",
183-
"/src",
185+
"js",
186+
"rust",
187+
"src",
184188
]
185189

186190
[tool.pytest.ini_options]

0 commit comments

Comments
 (0)