Skip to content

Commit

Permalink
Make bundler actions generically named
Browse files Browse the repository at this point in the history
  • Loading branch information
simoncozens committed Jan 23, 2025
1 parent e295ab6 commit 2097ea4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"scripts": {
"test": "mocha test-js --reporter spec",
"bundle-rollup": "rollup --bundleConfigAsCjs -c"
"bundle": "rollup --bundleConfigAsCjs -c"
},
"type": "module",
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ source = "vcs"


[tool.hatch.build.hooks.custom]
path = "scripts/rollup_build_hook.py"
path = "scripts/bundler_build_hook.py"


[tool.hatch.build.hooks.vcs]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ def initialize(self, version, build_data):
if path.exists():
shutil.rmtree(path)
subprocess.check_output("npm install", shell=True)
subprocess.check_output("npm run bundle-rollup", shell=True)
subprocess.check_output("npm run bundle", shell=True)

0 comments on commit 2097ea4

Please sign in to comment.