Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-25650] Upgrade to babel 7

GitHub Issuen/a
TypeStory
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2018-11-13T21:00:46.000+0000
Affected Version/sn/a
Fix Version/sRelease 8.0.0, node-titanium-sdk 1.0.0
Componentsn/a
Labelsn/a
ReporterEwan Harris
AssigneeChristopher Williams
Created2018-01-08T11:15:06.000+0000
Updated2019-01-07T15:46:07.000+0000

Description

Description

I believe the babel 7 release is a little while off (it's been cooking since February 2017), but I wanted to get a ticket in to track it on our side. Tasking it out I think the following needs to be done (will maybe break these out into sub-tasks of this ticket) * Update node-titanium-sdk ** Move to @babel/core, @babel/traverse, @babel/types, babel-preset-minify, and upgrading babylon * titanium_mobile/titanium_mobile_windows, update all require('babel-X'), as needed * Ensure nothing is broke :) It might be worthwhile getting some feature branches setup to get some builds setup with the beta versions of these (currently 7.0.0-beta.36 at time of writing) Some reading that might be useful https://babeljs.io/blog/2017/12/27/nearing-the-7.0-release https://babeljs.io/blog/2017/09/12/planning-for-7.0 https://babeljs.io/blog/2017/03/01/upgrade-to-babel-7

Comments

  1. Christopher Williams 2018-07-23

    https://github.com/appcelerator/node-titanium-sdk/pull/37
  2. Ewan Harris 2018-10-23

    Alloy was split out to ALOY-1629 and this ticket does not depend on that being resolved
  3. Ewan Harris 2018-10-25

    Windows changes still need doing (I'll do that) Edit: Took a quick look * The Windows repo can have the code there that uses babel packages nuked as it's to only handle hyperloop 2.2.0 and below * We also use babel packages in all hyperloop plugins! iOS and Android look to specify that they use 6.x in their package.json, Windows looks to just pull from the sdk?? Need to check that wont break!
  4. Samir Mohammed 2019-01-07

    [~eharris] Is it okay to close this ticket?
  5. Ewan Harris 2019-01-07

    [~smohammed] I believe it should be, TIMOB-26564 and TIMOB-26565 have been fixed (however TIMOB-26565 is not in the SDK yet AFAICT). If you have the time, could you validate TIMOB-26117 while closing this, as it should be fixed by this ticket.
  6. Samir Mohammed 2019-01-07

JSON Source