Skip to content

Commit

Permalink
Write result to markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruno Herfst committed Apr 13, 2018
1 parent 2898807 commit 91259fd
Show file tree
Hide file tree
Showing 17 changed files with 99 additions and 25 deletions.
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
# ExtendScript Modules
Here you can find all the modules we host inside our [@extendscript](https://www.npmjs.com/org/extendscript) namespace on [npm](https://www.npmjs.com). We try to create a [DRY](https://en.wikipedia.org/wiki/Don%27t_repeat_yourself) package environment and therefore package any piece of reusable code into a seperate module.

Read [the docs](./docs/README.md)
Here you can find all the modules we host inside our [@extendscript](https://www.npmjs.com/org/extendscript) namespace on [npm](https://www.npmjs.com). We try to create a [DRY](https://en.wikipedia.org/wiki/Don%27t_repeat_yourself) package environment and therefore package any piece of reusable code into a seperate module.


## Contributing

All **modules** are published using the `@extendscript` scope. Please make sure you have read our [Code of Conduct](), [Contributing Guidelines]() and [Package Naming Conventions](). Then publish to npm using the `--access public` flag:

npm publish --access public
npm publish --access public


## More info

Read [the docs](./docs/README.md)
4 changes: 4 additions & 0 deletions acrobat/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# ACROBAT scope

Here you can find all the modules that target Acrobat.


## More info

Read [the docs](../docs/README.md)
11 changes: 8 additions & 3 deletions aes/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
# AES scope

Here you can find all the modules that target Adobe ExtendScript.

* [`patch`](./patch/README.md)

Read [the docs](../docs/README.md)

## About ExtendScriptAdobe ExtendScript implements the [ECMAScript](https://en.wikipedia.org/wiki/ECMAScript) (JavaScript) language according to the ECMA-262 (ECMAScript 3) and ECMA-357 (XML) specification.
## About ExtendScript
Adobe ExtendScript implements the [ECMAScript](https://en.wikipedia.org/wiki/ECMAScript) (JavaScript) language according to the ECMA-262 (ECMAScript 3) and ECMA-357 (XML) specification.
It also defines a global debugging object, the dollar (`$`) object, and a reporting utility for ExtendScript elements, the ExtendScript Reflection interface.


## More info

Read [the docs](../docs/README.md)
Expand Down
11 changes: 7 additions & 4 deletions aes/patch/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This is a collection of polyfills for [ExtendScript](https://en.wikipedia.org/wi

## Shims
This is a collection of shims for [ExtendScript](https://en.wikipedia.org/wiki/ExtendScript) that faithfully represent newer ECMAScript features.
Modules that faithfully represent newer ECMAScript features.

- [ ] Array.isArray
- [ ] Array.prototype.filter
Expand All @@ -20,7 +20,7 @@ This is a collection of shims for [ExtendScript](https://en.wikipedia.org/wiki/E


## Shams
This is a collection of shams for [ExtendScript](https://en.wikipedia.org/wiki/ExtendScript) that partially implements newer ECMAScript features.
Modules that partially implements newer ECMAScript features.

- [ ] Object.defineProperties
- [ ] Object.defineProperty
Expand All @@ -36,7 +36,7 @@ This is a collection of shams for [ExtendScript](https://en.wikipedia.org/wiki/E


## Fills
This is a collection of methods for [ExtendScript](https://en.wikipedia.org/wiki/ExtendScript) that we get used to in other environments.
Modules that we get used to in other environments.

- [ ] clearInterval
- [ ] clearTimeout
Expand All @@ -47,4 +47,7 @@ This is a collection of methods for [ExtendScript](https://en.wikipedia.org/wiki
- [ ] setTimeout


Read [the docs](../../docs/README.md)
## More info

Read [the docs](../docs/README.md)

9 changes: 8 additions & 1 deletion aes/patch/array.isarray/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,11 @@ Source: [ps-scripting-es5shim](https://github.com/EugenTepin/ps-scripting-es5shi
* [Bruno Herfst](https://github.com/GitBruno)
* [EugenTepin](https://github.com/EugenTepin)
* [Fabian Morón Zirfas](https://github.com/fabianmoronzirfas)
* [milligramme](https://github.com/milligramme)
* [milligramme](https://github.com/milligramme)


## More info

Read [the docs](../docs/README.md)


1 change: 0 additions & 1 deletion aes/patch/array.isarray/array.isarray.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects
*/
if (!Array.isArray) {
Array.isArray = function(arg) {

if (arg === void 0 || arg === null) {
return false;
};
Expand Down
6 changes: 4 additions & 2 deletions aes/patch/array.isarray/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,11 @@
},
"homepage": "https://github.com/ExtendScript/extendscript-modules#readme",
"devDependencies": {
"estktap": "git+https://github.com/ExtendScript/estktap"
"estktap": "git+https://github.com/GitBruno/estktap.git"
},
"dependencies": {
"minimist": "^1.2.0"
"minimist": "^1.2.0",
"shelljs": "^0.8.1",
"tap-markdown": "git+https://github.com/GitBruno/tap-markdown.git"
}
}
11 changes: 11 additions & 0 deletions aes/patch/array.isarray/test/Results.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Test indesign-12, photoshop-18
- ✔ extendscript array.isarray test [pass: 0, fail: 0, duration: 0ms]
- ✔ isarray Test [pass: 2, fail: 0, duration: 178ms]

# Summary
- duration: 178ms
- planned: 2
- assertions: 2
- pass: 2
- fail: 0

15 changes: 4 additions & 11 deletions aes/patch/array.isarray/test/test.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,8 @@
var argv = require('minimist')(process.argv.slice(3)); // Remove nodePath, tapePath, scriptpath
var test = require('tape');
var estktap = require('estktap');
var path = require('path');
var shell = require('shelljs');

var targets = argv._;
console.log("Starting tests for targets: " + targets);

test('extendscript array.isarray test',function(t){

estktap('isarray Test', path.join(__dirname, '/test.jsx'), true, targets);

t.end();

});
shell.exec('tape ./test/testTargets.js ' + targets.join(" ") + " | tap-markdown")
.to('./test/Results.md')
.sed('-i', '# Tests', '# Test ' + targets.join(", "), './test/Results.md');
7 changes: 7 additions & 0 deletions aes/patch/array.isarray/test/testHelper.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
$.writeln($.os);
try {
$.writeln(app.name + ' ' + app.build);
} catch (e) {
$.writeln(app.name + ' ' + app.version);
}
$.writeln('Javascript version ' + $.version);
14 changes: 14 additions & 0 deletions aes/patch/array.isarray/test/testTargets.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
var argv = require('minimist')(process.argv.slice(3)); // Remove nodePath, tapePath, scriptpath
var test = require('tape');
var estktap = require('estktap');
var path = require('path');
var fakestk = require('fakestk');

var targets = argv._;

test('extendscript array.isarray test',function(t){

estktap('isarray Test', path.join(__dirname, '/test.jsx'), true, targets);

t.end();
});
4 changes: 4 additions & 0 deletions afx/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# AFX scope

Here you can find all the modules that target After Effects.


## More info

Read [the docs](../docs/README.md)
4 changes: 4 additions & 0 deletions ai/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# AI scope

Here you can find all the modules that target Illustrator.


## More info

Read [the docs](../docs/README.md)
4 changes: 4 additions & 0 deletions bridge/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# BRIDGE scope

Here you can find all the modules that target Bridge.


## More info

Read [the docs](../docs/README.md)
4 changes: 4 additions & 0 deletions ind/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# IND scope

Here you can find all the modules that target InDesign.


## More info

Read [the docs](../docs/README.md)
4 changes: 4 additions & 0 deletions ps/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# PS scope

Here you can find all the modules that target Photoshop.


## More info

Read [the docs](../docs/README.md)
4 changes: 4 additions & 0 deletions sui/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# SUI scope

Here you can find all the modules that target ScriptUI.


## More info

Read [the docs](../docs/README.md)

0 comments on commit 91259fd

Please sign in to comment.