Security News
The Risks of Misguided Research in Supply Chain Security
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
@grammyjs/create-grammy
Advanced tools
Fast and simple command line tool to setup the needed files to quickly create Telegram bots powered by the grammY bot framework. This tool allows you to create projects from several templates, maintained by both official team and third-party users.
Here is a preview of the tool: https://asciinema.org/a/504541
Install using npm
npm i -g @grammyjs/create-grammy@latest
Install using Go.
go install github.com/grammyjs/create-grammy@latest
After installation, run create-grammy command to use the tool. You can provide a project name as the first argument.
Open a pull request by adding your own templates to the templates.json file. There are currently three platforms that you can add templates to: Deno, Node.js, and other templates.
Each template should contain the following fields:
name
— Name to be shown in the templates list in CLI. Recommended to use
"owner/repository" as the name if it's a repository.type
— repository or subfolder. If your template is an entire
repository, use repository
as type, or if it is a subfolder in a repository
use subfolder
as the type.owner
— GitHub repository owner.repository
— GitHub repository name.docker_prompt
— Should the CLI prompt the user to add
default docker files.tsconfig_prompt
— Should the CLI prompt the user to add the default
tsconfig.json file.You also need to add the following fields according to your template:
branch
— Primary repository branch name. Try your best to keep that branch
up-to-date.path
— Path to the subfolder where the template is located at.cache_file
— When the user chose to cache dependencies, deno cache
command
will get executed for the specified file. Point to deps.ts, or the entry point
of the template.v0.2.15 (2023-05-31)
fix: remove \n
symbol in success message (2023-05-31)
fix(deps): update dependency @grammyjs/runner to v2.0.3 (2023-05-31)
fix(deps): update module github.com/spf13/cobra to v1.7.0 (2023-04-04)
fix(deps): update dependency grammy to v1.16.1 (2023-05-21)
fix(deps): update dependency @go-task/go-npm to v0.1.18 (2023-05-29)
chore: fix release workflow name (2023-05-31)
release: v0.2.14 (2023-05-31)
chore: update order of tasks in taskfile (2023-05-31)
chore: use go run
for generating changelog (2023-05-31)
Merge pull request #57 from grammyjs/prompt (2023-05-31)
chore(deps): update dependency typescript to v5.0.4 (2023-05-31)
chore(deps): update js-devtools/npm-publish action to v2 (2023-04-20)
chore(deps): update wangyoucao577/go-release-action action to v1.38 (2023-05-09)
chore(deps): update dependency @types/node to v18.16.16 (2023-05-27)
release: v0.2.13 (2023-05-31)
chore: add node_modules
to gitignore (2023-05-31)
FAQs
Scaffold grammY projects in minute
The npm package @grammyjs/create-grammy receives a total of 11 weekly downloads. As such, @grammyjs/create-grammy popularity was classified as not popular.
We found that @grammyjs/create-grammy demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.