Commit Graph

1598 Commits

Author SHA1 Message Date
felipe
3a6cf81c60 use strict null checks for added type safety
From the TypeScript manual "In strict null checking mode, the null and
undefined values are not in the domain of every type and are only
assignable to themselves and any (the one exception being that
undefined is also assignable to void)."

In other words, this setting means the compiler will complain if you
try to use a variable, but it might be null or undefined. Since the
project builds and tests pass with it, I think it's good to turn it
on. If it becomes annoying, you can always turn it off later
2017-03-10 08:54:55 +01:00
felipe
10684b34aa clean up unused imports and a linter warning 2017-03-10 08:52:47 +01:00
felipe
2fc9156e93 remove console.log statements 2017-03-10 08:25:11 +01:00
felipe
c521d0ce63 rename toXml -> prepForXml 2017-03-10 08:23:27 +01:00
Dolan
50ca71087e reverted back as they’re both buggy 2017-03-10 00:52:43 +00:00
Dolan
72eff21027 used html as markdown version is buggy 2017-03-10 00:51:42 +00:00
Dolan
11bbb5e285 linting 2017-03-09 23:32:52 +00:00
Dolan
18bba1870e added types for app-root-path 2017-03-09 23:20:37 +00:00
Dolan
c6eef3fd79 tslint fixes 2017-03-09 23:20:28 +00:00
Dolan
06353a6977 linting 2017-03-09 22:57:37 +00:00
Dolan
2b28dd42ee unclear variable name. please improve 2017-03-09 22:57:30 +00:00
Dolan
7022b39d2e linting 2017-03-09 22:56:08 +00:00
Dolan
5fac776dca listing stuff 2017-03-09 22:31:55 +00:00
Dolan
0e8d92f8bb Merge pull request #14 from felipeochoa/formatting
Clean up xml formatting (clearVariables) and introduced toXml()
2017-03-09 22:17:04 +00:00
felipe
30fef5238e fix some linter warnings 2017-03-09 21:06:54 +01:00
felipe
0fe6ff95a2 fix an incorrect test 2017-03-09 20:49:34 +01:00
felipe
11e918114d clear out clearVariables! In comes toXml 2017-03-09 20:49:14 +01:00
felipe
879b9163a3 Allow XmlComponent to take strings and remove XmlUnit 2017-03-09 20:21:49 +01:00
felipe
4a2b8a1e04 remove unused XmlProperty code 2017-03-09 19:04:17 +01:00
felipe
d6f5fe0ae8 Remove extraneous multi-property from base numbering object 2017-03-09 17:59:17 +01:00
Dolan
dd4ff944d7 Merge pull request #12 from felipeochoa/styles
Styles cleanup
2017-03-09 15:25:19 +00:00
felipe
aac81ffa12 add Styles to top-level exports 2017-03-09 13:27:53 +01:00
felipe
d93432678b added #createParagraphStyle method to Styles 2017-03-09 13:27:40 +01:00
felipe
ac7799a875 add an #underline method to ParagraphStyle 2017-03-09 13:19:50 +01:00
felipe
766bcabcb8 allow Underline to be called with type and color; fix default 2017-03-09 12:42:19 +01:00
felipe
f06094c91d clean up underlineTests linter warnings 2017-03-09 12:36:33 +01:00
felipe
3b18b8267a fix paragraphTests.ts linter warnings 2017-03-09 12:25:59 +01:00
felipe
20ec9b679e added Spacing for paragraphs and ParagraphStyle 2017-03-09 12:16:49 +01:00
felipe
449d1bc2c3 added fluent formatting methods to ParagraphStyle 2017-03-09 11:27:47 +01:00
felipe
b4dca79d72 added optional name parameter to style constructor 2017-03-09 11:11:07 +01:00
felipe
e6e0658812 clean up style & components attributes 2017-03-09 11:11:07 +01:00
felipe
18ca93e50a add paragraph#style method to quickly set the style 2017-03-09 11:11:07 +01:00
felipe
f5144e6d72 ts/styles linter warnings 2017-03-09 11:11:07 +01:00
felipe
2684f16579 move indent.ts over to paragraph and add a #indent method 2017-03-09 09:59:48 +01:00
Dolan
77255c9d5e modified build script and version bump 1.2.1 2017-03-08 23:35:22 +00:00
Dolan
e10b8889f7 version bump 1.2.0 2017-03-08 23:27:55 +00:00
Dolan
744b16b753 tslinting 2017-03-08 21:59:27 +00:00
Dolan
77824ce1d2 tslinting fixes 2017-03-08 21:56:19 +00:00
Dolan
d2f777c4e5 more listing 2017-03-08 21:54:52 +00:00
Dolan
946a222d37 linting fixes 2017-03-08 21:49:41 +00:00
Dolan
279a5a93f1 fixed failing test 2017-03-08 21:40:21 +00:00
Dolan
0e89606ec9 lots of tslinting 2017-03-08 21:36:09 +00:00
Dolan
72683ea990 fixed bug where snky badge wasn’t displaying 2017-03-08 20:42:56 +00:00
Dolan
88cf5f5065 added vulnerability checker 2017-03-08 20:37:21 +00:00
Dolan
540518bd54 more tslinting 2017-03-08 20:35:26 +00:00
Dolan
03b34915c6 tslinting 2017-03-08 20:32:30 +00:00
Dolan
f6eb412357 removed numbering.md in favour of Wiki 2017-03-08 20:26:08 +00:00
Dolan
ca769cc849 Merge pull request #11 from felipeochoa/fonts
Fonts cleanup
2017-03-08 20:16:17 +00:00
felipe
727471b7e3 fix linter warnings in docx/run/index.ts 2017-03-08 20:52:37 +01:00
felipe
1a37242a3d add #font method to Run 2017-03-08 20:47:36 +01:00