Skip to content

Commit

Permalink
New version 0.0.13 Read more https://github.com/mappable-world/mappab…
Browse files Browse the repository at this point in the history
  • Loading branch information
xdan committed Sep 18, 2023
1 parent ced3764 commit a6e4ac3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mappable-world/mappable-cli",
"version": "0.0.12",
"version": "0.0.13",
"description": "Library for encapsulating the logic of autotests and building packages mappable.world js API",
"main": "dist/index.js",
"dependencies": {
Expand Down
2 changes: 2 additions & 0 deletions tools/replace.middleware.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ const path = require('path');
const fs = require('fs');
const stream = require('stream');
const {marked} = require('marked');
const pkg = require(path.resolve(process.cwd(), './package.json'));

const EXT_MIME = {
js: 'application/javascript',
Expand Down Expand Up @@ -55,6 +56,7 @@ module.exports.replaceMiddleware = (dir) => (middleares, devServer) => {
.replace(/%README%/g, marked(readme))
.replace(/%REFERENCES%/g, '')
.replace(/%APIKEY%/g, process.env.APIKEY)
.replace(/%VERSION%/g, pkg.version)
);
next();
}
Expand Down

0 comments on commit a6e4ac3

Please sign in to comment.