Skip to content
This repository was archived by the owner on Jan 22, 2024. It is now read-only.

Commit b8a8c45

Browse files
committed
Move to github from internal repository
1 parent 4c3b2a7 commit b8a8c45

95 files changed

Lines changed: 12970 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
node_modules/
2+
.idea/
3+
**/npm-debug.log
4+
**/node_modules/**
5+
/build

Gruntfile.js

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
module.exports = function( grunt )
2+
{
3+
"use strict";
4+
var exec = require( "child_process" ).exec,
5+
fs = require( "fs" );
6+
grunt.initConfig( {
7+
compress: {
8+
main: {
9+
options: {
10+
archive: "./build/digexp-toolkit.zip"
11+
},
12+
files: [
13+
{
14+
expand: true,
15+
cwd: ".",
16+
src: [ "install.cmd", "install.sh", "readme.md", "wcm-design.tar.gz", "dashboard.tar.gz", "LICENSE", "NOTICE" ],
17+
dest: "/",
18+
filter: "isFile"
19+
}
20+
]
21+
}
22+
}
23+
} );
24+
grunt.loadNpmTasks( "grunt-contrib-compress" );
25+
grunt.registerTask( "default", [] );
26+
grunt.registerTask( "build", [ "compress:main", "_build" ] );
27+
/**
28+
* Builds the app
29+
*/
30+
grunt.registerTask( "_build", function() {
31+
} );
32+
};

NOTICE

