Commit Graph

59 Commits

Author SHA1 Message Date
Sam El-Husseini
6170b77027 Add langfiles build task in gulp (#3331)
* Add build-langfiles to gulp, and add uncompressed + langfiles to build when building all
2019-10-24 11:11:03 -04:00
Sam El-Husseini
6d8f22f39a Add a lint plugin to ensure we only use ES5 syntax. (#3160)
* Add a lint plugin to ensure we only use ES5 only syntax.
2019-10-21 21:26:26 -04:00
Rachel Fenichel
1e2eb6bd60 Review cleanup 2019-10-21 10:46:34 -07:00
Rachel Fenichel
e716283191 Revert "3.20191018.0-develop"
This reverts commit ff87c135ee.
2019-10-18 14:26:02 -07:00
Rachel Fenichel
3946b56a26 Add script to bump minor version number
Creates a new branch, bumps, builds, tags, and pushes the new branch and new tag.
2019-10-18 14:24:06 -07:00
Rachel Fenichel
ff87c135ee 3.20191018.0-develop 2019-10-18 10:56:47 -07:00
Sam El-Husseini
7f41532717 Print the output of the closure compiler in the console after a debug compile. (#3272) 2019-10-17 11:44:41 -05:00
Rachel Fenichel
e11c7b0488 Update package.json 2019-10-14 14:02:43 -06:00
Sam El-Husseini
6a771a8636 Remove old node module, update tests to use the npm one. (#3111) 2019-09-27 10:32:52 -07:00
Sam El-Husseini
09d2a167f9 Fix travis by running browser tests in headless mode (#3001)
* Fix travis by running browser tests in headless mode
2019-09-11 17:25:22 -07:00
Sam El-Husseini
dc8d27397e Add a build debug npm script for convenience (#2961) 2019-09-03 16:56:15 -07:00
Sam El-Husseini
1d1401e00e Add local build tasks to gulp (#2895)
* Support compiling from the npm closure compiler and add gulp tasks
2019-08-22 10:04:41 -07:00
Sam El-Husseini
5af3d46341 Reorder package.json. (#2893) 2019-08-21 16:37:56 -07:00
Sam El-Husseini
6911228f32 Cherry-pick from master: No longer private 2019-08-13 16:28:29 -07:00
Sam El-Husseini
5ada490eca Cherry pick npm distribution change to develop (#2785) 2019-08-07 10:53:53 -07:00
Sam El-Husseini
9d593f2cb8 TypeScript Definition file (#2738)
* Add Typescript definition file for Blockly
2019-07-30 11:17:57 -07:00
Rachel Fenichel
dcdddd7c0c Make screenshot tests run 2019-07-23 13:06:37 -07:00
Rachel Fenichel
32064bea07 Bump version on develop 2019-07-22 11:34:05 -07:00
Rachel Fenichel
4915fdfe12 Update dependencies 2019-07-15 10:48:36 -07:00
Nicholas Cioli
a5717fb333 upgrade gulp to v4
As of NodeJS v12, gulp v3 fails to run at all. This small change
should allow for future compatibility with NodeJS.
2019-06-21 17:43:21 -05:00
Rachel Fenichel
da2a89e177 Update to webdriverio v5; fix resulting test breakages 2019-04-30 14:38:33 -07:00
Rachel Fenichel
a82604d75c Update version number to 1.20190419.0-develop 2019-04-19 11:38:11 -07:00
Rachel Fenichel
ab5b734e5a Update version number 2019-02-15 17:07:09 -08:00
Rachel Fenichel
d13ee11d18 Update dependencies 2019-02-11 11:53:24 -08:00
Rachel Fenichel
6fefa49112 Bump version number on develop 2018-12-19 16:55:58 -08:00
Rachel Fenichel
817399a793 Bump version number on master 2018-12-19 14:29:54 -08:00
Rachel Fenichel
17ab169772 Fix bad version number 2018-12-14 17:23:11 -08:00
Rachel Fenichel
a272e52a86 Bump version to 1.20181214 2018-12-14 15:46:56 -08:00
Rachel Fenichel
b7446e195c Update dependencies 2018-12-14 12:42:03 -08:00
Rachel Fenichel
200afba1d0 Update version number 2018-10-30 10:47:17 -07:00
Rachel Fenichel
9a12e97b86 Update some dev dependencies 2018-10-29 16:58:29 -07:00
Andrew n marshall
705f06eb2c Bumping develop branch version to 1.20180904.0-develop 2018-09-04 15:49:10 -07:00
Andrew n marshall
098472376b Bumping develop version to 1.20180831.0-develop 2018-08-30 16:43:01 -07:00
Andrew n marshall
764d9e826d Updating NPM dependencies to latest available. 2018-08-28 11:35:15 -07:00
RoboErikG
a8bb9091bb Add support for eslint5 (#2009)
Fixes #2006

- Makes a copy of .eslintrc in .eslintrc.json
- Updates eslint rules to support eslint5.
- Changes travis to use eslint5
2018-08-20 14:42:57 -07:00
Andrew n marshall
1bd135c9a5 Updating NPM package version to 1.20180629.0-develop (#1962) 2018-07-02 12:34:03 -07:00
Andrew n marshall
51253f9787 Updating npm dependencies. (#1936) 2018-06-26 12:32:49 -07:00
Andrew n marshall
7886d24130 Fixing xml.js: Always throw XML I/O errors; Support parsing in Node (#1911)
* Improved Blockly.XML comments.
 * Support JSDOM as an alternate parser under Node.js
 * Throw standard errors instead of goog.asserts.
 * Adding textToDomDocument_ and override in gulpfile.
2018-06-12 14:03:10 -07:00
Andrew n marshall
9b8704f4bc Adding travis_fold logging around each test (#1879)
Replace individual .travis.yml commands and test_runner.js with tests/run_all_tests.sh, which manages the travis_fold statements and accumulating the output of all the test phases.

This script is now in charge of test_setup.sh (previously handled by npm pretest script). It also adds green/red color coding to each test section, based on success and failure.
2018-05-22 17:23:01 -07:00
Andrew n marshall
f2b6c9a948 Work in progress (Needed a Travis run) (#1869)
Fix advanced compilation on Travis
2018-05-16 14:16:02 -07:00
Andrew n marshall
9eb05c4ad3 Don't build upon npm install. (#1855)
Build depends upon ../closure-library, which is outside the usual
npm process. And since the library ships pre-built, just concatenate
the built files to make the node-ready version.
2018-05-15 14:45:22 -07:00
Andrew n marshall
1d55b90c2f Clean-up dependencies in package.json (#1853)
* Clean-up package.json dependencies.
* Updating to the latest version of closure and webdriverio.
2018-05-14 17:25:40 -07:00
Andrew n marshall
2e8c29de45 Adding gulpfile to build Node.js compatible library. (#1847)
The gulp file is derived from work in PR #887, with numerous
refinements and clarifying comments.

Also updating the version number in package.json, including the
'develop' prerelease tag for the develop branch.
2018-05-11 15:19:47 -07:00
Andrew n marshall
0ffd5dda18 Changing root script for tests under Node. (#1837)
* Changing root script for tests under Node.

Was: tests/jsunit/test_runner.js
Now: tests/test_runner.js

The webdriver & jsunit calls formerly in tests/jsunit/test_runner.js
are now in function runJsUnitTestsInBrowser, in
run_jsunit_tests_in_browser.js, called from tests/test_runner.js.

This makes room for additional tests under Node, such as headless and generator tests.
2018-05-02 12:19:49 -07:00
Andrew n marshall
446c1bbce4 Updateing Closure to 20180204.0.0 2018-02-14 16:15:43 -08:00
Rachel Fenichel
ee248d9596 Update eslint version 2018-01-25 12:44:38 -08:00
Neil Fraser
a4ec65d85d Improve support >ES5 and Node.
Adds ‘yield’ and ‘**’ to JS order list.
Build generates files (more) parsable by Node.
This PR should have no effect on existing code.
2018-01-25 11:47:11 -08:00
Rachel Fenichel
75d0798e4a Run eslint on travis 2017-11-10 14:16:47 -08:00
Neil Fraser
82705923cb Convert compile demo into a unit test. (#1360)
* Intentionally break Travis.

* Alphabetize tests, remove orphaned test, and add fail to test that's running.

* Unbreak test, disable OS X, move scripts, list compiler directory.

* Test Java, break test.

* Unbreak test, call compile script.

* Compile main_compressed.js

* Run test command using bash.

* Fix path.

* Exclude node modules.

* Be more specific about JS files to compile.

* Test failure.

* Restore OSX, undo Blockly failure, remove compilation demo, add compilation test.

* Delete manual test files.

* Ignore downloaded/generated files.

* Whitespace cleanup.
2017-10-12 14:54:57 -07:00
shirletan
23e5728ff4 use pretest instead of preinstall in package.json (#1043)
* cherry pick for pretest fix

* put pretest target to test_setup.sh

* fix conflict

* cherry pick for get_chromedriver.sh

* add some sleep to wait download to finish

* use node.js stable

* use npm test target
2017-04-13 15:23:48 -07:00