Commit Graph

66 Commits

Author SHA1 Message Date
Sam El-Husseini
f97730e83c Sort requires (#4658)
* Cleanup gulp method to sort requires
2021-02-25 17:17:42 -08:00
alschmiedt
1208987dbb Update release scripts (#4558) 2021-01-08 11:52:02 -08:00
Monica Kozbial
77884550a5 Add script for deploying demos (#4551) 2021-01-05 11:08:29 -08:00
Sam El-Husseini
f3136e61a1 Advanced compilation gulp script to replace the shell script. (#3996) 2020-07-01 10:55:17 -07:00
alschmiedt
afba82222e Fix recompile script (#3926) 2020-05-29 11:17:16 -07:00
alschmiedt
8ec3a49487 Update build scripts (#3923)
* Update build scripts
2020-05-28 17:10:52 -07:00
Sam El-Husseini
7e4e6c7286 Add typings modules to match UMD modules. (#3821)
* Add typings modules to match UMD modules.
2020-04-15 09:44:25 -07:00
alschmiedt
40d39fd0c5 Update gh pages task (#3762)
* Add task for updating github pages from develop
2020-03-23 16:49:03 -07:00
Sam El-Husseini
d838778a4a Script to check licenses (#3757)
* Add script task to check licenses of all dependenies
2020-03-19 10:53:29 -07:00
Sam El-Husseini
a6e3f78425 Cleanup build (#3756) 2020-03-18 12:08:24 -07:00
Rachel Fenichel
e78a87a1e5 Break gulpfile into multiple subfiles 2020-02-14 13:42:38 -08:00
Rachel Fenichel
9f356fa27d Add package to exports 2020-02-13 16:29:03 -08:00
Rachel Fenichel
633fa9a5e2 Update gulpfile to use exports instead of gulp.task syntax 2020-02-13 16:11:34 -08:00
Neil Fraser
4e2f8e6e02 Use SPDX licences.
This is a followup to #3127.
At the time, SPDX licenses were pending approval by Google.
2020-02-11 13:27:20 -08:00
Sam El-Husseini
7ef5fe8cec Update gulp task for package-json to remove scripts. (#3650) 2020-01-23 16:23:52 -08:00
Sam El-Husseini
cf90154b23 Support for closure library option in uncompressed local build (#3633)
* Support for closure library option in uncompressed local build

* Refactor into maybeAddClosureLibrary method
2020-01-22 11:10:35 -08:00
alschmiedt
de6a7f9d88 Add push to github pages after build (#3615) 2020-01-21 14:13:21 -08:00
Sam El-Husseini
30aa75506c Release tasks renames (#3620)
* Revert package.json version

* Rename some tasks

* Added prerelease task
2020-01-21 14:08:27 -08:00
Sam El-Husseini
b87d23b976 Rebuild for release with options parsing fix. (#3618) 2020-01-21 13:40:17 -08:00
alschmiedt
847385715a Rebuilds typings for release script (#3612) 2020-01-20 20:53:36 -08:00
alschmiedt
1a2fb6ddf0 Add new build scripts (#3608)
* Add new build scripts

* Fix pr comments
2020-01-16 16:52:20 -08:00
Sam El-Husseini
6bd6bdefbc Upgrade closure + support for closure-library dependency (#3554)
* Upgrade closure and include hints on how to include the closure library in the build.

* Revert build-uncomprssed.

* Sort uncompressed.

* nit: comment.
2020-01-14 12:59:43 -08:00
Sam El-Husseini
034ae878c6 Fix gulp blocks compile build (#3519)
* Fix gulp build by adding Comment, Mutator and Warning to the remove regex.
2019-12-16 14:05:31 -08:00
Sam El-Husseini
e8a294b138 Use google-closure-deps in local build (#3432)
* Use google-closure-deps instead of python script for building in gulpfile (JS)
2019-11-12 11:26:20 -08:00
Neil Fraser
4d25193ead Add extern for goog. (#3417)
As of closure-compiler-v20191027.jar the compile now breaks due to a lack of ‘goog’ being defined.

../../temp_core/constants.js:24: ERROR - [JSC_UNDEFINED_VARIABLE] variable goog is undeclared
goog.provide('Blockly.constants');
^^^^

1 error(s), 0 warning(s)
Compiler exit code: 1
Compilation FAIL.

Upgrade closure compiler to v20191027
2019-11-09 08:10:30 -08:00
Neil Fraser
22c1eba546 Make warnings an optional module. 2019-11-01 11:52:12 -07:00
Sam El-Husseini
93755fef53 Treat compiler warnings as errors and run on travis (#3378)
* Enable compiler warnings as errors and run on travis
2019-10-31 15:49:28 -07:00
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
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
f56bed5f50 Merge pull request #3285 from rachel-fenichel/release_tasks_2
Add task to create a release candidate.
2019-10-18 11:37:37 -06:00
Rachel Fenichel
9fd4f8edff Change branch name format 2019-10-18 10:23:55 -07:00
Neil Fraser
8e5797e2bc Add missing utils.global (#3286)
Compile is breaking due to the JS environment sweep.
2019-10-18 02:00:31 -07:00
Rachel Fenichel
5507a1eb88 Add task to create a release candidate. 2019-10-17 15:45:43 -07:00
Rachel Fenichel
90f6948c27 Remove unnecessary stash 2019-10-17 10:21:55 -06:00
Rachel Fenichel
17f47ee2cb Make git-sync-master as well as git-sync-develop 2019-10-16 11:29:54 -06:00
Rachel Fenichel
90f529603e Review feedback 2019-10-16 11:22:42 -06:00
Rachel Fenichel
07d6f33db9 Rebuild task in gulp. 2019-10-15 15:05:50 -06:00
Sam El-Husseini
a782645851 Add setLocale to the Blockly typescript definition file. (#3197) 2019-10-08 11:12:29 -07:00
Neil Fraser
b46a4fe286 Bring our license format up to date (#3127)
* Google changed from an Inc to an LLC.

This happened back in 2017 but we didn’t notice.  Officially we should update files from Inc to LLC when they are changed as part of regular edits, but this is a nightmare to remember for the next decade.

* Remove project description/titles from licenses

This is no longer part of Google’s header requirements.  Our existing descriptions were useless (“Visual Blocks Editor”) or grossly obselete (“Visual Blocks Language”).

* License no longer requires URL.

* Fix license regexps.
2019-10-02 14:46:56 -07:00
Sam El-Husseini
d7a7c7b4d5 Support XML serialization in Node.js (#3126)
* Support XML serialization in Node.js
2019-10-01 14:40:35 -07:00
Sam El-Husseini
edf3d0cfe2 Don't require everything in uncompressed. (#3120)
* Don't require everything in uncompressed.
2019-09-27 14:26:10 -07: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
Neil Fraser
a1e3973499 Make block comments an optional module. (#3053)
Measured as a 5 KB *increase* in code size, but that's because some other commit just landed between my tests. It's like running down an up escalator.
2019-09-19 14:53:28 -07:00
Neil Fraser
84a814cda1 Make mutator an optional module. (#3048) 2019-09-19 11:39:55 -07:00
Sam El-Husseini
7d76cafd61 Apply the same patch to the gulp build script. 2019-09-18 13:00:44 -07:00
Sam El-Husseini
99c624db34 Fix Blockly.utils.global when wrapped in a module. (#3035)
* Fix Blockly.utils.global when wrapped in a module.
2019-09-17 14:07:03 -07:00
Sam El-Husseini
d9fcfdbc07 Blockly entry point (#3019)
* Move fields and renderers into their own entry point so folks are able to be more selective about which fields and renderers they include in their bundle.
2019-09-16 12:36:02 -07:00
Sam El-Husseini
e339ae26bc Move the rendering object to live on the workspace_svg (#3016)
* Move the rendering object onto the workspace allowing the various workspaces to have different renderers.
2019-09-13 14:20:34 -07:00