Subversion Repositories wimsdev

Rev

Rev 16497 | Rev 18248 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 16497 Rev 17733
Line 19... Line 19...
19
## Audit each dependency if there is a known issue to fix:
19
## Audit each dependency if there is a known issue to fix:
20
    yarn audit
20
    yarn audit
21
 
21
 
22
## Update Javascripts plugins:
22
## Update Javascripts plugins:
23
    yarn upgrade
23
    yarn upgrade
24
*nb : After each jquery-ui update, look at these URL:*
-
 
25
 
-
 
26
* Tabs : [searchform](http://localhost/wims/?cmd=new&module=home&search_keywords=oef&search_category=A&search_lang=fr#searchform)
-
 
27
* Menu : [H6/algebra/docnatural.fr](http://localhost/wims/?module=H6/algebra/docnatural.fr)
-
 
28
 
-
 
29
 
24
 
30
# Download new Package(s)
25
# Download new Package(s)
31
-------------------------
26
-------------------------
32
    yarn add <package>
27
    yarn add <package>
33
 
28
 
-
 
29
nb: When upgrading TinyMCE 6, you must also manually download language packs here :
-
 
30
https://www.tiny.cloud/get-tiny/language-packages/
-
 
31
(i.e for French : https://download.tiny.cloud/tinymce/community/languagepacks/6/fr_FR.zip)
34
 
32
 
35
# Migrate files from _packages/ to wims/
33
# Migrate files from _packages/ to wims/
36
  #  After each update, Grunt is handy to automatically compress js + css, and move each files at is wims destination. simply call "grunt"
34
  #  After each update, Grunt is handy to automatically compress js + css, and move each files at is wims destination. simply call "grunt"
37
 
35
 
38
    grunt
36
    grunt
39
    yarn run build
37
    yarn run build
-
 
38
 
-
 
39
# Test & Check
-
 
40
After each js package update, look at these URL:
-
 
41
* jquery-ui
-
 
42
    * Tabs : [searchform](http://localhost/wims/?cmd=new&module=home&search_keywords=oef&search_category=A&search_lang=fr#searchform)
-
 
43
    * Menu : [H6/algebra/docnatural.fr](http://localhost/wims/?module=H6/algebra/docnatural.fr)
-
 
44
* jsXgraph
-
 
45
    * [U1/geometry/oeftiling.fr](http://localhost/wims/?module=U1/geometry/oeftiling.fr&cmd=new&exo=translation)
-
 
46
* CodeMirror 5
-
 
47
    * slib/coding/editor : [H4/programming/pixelart.fr](http://localhost/wims/wims.html?&cmd=new&module=H4/programming/pixelart.fr)
-
 
48
* jQuery
-
 
49
    * needed at least by Jquery UI
-
 
50
* jQuery-hoverintent
-
 
51
    * ??
-
 
52
* jQuery-ui-Slider-Pips
-
 
53
    * Level filter in "Searching for a teaching material" on WIMS home http://localhost/wims/
-
 
54
* slick-carousel
-
 
55
    * "Samples" on WIMS home http://localhost/wims/
-
 
56
* Marked
-
 
57
    * http://localhost/wims/wims.html?module=help%2Fwimsdoc.en&+cmd=new&+style=integral#anstype_content
-
 
58
* chart.js
-
 
59
    * http://localhost/wims/wims.html?cmd=new&module=adm%2Fstat%2Fstat&special_parm=module_updates 
-
 
60
 
-
 
61
 
40
 
62
 
41
# Cleaning
63
# Cleaning
42
----------
64
----------
43
    yarn cache clean
65
    yarn cache clean
44
    yarn autoclean --force
66
    yarn autoclean --force