Compare commits
6 Commits
Author | SHA1 | Date | |
---|---|---|---|
3ab780e600 | |||
d0662f809f | |||
e20bf7f610 | |||
0a97ec4d07 | |||
69e09c8b4c | |||
0e92554d0a |
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "smartscaf",
|
"name": "smartscaf",
|
||||||
"version": "1.0.3",
|
"version": "1.0.6",
|
||||||
"description": "scaffold projects quickly",
|
"description": "scaffold projects quickly",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"typings": "dist/index.d.ts",
|
"typings": "dist/index.d.ts",
|
||||||
@ -23,12 +23,12 @@
|
|||||||
"npm"
|
"npm"
|
||||||
],
|
],
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"tapbundle": "^1.0.12"
|
"tapbundle": "^1.0.13"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@types/lodash": "^4.14.64",
|
"@types/lodash": "^4.14.64",
|
||||||
"lodash": "^4.17.4",
|
"lodash": "^4.17.4",
|
||||||
"smartfile": "^4.2.12",
|
"smartfile": "^4.2.15",
|
||||||
"smarthbs": "^1.0.15",
|
"smarthbs": "^1.0.15",
|
||||||
"smartinteract": "^1.0.4",
|
"smartinteract": "^1.0.4",
|
||||||
"smartq": "^1.1.1",
|
"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 () => {
|
tap.test('Smartscaf instance -> should read a template directory', async () => {
|
||||||
await testScafTemplate.readTemplateFromDir('./test/test_template')
|
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 () => {
|
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!
|
12
yarn.lock
12
yarn.lock
@ -827,9 +827,9 @@ smartenv@^2.0.0:
|
|||||||
smartq "^1.1.1"
|
smartq "^1.1.1"
|
||||||
typings-global "^1.0.14"
|
typings-global "^1.0.14"
|
||||||
|
|
||||||
smartfile@^4.2.11, smartfile@^4.2.12:
|
smartfile@^4.2.11, smartfile@^4.2.15:
|
||||||
version "4.2.12"
|
version "4.2.15"
|
||||||
resolved "https://registry.yarnpkg.com/smartfile/-/smartfile-4.2.12.tgz#6acda7f2e7626b7c81280f35f97334a1d856d176"
|
resolved "https://registry.yarnpkg.com/smartfile/-/smartfile-4.2.15.tgz#e179bfa2bab107cc11fe800f3cbf194b1370091d"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@types/fs-extra" "3.x.x"
|
"@types/fs-extra" "3.x.x"
|
||||||
"@types/vinyl" "^2.0.0"
|
"@types/vinyl" "^2.0.0"
|
||||||
@ -966,9 +966,9 @@ symbol-observable@^1.0.1:
|
|||||||
version "1.0.4"
|
version "1.0.4"
|
||||||
resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-1.0.4.tgz#29bf615d4aa7121bdd898b22d4b3f9bc4e2aa03d"
|
resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-1.0.4.tgz#29bf615d4aa7121bdd898b22d4b3f9bc4e2aa03d"
|
||||||
|
|
||||||
tapbundle@^1.0.12:
|
tapbundle@^1.0.13:
|
||||||
version "1.0.12"
|
version "1.0.13"
|
||||||
resolved "https://registry.yarnpkg.com/tapbundle/-/tapbundle-1.0.12.tgz#71d29273aad280f5c4e15b2700430b2456a5d364"
|
resolved "https://registry.yarnpkg.com/tapbundle/-/tapbundle-1.0.13.tgz#0b274aed6a386c0c01d8d517709381ce96e3971e"
|
||||||
dependencies:
|
dependencies:
|
||||||
early "^2.1.1"
|
early "^2.1.1"
|
||||||
leakage "^0.2.0"
|
leakage "^0.2.0"
|
||||||
|
Reference in New Issue
Block a user