Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
e20bf7f610 | |||
0a97ec4d07 | |||
69e09c8b4c | |||
0e92554d0a |
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "smartscaf",
|
||||
"version": "1.0.3",
|
||||
"version": "1.0.5",
|
||||
"description": "scaffold projects quickly",
|
||||
"main": "dist/index.js",
|
||||
"typings": "dist/index.d.ts",
|
||||
@ -28,7 +28,7 @@
|
||||
"dependencies": {
|
||||
"@types/lodash": "^4.14.64",
|
||||
"lodash": "^4.17.4",
|
||||
"smartfile": "^4.2.12",
|
||||
"smartfile": "^4.2.13",
|
||||
"smarthbs": "^1.0.15",
|
||||
"smartinteract": "^1.0.4",
|
||||
"smartq": "^1.1.1",
|
||||
|
@ -14,7 +14,7 @@ tap.test('should create new Smartscaf instance', async () => {
|
||||
|
||||
tap.test('Smartscaf instance -> should read a template directory', async () => {
|
||||
await testScafTemplate.readTemplateFromDir('./test/test_template')
|
||||
expect(testScafTemplate.templateSmartfileArray.length).to.equal(4)
|
||||
expect(testScafTemplate.templateSmartfileArray.length).to.equal(5)
|
||||
})
|
||||
|
||||
tap.test('smartfile -> should accept variables', async () => {
|
||||
|
1
test/test_output/notemplate.md
Normal file
1
test/test_output/notemplate.md
Normal file
@ -0,0 +1 @@
|
||||
awesome!
|
1
test/test_output/notemplate.yml
Normal file
1
test/test_output/notemplate.yml
Normal file
@ -0,0 +1 @@
|
||||
awesome!
|
1
test/test_template/notemplate.yml
Normal file
1
test/test_template/notemplate.yml
Normal file
@ -0,0 +1 @@
|
||||
awesome!
|
@ -827,9 +827,9 @@ smartenv@^2.0.0:
|
||||
smartq "^1.1.1"
|
||||
typings-global "^1.0.14"
|
||||
|
||||
smartfile@^4.2.11, smartfile@^4.2.12:
|
||||
version "4.2.12"
|
||||
resolved "https://registry.yarnpkg.com/smartfile/-/smartfile-4.2.12.tgz#6acda7f2e7626b7c81280f35f97334a1d856d176"
|
||||
smartfile@^4.2.11, smartfile@^4.2.13:
|
||||
version "4.2.13"
|
||||
resolved "https://registry.yarnpkg.com/smartfile/-/smartfile-4.2.13.tgz#4c1f96eb2f56bc6f400c13086272cd3b4c5a2c68"
|
||||
dependencies:
|
||||
"@types/fs-extra" "3.x.x"
|
||||
"@types/vinyl" "^2.0.0"
|
||||
|
Reference in New Issue
Block a user