Skip to content

Commit

Permalink
Update expamples in readme to match new graph structure.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gozala committed Jun 9, 2011
1 parent c78cb65 commit 6424232
Showing 1 changed file with 2 additions and 17 deletions.
19 changes: 2 additions & 17 deletions Readme.md
Expand Up @@ -35,8 +35,8 @@ absolute module id's in nodejs today. All you need to do is:

1. Add `graphquire` to your dev-dependencies in `package.json`:

"devDependencies": {
"graphquire": ">=0.5.0"
"dependencies": {
"graphquire": ">=0.6.0"
}

2. Add install script to your `package.json`:
Expand Down Expand Up @@ -70,32 +70,24 @@ You can use `graphquire` as a command line tool:
},
"modules": {
"./index.js": {
"id": "./index.js",
"path": "./index.js",
"requirements": {
"http!foo.org/a": "http!foo.org/a.js"
}
},
"http!foo.org/a.js": {
"id": "http!foo.org/a.js",
"path": "node_modules/http!foo.org/a.js",
"uri": "http://foo.org/a.js",
"requirements": {
"./nested/b": "http!foo.org/nested/b.js"
}
},
"http!foo.org/nested/b.js": {
"id": "http!foo.org/nested/b.js",
"path": "node_modules/http!foo.org/nested/b.js",
"uri": "http://foo.org/nested/b.js",
"requirements": {
"http!bar.org/c": "http!bar.org/c.js"
}
},
"http!bar.org/c.js": {
"id": "http!bar.org/c.js",
"path": "node_modules/http!bar.org/c.js",
"uri": "http://bar.org/c.js"
}
}
}
Expand All @@ -116,7 +108,6 @@ You can use `graphquire` as a command line tool:
},
"modules": {
"./index.js": {
"uri": "https://github.com/Gozala/graphquire/raw/master/test/fixtures/pckg2/index.js",
"id": "./index.js",
"source": ".....",
"requirements": {
Expand All @@ -125,26 +116,20 @@ You can use `graphquire` as a command line tool:
},
"https!github.com/Gozala/models/raw/master/lib/models.js": {
"id": "https!github.com/Gozala/models/raw/master/lib/models.js",
"path": "node_modules/https!github.com/Gozala/models/raw/master/lib/models.js",
"uri": "https://github.com/Gozala/models/raw/master/lib/models.js",
"source": "....",
"requirements": {
"./events": "https!github.com/Gozala/models/raw/master/lib/events.js"
}
},
"https!github.com/Gozala/models/raw/master/lib/events.js": {
"id": "https!github.com/Gozala/models/raw/master/lib/events.js",
"path": "node_modules/https!github.com/Gozala/models/raw/master/lib/events.js",
"uri": "https://github.com/Gozala/models/raw/master/lib/events.js",
"source": "....",
"requirements": {
"./extendables": "https!github.com/Gozala/models/raw/master/lib/extendables.js"
}
},
"https!github.com/Gozala/models/raw/master/lib/extendables.js": {
"id": "https!github.com/Gozala/models/raw/master/lib/extendables.js",
"path": "node_modules/https!github.com/Gozala/models/raw/master/lib/extendables.js",
"uri": "https://github.com/Gozala/models/raw/master/lib/extendables.js",
"source": "....."
}
}
Expand Down

0 comments on commit 6424232

Please sign in to comment.