Skip to content

Commit 2d5e8e4

Browse files
authored
Merge pull request #65 from python-project-templates/copier-update-2026-08-14T19-11-14Z
Update from Copier (2026-08-14T19-11-14Z)
2 parents 252ad61 + c6972e5 commit 2d5e8e4

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: cppjswasm

.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
@@ -71,7 +71,7 @@ make build
7171
| Python | `ruff` | `ruff` | Style |
7272
| Python | `ruff` | `ruff` | Imports |
7373
| C++ | `clang-format` | `clang-format` | Style |
74-
| JavaScript | `prettier` | `prettier` | Style |
74+
| JavaScript | `oxlint` | `oxfmt` | Style |
7575
| Markdown | `mdformat` | `mdformat` | Style |
7676
| Markdown | `codespell` | | Spelling |
7777

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
@@ -32,10 +32,10 @@
3232
"build": "npm-run-all build:cpp build:prod",
3333
"clean": "rm -rf dist lib playwright-report ../python_template_cppjswasm/extension",
3434
"dev": "npm-run-all -p start watch",
35-
"lint:js": "prettier --check \"src/**/*.{js,ts,jsx,tsx,css}\" \"tests/**/*.{js,ts,jsx,tsx}\" \"*.mjs\" \"*.json\"",
35+
"lint:js": "oxlint . && oxfmt --check \"src/**/*.{js,ts,jsx,tsx,css}\" \"tests/**/*.{js,ts,jsx,tsx}\" \"*.mjs\" \"*.json\"",
3636
"lint:cpp": "clang-format --dry-run -Werror -style=file:../.clang-format src/cpp/*.cpp",
3737
"lint": "npm-run-all lint:*",
38-
"fix:js": "prettier --write \"src/**/*.{js,ts,jsx,tsx,css}\" \"tests/**/*.{js,ts,jsx,tsx}\" \"*.mjs\" \"*.json\"",
38+
"fix:js": "oxlint --fix . && oxfmt --write \"src/**/*.{js,ts,jsx,tsx,css}\" \"tests/**/*.{js,ts,jsx,tsx}\" \"*.mjs\" \"*.json\"",
3939
"fix:cpp": "clang-format -i -style=file:../.clang-format src/cpp/*.cpp",
4040
"fix": "npm-run-all fix:*",
4141
"preinstall": "npx only-allow pnpm",
@@ -55,7 +55,8 @@
5555
"http-server": "^14.1.1",
5656
"nodemon": "^3.1.10",
5757
"npm-run-all": "^4.1.5",
58-
"prettier": "^3.9.6",
58+
"oxfmt": "^0.63.0",
59+
"oxlint": "^1.78.0",
5960
"typescript": "^7.0.2"
6061
}
6162
}

0 commit comments

Comments
 (0)