-
Notifications
You must be signed in to change notification settings - Fork 26
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: LuisEnMarroquin/json-as-xlsx
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.1.0
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: LuisEnMarroquin/json-as-xlsx
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
15
contributors
Commits on Sep 30, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 2fef1ac - Browse repository at this point
Copy the full SHA 2fef1acView commit details
Commits on Oct 28, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 84043d4 - Browse repository at this point
Copy the full SHA 84043d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9430d26 - Browse repository at this point
Copy the full SHA 9430d26View commit details -
Configuration menu - View commit details
-
Copy full SHA for c67dfd5 - Browse repository at this point
Copy the full SHA c67dfd5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6876f0b - Browse repository at this point
Copy the full SHA 6876f0bView commit details -
Change IData name to IJsonSheet
I think "data" was far too general, so this is the name I came up with, but I'm open to suggestions (:
Configuration menu - View commit details
-
Copy full SHA for b7d2c7c - Browse repository at this point
Copy the full SHA b7d2c7cView commit details -
Configuration menu - View commit details
-
Copy full SHA for e9b7ea4 - Browse repository at this point
Copy the full SHA e9b7ea4View commit details -
Configuration menu - View commit details
-
Copy full SHA for d219b47 - Browse repository at this point
Copy the full SHA d219b47View commit details -
This is the first step into dividing this function into smaller and type defined functions.
Configuration menu - View commit details
-
Copy full SHA for 2968aa4 - Browse repository at this point
Copy the full SHA 2968aa4View commit details -
Configuration menu - View commit details
-
Copy full SHA for a8766e6 - Browse repository at this point
Copy the full SHA a8766e6View commit details -
This function takes care of returning each content item as a jsonSheetRow and avoids using any types
Configuration menu - View commit details
-
Copy full SHA for a716fde - Browse repository at this point
Copy the full SHA a716fdeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ee7857 - Browse repository at this point
Copy the full SHA 9ee7857View commit details -
Add getWorksheetColumnWidths function
This function returns the appropriate column widths to fit the content in each column.
Configuration menu - View commit details
-
Copy full SHA for 5f3c51d - Browse repository at this point
Copy the full SHA 5f3c51dView commit details -
This function takes care of creating the worksheet based on the jsonSheet and settings.
Configuration menu - View commit details
-
Copy full SHA for 29f9752 - Browse repository at this point
Copy the full SHA 29f9752View commit details -
This function returns a buffer if writeOptions.type is buffer, otherwise tries to write the file.
Configuration menu - View commit details
-
Copy full SHA for 4c165ed - Browse repository at this point
Copy the full SHA 4c165edView commit details -
Verify that jsonSheets are not empty
This is the same problem as with IColumn[] and IContent[], we could create a type IJsonSheets: [IJsonSheet, ...IJSonSheets[]] to prevent this, but I'm not sure if we should.
Configuration menu - View commit details
-
Copy full SHA for ee65bcf - Browse repository at this point
Copy the full SHA ee65bcfView commit details -
Refactor variables in xlsx function
This is optional but in my opinion looks better.
Configuration menu - View commit details
-
Copy full SHA for f74e6f2 - Browse repository at this point
Copy the full SHA f74e6f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 93ea2e8 - Browse repository at this point
Copy the full SHA 93ea2e8View commit details -
I added these tests to make sure I didn't break anything obvious, but they still don't check the exported files, only the return types. That being said, I think they could be useful for testing future changes. (:
Configuration menu - View commit details
-
Copy full SHA for a2fddfe - Browse repository at this point
Copy the full SHA a2fddfeView commit details
Commits on Oct 30, 2021
-
Use Date and IContent instead of object
The object type ({}) can't contain any properties, that makes it not very useful.
Configuration menu - View commit details
-
Copy full SHA for 854f17e - Browse repository at this point
Copy the full SHA 854f17eView commit details -
Add getContentProperty function
This function allows us to access deep drops without the need of a function, just the property path.
Configuration menu - View commit details
-
Copy full SHA for fc07d34 - Browse repository at this point
Copy the full SHA fc07d34View commit details -
These tests verify the recently added getContentProperty function.
Configuration menu - View commit details
-
Copy full SHA for ba03f03 - Browse repository at this point
Copy the full SHA ba03f03View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b6b0c2 - Browse repository at this point
Copy the full SHA 8b6b0c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 72e1bf5 - Browse repository at this point
Copy the full SHA 72e1bf5View commit details
Commits on Nov 3, 2021
-
Merge pull request #21 from elyse0/develop
Migrate project to Typescript
Configuration menu - View commit details
-
Copy full SHA for 74f1dcd - Browse repository at this point
Copy the full SHA 74f1dcdView commit details
Commits on Nov 7, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 32e02ef - Browse repository at this point
Copy the full SHA 32e02efView commit details -
Configuration menu - View commit details
-
Copy full SHA for d5e9441 - Browse repository at this point
Copy the full SHA d5e9441View commit details -
Configuration menu - View commit details
-
Copy full SHA for aceb6ba - Browse repository at this point
Copy the full SHA aceb6baView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d5578c - Browse repository at this point
Copy the full SHA 5d5578cView commit details
Commits on Nov 9, 2021
-
Configuration menu - View commit details
-
Copy full SHA for bbc9371 - Browse repository at this point
Copy the full SHA bbc9371View commit details
Commits on Nov 17, 2021
-
Use simple IColumn and IContent array
The [IColumn, ...IColumn] and [IContent, ...IContent[]] were to make sure that they couldn't be empty, but now I think it would be better to handle those cases instead of throwing a type error.
Configuration menu - View commit details
-
Copy full SHA for dea85ec - Browse repository at this point
Copy the full SHA dea85ecView commit details -
Configuration menu - View commit details
-
Copy full SHA for acdd761 - Browse repository at this point
Copy the full SHA acdd761View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2fab9ea - Browse repository at this point
Copy the full SHA 2fab9eaView commit details
Commits on Nov 22, 2021
-
Merge pull request #24 from elyse0/empty-content
Allow IContent[] to be empty and return an xlsx file with only column labels in that case
Configuration menu - View commit details
-
Copy full SHA for 69698ac - Browse repository at this point
Copy the full SHA 69698acView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b0ddc2 - Browse repository at this point
Copy the full SHA 9b0ddc2View commit details -
Configuration menu - View commit details
-
Copy full SHA for cd0a169 - Browse repository at this point
Copy the full SHA cd0a169View commit details -
Configuration menu - View commit details
-
Copy full SHA for f4a58de - Browse repository at this point
Copy the full SHA f4a58deView commit details -
Configuration menu - View commit details
-
Copy full SHA for 53e2e39 - Browse repository at this point
Copy the full SHA 53e2e39View commit details -
Configuration menu - View commit details
-
Copy full SHA for 838850e - Browse repository at this point
Copy the full SHA 838850eView commit details
Commits on Nov 26, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 882c9db - Browse repository at this point
Copy the full SHA 882c9dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for d766c5b - Browse repository at this point
Copy the full SHA d766c5bView commit details
Commits on Nov 27, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 9dfa63e - Browse repository at this point
Copy the full SHA 9dfa63eView commit details
Commits on Nov 29, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 1a480b9 - Browse repository at this point
Copy the full SHA 1a480b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for af3acc3 - Browse repository at this point
Copy the full SHA af3acc3View commit details
Commits on Dec 13, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 976b86f - Browse repository at this point
Copy the full SHA 976b86fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 657aec3 - Browse repository at this point
Copy the full SHA 657aec3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 136a09c - Browse repository at this point
Copy the full SHA 136a09cView commit details -
Configuration menu - View commit details
-
Copy full SHA for ffaa64a - Browse repository at this point
Copy the full SHA ffaa64aView commit details
Commits on Dec 16, 2021
-
3
Configuration menu - View commit details
-
Copy full SHA for ef17a8f - Browse repository at this point
Copy the full SHA ef17a8fView commit details -
Configuration menu - View commit details
-
Copy full SHA for c5414d5 - Browse repository at this point
Copy the full SHA c5414d5View commit details
There are no files selected for viewing
This file was deleted.
This file was deleted.
This file was deleted.