Skip to content

Commit

Permalink
fix template badges (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
shtyr-maxim authored Oct 18, 2023
1 parent 672a4a5 commit 59f8a48
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/controllers/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export async function create() {
UTILS_VERSION: require('../../package.json').version,
PACKAGE_VERSION: '0.0.1-beta.1',
PACKAGE_NAME: packageName,
PACKAGE_NAME_ENC: encodeURIComponent(packageName)
PACKAGE_NAME_ENCODED: encodeURIComponent(packageName)
};

copyTemplateFiles(TEMPLATE_DIR, TARGET, true, macros);
Expand Down
3 changes: 2 additions & 1 deletion template/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@

Mappable JS API package

[![npm version](https://badge.fury.io/js/%PACKAGE_NAME_ENC%.svg)](https://badge.fury.io/js/%PACKAGE_NAME%)
[![npm version](https://badge.fury.io/js/%PACKAGE_NAME_ENCODED%.svg)](https://badge.fury.io/js/%PACKAGE_NAME_ENCODED%)
[![npm](https://img.shields.io/npm/dm/%PACKAGE_NAME%.svg)](https://www.npmjs.com/package/%PACKAGE_NAME%)
[![Build Status](https://github.com/mappable-world/%PACKAGE_NAME%/workflows/Run%20tests/badge.svg)](https://github.com/mappable-world/%PACKAGE_NAME%/actions/workflows/tests.yml)

## How use

Expand Down

0 comments on commit 59f8a48

Please sign in to comment.