Skip to content

Commit

Permalink
fix: jsr ignore issue
Browse files Browse the repository at this point in the history
  • Loading branch information
magic-akari committed Nov 7, 2024
1 parent ce76769 commit d1ac01c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ jobs:
name: build
path: crates/ruff_fmt/pkg

- run: npx jsr publish
- run: npx jsr publish --allow-dirty
working-directory: crates/ruff_fmt/pkg

publish-github-release:
Expand Down
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,3 @@ target/

# MSVC Windows builds of rustc generate these, which store debugging information
*.pdb

crates/*/pkg/
2 changes: 1 addition & 1 deletion crates/ruff_fmt/scripts/package.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ fs.writeFileSync(pkg_path, JSON.stringify(pkg_json, null, 4));
const jsr_path = path.resolve(pkg_path, "..", "jsr.jsonc");
pkg_json.name = "@fmt/ruff-fmt";
pkg_json.exports = "./ruff_fmt.js";
pkg_json.exclude = ["!../pkg/", "*.tgz"];
pkg_json.exclude = ["!**", "*.tgz"];
fs.writeFileSync(jsr_path, JSON.stringify(pkg_json, null, 4));

0 comments on commit d1ac01c

Please sign in to comment.