fix(core): update
This commit is contained in:
parent
78d4df7082
commit
31bf5f7486
14180
package-lock.json
generated
14180
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
4393
pnpm-lock.yaml
generated
Normal file
4393
pnpm-lock.yaml
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -6,8 +6,8 @@ import * as path from 'path';
|
|||||||
|
|
||||||
const dirname = smartpath.get.dirnameFromImportMetaUrl(import.meta.url);
|
const dirname = smartpath.get.dirnameFromImportMetaUrl(import.meta.url);
|
||||||
|
|
||||||
let testHbsDir = path.join(dirname, 'hbs_testfiles');
|
let hbs_testfilesDir = path.join(dirname, 'hbs_testfiles');
|
||||||
let testPartialDir = path.join(testHbsDir, 'partials');
|
let testPartialDir = path.join(hbs_testfilesDir, 'partials');
|
||||||
let testResultDir = path.join(dirname, 'testresult');
|
let testResultDir = path.join(dirname, 'testresult');
|
||||||
|
|
||||||
tap.test('smarthbs -> should create partials', async () => {
|
tap.test('smarthbs -> should create partials', async () => {
|
||||||
@ -15,7 +15,7 @@ tap.test('smarthbs -> should create partials', async () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
tap.test('smarthbs -> should compile a directory', async () => {
|
tap.test('smarthbs -> should compile a directory', async () => {
|
||||||
smarthbs.compileDirectory(testHbsDir, testResultDir, 'data.json');
|
smarthbs.compileDirectory(hbs_testfilesDir, testResultDir, 'data.json');
|
||||||
});
|
});
|
||||||
|
|
||||||
tap.test('', async () => {
|
tap.test('', async () => {
|
||||||
|
@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@pushrocks/smarthbs',
|
name: '@pushrocks/smarthbs',
|
||||||
version: '3.0.0',
|
version: '3.0.1',
|
||||||
description: 'handlebars with better fs support'
|
description: 'handlebars with better fs support'
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user