Christopher Allen
ec14cc3ed8
Package build output; fix node tests.
...
- Reconfigure package_tasks.js to use BUILD_DIR from config.js
(i.e., build/) rather than repository root as source of files to
package.
- Add check to packageTasks.package to ensure that certain required
files exist in BUILD_DIR, to verify that buildTasks.build and
typings.typings have been run.
- Fix packageUMDBundle to use generated, rather than checked-in
version of en.js.
- Fix packageDTS to use the generated (rather than checked-in)
versions of blockly.d.ts and msg/*.d.ts.
- Modify run_all_tests.sh to run packageTasks.package before running
node tests, since they depend on it. Previously this was only
working because 'npm install' runs the 'prepare' script, which would
run the 'package' script - so the code being tested by the node tests
was not the current source but whatever precomipled code had
previously been checked in.
- Remove the 'prepare' script from package.json, since it is no longer
needed (and is now broken, since it requires that build and typings
have been done first.) Note that no scripts at all are included in
the version of package.json that is created in dist/ and subsequently
included in the published npms, so this deletion does not affect what
happens when the Blockly npm in installed - it only affects what
happens when 'npm install' is run after the blockly repo is cloned.
- Factor out the actual recompilation steps from releaseTasks.recompile.
- Rename releaseTasks.recomple to recompileDevelop, since it deals
specifically with the develop branch. (The npm script name is
unchanged.)
- Ensure that a full recompile and repackage is done before publishing
(beta and non-beta) npms.
2021-07-08 16:34:50 +01:00
Christopher Allen
37ecce8d80
Have npm run typings use built directory; fix typescript tests
...
* Modify scripts/gulpfiles/typings.js to write typings to BUILD_DIR.
* Modify tests/scripts/compile_typings.sh to check compilability of
resulting output from BUILD_DIR.
* Rename checkin script to checkin:built, add a checkin:typings script
to do the same for .d.ts files, and a new checkin script to do both.
* Have recompile run checkin:typings.
2021-06-30 15:34:54 +01:00
Christopher Allen
1aa35ef438
Merge branch 'develop' into build-elsewhere
2021-06-29 16:22:13 +01:00
dependabot[bot]
0263f88ef3
Bump google-closure-deps from 20210406.0.0 to 20210601.0.0 ( #4947 )
...
Bumps [google-closure-deps](https://github.com/google/closure-library ) from 20210406.0.0 to 20210601.0.0.
- [Release notes](https://github.com/google/closure-library/releases )
- [Commits](https://github.com/google/closure-library/compare/v20210406...v20210601 )
---
updated-dependencies:
- dependency-name: google-closure-deps
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-23 16:12:35 -07:00
dependabot[bot]
5b9715c220
Bump selenium-standalone from 6.23.0 to 7.1.0 ( #4946 )
...
Bumps [selenium-standalone](https://github.com/vvo/selenium-standalone ) from 6.23.0 to 7.1.0.
- [Release notes](https://github.com/vvo/selenium-standalone/releases )
- [Changelog](https://github.com/vvo/selenium-standalone/blob/master/HISTORY.md )
- [Commits](https://github.com/vvo/selenium-standalone/compare/v6.23.0...v7.1.0 )
---
updated-dependencies:
- dependency-name: selenium-standalone
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-23 16:11:08 -07:00
Christopher Allen
e8eb30fa8b
Script to clean release directory
...
You can now do npm run clean:buildDir, ... clean:releaseDir, or just
... clean, which does both.
The release directory is automatically cleaned before packaging
commences.
2021-06-23 13:07:20 +01:00
Christopher Allen
961319b3eb
Script to clean build directory
2021-06-22 18:10:02 +01:00
Christopher Allen
e2c4a9b7f9
Script to copy built files from BUILD_DIR to repository
...
This is to allow built files to be checked in.
2021-06-22 18:08:23 +01:00
Christopher Allen
a03cd29b68
Separate script to rebuild msg/json/en.json, qqq.json etc.
...
There are some files in msg/json/ (currently en.json, qqq.json,
constants.json and synonyms.json) that are generated by
scripts/i18n/js_to_json.py as part of the language file build process
- but this only needs to be done when messages.js is updated and
and usually requires some manual cleanup, so remove this step from the
existing buildLangfiles gulp script and create a separate command
('npm run generate:langfiles') to do this when required.
2021-06-22 10:59:24 +01:00
Beka Westberg
13bb9f5bf6
Refactor connect logic ( #4880 )
...
* Refactor connect logic.
* Fixup from rebase
* Fix build
* PR Comments
2021-06-18 09:53:43 -07:00
Monica Kozbial
a15bbf1700
Revert #4697 ( #4917 )
2021-06-16 09:36:39 -07:00
Aaron Dodson
65339377f4
Moved Typescript to devDependencies.
2021-06-14 19:40:41 +00:00
Aaron Dodson
df7da795a3
Use selenium-standalone-service to automatically start and stop Selenium when running the test suite.
2021-06-14 11:52:49 -07:00
dependabot[bot]
894af81383
Bump google-closure-compiler from 20210406.0.0 to 20210505.0.0 ( #4834 )
...
Bumps [google-closure-compiler](https://github.com/google/closure-compiler-npm ) from 20210406.0.0 to 20210505.0.0.
- [Release notes](https://github.com/google/closure-compiler-npm/releases )
- [Commits](https://github.com/google/closure-compiler-npm/compare/v20210406.0.0...v20210505.0.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-18 08:05:16 -07:00
Sam El-Husseini
d83279008b
Remove dark theme in favour of @blockly/theme-dark ( #4697 )
...
* Remove dark theme in favour of @blockly/theme-dark
2021-04-21 13:33:59 -07:00
dependabot[bot]
155084519c
Bump google-closure-deps from 20210202.0.0 to 20210406.0.0 ( #4785 )
...
Bumps [google-closure-deps](https://github.com/google/closure-library ) from 20210202.0.0 to 20210406.0.0.
- [Release notes](https://github.com/google/closure-library/releases )
- [Commits](https://github.com/google/closure-library/compare/v20210202...v20210406 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-21 13:23:30 -07:00
dependabot[bot]
1d69877f23
Bump google-closure-compiler from 20210302.0.0 to 20210406.0.0 ( #4786 )
...
Bumps [google-closure-compiler](https://github.com/google/closure-compiler-npm ) from 20210302.0.0 to 20210406.0.0.
- [Release notes](https://github.com/google/closure-compiler-npm/releases )
- [Commits](https://github.com/google/closure-compiler-npm/compare/v20210302.0.0...v20210406.0.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-21 08:59:07 -07:00
Rachel Fenichel
256eaa9497
Remove rules forbidding es6
2021-04-13 16:02:11 -07:00
alschmiedt
fa8cf15d8e
Reverts #4573 ( #4775 )
2021-04-13 09:44:53 -07:00
dependabot[bot]
dd9228bff3
Bump jsdom from 16.5.0 to 16.5.2
...
Bumps [jsdom](https://github.com/jsdom/jsdom ) from 16.5.0 to 16.5.2.
- [Release notes](https://github.com/jsdom/jsdom/releases )
- [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md )
- [Commits](https://github.com/jsdom/jsdom/compare/16.5.0...16.5.2 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-03-29 05:14:59 +00:00
Maribeth Bottorff
aed9ba13a9
Rebuild ( #4733 )
2021-03-25 09:37:19 -07:00
dependabot[bot]
24360ae384
Bump jsdom from 16.4.0 to 16.5.0 ( #4688 )
...
Bumps [jsdom](https://github.com/jsdom/jsdom ) from 16.4.0 to 16.5.0.
- [Release notes](https://github.com/jsdom/jsdom/releases )
- [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md )
- [Commits](https://github.com/jsdom/jsdom/compare/16.4.0...16.5.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-08 11:05:06 -08:00
dependabot[bot]
657f0902d0
Bump google-closure-compiler from 20210202.0.0 to 20210302.0.0 ( #4690 )
...
Bumps [google-closure-compiler](https://github.com/google/closure-compiler-npm ) from 20210202.0.0 to 20210302.0.0.
- [Release notes](https://github.com/google/closure-compiler-npm/releases )
- [Commits](https://github.com/google/closure-compiler-npm/compare/v20210202.0.0...v20210302.0.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-08 11:04:41 -08:00
Sam El-Husseini
f97730e83c
Sort requires ( #4658 )
...
* Cleanup gulp method to sort requires
2021-02-25 17:17:42 -08:00
Monica Kozbial
cd8860058e
Upgrade closure compiler ( #4631 )
...
* Add missing casts
* Update google-closure-compiler version
2021-02-23 11:06:33 -08:00
dependabot[bot]
09890c3685
Bump concurrently from 5.3.0 to 6.0.0 ( #4646 )
...
Bumps [concurrently](https://github.com/kimmobrunfeldt/concurrently ) from 5.3.0 to 6.0.0.
- [Release notes](https://github.com/kimmobrunfeldt/concurrently/releases )
- [Commits](https://github.com/kimmobrunfeldt/concurrently/compare/v5.3.0...v6.0.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-22 09:27:47 -08:00
dependabot[bot]
136d6c92b8
Bump google-closure-deps from 20210106.0.0 to 20210202.0.0 ( #4644 )
...
Bumps [google-closure-deps](https://github.com/google/closure-library ) from 20210106.0.0 to 20210202.0.0.
- [Release notes](https://github.com/google/closure-library/releases )
- [Commits](https://github.com/google/closure-library/compare/v20210106...v20210202 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-22 09:27:03 -08:00
dependabot[bot]
3dc5e8afe5
Bump webdriverio from 6.12.1 to 7.0.3 ( #4633 )
...
Bumps [webdriverio](https://github.com/webdriverio/webdriverio ) from 6.12.1 to 7.0.3.
- [Release notes](https://github.com/webdriverio/webdriverio/releases )
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md )
- [Commits](https://github.com/webdriverio/webdriverio/compare/v6.12.1...v7.0.3 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-19 14:21:01 -08:00
dependabot[bot]
f92fa7c6f2
Bump js-green-licenses from 2.0.1 to 3.0.0
...
Bumps [js-green-licenses](https://github.com/google/js-green-licenses ) from 2.0.1 to 3.0.0.
- [Release notes](https://github.com/google/js-green-licenses/releases )
- [Changelog](https://github.com/google/js-green-licenses/blob/main/CHANGELOG.md )
- [Commits](https://github.com/google/js-green-licenses/compare/v2.0.1...v3.0.0 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-02-02 20:51:38 +00:00
dependabot[bot]
ed2f58f05c
Bump google-closure-deps from 20201102.0.1 to 20210106.0.0 ( #4596 )
...
Bumps [google-closure-deps](https://github.com/google/closure-library ) from 20201102.0.1 to 20210106.0.0.
- [Release notes](https://github.com/google/closure-library/releases )
- [Commits](https://github.com/google/closure-library/commits/v20210106 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-25 13:07:42 -08:00
dependabot[bot]
59f21949f7
Bump google-closure-compiler from 20201207.0.0 to 20210106.0.0 ( #4580 )
...
Bumps [google-closure-compiler](https://github.com/google/closure-compiler-npm ) from 20201207.0.0 to 20210106.0.0.
- [Release notes](https://github.com/google/closure-compiler-npm/releases )
- [Commits](https://github.com/google/closure-compiler-npm/compare/v20201207.0.0...v20210106.0.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-12 10:00:38 -08:00
Monica Kozbial
faf953b18b
Process xml tags in an explicit order in domToBlockHeadless_ ( #4571 )
...
* Process xml tags in an explicit order in domToBlockHeadless_
2021-01-11 15:58:45 -08:00
alschmiedt
1208987dbb
Update release scripts ( #4558 )
2021-01-08 11:52:02 -08:00
Rachel Fenichel
03cd8f13ca
Remove typescript from dependencies
2021-01-08 10:58:04 -08:00
Rachel Fenichel
fc0c2c5dbe
Update jsdom
2021-01-07 18:32:29 -08:00
Rachel Fenichel
a4c60b6cc6
Add format script
2021-01-07 13:49:29 -08:00
Rachel Fenichel
d4331058c1
Add clang-format package and dotfile
2021-01-07 13:04:24 -08:00
Rachel Fenichel
688ba16ae6
Merge pull request #4564 from google/dependabot/npm_and_yarn/develop/google-closure-compiler-20201207.0.0
...
Bump google-closure-compiler from 20201102.0.1 to 20201207.0.0
2021-01-05 11:15:42 -08:00
Monica Kozbial
77884550a5
Add script for deploying demos ( #4551 )
2021-01-05 11:08:29 -08:00
dependabot[bot]
4faf325e3c
Bump google-closure-compiler from 20201102.0.1 to 20201207.0.0
...
Bumps [google-closure-compiler](https://github.com/google/closure-compiler-npm ) from 20201102.0.1 to 20201207.0.0.
- [Release notes](https://github.com/google/closure-compiler-npm/releases )
- [Commits](https://github.com/google/closure-compiler-npm/compare/v20201102.0.1...v20201207.0.0 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-01-05 19:07:40 +00:00
alschmiedt
92f2ab0258
Rebuild ( #4547 )
2020-12-17 12:19:28 -08:00
alschmiedt
f7b4f7d4ca
Update package json ( #4545 )
2020-12-17 12:07:56 -08:00
alschmiedt
f3f9b424e3
Snap version number ( #4534 )
2020-12-14 14:59:15 -08:00
dependabot[bot]
3077f3482f
Bump google-closure-deps from 20200719.0.0 to 20201102.0.1
...
Bumps [google-closure-deps](https://github.com/google/closure-library ) from 20200719.0.0 to 20201102.0.1.
- [Release notes](https://github.com/google/closure-library/releases )
- [Commits](https://github.com/google/closure-library/commits )
Signed-off-by: dependabot[bot] <support@github.com >
2020-11-23 05:18:01 +00:00
Rachel Fenichel
17ec24e6cb
Merge pull request #4456 from rachel-fenichel/update_closure
...
Update closure
2020-11-17 14:32:37 -08:00
Rachel Fenichel
3a138936c3
Update closure
2020-11-17 10:34:34 -08:00
dependabot[bot]
37219e1094
Bump gulp-sourcemaps from 2.6.5 to 3.0.0
...
Bumps [gulp-sourcemaps](https://github.com/gulp-sourcemaps/gulp-sourcemaps ) from 2.6.5 to 3.0.0.
- [Release notes](https://github.com/gulp-sourcemaps/gulp-sourcemaps/releases )
- [Commits](https://github.com/gulp-sourcemaps/gulp-sourcemaps/commits )
Signed-off-by: dependabot[bot] <support@github.com >
2020-11-16 05:16:47 +00:00
Sam El-Husseini
70f71af933
Add test-blocks into the basic playground ( #4333 )
...
* Use local node_modules files instead of unkpkg for advanced playground, get test blocks in the basic playground from npm
* Also move theme-modern
* Update package-lock
2020-10-02 09:48:01 -07:00
dependabot[bot]
f57beadcaf
Bump google-closure-compiler from 20200830.0.0 to 20200920.0.0
...
Bumps [google-closure-compiler](https://github.com/google/closure-compiler-npm ) from 20200830.0.0 to 20200920.0.0.
- [Release notes](https://github.com/google/closure-compiler-npm/releases )
- [Commits](https://github.com/google/closure-compiler-npm/compare/v20200830.0.0...v20200920.0.0 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-09-28 05:19:14 +00:00
Monica Kozbial
bdee690ab2
Rebuild ( #4318 )
2020-09-24 12:14:11 -07:00