Karishma Chadha
898a38da61
build(package): update commitlint packages
2018-12-19 11:29:32 -05:00
Karishma Chadha
bea66d6c2d
fix(sb3_definitions): prevent sprites from being named _stage_
...
add test fixture and unit test for this change
2018-12-19 11:09:06 -05:00
Karishma Chadha
72437ce6c0
test(integration): add test for sb3 file with sprite named 'stage'
...
run sb3 files in the fixtures directory when running integration stress test
2018-12-18 18:25:35 -05:00
Karishma Chadha
f8f8c33c64
fix(sb3_definitions): allow sprites to be named 'stage' or 'Stage'
...
#49
2018-12-18 18:19:59 -05:00
Karishma Chadha
0f3a10d9cf
Merge pull request #46 from kchadha/fix-comment-position-validation
...
fix(sb3_definitions): fix comment position validation
2018-08-13 16:00:45 -04:00
Karishma Chadha
5a9d618a62
fix(sb3_definitions): fix comment position validation
...
A comment's x and y can be null. This will occur if a project is imported from 2.0, a sprite that is
not currently selected has comments, and that project is immediately saved in 3.0 without switching
to the other sprite that has comments.
2018-08-13 14:28:13 -04:00
Karishma Chadha
660d56e9c2
Merge pull request #45 from kchadha/fix-validation-error
...
fix(sb3_definitions): fix validation error
2018-08-13 11:40:22 -04:00
Karishma Chadha
8eb3c30108
fix(sb3_definitions): fix validation error
...
fix a validation error where projects with certain custom procedure blocks were failing to load
2018-08-09 15:17:00 -04:00
kchadha
badddcf1af
Merge pull request #44 from kchadha/layer-order-validation
...
feat: add layerOrder informaiton to stage and sprites
2018-07-25 11:32:57 -04:00
Karishma Chadha
d2fe285a8c
feat: add layerOrder informaiton to stage and sprites
...
Validates the new layerOrder property for the stage and the sprites, adds tests for validation.
2018-07-24 17:00:38 -04:00
Andrew Sliwinski
2552f4d052
Update TRADEMARK
2018-06-18 13:15:31 -04:00
kchadha
ef78ed1b1f
Merge pull request #43 from kchadha/comment-validation
...
Comment validation
2018-06-18 09:40:10 -04:00
Karishma Chadha
328b5a32da
fix(sb3_definitions): add comment text character limit
2018-06-15 17:48:53 -04:00
Karishma Chadha
97f6ef5bed
test(tests): add tests for sb3 projects with comments
2018-06-15 10:55:28 -04:00
Karishma Chadha
1f8a651ac8
feat(sb3_schema): add comment validation for sb3
2018-06-15 10:53:14 -04:00
kchadha
1f05cb476d
Merge pull request #41 from kchadha/fix-sprite2
...
fix(sprite2): sprite2 validation should allow sprites without sounds
2018-05-07 11:13:20 -04:00
Karishma Chadha
af53ae2ef2
fix(sprite2): sprite2 validation should allow sprites without sounds
2018-05-07 10:24:12 -04:00
Karishma Chadha
4250b52575
feat(sprite3_cleanup): minor version change for sprite3 cleanup
2018-05-03 16:43:42 -04:00
kchadha
3156d1d6b3
Merge pull request #40 from kchadha/cleanup-sprite3-spec
...
refactor(sprite3_schema): clean up sprite3 representation
2018-05-03 16:26:27 -04:00
Karishma Chadha
62b96fa49f
refactor(sprite3_schema): clean up sprite3 representation
2018-05-03 16:20:54 -04:00
kchadha
f0959386c1
Merge pull request #39 from kchadha/sprite-validation
...
Add validation for sprite2 and sprite3 files
2018-05-03 11:33:44 -04:00
Karishma Chadha
78ce54e69f
test: add new sprite2 test fixtures and integration tests
...
provide test coverage for sprite2 validation, and update sprite2_schema
2018-05-02 23:46:26 -04: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
kchadha
5daad968a4
Merge pull request #36 from kchadha/escape-dot
...
fix(schema): escape '.' in regex patterns
2018-04-12 10:07:45 -04:00
Karishma Chadha
705d806e9c
fix(schema): escape '.' in regex patterns
2018-04-11 19:03:56 -04:00
Karishma Chadha
c36b30c14a
chore(semver): bump major version
...
Bump a major version change to reflect recent unreleased changes
BREAKING CHANGE: version bump
2018-04-11 18:42:51 -04:00
kchadha
b8830be63e
Merge pull request #35 from kchadha/semantic-release-config
...
chore(semantic-release): reconfigure semantic-release
2018-04-11 18:29:48 -04:00
Karishma Chadha
5a4939dfb8
chore(config): update travis.yml and package.json
2018-04-11 18:21:22 -04:00
Karishma Chadha
79215ba323
chore(semantic-release): reconfigure semantic-release
...
use semantic-release-cli to set up semantic-release package properly
2018-04-11 18:04:29 -04:00
kchadha
ee75d3cbad
Merge pull request #34 from kchadha/commit-fix
...
fix(commits): issue new commit with correct style for semantic release
2018-04-11 17:26:32 -04:00
Karishma Chadha
b6ee0f7500
fix(commits): issue new commit with correct style for semantic release
...
This change is marked as containing breaking changes because prior commits did not get parsed
correctly with semantic-release. This change should issue a new version of scratch-parser containing
changes to the sb2 and sb3 schemas, added support for gzipped file, and corresponding tests.
BREAKING CHANGE: changes to sb2 validation, sb3 validation (block serialization is more compact),
added support for gzipped json files
2018-04-11 17:21:37 -04:00
Ray Schamp
7745539a13
Merge pull request #33 from rschamp/commit-lint
...
chore(semver): add commit-lint
2018-04-11 16:52:31 -04:00
Ray Schamp
4cb940a65b
chore(semver): add commit-lint
...
Use commit-lint commit hooks so that our commits will work with semver. Also works with Travis so PRs containing invalid commits will fail tests.
2018-04-11 15:19:30 -04:00
kchadha
79d5b8f89e
Merge pull request #32 from kchadha/block-serialization-compression
...
Block serialization compression
2018-04-11 14:48:43 -04:00
Karishma Chadha
61a0694c70
style($schema): Remove extra new line
2018-04-11 09:12:43 -04:00
Karishma Chadha
06352bb11e
refactor($schema): Account for mp3 sounds when considering pattern for 'md5ext' property.
2018-04-10 17:02:50 -04:00
Karishma Chadha
6b002ec49a
refactor($schema): Uhdoing validation workaround for orphan shadow issue in scratch-blocks and scrat
...
Variables and lists are the only primitives that should exist at the top level.
2018-04-10 16:46:37 -04:00
Karishma Chadha
6427bb242b
refactor($schema): Replace underscore with hyphen in video state enum.
2018-04-10 16:41:28 -04:00
Karishma Chadha
cc8ca6181b
refactor($schema): Fix minor issues with schema
...
Only accept lowercase file extensions (serialization should ensure that these are saved lowercase),
add description for some constants.
2018-04-10 16:39:12 -04:00
Karishma Chadha
4918c08049
refactor($schema): Update video state enum replacing hyphen with underscore.
2018-04-06 16:53:12 -04:00
Karishma Chadha
4ced34a70f
refactor($schema): Update validation of variables now that default project has been updated to use n
2018-04-06 14:53:56 -04:00
Karishma Chadha
ede7cc8864
refactor($schema): Add tempo, volume, and video related state to sb3 schema.
2018-04-06 14:53:56 -04:00
Karishma Chadha
3e9a4cd788
refactor($schema): Fix some validation issues.
2018-04-06 14:53:56 -04:00
Karishma Chadha
7bd778d6b5
refactor($schema): Handle new block serialization compression of primitives.
...
Update validation of sb3 projects to account for new block serialization that includes
precompression of primitives like the math_number or text blocks.
2018-04-06 14:53:56 -04:00
kchadha
225d9a60c1
Merge pull request #29 from kchadha/sb2-validation-fixes
...
Sb2 validation fixes
2018-04-06 14:53:26 -04:00
Karishma Chadha
efbe1e4550
fix($schema): Fix another validation error with 2.0 projects. 'videoAlpha' is not always available b
...
#27
2018-04-06 14:41:58 -04:00
Karishma Chadha
77b9bec8f8
fix($schema): Fix #27 . 'penLayerMd5' can be null, and 'swfVersion' is not always provided in the inf
...
fix #27
2018-04-06 13:50:33 -04:00
kchadha
3f06d046e0
Merge pull request #28 from kchadha/gzip-support
...
Gzip support
2018-04-05 17:18:19 -04:00
Karishma Chadha
36b90ce8c6
test($test): Add tests for new gzip support.
2018-04-05 13:34:56 -04:00