Skip to content

Commit f398223

Browse files
authored
Merge pull request #51 from python-project-templates/copier-update-2025-08-11T17-43-26
Update from copier (2025-08-11T17:43:26)
2 parents 5af0b08 + 646b76e commit f398223

File tree

9 files changed

+13
-15
lines changed

9 files changed

+13
-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: f3ffa74
2+
_commit: fa27c8d
33
_src_path: https://github.com/python-project-templates/base.git
44
add_docs: true
55
add_extension: js

.github/workflows/build.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,15 @@ jobs:
3434
node-version: [20.x]
3535

3636
steps:
37-
- uses: actions/checkout@v4
37+
- uses: actions/checkout@v5
3838

3939
- uses: actions-ext/python/setup@main
4040
with:
4141
version: ${{ matrix.python-version }}
4242

4343
- uses: actions-ext/node/setup@main
4444
with:
45-
version: 20.x
45+
version: 22.x
4646

4747
- name: Install dependencies
4848
run: make develop

.github/workflows/docs.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ jobs:
1111
docs:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v4
14+
- uses: actions/checkout@v5
1515
- uses: actions-ext/python/setup@main
1616
- uses: actions-ext/node/setup@main
17-
- run: uv pip install .
17+
- run: uv pip install .[develop]
1818
- run: uv pip install yardang
1919
- run: yardang build
2020
- uses: peaceiris/actions-gh-pages@v4

.github/workflows/wiki.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
deploy:
2121
runs-on: ubuntu-latest
2222
steps:
23-
- uses: actions/checkout@v4
23+
- uses: actions/checkout@v5
2424
- run: cp README.md docs/wiki/Home.md
2525
- uses: Andrew-Chen-Wang/github-wiki-action@v5
2626
with:

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,8 @@ js/coverage
138138
js/dist
139139
js/lib
140140
js/node_modules
141+
js/test-results
142+
js/playwright-report
141143
js/*.tgz
142144
python_template_js/extension
143145

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ major: ## bump a major version
134134
########
135135
.PHONY: dist dist-py dist-js dist-check publish
136136

137-
dist-py: # build python dists
137+
dist-py: ## build python dists
138138
python -m build -w -s
139139

140140
dist-js: # build js dists
@@ -145,7 +145,7 @@ dist-check: ## run python dist checker with twine
145145

146146
dist: clean build dist-js dist-py dist-check ## build all dists
147147

148-
publish: dist # publish python assets
148+
publish: dist ## publish python assets
149149

150150
#########
151151
# CLEAN #

js/.prettierignore

Lines changed: 0 additions & 2 deletions
This file was deleted.

js/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
"build": "node build.mjs",
3131
"clean": "rm -rf dist playwright-report ../python_template_js/extension",
3232
"dev": "npm-run-all -p start watch",
33-
"lint": "prettier --check \"src/**/*\" \"tests/**/*\" \"*.mjs\" \"*.json\"",
34-
"fix": "prettier --write \"src/**/*\" \"tests/**/*\" \"*.mjs\" \"*.json\"",
33+
"lint": "prettier --check \"src/**/*.{js,ts,jsx,tsx,less,css}\" \"tests/**/*.{js,ts,jsx,tsx}\" \"*.mjs\" \"*.json\"",
34+
"fix": "prettier --write \"src/**/*.{js,ts,jsx,tsx,less,css}\" \"tests/**/*.{js,ts,jsx,tsx}\" \"*.mjs\" \"*.json\"",
3535
"preinstall": "npx only-allow pnpm",
3636
"prepack": "npm run build",
3737
"start": "http-server -p 3000 -o examples/",

pyproject.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,7 @@ exclude = [
113113

114114
[tool.hatch.build.targets.wheel]
115115
packages = ["python_template_js"]
116-
exclude = [
117-
"/js"
118-
]
116+
exclude = ["/js"]
119117

120118
[tool.hatch.build.hooks.hatch-js]
121119
path = "js"

0 commit comments

Comments
 (0)