Lines changed: 133 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,133 @@
1+
Web Developer Toolkit for IBM Digital Experience
2+
(C)Copyright 2015 IBM Corporation
3+
4+
This product includes software contributed to
5+
OpenNTF Alliance (http://www.OpenNTF.org/)
6+
7+
This product is licensed under the terms of the Apache 2.0 license.
8+
9+
Third party code that the user must acquire:
10+
Angular version 1.3.0
11+
http://angularjs.org
12+
License: MIT
13+
14+
Bootstrap version 3.2.0
15+
http://getbootstrap.com
16+
License: MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
17+
18+
nwjs version 0.12.3
19+
Link: https://www.npmjs.com/package/nwjs
20+
License: MIT (https://www.npmjs.com/package/nwjs)
21+
22+
Referenced Dependencies:
23+
adm-zip version 0.4.7
24+
Link: https://www.npmjs.com/package/adm-zip
25+
License: MIT (https://github.com/cthackers/adm-zip/blob/master/MIT-LICENSE.txt)
26+
Used in Dashboard
27+
28+
anymatch version 1.3.0
29+
https://www.npmjs.com/package/anymatch
30+
License: ISC (https://github.com/es128/anymatch/blob/master/LICENSE)
31+
Used in Dashboard
32+
33+
Async.js version 1.3.0
34+
https://www.npmjs.com/package/async
35+
License: MIT (https://github.com/caolan/async/blob/master/LICENSE)
36+
Used in: Dashboard
37+
38+
Chokidar version 1.0.3
39+
https://www.npmjs.com/package/chokidar
40+
License: MIT (https://github.com/paulmillr/chokidar#license)
41+
Used in Dashboard
42+
43+
Diff version 1.4.0
44+
https://www.npmjs.com/package/diff
45+
License: BSD-3-clause (https://github.com/kpdecker/jsdiff/blob/master/LICENSE)
46+
Used in Dashboard
47+
48+
Dxsync (by IBM)
49+
https://github.com/digexp/dxsync
50+
License: Apache (https://github.com/digexp/dxsync/blob/master/LICENSE)
51+
Used in dashboard
52+
53+
Express version 3.0.0 or greater
54+
https://www.npmjs.com/package/express
55+
License: MIT (https://github.com/strongloop/express)
56+
Used in SP-server
57+
58+
Findit version 2.0.0
59+
https://www.npmjs.com/package/findit
60+
License: MIT (https://github.com/substack/node-findit/blob/master/package.json)
61+
Used in dashboard, WCM designs
62+
63+
Graceful-fs version 3.0.6
64+
https://www.npmjs.com/package/graceful-fs
65+
License: ISC (https://github.com/isaacs/node-graceful-fs/blob/master/LICENSE)
66+
Used in WCM designs
67+
68+
Hashmap version 2.0.3
69+
https://www.npmjs.com/package/hashmap
70+
License: MIT (https://github.com/flesler/hashmap/blob/master/LICENSE)
71+
Used in WCM designs
72+
73+
MapStream version 0.0.6
74+
https://www.npmjs.com/package/map-stream
75+
License: MIT (https://github.com/dominictarr/map-stream/blob/master/LICENCE)
76+
Used in dashboard
77+
78+
mkdirp version 0.5.1
79+
https://www.npmjs.com/package/mkdirp
80+
License: MIT (https://github.com/substack/node-mkdirp/blob/master/LICENSE)
81+
Used in dashboard
82+
83+
Node-notifier v4.2.3
84+
https://www.npmjs.com/package/node-notifier
85+
License: MIT (https://github.com/mikaelbr/node-notifier#license)
86+
Used in dashboard
87+
88+
Open v.0.0.5
89+
https://www.npmjs.com/package/open
90+
License: MIT (https://github.com/pwnall/node-open/blob/master/LICENSE)
91+
Used in dashboard
92+
93+
q version 1.2.0
94+
https://www.npmjs.com/package/q
95+
License: MIT (https://github.com/kriskowal/q/blob/version 1/LICENSE)
96+
Used in WCM designs
97+
98+
prompt 0.2.14 https://www.npmjs.com/package/prompt
99+
License: MIT
100+
https://github.com/flatiron/prompt/blob/master/LICENSE
101+
Used in WCM designs
102+
103+
Request version 2.58.0
104+
https://www.npmjs.com/package/request
105+
License: Apache 2.0 (https://github.com/request/request/blob/master/LICENSE)
106+
Used in dashboard
107+
108+
splint version 0.1.0
109+
https://github.com/OpenNTF/Script-Portlet-Node-Samples
110+
License: Apache License (https://github.com/OpenNTF/Script-Portlet-Node-Samples/blob/master/LICENSE)
111+
Used in dashboard
112+
113+
Tracer version 0.7.4
114+
https://www.npmjs.com/package/tracer
115+
License: MIT (https://github.com/baryon/tracer#license)
116+
Used in dashboard, WCM designs
117+
118+
Vinyl version 0.5.0
119+
https://www.npmjs.com/package/vinyl
120+
License: MIT (https://github.com/wearefractal/vinyl/blob/master/LICENSE)
121+
Used in dashboard
122+
123+
Vinyl-fs version 1.0.0
124+
https://www.npmjs.com/package/vinyl-fs
125+
License: MIT (https://github.com/wearefractal/vinyl-fs/blob/master/LICENSE)
126+
Used in dashboard
127+
128+
Yargs version 3.18.0
129+
https://www.npmjs.com/package/yargs
130+
License: MIT (https://github.com/bcoe/yargs/blob/master/LICENSE)
131+
Used in WCM designs
132+
133+

dashboard.tar.gz

62.5 KB
Binary file not shown.

developer_readme.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# Building the packages
2+
This information is only needed if you are updating source for this toolkit.
3+
4+
There is a gulp script to automatically package the modules that go into this toolkit. To run the script,
5+
first install gulp globally:
6+
```
7+
$ npm install -g gulp
8+
```
9+
Then install the script's dependencies:
10+
```
11+
$ npm install gulp gulp-tar gulp-gzip map-stream
12+
```
13+
Then run
14+
```
15+
$ gulp
16+
```
17+
from the root directory of the repo to pack the modules and watch the files for changes.
18+
There are many files to watch so it may take about a minute for gulp to
19+
start watching.
20+
21+
You can use
22+
```
23+
$ gulp pack
24+
```
25+
to just pack the files and
26+
```
27+
$ gulp watch
28+
```
29+
to just watch the files. Running `gulp watch` takes at least a minute to start.
30+
To build individual tarballs, you can use:
31+
```
32+
$ gulp pack_dashboard
33+
$ gulp pack_wcm
34+
$ gulp pack_sp_server
35+
```
36+
37+
The tarballs should be repackaged before running `git commit`
38+
in order to update them. You can run `gulp pack` before pushing or have the gulp
39+
script run in the background.
40+
41+
Also make sure that the gulp repackages the tarballs after
42+
pulling any changes from the git repo. The tarball's will not be committed
43+
after running `$ git pull` but the updated tarballs will be included in the next commit.
44+

digexp-dashboard/.gitignore

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
2+
#################
3+
## node_modules
4+
#################
5+
6+
node_modules
7+
.project
8+
user-settings.json
9+
**/*.log
10+
**/*.*~
11+
.idea/**
12+
predefined_modules/**

digexp-dashboard/.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
user-settings.json

digexp-dashboard/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Web Developer Dashboard for IBM Digital Experience
2+
3+
This package provides the dashboard user interface support for the Web Developer Toolkit for IBM Digital Experience. For more information, see the readme.md file for the toolkit.
4+
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#! /usr/bin/env node
2+
3+
var ch = require("child_process");
4+
5+
ch.exec("nw", { cwd: __dirname + "/.." }, function(err, stdout, stderr) {
6+
if (err) {
7+
console.error("ERROR");
8+
if (stderr) {
9+
console.error(stderr);
10+
}
11+
console.error("Make sure that nw.js is installed");
12+
console.error("run `npm install -g nw`");
13+
}
14+
});

0 commit comments

Comments
 (0)