Skip to content

Commit

Permalink
Fix: build before npm pack (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
emmercm authored Mar 10, 2024
1 parent 864e243 commit bdc22fb
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,17 @@ npm install --save chdman
```javascript
import chdman from 'chdman';

/** Create and extract CD-ROMs */
/**
* Create and extract CD-ROMs
*/
await chdman.createCd('Original.cue', 'Disc.chd');
console.log(await chdman.info('Disc.chd'));
// { inputFile: 'Disc.chd', fileVersion: 5, ... }
await chdman.extractCd('Disc.chd', 'Extracted.cue');

/** Create and extract hard disks */
/**
* Create and extract hard disks
*/
await chdman.createHd('original-image', 'image.chd');
console.log(await chdman.info('image.chd'));
// { inputFile: 'image.chd', fileVersion: 5, ... }
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "chdman",
"version": "0.262.0",
"version": "0.262.1",
"description": "💿 chdman binaries and wrapper for Node.js.",
"keywords": [
"chdman",
Expand Down Expand Up @@ -43,7 +43,8 @@
"test:handles": "node --experimental-vm-modules ./node_modules/jest/bin/jest.js --verbose --detectOpenHandles",
"bump:major": "npm version major --no-git-tag-version",
"bump:minor": "npm version minor --no-git-tag-version",
"bump:patch": "npm version patch --no-git-tag-version"
"bump:patch": "npm version patch --no-git-tag-version",
"prepack": "npm run build"
},
"dependencies": {
"which": "^4.0.0"
Expand Down

0 comments on commit bdc22fb

Please sign in to comment.