Skip to content

Commit d1ac01c

Browse files
committed
fix: jsr ignore issue
1 parent ce76769 commit d1ac01c

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ jobs:
9797
name: build
9898
path: crates/ruff_fmt/pkg
9999

100-
- run: npx jsr publish
100+
- run: npx jsr publish --allow-dirty
101101
working-directory: crates/ruff_fmt/pkg
102102

103103
publish-github-release:

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,3 @@ target/
1212

1313
# MSVC Windows builds of rustc generate these, which store debugging information
1414
*.pdb
15-
16-
crates/*/pkg/

crates/ruff_fmt/scripts/package.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,5 @@ fs.writeFileSync(pkg_path, JSON.stringify(pkg_json, null, 4));
3535
const jsr_path = path.resolve(pkg_path, "..", "jsr.jsonc");
3636
pkg_json.name = "@fmt/ruff-fmt";
3737
pkg_json.exports = "./ruff_fmt.js";
38-
pkg_json.exclude = ["!../pkg/", "*.tgz"];
38+
pkg_json.exclude = ["!**", "*.tgz"];
3939
fs.writeFileSync(jsr_path, JSON.stringify(pkg_json, null, 4));

0 commit comments

Comments
 (0)