Skip to content

Commit fd21c05

Browse files
authored
Merge pull request #143 from python-project-templates/copier-update-2026-08-14T19-10-12Z
Update from Copier (2026-08-14T19-10-12Z)
2 parents 832f85e + ba8a5a5 commit fd21c05

13 files changed

Lines changed: 545 additions & 92 deletions

File tree

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

.vscode/settings.json

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

docs/wiki/contribute/Build-from-Source.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ make build
7070
| :--------- | :---------- | :------------ | :---------- |
7171
| Python | `ruff` | `ruff` | Style |
7272
| Python | `ruff` | `ruff` | Imports |
73-
| JavaScript | `prettier` | `prettier` | Style |
73+
| JavaScript | `oxlint` | `oxfmt` | Style |
7474
| Markdown | `mdformat` | `mdformat` | Style |
7575
| Markdown | `codespell` | | Spelling |
7676

js/.oxfmtrc.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"$schema": "./node_modules/oxfmt/configuration_schema.json",
3+
"printWidth": 80,
4+
"sortPackageJson": false
5+
}

js/.oxlintrc.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"$schema": "./node_modules/oxlint/configuration_schema.json",
3+
"env": {
4+
"browser": true,
5+
"es6": true,
6+
"node": true
7+
},
8+
"rules": {
9+
"unicorn/no-empty-file": "off"
10+
}
11+
}

js/package.json

Lines changed: 4 additions & 3 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/**/*.{js,ts,jsx,tsx,css}\" \"tests/**/*.{js,ts,jsx,tsx}\" \"*.mjs\" \"*.json\"",
34-
"fix": "prettier --write \"src/**/*.{js,ts,jsx,tsx,css}\" \"tests/**/*.{js,ts,jsx,tsx}\" \"*.mjs\" \"*.json\"",
33+
"lint": "oxlint . && oxfmt --check \"src/**/*.{js,ts,jsx,tsx,css}\" \"tests/**/*.{js,ts,jsx,tsx}\" \"*.mjs\" \"*.json\"",
34+
"fix": "oxlint --fix . && oxfmt --write \"src/**/*.{js,ts,jsx,tsx,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/",
@@ -48,7 +48,8 @@
4848
"http-server": "^14.1.1",
4949
"nodemon": "^3.1.10",
5050
"npm-run-all": "^4.1.5",
51-
"prettier": "^3.9.6",
51+
"oxfmt": "^0.63.0",
52+
"oxlint": "^1.78.0",
5253
"typescript": "^7.0.2"
5354
}
5455
}

0 commit comments

Comments
 (0)