Commit Graph

26 Commits

Author SHA1 Message Date
e69b063687 Porting tests over to vitest 2023-06-05 00:33:43 +01:00
0cbb5fb0a3 Convert to vite and clean up build 2023-06-01 02:05:35 +01:00
a26292a0fd Trying to upgrade docx to use Vite 2023-05-01 20:37:39 +01:00
5950055cca Fix linting and add new lint rules 2022-09-19 20:48:50 +01:00
e90d97b813 Use new eslint-plugin-functional instead of tslint-immutable 2022-09-15 20:00:50 +01:00
af7d275c27 Merge pull request #1636 from MLD5000/create-packer-stream
Create packer stream "toStream"
2022-09-15 13:04:15 +01:00
c982e64996 formatting 2022-08-24 13:01:15 -05:00
1a630bcb4d Added toStream export function
New Function returns a NodeJS readable stream that allows piping DOCX document data to stream.
2022-08-22 13:25:59 -07:00
21f7662a77 Add toString to Packer 2022-08-17 18:52:19 +02:00
6d447033c9 Fix more spelling rules 2022-07-05 05:06:32 +01:00
982d923553 Improve import alias
@file/ and @export/ instead of file/ and export/ etc
2022-06-26 23:26:42 +01:00
233a29bfef Fix tests and linting 2022-06-19 00:31:36 +01:00
b81086ab7a feat: transfer comments property to File CoreProperties like numbering. 2022-03-07 20:02:14 +08:00
b2a09b512f implement sample version of Comment feature. 2022-03-03 09:59:09 +08:00
5ecdb48d43 Stop unnecessary casting 2019-08-15 00:48:36 +01:00
b609a17362 Update packer.ts 2019-08-09 09:41:58 +02:00
4b49fdbf8e Update packer.ts 2019-08-09 00:19:44 +01:00
fd52c8cf47 Enable zip compression 2019-08-08 16:40:16 +02:00
d8b60d82f3 Turn Packer static 2019-08-07 22:12:14 +01:00
72c32378c5 Make prettified XML a Packer-wide configurable option
The xml() function was being passed a flag for pretty printing the XML in word/document.xml. This was causing some parsers (not Word itself) to break when they didn't expect whitepsace. It was also causing some files to be prettified and others to be ugly. This ensures consistent prettification.
2019-06-21 13:53:01 -07:00
765a9686d8 Remove async await for Compiler.compile 2018-11-12 13:17:53 +00:00
083f121683 Add correct docx mime type 2018-11-12 12:32:07 +00:00
a38abeb4c2 Huge refactoring to use new compiler and deprecate all other Packers
Add new PdfPacker
2018-08-14 01:46:48 +01:00
ad356d2759 Add ignores so it doesnt get generated in documentation 2018-08-09 23:40:11 +01:00
320cb1c418 Add workaround for files which only have an interface 2018-01-31 20:08:36 +00:00
01950ed443 Move ts to src folder for standards 2017-12-15 00:01:59 +00:00