Skip to content
This repository has been archived by the owner on May 25, 2019. It is now read-only.

Commit

Permalink
bumping version to 0.3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
caridy committed Feb 3, 2014
1 parent c4b4e6a commit 9d16acd
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
2 changes: 2 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ Locator Change History

# @NEXT@

# 0.3.8

* Add support for custom names for each package bundle thru the `locator.name` entry in `package.json` (pr #20)

# 0.3.7
Expand Down
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,19 @@ locator.parseBundle(__dirname).then(function() {
});
```

## Example: Defining Your Own Bundle Name
In your app's `package.json`:
```javascript
{
"name": "usually-a-long-name-for-npm"
"locator": {
"name": "foo"
}
}
```

By default, locator will select the name of the bundle from the `package.json->name` entry, but you should be able to specify a custom name by adding a `name` entry under the `locator` entry in package.json. This will help to decouple the name of the package from the urls that you will use to fetch those scripts from the client side.


## License
This software is free to use under the Yahoo! Inc. BSD license.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "locator",
"description": "gives semantic meaning to filesystem paths",
"version": "0.3.7",
"version": "0.3.8",
"homepage": "https://github.com/yahoo/locator",
"keywords": [
"filesystem",
Expand Down

0 comments on commit 9d16acd

Please sign in to comment.