format gulpfile
This commit is contained in:
parent
c01a2eb29d
commit
b4f697f9cc
1 changed files with 429 additions and 429 deletions
|
@ -87,7 +87,7 @@ function createTransformer() {
|
||||||
node.decorators,
|
node.decorators,
|
||||||
node.modifiers,
|
node.modifiers,
|
||||||
node.importClause,
|
node.importClause,
|
||||||
newModuleSpecifier
|
newModuleSpecifier,
|
||||||
);
|
);
|
||||||
} else if (typescript.isExportDeclaration(node)) {
|
} else if (typescript.isExportDeclaration(node)) {
|
||||||
const newModuleSpecifier = typescript.createLiteral(`${node.moduleSpecifier.text}.js`);
|
const newModuleSpecifier = typescript.createLiteral(`${node.moduleSpecifier.text}.js`);
|
||||||
|
@ -96,7 +96,7 @@ function createTransformer() {
|
||||||
node.decorators,
|
node.decorators,
|
||||||
node.modifiers,
|
node.modifiers,
|
||||||
node.exportClause,
|
node.exportClause,
|
||||||
newModuleSpecifier
|
newModuleSpecifier,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -190,7 +190,7 @@ async function clean() {
|
||||||
`${name}.js`,
|
`${name}.js`,
|
||||||
"module.json",
|
"module.json",
|
||||||
"system.json",
|
"system.json",
|
||||||
"template.json"
|
"template.json",
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -405,7 +405,7 @@ function gitCommit() {
|
||||||
git.commit(`v${getManifest().file.version}`, {
|
git.commit(`v${getManifest().file.version}`, {
|
||||||
args: "-a",
|
args: "-a",
|
||||||
disableAppendPaths: true,
|
disableAppendPaths: true,
|
||||||
})
|
}),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue