Skip to content

Commit

Permalink
Remove most references to node
Browse files Browse the repository at this point in the history
  • Loading branch information
Charles Jolley authored and Charles Jolley committed Apr 6, 2010
1 parent abd0088 commit 10e1e51
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
13 changes: 7 additions & 6 deletions README.md
@@ -1,9 +1,8 @@
# Seed
## Flexible Package Manager for Node

Seed is a package manager for installing CommonJS-based packages that run on
the node.js JS engine. You can use Seed to simplify distributed development
of JavaScript-based code.
Seed is a package manager for installing CommonJS-based packages. You can use
Seed to simplify distributed development of JavaScript-based code.

Since a lot of people use packages differently, Seed's goal is to remain very
small and extensible through plugins. You can easily add new JS loaders,
Expand All @@ -17,7 +16,9 @@ clients.

## Installing Seed

First, you need node.js 0.1.3 or later installed on your system. To install node.js see the [node.js download page](http://nodejs.org/#download).
First, you need to install a JS command-line environment. Be sure to edit the
'seed' binary to change the '{CMD}' string at the top of the name of the
js command you want to invoke.

Next, clone this repository to your local system and run the install script:

Expand Down Expand Up @@ -58,8 +59,8 @@ The following functionality has been implemented so far:
* use require('foo') to require modules from the current package
* use require('foo:bar') to require the bar module from the foo
package
* Traditional node.js requires such as require('./foo') and
require(fs) still work as expected
* Traditional requires such as require('./foo') and require(fs) still
work as expected
* Install/remove packages into local repository
* Seed command line tool - including support for loading plugin commands

Expand Down
2 changes: 1 addition & 1 deletion USAGE
@@ -1,5 +1,5 @@

h2. Using Seed in your node.js project
h2. Using Seed in your JS project

In your main.js file, require seed then require any other packages you might
need.
Expand Down
2 changes: 1 addition & 1 deletion lib/private/core.js
Expand Up @@ -12,7 +12,7 @@
var core = exports,
platform, TIKI_PATH;

core.nativeRequire = require.nativeRequire || require.nodeRequire || require;
core.nativeRequire = require.nativeRequire || require;
platform = require('./platform');

core.SEED_ROOT = platform.SEED_ROOT;
Expand Down
2 changes: 1 addition & 1 deletion lib/special-packages.js
Expand Up @@ -53,7 +53,7 @@ DefaultPackage.prototype.findModulePath = function(moduleId) {

DefaultPackage.prototype.exists = function(moduleId) {

// the 'seed' module found in the native node.js is for bootstrap only
// the 'seed' module found in the native modules is for bootstrap only
// never actually load seed so that it will resolve to a package instead
if (moduleId === 'seed') return false;

Expand Down

0 comments on commit 10e1e51

Please sign in to comment.