Commit graph

2580 commits

Author SHA1 Message Date
Renovate Bot
ff3e27628c
chore(deps): update dependency scratch-l10n to v3.13.20210804031526 2021-08-04 03:53:58 +00:00
Renovate Bot
cb8ffc1b99
chore(deps): update dependency scratch-blocks to v0.1.0-prerelease.20210729065131 2021-07-29 08:02:33 +00:00
Renovate Bot
e91175bdf7
chore(deps): update dependency scratch-l10n to v3.13.20210729031512 2021-07-29 05:12:54 +00:00
Renovate Bot
9cef216e4b
chore(deps): update dependency scratch-svg-renderer to v0.2.0-prerelease.20210727023023 2021-07-27 10:32:31 +00:00
Renovate Bot
4bb5e3a8d9
chore(deps): update dependency scratch-render to v0.1.0-prerelease.20210727084512 2021-07-27 09:27:09 +00:00
Renovate Bot
7608c328a4
chore(deps): update dependency scratch-blocks to v0.1.0-prerelease.20210723050031 2021-07-27 08:14:40 +00:00
Renovate Bot
88d359803d
chore(deps): update dependency scratch-render to v0.1.0-prerelease.20210726234033 2021-07-27 08:06:06 +00:00
Renovate Bot
537697dfa4
chore(deps): update dependency eslint-config-scratch to v5.1.0 2021-07-27 03:21:28 +00:00
Renovate Bot
c59434c824
chore(deps): pin dependencies 2021-07-27 03:09:40 +00:00
Renovate Bot
95de2e8293
chore(deps): pin dependencies 2021-07-27 02:39:41 +00:00
Christopher Willis-Ford
b91eb4ac4e use specific versions instead of 'latest' 2021-07-26 18:16:09 -07:00
DD Liu
57f9d9badf Merge branch 'develop' into removev2SvgAdapter 2021-04-01 18:19:37 -04:00
DD Liu
54bee8fe12 Fix playground again 2021-03-23 16:35:43 -04:00
DD Liu
e5560b067b Merge branch 'develop' into removev2SvgAdapter 2021-03-16 16:53:40 -04:00
DD Liu
a4b6e05f92 Move svg renderer to peer deps 2021-03-16 03:28:28 -04:00
adroitwhiz
1aa38db4e6 replace nets with Fetch API 2021-02-19 10:56:33 -05:00
adroitwhiz
a81ccd5b44 Remove socket.io-client dependency 2020-02-14 11:06:38 -05:00
Eric Rosenbaum
0518822236 update translate-extension-languages module 2019-11-18 16:07:51 -05:00
Ray Schamp
c1b2c4e2c0
Revert "Update gh-pages to the latest version 🚀" 2019-08-05 11:23:38 -04:00
greenkeeper[bot]
a62db2d11b chore(package): update gh-pages to version 2.1.0 2019-07-31 20:14:23 +00:00
greenkeeper[bot]
ad3fc085c8 chore(package): update lodash.defaultsdeep to version 4.6.1 2019-07-10 00:44:57 +00:00
picklesrus
b88d5d05b0
Merge pull request #2084 from picklesrus/update-languages-in-translate-list
Fixing some translate language menu bugs.
2019-06-10 11:13:52 -04:00
picklesrus
837e1c1cd6 Update to new langauge map now that it has been published. 2019-04-18 13:28:09 -04:00
Christopher Willis-Ford
a308b1e02f use xmlEscape instead of escape-html for extensions 2019-04-17 16:48:58 -07:00
greenkeeper[bot]
43ddb7ce81 fix(package): update scratch-parser to version 5.0.0 2019-03-18 21:07:01 +00:00
greenkeeper[bot]
e1fe21cd2a fix(package): update @vernier/godirect to version 1.5.0
Closes #1961
2019-03-15 06:12:34 +00:00
greenkeeper[bot]
d354d89f97 fix(package): update scratch-parser to version 4.3.6 2019-03-06 16:28:43 +00:00
Michael "Z" Goddard
53b0b7e923
update text-encoding to latest version 2019-03-04 13:01:37 -05:00
Karishma Chadha
ebfba83989
Merge branch 'develop' into greenkeeper/scratch-sb1-converter-0.2.7 2019-03-04 12:15:20 -05:00
greenkeeper[bot]
6715b2ec34 fix(package): update scratch-parser to version 4.3.5 2019-02-27 22:53:13 +00:00
Michael "Z" Goddard
e79bed276a
depend on uglifyjs-webpack-plugin
uglifyjs-webpack-plugin is used in webpack.config.js.
2019-02-15 18:04:06 -05:00
greenkeeper[bot]
f64eaa3329 fix(package): update scratch-sb1-converter to version 0.2.7 2019-02-15 15:11:54 +00:00
chrisgarrity
8f22fc6af3 update scratch-parser version
include the new version of the scratch-parser that handles nested sb2 files.
2019-02-12 16:20:14 +01:00
greenkeeper[bot]
e4300da429 fix(package): update scratch-sb1-converter to version 0.2.6 2019-02-01 15:08:12 +00:00
greenkeeper[bot]
089f892316 fix(package): update @vernier/godirect to version 1.4.1
Closes #1915
2019-01-23 21:16:48 +00:00
Valerie Young
c86b579b66 @vernier/godirect 1.3 2019-01-09 17:10:59 -05:00
Valerie Young
6288cfdd93 update @vernier/godirect 1.2.0 2019-01-08 09:21:36 -05:00
Valerie Young
12d696808e update @vernier/godirect 2019-01-07 11:54:15 -05:00
Valerie Young
deab7dd209 Add @vernier/godirect module 2019-01-07 11:29:26 -05:00
greenkeeper[bot]
29d229c1db fix(package): update scratch-sb1-converter to version 0.2.5 2018-12-26 14:33:11 +00:00
Karishma Chadha
397711b822 Update sb1-converter and add an sb import integration test. 2018-12-21 14:22:33 -05:00
greenkeeper[bot]
58c9f4eb3b fix(package): update scratch-sb1-converter to version 0.2.2 2018-12-21 02:16:59 +00:00
Michael "Z" Goddard
a92f33960f
fix: use ValidationError to determine if an SB1File error should throw 2018-12-20 13:32:30 -05:00
Michael "Z" Goddard
f43163fc73
depend on scratch-sb1-converter and convert sb1 files to sb2 2018-12-20 12:09:58 -05:00
greenkeeper[bot]
641c2f398d fix(package): update scratch-parser to version 4.3.3 2018-12-19 16:50:04 +00:00
picklesrus
da0ef6660a Update the translate language versions 2018-12-12 16:09:38 -05:00
chrisgarrity
ff9d16065b
Add scratch-l10n dependency (#1799)
* update scratch-l10n dependency

The new scratch-l10n package includes a script that will push the source file to transfex. Updated the package.json to push the source after extracting strings.

Travis deploy that will build and push strings if run as a cron job

* Fix package-lock

Ran `npm i` as suggested by failing travis log.
2018-12-03 14:24:00 -05:00
Ray Schamp
de86eb3f19
Merge pull request #1691 from rschamp/storage-no-cache
Store asset objects on costumes and sounds
2018-10-25 10:15:47 +01:00
Ray Schamp
902aee48ee Merge branch 'develop' of https://github.com/LLK/scratch-vm into storage-no-cache
# Conflicts:
#	package-lock.json
2018-10-24 12:09:06 +01:00
Ray Schamp
4a0aecfa43 Bump storage to version with createAsset
This should allow tests to begin passing.
2018-10-24 12:01:59 +01:00
greenkeeper[bot]
e1fc448493 fix(package): update htmlparser2 to version 3.10.0 2018-10-21 21:11:10 +00:00
greenkeeper[bot]
2cae04fc33 chore(package): update copy-webpack-plugin to version 4.5.4 2018-10-18 23:11:01 +00:00
Ray Schamp
4947194259 Use major ranges to match previous specificity 2018-10-17 12:17:16 +01:00
Ray Schamp
fd0ff04198 Update babel-core to @babel/core
Also required updating @babel/preset-env.
2018-10-17 12:14:49 +01:00
greenkeeper[bot]
69b075603d chore(package): update babel-loader to version 8.0.4
Closes #1539
2018-10-17 11:57:22 +01:00
greenkeeper[bot]
aa094f74b7 chore(package): update babel-eslint to version 10.0.1
Closes #1533
2018-10-12 13:25:08 +01:00
greenkeeper[bot]
ae32aeac66 chore(package): update file-loader to version 2.0.0 2018-10-05 23:04:17 +00:00
greenkeeper[bot]
c71da286c8 fix(package): update format-message to version 6.2.1 2018-09-19 04:28:57 +00:00
Andrew Sliwinski
51670dbb61
Merge pull request #1571 from LLK/greenkeeper/format-message-cli-6.2.0
Update format-message-cli to the latest version 🚀
2018-09-12 12:03:52 -04:00
greenkeeper[bot]
5779a48434 fix(package): update format-message to version 6.2.0 2018-09-12 15:11:10 +00:00
greenkeeper[bot]
c0e276f150 chore(package): update format-message-cli to version 6.2.0 2018-09-12 15:10:04 +00:00
greenkeeper[bot]
7d32c8107e fix(package): update diff-match-patch to version 1.0.4
Closes #1552
2018-09-04 10:19:05 +00:00
Andrew Sliwinski
d355c3b45e Update atob, format-message, adm-zip, docdash, format-message-cli, tap, and webpack-cli modules 2018-08-30 11:23:34 -04:00
greenkeeper[bot]
0a5a347525 chore(package): update scratch-storage to version 1.0.0
Closes #1192
2018-08-23 22:17:01 +00:00
Karishma Chadha
a0fd288420 Bump scratch-parser version, pulling in validation error fixes. 2018-08-13 18:09:14 -04:00
greenkeeper[bot]
d909ac5391 fix(package): update scratch-parser to version 4.3.1 2018-08-13 15:43:26 +00:00
Mx Corey Frang
30892dfd43
Update npm packages to get new renderer and update benchmark for Bob Ross 🌲 (#1443) 2018-08-13 10:47:41 -04:00
Ray Schamp
4b5cf6505a
Merge pull request #1398 from paulkaplan/publish-docs
Publish jsdoc to gh-pages
2018-08-08 16:46:48 -04:00
Michael "Z" Goddard
a15a9a1b7b Fix benchmark suite (#1397)
* add scratch-svg-renderer adaptors to benchmark vm

* disable benchmark with monitor error

* fixup! add scratch-svg-renderer adaptors to benchmark vm

* fixup! disable benchmark with monitor error
2018-08-08 14:36:38 -04:00
Paul Kaplan
5a429d90be Add jsdoc to package json and test/build tasks 2018-07-31 11:22:42 -04:00
greenkeeper[bot]
a103af8bb9 fix(package): update scratch-parser to version 4.3.0 2018-07-25 15:37:22 +00:00
Paul Kaplan
378fd672fc Bump vm version 2018-07-18 16:36:39 -04:00
greenkeeper[bot]
34fd7a1741 chore(package): update eslint to version 5.0.1
Closes #1267
2018-06-26 09:05:57 +00:00
kchadha
b6b501f761
Merge pull request #1243 from LLK/greenkeeper/scratch-parser-4.2.0
Update scratch-parser to the latest version 🚀
2018-06-19 08:08:45 -04:00
Evelyn Eastmond
d09c3f0418 MicroBit extension, Scratch Link first draft. (#1230)
* First microbit gui tests

* Fixed JSONRPC inheritance.  Renamed ScratchBLE/ScratchBT files.  Removed ScratchBT test code from Microbit extension.  Renamed addLine to log.

* Fixed log comments.  Removed addLine from Microbit.

* Adding auto-connect to Microbit at extension loading.  Adding hack for displayText block to Scratch-Link.

* Resolved merge conflicts and brought in latest microbit extension example code.

* Updated microbit write tests for displayText and displaySymbol blocks.  Some linting.

* Some linting and adding of BLE Characteristic consts.

* Linting fixes.

* Moving micro:bit device connection code all to the MicroBit class, decoupling Scratch3MicroBitBlocks from connection code.

* Removing old disconenct handlers from MicroBit class.  Moved service into new BLEUUID data structure.

* Renamed _write to _send.  Moved all BLE encoding concerns to the _send method.

* Using the util log.  Some linting.

* Added _read method to MicroBit class.  Renamed _send to _write.

* Some linting and formatting comments.

* First pass at peripheral chooser pattern for ScratchBLE.

* Testing characteristicDidChange events, and some changes to ScratchBLE on ready events.

* Refactoring work on PeripheralChooser and ScratchBLE.

* Some variable renaming and method signature stubs.

* Peripheral chooser method signatures.

* Moved base64 encoding/decoding to util.  Some method signature formatting.

* Adding test stubs for new util and io classes.

* Adding test stub for MicroBit extension.

* Clean up for PR.

* Clean up for PR.

* Final cleanup for PR.

* Removed logging to console.

* Adding 'btoa' and 'atob' node modules and using them in Base64Util.
2018-06-18 14:56:51 -04:00
greenkeeper[bot]
b1dacd4b59 fix(package): update scratch-parser to version 4.2.0 2018-06-18 13:49:58 +00:00
Ray Schamp
c915df3cc4 Clean up the rest of the dependencies
Hopefully.
2018-05-31 18:01:35 -04:00
Ray Schamp
61d7f70d1d Make canvas-toBlob a dependency 2018-05-31 17:29:38 -04:00
Michael "Z" Goddard
4ceeebb257 Use src/index as browser entry point
Use src/index.js as the entry by default in tools building scratch-vm
into a larger package. This saves file space by excluding extra webpack
boilerplate and may allow for deeper optimizations.

Depend on script dependencies for downstream webpack. For another
package to build in scratch-vm's dependencies without them already
being built into a consumed webpack build they need to be listed as
dependencies. This can benefit large projects that reuse the same
dependencies multiple times. Node will still use the main entry point
and its webpack build leaves the dependencies as external references so
it may reuse common modules in Node as well as in a build a browser
environment.
2018-05-31 16:32:46 -04:00
picklesrus
cd11e19717 Pin the diff-match-patch library 2018-05-30 13:20:38 -07:00
picklesrus
e7987a6a4c Initial version of the speech extension. There is certainly still some stuff to figure out but the core of it is here. 2018-05-30 13:20:38 -07:00
Eric Rosenbaum
3cdc9765a8
Translation extension imports translated language names (#1159)
* wip

* wip

* Get viewer language code, and cleanup

* Revert "wip"

This reverts commit 6598738ed2.

# Conflicts:
#	src/extensions/scratch3_translate/index.js
2018-05-23 17:00:59 -04:00
Andrew Sliwinski
1995753e94 Add localization support to music and video sensing extensions 2018-05-10 13:41:41 -04:00
Karishma Chadha
3e2dd67fda Update scratch-parser version and pin to specific version. 2018-05-09 09:54:38 -04:00
Ray Schamp
aad5131f93 Update remaining peer dependency 2018-05-08 19:35:29 -04:00
Ray Schamp
c705be4cfa Update expose-loader dependency instead
It doesn't make sense that webpack 4 has made Node 6 builds. Maybe it's due to peer dependencies on the install step?
2018-05-08 19:27:26 -04:00
Ray Schamp
a9a23ef589
Merge pull request #1104 from mzgoddard/webpack-4
Update to webpack 4
2018-05-07 11:28:51 -04:00
Ray Schamp
a3324c6a38 Major-pin webpack 2018-05-07 10:41:18 -04:00
Michael "Z" Goddard
dcb6a3ac56
Update babel-preset-es2015 to babel-preset-env
Use the common scratch browserlist configuration used for styling and babel
transforming in other scratch repositories.
2018-05-04 15:49:12 -04:00
Karishma Chadha
0848a1a4ca Update scratch-parser. 2018-05-04 11:00:45 -04:00
Karishma Chadha
7d36054cf6 Update scratch-parser version. 2018-05-04 11:00:45 -04:00
Michael "Z" Goddard
8e252f2d7d
Use arraybuffer-loader in place of buffer-loader 2018-05-03 18:58:59 -04:00
Michael "Z" Goddard
f60d8fc4c1
Update to webpack 4 2018-05-03 18:57:48 -04:00
DD
78cd327237 Move the place where we divide rotation center by resolution into the VM. Also revert the method of putting data into storage to the one that was convoluted but working 2018-04-30 16:35:24 -04:00
DD
009253a8d1 Code review 2018-04-26 18:34:35 -04:00
DD
3a3d807cba switch polyfill to one that doesn't break tests 2018-04-26 15:14:51 -04:00
DD
c73b06a254 add polyfill 2018-04-26 15:14:51 -04:00
kchadha
8739a524eb
Merge pull request #1031 from kchadha/block_serialization_compression
Block serialization compression
2018-04-11 19:17:42 -04:00
Karishma Chadha
7fd6dca374 Pin scratch-parser to an actual version instead of latest. 2018-04-11 19:09:50 -04:00
Michael "Z" Goddard
d3ff8b5eed
Test VideoMotion and VideoSensing blocks
- Add pngjs dev dependency to read test images
2018-04-06 18:09:50 -04:00
Karishma Chadha
9d8602db93 Removing specific save-load branch dependency now that scratch-parser has been updated. 2018-03-05 15:16:06 -05:00
Karishma Chadha
605ce4b16d Configuring scratch-vm to use changes made to scratch-parser. 2018-03-05 15:16:06 -05:00
Karishma Chadha
e0b23cde31 Can load saved sb3 files (including sounds and costumes that were modified in the 3.0 editors and saved in the sb3 zip when the project was saved). Tests still need to be fixed. 2018-03-05 15:16:06 -05:00
Karishma Chadha
1169f5badd Hooking up vm to scratch-parser for sb2 validation. 2018-03-05 15:16:06 -05:00
Karishma Chadha
79169c81b3 Use scratch-parser to validate structure of project json files. 2018-02-26 22:43:55 -05:00
Eric Rosenbaum
063ac39019 Load music extension assets with require 2018-02-14 17:53:05 -05:00
Paul Kaplan
32e240f18a
Merge pull request #916 from LLK/greenkeeper/scratch-storage-0.4.0
Update scratch-storage to the latest version 🚀
2018-01-31 09:30:09 -05:00
greenkeeper[bot]
1be4565c4b chore(package): update scratch-storage to version 0.4.0 2018-01-23 18:38:45 +00:00
Andrew Sliwinski
a9dd658445
Merge branch 'develop' into greenkeeper/tap-11.0.1 2018-01-19 08:45:58 -05:00
Paul Kaplan
d649b2555b Require TextEncoder correctly 2018-01-17 11:41:24 -05:00
Ray Schamp
e83141e810
Revert "Use text-encoding library for text encoder" 2018-01-17 10:59:28 -05:00
DD
2c1412dda4 Use text-encoding library for text encoder 2018-01-16 17:41:18 -05:00
greenkeeper[bot]
2343e04ff9 chore(package): update tap to version 11.0.1
Closes #818
2017-12-21 22:28:11 +00:00
Ray Schamp
49aa363a30
Merge pull request #868 from LLK/greenkeeper/webpack-3.10.0
chore(package): update webpack to version 3.10.0
2017-12-19 09:50:29 -05:00
chrisgarrity
f51cf9877e
Preliminary localization (#777)
* localize the block and menu strings in the pen extension
* adds .tx/config to be able to push translations to transifex
* includes format-message to localize strings and extracting them.
* add setLocale function to VM to allow GUI to pass in locale data.
* refresh block definitions when the locale changes.

### Still to be decided
For now just extracting messages from the pen extension into their own file. We’ll need to decide if each category gets its own file, or group all the strings into one resource.
2017-12-11 15:41:45 -05:00
greenkeeper[bot]
48505fd7e2 chore(package): update webpack to version 3.10.0
Closes #620
2017-12-04 18:48:49 +00:00
Paul Kaplan
80b4dab104 Decode the encoded argument information 2017-11-29 10:34:59 -05:00
Christopher Willis-Ford
12acdefb5a Add "browser" field to package.json
This informs webpack (say, in `scratch-gui`) about the web-targeted
build output so that it can resolve dependencies correctly. This fixes
build problems that became evident after merging #805.
2017-11-27 19:15:05 -08:00
Andrew Sliwinski
519d41d966
Merge pull request #805 from thisandagain/bugfix/802
Replace 'got' module with 'nets'
2017-11-27 15:17:04 -05:00
Andrew Sliwinski
621087904d
Merge pull request #811 from LLK/greenkeeper/copy-webpack-plugin-4.2.1
chore(package): update copy-webpack-plugin to version 4.2.1
2017-11-21 12:30:44 -05:00
Andrew Sliwinski
51bd0349b0
Merge branch 'develop' into greenkeeper/expose-loader-0.7.4 2017-11-20 20:14:03 -05:00
Andrew Sliwinski
8395fffe52
Merge pull request #809 from LLK/greenkeeper/worker-loader-1.1.0
chore(package): update worker-loader to version 1.1.0
2017-11-20 20:12:45 -05:00
Andrew Sliwinski
8e154474b7
Merge branch 'develop' into greenkeeper/script-loader-0.7.2 2017-11-20 20:11:30 -05:00
Andrew Sliwinski
fef8f23a57
Merge pull request #690 from LLK/greenkeeper/eslint-config-scratch-5.0.0
Update eslint-config-scratch to the latest version 🚀
2017-11-20 20:09:24 -05:00
Andrew Sliwinski
a73ef6819f Resolve merge conflicts 2017-11-20 17:39:07 -05:00
Andrew Sliwinski
d5acdbe983
Merge pull request #727 from LLK/greenkeeper/socket.io-client-2.0.4
Update socket.io-client to the latest version
2017-11-20 17:08:33 -05:00
Andrew Sliwinski
ea63fee483
Merge pull request #804 from LLK/greenkeeper/promise-8.0.1
chore(package): update promise to version 8.0.1
2017-11-20 17:06:36 -05:00
Andrew Sliwinski
a8c629dc9b Replace 'got' module with 'nets'. Resolves GH-802 2017-11-20 17:04:17 -05:00
greenkeeper[bot]
e052f1d53b chore(package): update expose-loader to version 0.7.4 2017-11-18 07:41:49 +00:00
greenkeeper[bot]
0959c4dbd5 chore(package): update gh-pages to version 1.1.0
Closes #559
2017-11-17 21:59:41 +00:00
greenkeeper[bot]
8963d0222f chore(package): update copy-webpack-plugin to version 4.2.1
Closes #682
2017-11-17 14:24:32 +00:00
greenkeeper[bot]
54e19b2bb5 chore(package): update scratch-storage to version 0.3.0 2017-11-02 20:05:55 +00:00
Ray Schamp
dfd28fbc1f Merge pull request #679 from aeons/unqualified-paths
Use unqualified paths in package.json scripts
2017-10-26 09:21:43 -04:00
greenkeeper[bot]
5e4bdb2bc3 chore(package): update worker-loader to version 1.1.0
Closes #680
2017-10-24 02:08:45 +00:00
greenkeeper[bot]
b74c82a08a chore(package): update socket.io-client to version 2.0.4 2017-10-22 13:19:34 +00:00
greenkeeper[bot]
3614a208b6 chore(package): update eslint-config-scratch to version 5.0.0 2017-10-05 14:04:59 +00:00
Christopher Willis-Ford
dd20e09774 Extensions: escape HTML entities in default values
This prevents generation of invalid XML due to characters like '<' or
'>' in fields' default values. Unfortunately the value comes back in its
escaped form, so there's still more work to be done.
2017-10-04 13:00:45 -07:00
greenkeeper[bot]
59650b9dfd chore(package): update script-loader to version 0.7.2
Closes #678
2017-09-29 19:14:25 +00:00
Bjørn Madsen
157a527def Use unqualified paths in package.json scripts
This allows stuff like yarn workspaces to function with node_modules hoisted.
2017-09-22 11:41:08 +02:00
Christopher Willis-Ford
7fb7f0dc7b WIP Extension Manager
When asked to load an extension, the Extension Manager starts up a new
Worker. That worker runs the message dispatch system as well as an
instance of the new `ExtensionWorker` class, which will load the desired
extension and register it with the extension system.

Extensions, placed in `./src/extensions/*.js`, are now processed by
Webpack as separate entry points and packed into an `extensions`
subdirectory in the output.

Still to do: query an extension's information, including the blocks it
provides, and register that information with the VM, GUI, etc.
2017-09-06 00:57:03 -06:00
Ray Schamp
a4d634d84d Update lint dependencies 2017-08-26 13:24:05 -04:00
Christopher Willis-Ford
0fcc248ac1 Add tests for message dispatch system; fix bugs
The tests run using TinyWorker, which emulates web workers on Node.
There are quite a few quirks in that situation due to the differences
between Node and Webpack as well as the differences between TinyWorker
and real Web Workers.

The tests also exposed a few bugs in the dispatch system, which have now
been fixed. Most notably, if a method called through the dispatch system
throws an exception that exception will now be passed back to the
caller. Previously the exception would escape the dispatch system and
the caller would never hear any response at all.
2017-07-21 13:23:52 -07:00
greenkeeper[bot]
c5aa32b5bb chore(package): update promise to version 8.0.1
Closes #613
2017-07-12 20:38:41 +00:00
Ray Schamp
3431fb39c8 Don't run prepublish on install 2017-06-27 09:28:56 -04:00
Ray Schamp
28dae39ddd Use stages instead of travis-after-all
Also, parallelize tap tests
2017-06-27 09:26:40 -04:00
Ray Schamp
908c34bcf4 Merge branch 'develop' into bugfix/npm-install 2017-06-14 17:04:19 -04:00
Ray Schamp
ecf535f4c3 Merge pull request #579 from cwillisf/load-jpeg-backdrops
Specify dataFormat when loading asset for import
2017-06-02 09:06:37 -04:00
Ray Schamp
467b747283 Bump scratch-storage version
Now 0.2.0 is the lowest compatible version.
2017-06-02 08:57:21 -04:00
Ray Schamp
d3a4a7b81a Pin to latest for 3.0 modules
Reverts #551

Pinning to `^0.1.0.prerelease.0` is not equivalent to `latest`, since has the effect of not installing the latest version on `npm install`, you have to also do `npm update`. This hurts us ergonomically on `npm install`, and doesn't help us since we already are releasing breaking changes on `prerelease`.
2017-06-01 12:31:24 -04:00
DD Liu
809760b954 Merge branch 'develop' into immutableState 2017-05-26 13:50:50 -04:00
Chris Willis-Ford
3970883e45 Merge pull request #549 from cwillisf/device-manager-client
Device manager client
2017-05-24 14:43:28 -07:00
DD Liu
66c8d9550d add dep to package.json 2017-05-19 12:42:37 -04:00
Ray Schamp
6c9701f4b2 Merge branch 'develop' into feature/serialization 2017-05-11 13:04:27 -04:00
Ray Schamp
620a4bd57b Require scratch-storage minimum version of 0.1.0
This gives us the caching behavior required for serialization
2017-05-11 12:47:06 -04:00
Christopher Willis-Ford
35d0544ce0 Respond to review comments
- Pin `got` and `socket-io.client`
- Finish removing `removeSocket`-related code
2017-05-05 10:37:29 -07:00
Christopher Willis-Ford
44ae4fed54 Minor-pin all Scratch 3.0 prerelease modules
Pin these modules to 0.*-prerelease.* to avoid problems when we
eventually bump to 1.x
2017-05-01 15:24:07 -07:00
Christopher Willis-Ford
f3c6be2881 Add an I/O device to represent the Device Manager 2017-04-28 13:40:13 -07:00
greenkeeper[bot]
1cb4c33178 chore(package): update babel-loader to version 7.0.0
https://greenkeeper.io/
2017-04-21 20:25:30 +00:00
greenkeeper[bot]
306e62b8b1 chore(package): update webpack to version 2.4.1
Closes #509

https://greenkeeper.io/
2017-04-20 19:26:03 -04:00
Ray Schamp
9be29439b1 Fix webpack for ES6 2017-04-17 19:55:34 -04:00
Chris Willis-Ford
3d7f1187e5 Merge branch 'develop' into use-scratch-storage 2017-03-13 15:48:21 -07:00
Ray Schamp
b03768cad6 Remove filter toolbox utility (#496)
* Revert "Merge pull request #486 from rschamp/fix-filter-tests"

This reverts commit ba00db897f, reversing
changes made to 739c5deb63.

* Revert "Show Categories that use custom code to load (variables, procedures) (#483)"

This reverts commit 739c5deb63.

* Revert "Merge pull request #461 from rschamp/filter-toolbox"

This reverts commit 343b5bfe8e, reversing
changes made to 370f2c6a47.
2017-03-09 16:41:06 -05:00
Christopher Willis-Ford
c23e9c6bf8 Load projects & costumes through scratch-storage
This also sets up the framework to load sounds through scratch-storage,
to be finished in a later change.
2017-03-09 11:25:55 -08:00
Ray Schamp
6ea9b54539 Add filterToolbox unit tests 2017-02-27 12:58:18 -05:00
Ray Schamp
ed4b0080b6 Use caret ranges for dev dependencies
These packages don't affect the output of the built package, so don't require a specific version. This should quiet Greenkeeper down a bit about our dependencies.
2017-02-20 17:15:50 -05:00
Ray Schamp
6fba4c61e3 Merge pull request #474 from LLK/greenkeeper/expose-loader-0.7.3
chore(package): update expose-loader to version 0.7.3
2017-02-20 16:45:05 -05:00
Ray Schamp
47953ab58f Merge pull request #475 from LLK/greenkeeper/webpack-dev-server-2.4.1
chore(package): update webpack-dev-server to version 2.4.1
2017-02-20 16:44:45 -05:00
Ray Schamp
bee8c8d50d Merge pull request #473 from LLK/greenkeeper/eslint-3.16.0
Update eslint to the latest version 🚀
2017-02-20 16:25:21 -05:00
greenkeeper[bot]
867d3c79f5 chore(package): update eslint to version 3.16.0
https://greenkeeper.io/
2017-02-20 16:37:01 +00:00
greenkeeper[bot]
0118a19cd5 chore(package): update webpack-dev-server to version 2.4.1
Closes #470

https://greenkeeper.io/
2017-02-19 22:15:28 +00:00
greenkeeper[bot]
d7bff34a66 chore(package): update tap to version 10.2.0
https://greenkeeper.io/
2017-02-19 01:19:16 +00:00
greenkeeper[bot]
9f364b93eb chore(package): update tap to version 10.1.2
https://greenkeeper.io/
2017-02-18 02:13:29 +00:00
greenkeeper[bot]
fba054cc68 chore(package): update tap to version 10.1.1
https://greenkeeper.io/
2017-02-14 19:26:13 +00:00
greenkeeper[bot]
a69950add4 chore(package): update expose-loader to version 0.7.3
Closes #454

https://greenkeeper.io/
2017-02-14 18:57:35 +00:00
Ray Schamp
292a930aa7 Merge pull request #429 from LLK/greenkeeper/webpack-dev-server-2.3.0
Update webpack-dev-server to the latest version 🚀
2017-02-09 16:30:05 -05:00
greenkeeper[bot]
c12cc25e5f chore(package): update tap to version 10.1.0
https://greenkeeper.io/
2017-02-07 23:35:36 +00:00
greenkeeper[bot]
284357941b chore(package): update eslint to version 3.15.0
https://greenkeeper.io/
2017-02-03 22:04:26 +00:00
greenkeeper[bot]
30cdef5782 chore(package): update webpack-dev-server to version 2.3.0
https://greenkeeper.io/
2017-02-03 15:13:39 +00:00
greenkeeper[bot]
7612a46c61 chore(package): update tap to version 10.0.2
https://greenkeeper.io/
2017-02-02 23:33:29 +00:00
greenkeeper[bot]
6ca8814a2f chore(package): update tap to version 10.0.1
https://greenkeeper.io/
2017-02-02 06:26:51 +00:00
Ray Schamp
a6568c4bf2 Update webpack config for webpack 2
* `module.loaders` -> `module.rules`
* loaders need `-loader` suffix
* `json-loader` is enabled by default
* `UglifyJsPlugin`'s `compress.warning` setting is false by default
2017-02-01 16:27:55 -05:00
greenkeeper[bot]
82acfddeb5 chore(package): update dependencies
https://greenkeeper.io/
2017-02-01 15:19:46 +00:00
Chris Willis-Ford
9b04392211 Move build outputs into a dist/ subdirectory (#375)
* Move Node output: /dist.js => /dist/node/scratch-vm.js
* Move web output: /vm{.js,.min.js} => /dist/web/scratch-vm{.js,.min.js}
* Update build output references in package.json and the playground's index.html
* Move the VirtualMachine class out of index.js into its own file, referenced by index.js. The VirtualMachine class is otherwise unchanged.
* Add .gitattributes rules for new file types which were added to this repository without specifying their text/binary attributes
* Turn on source maps in webpack and add corresponding .gitignore rule
2017-01-13 13:34:26 -08:00
Eric Rosenbaum
dc9126e067 Merge pull request #373 from ericrosenbaum/sound
Integrate audio engine
2017-01-06 16:28:09 -05:00
Eric Rosenbaum
e1b6479e67 fix name of scratch-audio dependency 2017-01-06 15:18:30 -05:00
Andrew Sliwinski
dfc6614a5b Build out integration test SB2 files 2016-12-23 21:08:13 -05:00
Eric Rosenbaum
f2793a1d59 Merge branch 'develop' of https://github.com/LLK/scratch-vm into sound
# Conflicts:
#	package.json
#	src/engine/runtime.js
#	src/sprites/clone.js
2016-12-21 15:29:57 -05:00
Ray Schamp
867c08b495 Include dotfiles in gh-pages, so .nojekyll works 2016-11-10 14:31:45 -05:00
Ray Schamp
084148e353 Fix path to .nojekyll
The path on scratch-gui which this was copied from is different than the one for scratch-vm.
2016-11-09 13:41:57 -05:00
Tim Mickel
f5ee6a7e58 Prevent gh-pages from being processed with Jekyll
Thanks @rschamp
2016-11-09 10:50:32 -05:00
Andrew Sliwinski
1b4a1ca1bc Resolve merge conflicts 2016-10-24 15:53:42 -04:00
Andrew Sliwinski
50b896e935 Unify integration and unit tests to resolve issue with coverage reporting 2016-10-24 12:04:22 -04:00
Ray Schamp
9f0c4eb098 Update to eslint-config-scratch 2.0
We are on a fast release cycle here.
2016-10-24 11:39:39 -04:00
Ray Schamp
1bd1d8e8d1 Keep up with non-breaking lint changes 2016-10-23 22:21:59 -04:00
Ray Schamp
73edb65c4d Replace console with minilog 2016-10-23 22:20:30 -04:00
Ray Schamp
f6c0064235 All linting other than console statements 2016-10-23 22:20:29 -04:00
Ray Schamp
36e4683aa8 Install and use eslint-config-scratch 2016-10-23 12:03:59 -04:00
Eric Rosenbaum
f3f2fea3dd add watch command 2016-10-18 12:50:22 -04:00
Ray Schamp
1b9f9e63d6 Fix scratch-* dependency versions for npm update
The issues:
* The scratch-blocks@0.1.0 version exists because I accidentally published 0.1.0 (no -prerelease modifier) while setting up NPM
* I added a step that causes Travis to run `npm update` after installing
* The "0.1.0-prepublish" dependency version makes no sense

This made Travis install the old version of scratch-blocks that I published accidentally, which breaks the playground.
2016-10-18 12:00:52 -04:00
Eric Rosenbaum
ba84b6e34b move audioengine to its own module 2016-10-17 17:16:13 -04:00
Ray Schamp
3f4a244cbd Replace Makefile with npm scripts 2016-10-17 09:42:35 -04:00
TheBrokenRail
476221fc1b change second start to build 2016-10-12 21:00:10 -04:00
TheBrokenRail
cb4a75928e Add NPM Script 'build' 2016-10-04 20:25:06 -04:00
Ray Schamp
4c80e9a9b0 Use new version format for scratch-* dependencies 2016-09-27 10:23:12 -04:00
Ray Schamp
e31fc19a50 Update version format
-prerelease.[timestamp] is semver friendly. Move SHA info to package.json.
2016-09-27 09:20:55 -04:00
Ray Schamp
e4ec9c551f Use most recent version of scratch-* dependencies 2016-09-26 11:47:00 -04:00
Ray Schamp
6b1d2a8eb6 Update dev server to only serve the playground
Now that we don't rely on node_modules, we can update the content base to just `playground` and just look at it from http://localhost:8080/
2016-09-26 10:04:47 -04:00
Ray Schamp
7eb2e58a38 Publish to NPM
Authenticate with NPM via .npmrc and publish the package version + "-[git sha]".

Remove vm and vm.min.js, they'll be built before the package is published to NPM and available on installation. When installing from git, the build step will run on npm install.
2016-09-26 09:42:53 -04:00
Ray Schamp
89f751e651 Publish playground to gh-pages 2016-09-26 09:42:53 -04:00
Ray Schamp
a99f9ad5ff Provide playground dependencies with webpack
This confines all the files the playground needs to the playground directory.
2016-09-26 09:42:37 -04:00
Ray Schamp
e689664733 Build the module to be imported
This puts the details of the loaders needed to build index.js out of the concern of the packages that require it.
2016-09-20 16:35:11 -04:00
Ray Schamp
fa10a2279a Only expose VirtualMachine to window for bundles 2016-09-20 10:29:47 -04:00
TheBrokenRail
220d614a9d Better README! (#114)
Improve README
Implement "npm start"
2016-08-31 13:31:01 -07:00
Tim Mickel
6d773076c5 Update package.json 2016-08-24 14:03:42 -04:00
Tim Mickel
7a44dce816 Add stats.js meter to playground 2016-08-11 22:54:57 -04:00
Andrew Sliwinski
32b1d4ec61 Remove memoizee dependency and usage in adapter. Resolves GH-2 2016-08-08 17:07:50 -04:00
Tim Mickel
c47a061edb Updates for newly released scratch-render repo 2016-08-08 15:43:52 -04:00
Tim Mickel
19da0b0032 Add renderer demo using scratch-render-webgl 2016-06-30 18:59:47 -04:00
Tim Mickel
d72cc55c11 Example that uses promises instead of util.report 2016-06-30 18:56:23 -04:00
Tim Mickel
020bf1ef65 Use absolute version number for webpack-dev-server 2016-06-21 15:28:47 -04:00
Tim Mickel
b144ca7a2e Add dev server to help with WebWorker development 2016-06-21 14:42:24 -04:00
Tim Mickel
e92832772f Absolute version number for highlightjs dependency 2016-06-01 13:13:52 -04:00
Tim Mickel
6593c399c1 Update to use syntax highlighting in block explorer 2016-06-01 13:13:52 -04:00
Tim Mickel
1c253df3a2 Add a basic demo playground with scratch-blocks 2016-06-01 13:13:41 -04:00
Andrew Sliwinski
fe1340c4ab Update package version to 'pre release' 2016-05-10 12:15:27 -04:00
Andrew Sliwinski
389d112729 All tests passing 2016-04-26 09:54:14 -04:00
Andrew Sliwinski
981b85e78f AST create / change / move / delete from blockly 2016-04-26 09:49:52 -04:00
Andrew Sliwinski
f9f47ed103 WIP 2016-04-18 17:20:30 -04:00
Andrew Sliwinski
655556273a Initial commit 2016-04-08 13:10:37 -04:00
Andrew Sliwinski
9d5423f22a Initial commit 2016-03-28 12:53:44 -04:00