Commit graph

13 commits

Author SHA1 Message Date
Michael "Z" Goddard
4c17e4e137
fix(perf): replace async waterfall with promise chain 2019-02-22 16:11:23 -05:00
Karishma Chadha
b0d1e46cd8 test(tests): fix up tests to accommodate new apis 2018-05-02 23:46:26 -04:00
Karishma Chadha
b808e7447f feat(schemas): add support for sprite files for 2.0 and 3.0
refactor schemas to support sprite2 and sprite3 files, while reusing rules in common with sb2 and
sb3 files

BREAKING CHANGE: Change to main API which now takes an additional boolean argument indicating
whether a sprite or project is being validated
2018-05-02 23:46:26 -04:00
Andrew Sliwinski
0fe264a05b refactor: Merge changes from upstream and resolve issues with interface and test coverage
Merges in changes from upstream and resolves issues with both the removal of the analysis library as
well as issues with lint rules and integration tests.
2018-03-24 11:36:17 -04:00
Andrew Sliwinski
f7cb29dff6 refactor: Extricates analysis from the scope of this project
Removes the ./lib/analysis module from the scope of this project along with all related
documentation and test coverage.

BREAKING CHANGE: Module no longer provides a _meta object with returned project object.
2018-03-24 11:19:01 -04:00
Andrew Sliwinski
e8369be7f5 refactor: Refactor library to use latest scratch eslint rules and update all dependencies
Refactors library to use latest scratch eslint rules. Updates all dependencies to latest versions
which requires minor changes to the JSON schema, tests, and supported engine (8+)

BREAKING CHANGE: Module no longer supports less than Node 8
2018-03-24 11:09:43 -04:00
Karishma Chadha
faa0cdd30c refactor($lib): Remove runtime properties from sb3 schema that aren't ne 2018-03-23 09:38:34 -04:00
Karishma Chadha
9e45007e7e refactor($index): Selectively call analyze on 2.0 projects only. 2018-03-23 09:38:14 -04:00
Karishma Chadha
b7c1cfd347 docs($index): Documentation for new zip returning functionality of main api function. 2018-03-23 09:38:14 -04:00
Karishma Chadha
7f8672dfbc refactor($lib): Add callback wrapper around JSZip promise-based interface. Refactor m
Refactor unpack and main exported function to return optional zip, if originally provided, in
addition to the validated project.

BREAKING CHANGE: Change to main api to return originally provided zip (or null if string was
provided) along with validated project, in a 2-element array.
2018-03-23 09:37:48 -04:00
Karishma Chadha
2e1c7e96f0 docs(index): Update jsdocs for function exported by index.js. 2018-02-26 15:45:19 -05:00
Andrew Sliwinski
a0a03ef679 Initial functioning parser 2016-03-18 19:51:40 -04:00
Andrew Sliwinski
4642c66e08 Initial WIP commit with streaming parser 2016-03-15 10:31:35 -04:00