Skip to content

Commit

Permalink
release: Update publish config and publish v0.0.1 (#109)
Browse files Browse the repository at this point in the history
* chore: Add prepublishOnly script to manage wombat login

Add a prepublishOnly script, that will be invoked when npm publish
is run, to run npm login.

For some reason npm login does not by default use the same
repository as npm publish does, so it's necessary to specify
the repo URL explicitly.  ಠ_ಠ

* release: Publish v0.0.1 to npm.
  • Loading branch information
cpcallen authored Nov 11, 2024
1 parent 4d53c64 commit 6f0d50c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@blockly/keyboard-experiment",
"version": "0.0.0",
"version": "0.0.1",
"description": "A plugin for keyboard navigation.",
"scripts": {
"audit:fix": "blockly-scripts auditFix",
Expand All @@ -10,6 +10,7 @@
"lint": "eslint .",
"format": "prettier --write .",
"predeploy": "blockly-scripts predeploy",
"prepublishOnly": "npm login --registry https://wombat-dressing-room.appspot.com",
"start": "blockly-scripts start",
"test": "blockly-scripts test"
},
Expand Down

0 comments on commit 6f0d50c

Please sign in to comment.