@cluerise/tools 4.0.2 → 4.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -398,6 +398,7 @@ initPrettier_fn = async function() {
|
|
|
398
398
|
const configContent = `export { default } from '${__privateGet(this, _configPackage)}/${configPath}';
|
|
399
399
|
`;
|
|
400
400
|
await FileUtils.createFile(configPath, configContent);
|
|
401
|
+
await FileUtils.copyFile(__privateGet(this, _configDirectory), ".prettierignore");
|
|
401
402
|
};
|
|
402
403
|
getReleaseConfigParams_fn = async function() {
|
|
403
404
|
const defaultConfigParams = {
|
|
@@ -440,7 +441,7 @@ initTypeScript_fn = async function() {
|
|
|
440
441
|
};
|
|
441
442
|
initVSCode_fn = async function() {
|
|
442
443
|
const settingsPath = Path.join(".vscode", "settings.json");
|
|
443
|
-
const settingsContent = '{\n "editor.codeActionsOnSave": {\n "source.fixAll.eslint": "explicit"\n },\n "
|
|
444
|
+
const settingsContent = '{\n "editor.codeActionsOnSave": {\n "source.fixAll.eslint": "explicit"\n },\n "typescript.tsdk": "node_modules/typescript/lib"\n}\n';
|
|
444
445
|
await FileUtils.createFile(settingsPath, settingsContent);
|
|
445
446
|
};
|
|
446
447
|
const _FileLinter = class _FileLinter {
|