48 Commits

Author SHA1 Message Date
f75282566c test for incomplete gerber archive 2021-02-05 14:49:32 +00:00
f927239ed3 0.1.3 2021-02-05 14:32:17 +00:00
0ac00f7aac Merge branch 'stream' 2021-02-05 14:32:01 +00:00
60bd889a11 implement gerberToStream
Method to return a PNG stream instead of a temporary file
2021-02-05 14:31:31 +00:00
b2723f3b70 Test for gerberToStream
Define a test for the gerberToStream method
2021-02-05 14:30:59 +00:00
9925dfe0ba 0.1.2 v0.1.2 2021-02-03 16:46:09 +00:00
b25dca32c0 Remove old code 2021-02-03 16:45:54 +00:00
6d67e5e9ef Remove unneccessary test var 2021-02-03 16:44:30 +00:00
87a9e88948 Updated README 2021-02-02 21:03:11 +00:00
abd380af50 0.1.1 v0.1.1 2021-02-02 19:58:01 +00:00
162a38340c Reformat tests 2021-02-02 19:57:22 +00:00
24287f7f94 Merge branch 'class' 2021-02-02 19:50:10 +00:00
3600559d6c Update tests to use class 2021-02-02 19:49:58 +00:00
444e8a6b2a Export class instead of several functions 2021-02-02 19:49:47 +00:00
6cbbef212d Test number of assertions 2021-02-02 17:19:43 +00:00
d61160f104 Incomplete zip file for testing purposes 2021-02-02 17:10:19 +00:00
2933451b18 Check that dirs exist and handle errors 2021-02-02 16:47:09 +00:00
d5deb0f033 Remove unneeded function 2021-02-02 16:46:14 +00:00
71e7237f13 Tests for gerberToImage
Test for valid folders and return for valid archive
2021-02-02 16:45:57 +00:00
e6718a85e1 Update tests for extractArchive 2021-02-02 13:12:52 +00:00
5fc988ca54 0.1.0 v0.1.0 2021-02-02 01:19:04 +00:00
c0b71f4ee9 Use new getLayers function and adm-zip
New extractArchive function uses adm-zip instead of node-stream-zip, fixes bug where it wouldn’t wait for all files to be extracted before creating layers.

Replace old getLayers function with the new one that takes in a folder of layers that have already been extracted from a zip archive
2021-02-02 01:11:21 +00:00
dae607c891 Merge branch 'unit_testing' 2021-02-01 23:44:39 +00:00
98817837b8 Don’t track contents of the tmp dir 2021-02-01 23:44:23 +00:00
3fab65eaac Export all funcs 2021-02-01 23:04:30 +00:00
9d2c8f1778 fix extractArchive 2021-02-01 23:04:11 +00:00
702245e0bd Test extractArchive 2021-02-01 23:03:34 +00:00
e7e2f02581 Test getLayers 2021-02-01 23:03:00 +00:00
0548ae993c getLayers tests 2021-02-01 20:04:56 +00:00
6a6aad8192 Sample files for testing 2021-02-01 19:42:05 +00:00
00b56b1b85 Use jest 2021-02-01 19:41:34 +00:00
4c49a74fc7 Use airbnb base eslint config 2021-02-01 15:56:26 +00:00
6a874505a1 Reformat code 2021-01-31 20:37:00 +00:00
8f5408f23a Use prettier and eslint 2021-01-31 20:36:47 +00:00
3f5f530901 1.0.1 2021-01-31 14:07:59 +00:00
e9f04f57aa Update readme 2021-01-31 14:05:11 +00:00
edfa179e29 Merge branch 'package' 2021-01-30 23:06:17 +00:00
a21229c6f2 Reformat code 2021-01-30 23:05:58 +00:00
3314ac6337 Fixes 2021-01-30 22:50:23 +00:00
373efefb30 Update license and npm scope 2021-01-30 12:14:23 +00:00
2e6b529580
Create LICENSE 2021-01-30 12:13:33 +00:00
8662e3974e Tidy up
Remove testing code and old functions
2021-01-27 21:23:15 +00:00
eb7d95fba3 getLayers working 2021-01-27 20:39:57 +00:00
a1b06686fe Start working on file processing functions 2021-01-27 20:18:30 +00:00
3eb6f68926 Sample data 2021-01-26 23:51:43 +00:00
c88a879121 Image processing
Use pcb-stackup to generate svg data from gerber files and then use sharp to generate a png file from the svg buffer
2021-01-26 23:39:35 +00:00
bec6b26269 Initial commit 2021-01-26 21:47:10 +00:00
dba9e0ea0d
Initial commit 2021-01-26 21:16:40 +00:00