Skip to content
Browse files

- updated to use with npm

  • Loading branch information...
1 parent e60becf commit b9cfec5805224adac103130a1e462ca8cc097a7a Nickolay Platonov committed Sep 10, 2010
Showing with 47 additions and 5,750 deletions.
  1. +1 −0 .gitignore
  2. +17 −8 README.md
  3. +8 −0 dist.ini
  4. +4 −5,734 lib/Task/Joose/NodeJS.js
  5. +17 −8 lib/Task/Joose/NodeJS.mmd
View
1 .gitignore
@@ -1,3 +1,4 @@
+.build
.project
.externalToolBuilders
/Task-Joose-NodeJS-*
View
25 README.md
@@ -7,7 +7,7 @@ Task.Joose.NodeJS - Joose, packaged with NodeJS flavour.
SYNOPSIS
========
- require('Task/Joose/NodeJS')
+ require('task-joose-nodejs')
Class('Animal', {
...
@@ -49,26 +49,35 @@ SYNOPSIS
does : 'Winged'
})
+
+INSTALLATION
+============
+
+With `npm`:
+
+ npm install task-joose-nodejs
DESCRIPTION
===========
-`Task.Joose.NodeJS` is a distribution, containing Joose core bundled along with several essential extensions. Below is the composition:
+`Task.Joose.NodeJS` is a distribution, which just loads a Joose core along with with several essential extensions. Its purposed to be used on NodeJS platform.
+
+It includes:
-> Joose [3.010](http://openjsan.org/doc/s/sa/samuraijack/Joose/3.010/lib/Joose.html)
+> [Joose](http://openjsan.org/go/?l=Joose.Manual)
>> Joose core, provides definitions for `Class/Role/Module` helpers
-> JooseX.Attribute [0.04](http://openjsan.org/doc/s/sa/samuraijack/JooseX/Attribute/0.04/lib/JooseX/Attribute.html)
+> [JooseX.Attribute](http://openjsan.org/go/?l=JooseX.Attribute)
>> Additional features for attributes
-> JooseX.Namespace.Depended [0.05](http://openjsan.org/doc/s/sa/samuraijack/JooseX/Namespace/Depended/0.05/lib/JooseX/Namespace/Depended.html)
+> [JooseX.Namespace.Depended](http://openjsan.org/go/?l=JooseX.Namespace.Depended)
>> Dependencies handling extension
-> JooseX.CPS [0.07](http://openjsan.org/doc/s/sa/samuraijack/JooseX/CPS/0.07/lib/JooseX/CPS.html)
+> [JooseX.CPS](http://openjsan.org/go/?l=JooseX.CPS)
>> Trait, allowing to add the asynchronous (aka non-blocking) methods to your classes
@@ -138,7 +147,7 @@ This functionality is provided by the [JooseX.Namespace.Depended](http://openjsa
USAGE
=====
- require('Task/Joose/NodeJS')
+ require('task-joose-nodejs')
This will export `Class/Role/Module` as standard CommonJS module. Also, it will *create the same helpers in the global scope*.
@@ -149,7 +158,7 @@ Scenario 1. Using Joose in CommonJS modules
In this scenario you'll probably want to create anonymous classes (just omit the name):
- var Class = require('Task/Joose/NodeJS').Class
+ var Class = require('task-joose-nodejs').Class
var someFunc = require('some/module').someFunc
View
8 dist.ini
@@ -37,6 +37,12 @@ static_dir = static ; default
; manifest (after all generated files)
[Manifest]
+[JSAN::NPM]
+dependency = "joose" : ">=3.010.0"
+dependency = "joosex-attribute" : ">=0.05.0"
+dependency = "joosex-namespace-depended" : ">=0.08.0"
+dependency = "joosex-cps" : ">=0.011.0"
+
; before release
@@ -48,6 +54,8 @@ static_dir = static ; default
; releaser
[JSAN::Upload] ; just a no-op for now
+[JSAN::NPM::Publish]
+sudo = 1
; after release
[Git::Commit / Commit_Dirty_Files]
View
5,738 lib/Task/Joose/NodeJS.js
4 additions, 5,734 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
View
25 lib/Task/Joose/NodeJS.mmd
@@ -7,7 +7,7 @@ Task.Joose.NodeJS - Joose, packaged with NodeJS flavour.
SYNOPSIS
========
- require('Task/Joose/NodeJS')
+ require('task-joose-nodejs')
Class('Animal', {
...
@@ -49,26 +49,35 @@ SYNOPSIS
does : 'Winged'
})
+
+INSTALLATION
+============
+
+With `npm`:
+
+ npm install task-joose-nodejs
DESCRIPTION
===========
-`Task.Joose.NodeJS` is a distribution, containing Joose core bundled along with several essential extensions. Below is the composition:
+`Task.Joose.NodeJS` is a distribution, which just loads a Joose core along with with several essential extensions. Its purposed to be used on NodeJS platform.
+
+It includes:
-> Joose [3.010](http://openjsan.org/doc/s/sa/samuraijack/Joose/3.010/lib/Joose.html)
+> [Joose](http://openjsan.org/go/?l=Joose.Manual)
>> Joose core, provides definitions for `Class/Role/Module` helpers
-> JooseX.Attribute [0.04](http://openjsan.org/doc/s/sa/samuraijack/JooseX/Attribute/0.04/lib/JooseX/Attribute.html)
+> [JooseX.Attribute](http://openjsan.org/go/?l=JooseX.Attribute)
>> Additional features for attributes
-> JooseX.Namespace.Depended [0.05](http://openjsan.org/doc/s/sa/samuraijack/JooseX/Namespace/Depended/0.05/lib/JooseX/Namespace/Depended.html)
+> [JooseX.Namespace.Depended](http://openjsan.org/go/?l=JooseX.Namespace.Depended)
>> Dependencies handling extension
-> JooseX.CPS [0.07](http://openjsan.org/doc/s/sa/samuraijack/JooseX/CPS/0.07/lib/JooseX/CPS.html)
+> [JooseX.CPS](http://openjsan.org/go/?l=JooseX.CPS)
>> Trait, allowing to add the asynchronous (aka non-blocking) methods to your classes
@@ -138,7 +147,7 @@ This functionality is provided by the [JooseX.Namespace.Depended](http://openjsa
USAGE
=====
- require('Task/Joose/NodeJS')
+ require('task-joose-nodejs')
This will export `Class/Role/Module` as standard CommonJS module. Also, it will *create the same helpers in the global scope*.
@@ -149,7 +158,7 @@ Scenario 1. Using Joose in CommonJS modules
In this scenario you'll probably want to create anonymous classes (just omit the name):
- var Class = require('Task/Joose/NodeJS').Class
+ var Class = require('task-joose-nodejs').Class
var someFunc = require('some/module').someFunc

0 comments on commit b9cfec5

Please sign in to comment.
Something went wrong with that request. Please try again.