
Security News
PEP 810 Proposes Explicit Lazy Imports for Python 3.15
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
@hh.ru/ts-utils
Advanced tools
Утилиты для удобной работы с TypeScript проектами
Для установки достаточно добавить пакет в зависимости
yarn add @hh.ru/ts-utils
Генерирует tsconfig.js используя переданный объект с параметрами
Параметрами можно передать мапу webpack-алиасов для резолва модулей, перечень glob-путей для включения/исключения из сборки и заоверрайдить любой параметр compilerOptions
const tsConfigGenerator = require('@hh.ru/ts-utils');
tsConfigGenerator({
webpackAliases: {
app: 'static/app/',
bloko: 'static/bloko/',
},
include: ['static/app/**/*'],
exclude: ['static/bloko/**/*'],
compilerOptions: {
plugins: [
{
name: 'typescript-plugin-css-modules',
options: {
classnameTransform: 'camelCaseOnly',
customMatcher: '\\.less$',
customRenderer: 'node_modules/less-plugin-aliases/lib/customRender.js',
},
},
],
},
});
Выполняет тайп-чекинг кода и генерирует json-отчет для bamboo
Добавляет алиас для запуска через yarn
yarn ts-check
FAQs
Convenience utils for TypeScript
The npm package @hh.ru/ts-utils receives a total of 0 weekly downloads. As such, @hh.ru/ts-utils popularity was classified as not popular.
We found that @hh.ru/ts-utils demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 15 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
Security News
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.