belousov-utils
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -1,1 +0,1 @@ | ||
module.exports = require('@yandex-cloud/prettier-config'); | ||
module.exports = require('@gravity-ui/prettier-config'); |
@@ -46,3 +46,6 @@ "use strict"; | ||
const data = header.join('\r\n') + '\r\n' + line + '\r\n'; | ||
fs_1.default.appendFileSync(path_1.default.join(output, filename + '.csv'), data, encoding); | ||
fs_1.default.appendFileSync(path_1.default.join(output, filename + '.csv'), data, { | ||
encoding, | ||
flag: 'w', | ||
}); | ||
} | ||
@@ -49,0 +52,0 @@ } |
{ | ||
"name": "belousov-utils", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "", | ||
@@ -17,3 +17,3 @@ "author": "jhoncool", | ||
"lint:prettier": "prettier --check --loglevel=error 'src/**/*.ts'", | ||
"lint": "npm run lint:prettier && npm run lint:eslint", | ||
"lint": "npm run lint:prettier && npm run lint:eslint && npm run typecheck", | ||
"typecheck": "tsc --noEmit", | ||
@@ -39,6 +39,6 @@ "prepublishOnly": "npm run lint && npm run build", | ||
"devDependencies": { | ||
"@gravity-ui/eslint-config": "^1.0.2", | ||
"@gravity-ui/prettier-config": "^1.0.1", | ||
"@gravity-ui/tsconfig": "^1.0.0", | ||
"@types/node": "^18.11.9", | ||
"@yandex-cloud/eslint-config": "github:yandex-cloud/eslint-config", | ||
"@yandex-cloud/prettier-config": "^1.0.0", | ||
"@yandex-cloud/tsconfig": "^1.0.0", | ||
"eslint": "^8.28.0", | ||
@@ -45,0 +45,0 @@ "husky": "^8.0.2", |
@@ -5,2 +5,4 @@ # Belousov utils | ||
``` | ||
npx belousov-utils --header 3 --file Андрей.csv --output output_folder | ||
``` |
@@ -49,3 +49,6 @@ import 'exit-on-epipe'; | ||
const data = header.join('\r\n') + '\r\n' + line + '\r\n'; | ||
fs.appendFileSync(path.join(output, filename + '.csv'), data, encoding); | ||
fs.appendFileSync(path.join(output, filename + '.csv'), data, { | ||
encoding, | ||
flag: 'w', | ||
}); | ||
} | ||
@@ -52,0 +55,0 @@ } |
{ | ||
"extends": "@yandex-cloud/tsconfig/tsconfig", | ||
"extends": "@gravity-ui/tsconfig/tsconfig", | ||
"compilerOptions": { | ||
@@ -4,0 +4,0 @@ "outDir": "build", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7157
123
8