Skip to content

Commit

Permalink
1.0.2 release
Browse files Browse the repository at this point in the history
  • Loading branch information
rosek86 committed Nov 16, 2023
1 parent 02948ad commit 312992f
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 22 deletions.
13 changes: 13 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/.github
/dist
/docs
/examples
/facades
/node_modules
/scripts
/src
/tests
/zephyr
/tsconfig.json
/tsconfig.prod.json
/gatt-profiles.json
File renamed without changes.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bluetooth-hci",
"version": "1.0.1",
"version": "1.0.2",
"description": "Bluetooth HCI host implementation",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down
22 changes: 1 addition & 21 deletions scripts/publish.sh
Original file line number Diff line number Diff line change
@@ -1,26 +1,6 @@
#!/bin/bash

# Create a temporary directory
TMP_DIR=$(mktemp -d)
echo $TMP_DIR

rm -fr lib/
npm run build.prod

# Copy the contents of /lib to the temporary directory
cp -r lib/* $TMP_DIR/

# Optionally, copy other necessary files like package.json, README.md, etc.
cp package.json $TMP_DIR/
cp README.md $TMP_DIR/
cp LICENSE $TMP_DIR/
cp CHANGELOG.md $TMP_DIR/

# Change to the temporary directory and publish
(
cd $TMP_DIR
npm publish
)

# Clean up: Delete the temporary directory
rm -rf $TMP_DIR
npm publish

0 comments on commit 312992f

Please sign in to comment.