Commit Graph

247 Commits

Author SHA1 Message Date
Jonathan Durand c514b3b0d4 add customXml in the order list for rebuild (#154)
* add customXml in the order list for rebuild to prevent error on remove sheet

* Remove the useless customXML type in order list ; in the sort function of rebuild, if the type of Relationship is not in the `order` list, go to the end ; adding test code
2022-05-30 00:22:33 +06:00
Andrii Kurdiumov a4b42e4985 Move source code to src folder (#160)
That's allow compile code using TSC before publish
And all future code can use TypeScript
2022-05-10 18:16:13 +06:00
Andrii Kurdiumov 3a5ad82617 Switch tests to TypeScript (#158)
* Switch tests to TypeScript
* Set default branch for build
2022-05-10 18:01:46 +06:00
Andrii Kurdiumov e993f63cdd Add Github Action for PR validation and CI test (#159)
* Add Github Action for PR validation and CI test
* Specify Node version for tests
2022-05-10 17:56:29 +06:00
Rafael Gomes b2998452ea Fix type definitions for Generate (#156)
Type definitions on typescript for output data
2022-04-21 13:03:24 +06:00
dependabot[bot] 9330d7cd10 Bump minimist from 1.2.5 to 1.2.6 (#155)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-28 09:32:26 +06:00
Jonathan Durand 451eb20a68 Formating (#124)
Adding 2 options affect table substitution :
subsituteAllTableRow : if true, all the cells in the row substitution will be copied in the new row
pushDownPageBreakOnTableSubstitution : if true, pushdown the pageBreak (not the rowBreaks : TODO with option)
2022-02-15 12:00:13 +06:00
Andrii Kurdiumov 3d43b38e01 Fix import statement 1.3.2 2022-02-15 11:29:03 +06:00
Andrii Kurdiumov 763b7e8e04 Bump version to 1.3.2 2022-02-15 11:27:51 +06:00
Andrii Kurdiumov 13df6fdcf1 Fix import 2022-02-15 11:26:49 +06:00
Andrii Kurdiumov 60e629b753 Create contributing guide
This is outline how I handle this project and what's my expectations.
Feel free to discuss and change my opinion.
2022-02-15 09:57:29 +06:00
Andrii Kurdiumov 8919eb5644 Update version to 1.3.1 1.3.1 2022-02-14 23:03:46 +06:00
Andrii Kurdiumov 97dc197c5d Fix audit issues 2022-02-14 23:03:13 +06:00
Andrii Kurdiumov 282924fb26 Update README.md 2022-02-14 22:26:29 +06:00
Jonathan Durand 1e976308e1 Update copySheet function (#130)
* Update copySheet function

Add binary option for copySheet : for header/footer in UTF-8
Copy also rels file for the image
2022-02-14 22:17:33 +06:00
Andrii Kurdiumov 711936dde5 Improve description 2022-02-14 17:08:49 +06:00
Andrii Kurdiumov e55a87b2cc Simplify .gitignore 2022-02-14 17:04:46 +06:00
Andrii Kurdiumov 174bb69066 Update readme with planned changes 2022-02-14 17:04:45 +06:00
Ade Pangestu da61b0d5e5 Fixing Defined Range Name with Sheet Name (#150)
* fixing defined range name with sheetname
* add test for _xlnm.Print_Titles named range

Co-authored-by: Ade Pangestu <ade.pangestu@mitrais.com>
2022-02-14 17:02:38 +06:00
Jonathan Durand 752568a81d Insert images (#121)
Change image ratio to be percent based instead of proportion base
2020-08-13 14:16:32 +06:00
dependabot[bot] 357d23b941 Bump sshpk from 1.10.0 to 1.16.1 (#120)
Bumps [sshpk](https://github.com/joyent/node-sshpk) from 1.10.0 to 1.16.1.
- [Release notes](https://github.com/joyent/node-sshpk/releases)
- [Commits](https://github.com/joyent/node-sshpk/compare/v1.10.0...v1.16.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-10 16:00:33 +06:00
dependabot[bot] 656a5eb16a Bump debug from 2.2.0 to 2.6.9 (#119)
Bumps [debug](https://github.com/visionmedia/debug) from 2.2.0 to 2.6.9.
- [Release notes](https://github.com/visionmedia/debug/releases)
- [Changelog](https://github.com/visionmedia/debug/blob/2.6.9/CHANGELOG.md)
- [Commits](https://github.com/visionmedia/debug/compare/2.2.0...2.6.9)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-10 16:00:12 +06:00
Andrii Kurdiumov bf0cdd9087 Replace buster with Jest (#118)
As consequences it require me to make couple of function public
and specify interfaces for resulting data.

Also this work expose that previous typings was incorrectly written.
@RW-DiefBell and @tiholic you seems to be relying on incorrect definitions.
Please check.
2020-08-10 15:53:23 +06:00
dependabot[bot] 87ce03317f Bump websocket-extensions from 0.1.1 to 0.1.4 (#115)
Bumps [websocket-extensions](https://github.com/faye/websocket-extensions-node) from 0.1.1 to 0.1.4.
- [Release notes](https://github.com/faye/websocket-extensions-node/releases)
- [Changelog](https://github.com/faye/websocket-extensions-node/blob/master/CHANGELOG.md)
- [Commits](https://github.com/faye/websocket-extensions-node/compare/0.1.1...0.1.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-03 22:18:12 +06:00
dependabot[bot] f135d8ae8d Bump is-my-json-valid from 2.13.1 to 2.20.5 (#116)
Bumps [is-my-json-valid](https://github.com/mafintosh/is-my-json-valid) from 2.13.1 to 2.20.5.
- [Release notes](https://github.com/mafintosh/is-my-json-valid/releases)
- [Commits](https://github.com/mafintosh/is-my-json-valid/compare/v2.13.1...v2.20.5)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-03 22:17:52 +06:00
dependabot[bot] 7e2791b482 Bump stringstream from 0.0.5 to 0.0.6 (#114)
Bumps [stringstream](https://github.com/mhart/StringStream) from 0.0.5 to 0.0.6.
- [Release notes](https://github.com/mhart/StringStream/releases)
- [Commits](https://github.com/mhart/StringStream/compare/v0.0.5...v0.0.6)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-03 22:17:32 +06:00
dependabot[bot] c585fd7dd8 Bump minimist from 1.2.0 to 1.2.5 (#113)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.0 to 1.2.5.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.0...1.2.5)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-03 22:17:02 +06:00
Andrii Kurdiumov 52b97a73ca Introduce ability to check source code using TSC (#111)
This does not convert code to TypeScript yet.
Based on initial testing, buster should be abandoned
or typings for it should be written.
2020-08-03 19:19:32 +06:00
Andrii Kurdiumov 41a8d14db9 Remove testing on NodeJS which reach EOL (#112)
This does not mean it would not work on these version, as I hardly imaging which we will use something special
2020-08-01 14:11:06 +06:00
Jonathan Durand 0c564ccb5f Insert images (#110)
Add new substitution for images.
2020-07-31 18:01:01 +06:00
Andrii Kurdiumov e46120d3e9 Update version to 1.3.0 1.3.0 2020-07-27 16:30:36 +06:00
Andrii Kurdiumov 3262f724cd Merge pull request #109 from jdugh/move_images
Add support for moving images down together with substitution process.
2020-07-27 16:15:19 +06:00
JD2701 0e6dd8eef1 update typings file 2020-07-26 19:31:04 +02:00
Jonathan Durand f9cde53721 Adding test : do not move image 2020-07-26 19:16:28 +02:00
Jonathan Durand 43d5430cb1 Update indentation tab with space 2020-07-26 19:11:55 +02:00
JD2701 3f5a219c4f Move image when are below a substitute array 2020-07-26 19:03:26 +02:00
Andrii Kurdiumov 8becbd0813 Merge pull request #106 from tiholic/patch-1
fix an error with imported alias in .d.ts
2020-07-08 13:08:14 +06:00
Rohit Reddy Abbadi 428b70003b fix an error with imported alias in .d.ts 2020-07-08 00:34:37 +05:30
Andrii Kurdiumov 0f940de2cb Merge pull request #104 from tiholic/patch-1
Update typescript definitions
2020-07-07 23:53:43 +06:00
Rohit Reddy Abbadi 899b4673c4 Update typescript definitions
Few definitions were incomplete and custom interfaces were misisng
2020-07-07 21:27:26 +05:30
Andrii Kurdiumov b77d66f927 Bump version to 1.2.0 1.2.0 2020-07-07 20:40:48 +06:00
Andrii Kurdiumov f9c3862417 Include license header in the package.json 2020-07-07 20:40:38 +06:00
Andrii Kurdiumov 5023d411f8 Bump version to 1.1.0 1.1.0 2020-07-07 20:26:09 +06:00
Andrii Kurdiumov eef20c5804 Merge pull request #103 from optilude/kant/add-test-support
Add test support for NodeJS 12 and NodeJS 14
2020-07-07 20:19:42 +06:00
Andrii Kurdiumov 952931102d Add test support for NodeJS 12 and NodeJS 14 2020-07-07 20:09:38 +06:00
Andrii Kurdiumov c6081a911e Merge pull request #101 from RW-DiefBell/master
Added index.d.ts typings file
2020-06-16 20:55:29 +06:00
Dief Bell 75d9c14b11 generate no longer requires type cast 2020-06-16 15:52:34 +01:00
Dief Bell 513af92255 Added index.d.ts typings file
- Only the public functions are fully typed.

- Not 100% sure that they're done right
2020-06-16 15:41:05 +01:00
Andrii Kurdiumov c4026f2f5e Merge pull request #97 from optilude/kant/version-bump
Update version to 1.0.0
2020-06-08 16:04:16 +06:00
Andrii Kurdiumov 5369202c50 Update version to 1.0.0 1.0.0 2020-06-08 16:03:30 +06:00