File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Migrating from 0.x to 1.0
2+
3+ In Simple Scaffold v1.0, the entire codebase was overhauled, yet usage remains mostly the same
4+ between versions. With these notable exceptions:
5+
6+ - Some of the argument names have changed
7+ - Template syntax has been improved
8+
9+ ## Argument changes
10+
11+ - ` locals ` has been renamed to ` data ` . The appropriate command line args have been updated as
12+ well to ` --data ` | ` -d ` .
13+
14+ ## Template syntax changes
15+
16+ Simple Scaffold still uses Handlebars.js to handle template content and file names. However, helpers
17+ have been added to remove the need for you to pre-process the template data on simple use-cases such
18+ as case type manipulation (converting to camel case, snake case, etc)
19+
20+ See the readme for the full information on how to use these helpers and which are available.
Original file line number Diff line number Diff line change 2323 "glob" : " ^7.1.3" ,
2424 "handlebars" : " ^4.7.7" ,
2525 "lodash" : " ^4.17.21" ,
26- "massarg" : " ^1.0.4 " ,
26+ "massarg" : " ^1.0.5 " ,
2727 "util.promisify" : " ^1.1.1"
2828 },
2929 "devDependencies" : {
Original file line number Diff line number Diff line change @@ -932,7 +932,7 @@ chalk@2.4.2, chalk@^2.0.0:
932932 escape-string-regexp "^1.0.5"
933933 supports-color "^5.3.0"
934934
935- chalk@^4.0.0, chalk@^4.1.1 :
935+ chalk@^4.0.0 :
936936 version "4.1.1"
937937 resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.1.tgz#c80b3fab28bf6371e6863325eee67e618b77e6ad"
938938 integrity sha512-diHzdDKxcU+bAsUboHLPEDQiw0qEe0qd7SYUn3HgcFlWgbDcfLGswOHYeGrHKzG9z6UYf01d9VFMfZxPM1xZSg==
@@ -2161,12 +2161,12 @@ makeerror@1.0.x:
21612161 dependencies :
21622162 tmpl "1.0.x"
21632163
2164- massarg@^1.0.4 :
2165- version "1.0.4 "
2166- resolved "https://registry.yarnpkg.com/massarg/-/massarg-1.0.4 .tgz#8756193bee9bc7331b1f48a8840e86acf808f980 "
2167- integrity sha512-SakImNzZP8SN6tlcGBoC62z+12yv/To+h7KP8XapnOux5Mjiwprn4KhNHsjh2rbrKCAPqZQWYziAitSzGTkjMw ==
2164+ massarg@^1.0.5 :
2165+ version "1.0.5 "
2166+ resolved "https://registry.yarnpkg.com/massarg/-/massarg-1.0.5 .tgz#3dfd49bb63bfca4b0371a2f0ffc7580a9a6cc7a0 "
2167+ integrity sha512-gkJHZsNfeMurpVPKojCiT2lnG2cSxHPAXZSg+gCLIgCf5bGn7pKOsoeu4qVAc5mlBxV2l/hA1yojt+ZsJd8SDg ==
21682168 dependencies :
2169- chalk "^4.1.1 "
2169+ chalk "^4.1.2 "
21702170 lodash "^4.17.21"
21712171
21722172merge-stream@^2.0.0 :
You can’t perform that action at this time.
0 commit comments