I've made some progress on our package system, and I wanted to update
you on it so we can start trying it out. The main link to see the
available packages is here:
http://packages.dojofoundation.org/list.html

From bogus@does.not.exist.com Sat Jan 1 20:25:13 2011
From: bogus@does.not.exist.com ()
Date: Sun, 02 Jan 2011 01:25:13 -0000
Subject: No subject
Message-ID: <mailman.0.1294155673.3308.dojo-contributors@mail.dojotoolkit.org>

To install packages, you can download the CPM package manager from:
http://github.com/kriszyp/cpm

Or you can manually download them from the page above (along with
dependencies) and add them to the package configuration for your module
loader (RequireJS or Backdraft). Or
and follow the directions to install it.

Once you have installed CPM, here is real quick example to get you started:

* Create a project directory to try this out:

* Put the attached test.html in this directory.

* Create a js directory and install some packages:
mkdir js
cd js
cpm install requirejs master
(Note that we are installing the version "master" of RequireJS, once
0.22.0 is available we won't need to do that. Also ignore the error
about reading package.json, it doesn't have one).
cpm install commonjs-package-template
(see how this installs the package and dependencies, in this case, dojo)

* Load up test.html in the browser, hopefully it works for you (should
say "Hello World" if it works).

Also, http://packages.dojofoundation.org/list.html is intentionally ugly
to make sure it is clear that it needs to replaced with a nice user
interface for our packages.

Let me know if you have questions about any of that.

Thanks,
Kris





--------------080302060308060008090304
Content-Type: text/html;
name="test.html"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="test.html"

PCFkb2N0eXBlIGh0bWw+DQo8aGVhZD4NCg0KICA8c2NyaXB0IHNyYz0ianMvcGFja2FnZXMv
cmVxdWlyZWpzL3JlcXVpcmUuanMiPjwvc2NyaXB0Pg0KICA8c2NyaXB0Pg0KICAgIHJlcXVp
cmUoe2Jhc2VVcmw6ImpzIiwgcGF0aHM6eyJyZXF1aXJlIjogInBhY2thZ2VzL3JlcXVpcmVq
cy9yZXF1aXJlIn19KTsNCiAgICByZXF1aXJlKFsicGFja2FnZXMiXSxmdW5jdGlvbigpew0K
ICAgICAgcmVxdWlyZShbImNvbW1vbmpzLXBhY2thZ2UtdGVtcGxhdGUvZGVtbyJdKTsNCiAg
ICB9KTsNCg0KICA8L3NjcmlwdD4NCg0KPC9oZWFkPg0KDQo8Ym9keT4NCg0KPC9ib2R5Pg0K
PC9odG1sPg==
--------------080302060308060008090304--

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 4 | next ›
Discussion Overview
groupdojo-contributors @
categoriesdojo
postedJan 4, '11 at 10:38a
activeJan 12, '11 at 9:27p
posts4
users2
websitedojotoolkit.org

2 users in discussion

Kris Zyp: 3 posts James Burke: 1 post

People

Translate

site design / logo © 2022 Grokbase