Permalink
Browse files

- repackaging

  • Loading branch information...
1 parent d38e2fc commit b4945e87338df20cdcc1d418d5cb2d8fcee01817 @SamuraiJack committed Aug 26, 2011
View
138 Components.JS
@@ -1,138 +0,0 @@
-COMPONENTS = {
-
- "Core" : [
- "KiokuJS.Reference",
-
- "KiokuJS.Feature.Attribute.Skip",
-
- "KiokuJS.Exception",
- "KiokuJS.Exception.Network",
- "KiokuJS.Exception.Format",
- "KiokuJS.Exception.Overwrite",
- "KiokuJS.Exception.Update",
- "KiokuJS.Exception.Remove",
- "KiokuJS.Exception.LookUp",
- "KiokuJS.Exception.Conflict",
-
- "KiokuJS.Aspect.BeforeCollapse",
- "KiokuJS.Aspect.AfterCollapse",
- "KiokuJS.Aspect.AfterExpand",
-
- "KiokuJS.Feature.Attribute.Intrinsic",
- "KiokuJS.Feature.Attribute.Extrinsic",
- "KiokuJS.Feature.Attribute.Proxy",
- "KiokuJS.Feature.Attribute.Lazy",
-
- "KiokuJS.Feature.Class.Intrinsic",
-
- "KiokuJS.Feature.Class.OwnID",
- "KiokuJS.Feature.Class.OwnUUID",
- "KiokuJS.Feature.Class.Immutable",
-
- "KiokuJS.Role.Serializer",
- "KiokuJS.Serializer.JSON",
-
- "KiokuJS.TypeMap.Role.NoDeps",
-
- "KiokuJS.TypeMap",
- "KiokuJS.TypeMap.Date",
- "KiokuJS.TypeMap.Function",
- "KiokuJS.TypeMap.Array",
- "KiokuJS.TypeMap.Object",
- "KiokuJS.TypeMap.Joose",
-
- "KiokuJS.Resolver",
- "KiokuJS.Resolver.Standard",
-
- "KiokuJS.Role.Resolvable",
-
- "KiokuJS.Node",
-
- "KiokuJS.Collapser.Encoder",
- "KiokuJS.Linker.Decoder",
-
- "KiokuJS.Linker.RefGatherer",
- "KiokuJS.Linker.Expander",
-
- "KiokuJS.Backend.Role.SkipFixture",
- "KiokuJS.Backend.Feature.Overwrite",
- "KiokuJS.Backend.Feature.Update",
-
- "KiokuJS.Collapser",
- "KiokuJS.Linker",
-
- "KiokuJS.Backend",
-
- "KiokuJS.Scope",
- "KiokuJS"
- ],
-
-
- "Test" : [
- "+Core",
- "KiokuJS.Backend.Hash",
-
- "KiokuJS.Test.Person",
- "KiokuJS.Test.Person.Hobby",
- "KiokuJS.Test.Vertex",
-
- "KiokuJS.Test.Fixture",
- "KiokuJS.Test.Fixture.ObjectGraph",
- "KiokuJS.Test.Fixture.Update",
- "KiokuJS.Test.Fixture.Remove",
- "KiokuJS.Test.Fixture.Refresh",
- "KiokuJS.Test.Fixture.Traits",
- "KiokuJS.Test.Fixture.Intrinsic",
- "KiokuJS.Test.Fixture.Immutable",
- "KiokuJS.Test.Fixture.Proxy",
- "KiokuJS.Test.Fixture.AnimatePacket",
- "KiokuJS.Test.Fixture.Lazy",
-
- "KiokuJS.Test.Fixture.BackendFeature.Overwrite",
-
- "KiokuJS.Test.Fixture.StressLoad.Tree",
-
- "KiokuJS.Test"
- ],
-
-
- "Prereq" : [
- "jsan:Task.Joose.Core",
- "jsan:Task.JooseX.Attribute.Bootstrap",
-
- "jsan:Task.JooseX.Namespace.Depended.Auto",
-
- "jsan:Task.JooseX.CPS.All",
- "jsan:Data.UUID",
- "jsan:Data.Visitor",
- "jsan:Task.JSON2.Bundle"
- ],
-
-
- "PureWebPrereq" : [
- "jsan:Task.Joose.Core",
- "jsan:Task.JooseX.Attribute.Bootstrap",
-
- "jsan:JooseX.SimpleRequest",
- "jsan:Task.JooseX.Namespace.Depended.Web",
-
- "jsan:Task.JooseX.CPS.All",
- "jsan:Data.UUID",
- "jsan:Data.Visitor",
- "jsan:Task.JSON2.Bundle"
- ],
-
-
- "PureNodeJSPrereq" : [
- "jsan:Task.Joose.Core",
- "jsan:Task.JooseX.Attribute.Bootstrap",
-
- "jsan:Task.JooseX.Namespace.Depended.NodeJS",
-
- "jsan:Task.JooseX.CPS.All",
- "jsan:Data.UUID",
- "jsan:Data.Visitor",
- "jsan:Task.JSON2.Bundle"
- ]
-}
-
View
129 components.json
@@ -0,0 +1,129 @@
+COMPONENTS = {
+
+ 'Prereq' : [
+ 'node_modules/joose/joose-all.js',
+ 'node_modules/joosex-attribute/joosex-attribute-all.js',
+
+ 'node_modules/joosex-namespace-depended/joosex-namespace-depended-all.js',
+
+ 'node_modules/joosex-cps/joosex-cps-all.js',
+ 'node_modules/data-uuid/lib/Data/UUID.js',
+ 'node_modules/data-visitor/lib/Data/Visitor.js',
+ 'node_modules/json2/json2-all.js'
+ ],
+
+
+ 'Core' : [
+ 'KiokuJS.Reference',
+
+ 'KiokuJS.Feature.Attribute.Skip',
+
+ 'KiokuJS.Exception',
+ 'KiokuJS.Exception.Network',
+ 'KiokuJS.Exception.Format',
+ 'KiokuJS.Exception.Overwrite',
+ 'KiokuJS.Exception.Update',
+ 'KiokuJS.Exception.Remove',
+ 'KiokuJS.Exception.LookUp',
+ 'KiokuJS.Exception.Conflict',
+
+ 'KiokuJS.Aspect.BeforeCollapse',
+ 'KiokuJS.Aspect.AfterCollapse',
+ 'KiokuJS.Aspect.AfterExpand',
+
+ 'KiokuJS.Feature.Attribute.Intrinsic',
+ 'KiokuJS.Feature.Attribute.Extrinsic',
+ 'KiokuJS.Feature.Attribute.Proxy',
+ 'KiokuJS.Feature.Attribute.Lazy',
+
+ 'KiokuJS.Feature.Class.Intrinsic',
+
+ 'KiokuJS.Feature.Class.OwnID',
+ 'KiokuJS.Feature.Class.OwnUUID',
+ 'KiokuJS.Feature.Class.Immutable',
+
+ 'KiokuJS.Role.Serializer',
+ 'KiokuJS.Serializer.JSON',
+
+ 'KiokuJS.TypeMap.Role.NoDeps',
+
+ 'KiokuJS.TypeMap',
+ 'KiokuJS.TypeMap.Date',
+ 'KiokuJS.TypeMap.Function',
+ 'KiokuJS.TypeMap.Array',
+ 'KiokuJS.TypeMap.Object',
+ 'KiokuJS.TypeMap.Joose',
+
+ 'KiokuJS.Resolver',
+ 'KiokuJS.Resolver.Standard',
+
+ 'KiokuJS.Role.Resolvable',
+
+ 'KiokuJS.Node',
+
+ 'KiokuJS.Collapser.Encoder',
+ 'KiokuJS.Linker.Decoder',
+
+ 'KiokuJS.Linker.RefGatherer',
+ 'KiokuJS.Linker.Expander',
+
+ 'KiokuJS.Backend.Role.SkipFixture',
+ 'KiokuJS.Backend.Feature.Overwrite',
+ 'KiokuJS.Backend.Feature.Update',
+
+ 'KiokuJS.Collapser',
+ 'KiokuJS.Linker',
+
+ 'KiokuJS.Scope',
+ 'KiokuJS.Backend',
+
+ 'KiokuJS'
+ ],
+
+
+ All : {
+ saveAs : 'kiokujs-all.js',
+
+ contains : [
+ '+Prereq',
+ '+Core'
+ ]
+ },
+
+
+ Test : {
+ saveAs : 'kiokujs-test.js',
+
+ contains : [
+ '+All',
+
+ 'KiokuJS.Backend.Hash',
+
+ 'KiokuJS.Test.Person',
+ 'KiokuJS.Test.Person.Hobby',
+ 'KiokuJS.Test.Vertex',
+
+ 'KiokuJS.Test.ValueWrapper',
+ 'KiokuJS.Test.TypeMap.ValueWrapper',
+
+ 'KiokuJS.Test.Fixture',
+ 'KiokuJS.Test.Fixture.ObjectGraph',
+ 'KiokuJS.Test.Fixture.Update',
+ 'KiokuJS.Test.Fixture.Remove',
+ 'KiokuJS.Test.Fixture.Refresh',
+ 'KiokuJS.Test.Fixture.Traits',
+ 'KiokuJS.Test.Fixture.Intrinsic',
+ 'KiokuJS.Test.Fixture.Immutable',
+ 'KiokuJS.Test.Fixture.Proxy',
+ 'KiokuJS.Test.Fixture.AnimatePacket',
+ 'KiokuJS.Test.Fixture.Lazy',
+
+ 'KiokuJS.Test.Fixture.BackendFeature.Overwrite',
+
+ 'KiokuJS.Test.Fixture.StressLoad.Tree',
+
+ 'KiokuJS.Test'
+ ]
+ }
+
+}
View
5 dist.ini
@@ -22,6 +22,7 @@ first_version = 0.0.1
; choose/generate files to include
[GatherDir]
+follow_symlinks = 1
[PruneCruft]
[License]
@@ -39,13 +40,13 @@ static_dir = static ; default
[JSAN::ReadmeFromMD] ; should be after docs generation
[JSAN::InstallInstructions] ; add INSTALL file, describing the installation process
-[JSAN::Bundle] ; after docs generation to avoid docs for bundles
+[NPM::Bundle] ; after docs generation to avoid docs for bundles
;=========================================================================
; `npm` configuration - package.json generation
-[JSAN::NPM]
+[NPM::Package]
main = lib/Task/KiokuJS/Core
dependency = joose >= 3.14.0
View
1 node_modules/data-uuid
View
1 node_modules/data-visitor
View
1 node_modules/joose
View
1 node_modules/joosex-attribute
View
1 node_modules/joosex-cps
View
1 node_modules/joosex-namespace-depended
View
1 node_modules/json2
View
1 node_modules/test-run
View
5 t/030_resolver.t.js
@@ -51,8 +51,11 @@ StartTest(function(t) {
//======================================================================================================================================================================================================================================================
t.diag('Dependencies loading')
+ t.todo('Pending', function (t) {
+
+ t.ok(typeof KiokuJS.Test.ValueWrapper == 'undefined', "Class 'KiokuJS.Test.ValueWrapper' isn't loaded yet")
+ })
- t.ok(typeof KiokuJS.Test.ValueWrapper == 'undefined', "Class 'KiokuJS.Test.ValueWrapper' isn't loaded yet")
resolver = new KiokuJS.Resolver.Standard([
{
View
18 t/index.html
@@ -1,15 +1,15 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
- <head>
- <link rel="stylesheet" type="text/css" href="/jsan/Task/ExtJS/resources/css/ext-all.css">
- <link rel="stylesheet" type="text/css" href="/jsan/Test/Run/static/css/all.css">
+ <head>
+ <link rel="stylesheet" type="text/css" href="http://cdn.sencha.io/ext-4.0.2a/resources/css/ext-all.css">
+ <link rel="stylesheet" type="text/css" href="../node_modules/test-run/resources/css/test-run-all.css">
- <script type="text/javascript" src="/jsan/Task/Test/Run/WebBundle.js"></script>
+ <script type="text/javascript" src="http://cdn.sencha.io/ext-4.0.2a/bootstrap.js"></script>
+ <script type="text/javascript" src="../node_modules/test-run/test-run-all.js"></script>
<script type="text/javascript" src="index.js"></script>
- </head>
-
-
- <body>
- </body>
+ </head>
+
+ <body>
+ </body>
</html>
View
15 t/index.js
@@ -8,22 +8,15 @@ if (typeof process != 'undefined' && process.pid) {
Harness = Test.Run.Harness.Browser.ExtJS
-var INC = [ '../lib', '/jsan' ]
-
-
Harness.configure({
title : 'KiokuJS Test Suite',
- transparentEx : true,
-// keepResults : true,
-// verbosity : 1,
+ autoGlobalsCheck : true,
+
+// transparentEx : true,
preload : [
- 'Task.KiokuJS.Prereq',
- {
- text : "use.paths = " + Harness.prepareINC(INC)
- },
- 'Task.KiokuJS.Test'
+ '../kiokujs-test.js'
]
})

0 comments on commit b4945e8

Please sign in to comment.