Commit Graph

8 Commits

Author SHA1 Message Date
Neil Fraser
0e82677f27 Create stub for Node contstants.
Ironic that Node doesn’t have Node.  Not tested.
Fix two missing dependencies.
2019-07-15 14:37:27 -07:00
Neil Fraser
74be35e23d Rename Blockly.Xml.utils to Blockly.utils.xml 2019-07-08 13:29:43 -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
Neil Fraser
f196816f62 Move DOMParser and XMLSerializer to Xml.utils 2018-10-16 11:34:10 -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
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
b37a4bd5b8 Correcting typo in comment (#1866) 2018-05-15 14:12:15 -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