Skip to content

Commit

Permalink
update module-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
jchip committed Jul 29, 2020
1 parent 9aa9e09 commit 96a568c
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 6 deletions.
10 changes: 10 additions & 0 deletions packages/xarc-jsx-renderer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,5 +114,15 @@
"@xarc/render-context": "../xarc-render-context"
},
"devDependencies": {}
},
"@xarc/module-dev": {
"srcDir": [ "src" ],
"features": [
"eslint",
"eslintTS",
"mocha",
"typedoc",
"typescript"
]
}
}
2 changes: 2 additions & 0 deletions packages/xarc-jsx-renderer/test/data/foo.js
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
"use strict";

module.exports = "hello";
8 changes: 5 additions & 3 deletions packages/xarc-jsx-renderer/test/data/test-content.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
"use strict";

module.exports = {
"status": 200,
"html": "<div>Test1 Electrode</div>",
"prefetch": "console.log('test1');"
status: 200,
html: "<div>Test1 Electrode</div>",
prefetch: "console.log('test1');"
};
8 changes: 5 additions & 3 deletions packages/xarc-jsx-renderer/test/data/test-content17.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
"use strict";

module.exports = {
"status": 200,
"html": "<div>Test1 Electrode17</div>",
"prefetch": "console.log('test1');"
status: 200,
html: "<div>Test1 Electrode17</div>",
prefetch: "console.log('test1');"
};
2 changes: 2 additions & 0 deletions packages/xarc-jsx-renderer/test/fixtures/custom-count.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
"use strict";

let count = 0;
module.exports = () => {
count++;
Expand Down
2 changes: 2 additions & 0 deletions packages/xarc-jsx-renderer/test/fixtures/custom-fail.js
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
"use strict";

throw new Error("fail");
2 changes: 2 additions & 0 deletions packages/xarc-jsx-renderer/test/fixtures/custom-null.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
"use strict";

module.exports = () => {
return null;
};
File renamed without changes.

0 comments on commit 96a568c

Please sign in to comment.