
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
@basaldev/blocks-catalog-service
Advanced tools

📦
TODO
.
├── .github
├── .husky # husky settings - @basaldev/lint-staged-config
├── .vscode # vscode settings
├── .yarn # yarn binary, config and project dependencies
├── coverage * # jest coverage report
├── dist *
├── docs
│ ├── assets # documentation related assets
│ └── reference # api docs
├── src
│ ├── adapter
│ ├── test
│ └── index.ts
├── .eslintignore
├── .eslintrc.js # @basaldev/eslint-config
├── .gitignore
├── .nvmrc
├── .pnp.cjs # yarn config
├── .pnp.loader.mjs # yarn config
├── .prettierignore
├── .prettierrc.json # @basaldev/prettier-config
├── .yarnrc.yml # yarn config
├── cspell.config.js # @basaldev/cspell-config
├── .yarnrc.yml # yarn config
├── jest.config.js # @basaldev/jest-preset
├── package.json
├── README.md
├── tsconfig.json # @basaldev/tsconfig
└── yarn.lock
* Not tracked by git
Get NPMJS private token for nodeblocks
.zshrc .bashrc etcexport NODEBLOCKS_DEV_TOKEN=__INSERT_YOUR_TOKEN_HERE__
Install NVM
Install Yarn (Global)
Yarn must be installed globally for the project's NodeJS version. This should be done so using the command below.
nvm use && npm install -g yarn
Install Husky 🐺
yarn husky install
⚠️ IMPORTANT: Only use the yarn command install or run scripts. Do not use npm run xxx
Run typescript compiler
yarn start
Run debug server on default port: 9339.
yarn start to be running in a separate sessionpackage.json > scripts > debugyarn debug
Run unit tests
docker compose up
yarn test
Installing packages
yarn add <package> | yarn add <package> -D
DB need Atlas Mongodb
DB need create a Search index for search use (name is product_free_text_search_index)
{
"analyzer": "lucene.kuromoji",
"searchAnalyzer": "lucene.kuromoji",
"mappings": {
"dynamic": true,
"fields": {
"description": {
"analyzer": "lucene.kuromoji",
"ignoreAbove": 18,
"searchAnalyzer": "lucene.kuromoji",
"type": "string"
},
"name": {
"analyzer": "lucene.japanese",
"ignoreAbove": 20,
"searchAnalyzer": "lucene.japanese",
"type": "string"
}
}
},
"storedSource": true
}
Please ensure the following extensions are installed:
The kit uses vscode workspaces for vscode project settings:
.vscode/${project_name}-workspace file..vscode/settings.json (gitignored)File > Open workspace from file.When prompted asking which typescript VSCode should use, it's very important that you choose the local project version located at .yarn/sdks/typescript/...
If you have the prettier extension installed, please disable it for this project. ts-kit uses eslint to execute prettier, so having prettier enabled in vscode will cause conflicts and strange behavior.
Add the following code to your .vscode/settings.json will automatically fix all eslint errors whenever you save a file.
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
}
This library uses github registry to publish private npm package. For detailed instructions see here
💡 Note: that npm is used for version & publish commands
1. Bump version
npm version ${VERSION}
2. Build Package
yarn build
3. Publish Package
npm publish --tag=latest | experimental
Then go to github https://github.com/basaldev/backend-sdk/packages to check published packages.
FAQs
Service for managing product catalog and categories.
We found that @basaldev/blocks-catalog-service demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 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.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.