Titanium JIRA Archive
Alloy (ALOY)

[ALOY-1524] Replace wrench with fs-extra

GitHub Issuen/a
TypeStory
PriorityNone
StatusClosed
ResolutionFixed
Resolution Date2017-08-23T16:43:07.000+0000
Affected Version/sn/a
Fix Version/sCLI Release 6.3.0
ComponentsTooling
Labelsn/a
ReporterFeon Sua Xin Miao
AssigneeFeon Sua Xin Miao
Created2016-10-18T21:21:50.000+0000
Updated2017-10-10T00:05:07.000+0000

Description

Alloy uses wrench.js extensively throughout its code base, however the module have been deprecated. We should replace it with another module to do filesystem operations, i.e. fs-extra.

Comments

  1. Michael Gangolf 2017-03-24

    Started a PR: https://github.com/appcelerator/alloy/pull/822 Linux tests are all green!
  2. Michael Gangolf 2017-03-25

    Jake tests: * Linux: 1802 specs, 0 failures * Windows: 1796 specs, 0 failures Manual testing: * ti create + alloy new * alloy generate controller/widget * alloy compile OSX is next
  3. Michael Gangolf 2017-03-26

    *Need some help:* some files are not copied to Resources/ : * underscore.js * widget.js * sync/ Not sure why and where I need to fix that
  4. Michael Gangolf 2017-03-31

    changed wrench.readdirSyncRecursive to walkSync() now all files are copied over!
  5. Abir Mukherjee 2017-10-10

    Node Version: 6.10.3 NPM Version: 3.10.10 Mac OS: 10.13 Appc CLI: 6.2.4 Appc CLI NPM: 4.2.9 Titanium SDK version: 6.2.2 Verified that builds are not broken with the module replacement.

JSON Source