
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
@basaldev/blocks-order-service
Advanced tools

ποΈ
Order service, wrap the business logic of manage orders. Interact with the following Microservices:
Make sure global yarn is installed (nvm use && npm install -g yarn)
Open project folder use VSCode
Disable prettier if it cause some error (you can watch in right bottom of your VSCode if any reds, image below). You can use Shift + Command + X and search for it and disable
Open ./.vscode/blocks-order-service.code-workspace file, click the Open workspace button in the right bottom place (also see image below)
Open project files and you should be able to see all errors resolved
Some common used commands:
.
βββ .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
Create a Github Personal Auth Token
repo checkboxwrite:packages.zshrc .bashrc etcexport BASALDEV_AUTH_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
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
blocks-order-service ποΈ
We found that @basaldev/blocks-order-service demonstrated a healthy version release cadence and project activity because the last version was released less than 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.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.