Skip to content

Commit

Permalink
release: 2.7.1
Browse files Browse the repository at this point in the history
fixes #457
  • Loading branch information
Idrinth committed Mar 24, 2024
1 parent 3c13a0d commit e21799f
Show file tree
Hide file tree
Showing 10 changed files with 48 additions and 18 deletions.
2 changes: 1 addition & 1 deletion containers/gitea-action/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ARG NODE_VERSION=21.7.1
ARG ALPINE_VERSION=3.19
ARG GITEA_ACTION_VERSION=0.2.6
ARG IDRINTH_API_BENCH_VERSION=2.7.0
ARG IDRINTH_API_BENCH_VERSION=2.7.1

FROM node:${NODE_VERSION}-alpine AS node
FROM gitea/act_runner:${GITEA_ACTION_VERSION} AS gitea
Expand Down
2 changes: 1 addition & 1 deletion containers/gitlab-runner/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ARG NODE_VERSION=21.7.1
ARG ALPINE_VERSION=3.19
ARG GITLAB_RUNNER_VERSION=v16.10.0
ARG IDRINTH_API_BENCH_VERSION=2.7.0
ARG IDRINTH_API_BENCH_VERSION=2.7.1

FROM node:${NODE_VERSION}-alpine AS node
FROM gitlab/gitlab-runner:alpine${ALPINE_VERSION}-${GITLAB_RUNNER_VERSION} AS gitlab
Expand Down
2 changes: 1 addition & 1 deletion documentation-website/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@idrinth/api-bench/website",
"private": true,
"version": "2.7.0",
"version": "2.7.1",
"license": "MIT",
"homepage": "https://idrinth-api-ben.ch",
"type": "module",
Expand Down
4 changes: 2 additions & 2 deletions framework/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 framework/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@idrinth/api-bench",
"description": "A library to benchmark apis, no matter if rest or soap",
"license": "MIT",
"version": "2.7.0",
"version": "2.7.1",
"homepage": "https://idrinth-api-ben.ch",
"type": "module",
"main": "index.js",
Expand Down
44 changes: 37 additions & 7 deletions framework/src/cli/make.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,7 @@ export default (args: string[], cwd: string,) => {
'content-testing: []\n',),
() => writeFileSync(root + '/.gitignore', '/nbproject\n' +
'/node_modules\n' +
'/result.json\n' +
'/result.csv\n' +
'/result.html\n' +
'/result.*\n' +
'/src/**/*.js\n' +
'/.idea\n' +
'/.vscode\n',),
Expand Down Expand Up @@ -275,12 +273,44 @@ export default (args: string[], cwd: string,) => {
'parserOptions:\n' +
' ecmaVersion: 2018\n'
,),
() => copySync(
FRAMEWORK_ROOT + '/../.editorconfig',
() => writeFileSync(
root + '/.editorconfig',
'root = true\n' +
'\n' +
'[*]\n' +
'end_of_line = lf\n' +
'insert_final_newline = true\n' +
'charset = utf-8\n' +
'indent_style = space\n' +
'indent_size = 2\n',
),
() => writeFileSync(
root + '/.mocharc.cjs',
'module.exports = {\n' +
' recursive: true,\n' +
' extension: [\n' +
' \'ts\'\n' +
' ],\n' +
' \'node-option\': [\n' +
' \'experimental-specifier-resolution=node\',\n' +
' \'loader=ts-node/esm\'\n' +
' ],\n' +
' parallel: false\n' +
'}',
),
() => writeFileSync(
root + '/.nycrc.json',
'{\n' +
' "require": ["ts-node/register"],\n' +
' "extension" : [".ts", ".tsx"],\n' +
' "reporter": ["lcov", "text-summary"],\n' +
' "all": true,\n' +
' "sourceMap": true,\n' +
' "instrument": true,\n' +
' "exclude": [],\n' +
' "include": ["src/**/*.ts"]\n' +
'}\n',
),
() => copySync(FRAMEWORK_ROOT + '/.mocharc.cjs', root + '/.mocharc.cjs',),
() => copySync(FRAMEWORK_ROOT + '/.nycrc.json', root + '/.nycrc.json',),
() => execSync('npm install', {
cwd: root,
},),
Expand Down
2 changes: 1 addition & 1 deletion history-microservice/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@idrinth/api-bench",
"description": "A library to benchmark apis, no matter if rest or soap",
"license": "MIT",
"version": "2.7.0",
"version": "2.7.1",
"homepage": "https://idrinth-api-ben.ch",
"type": "module",
"main": "index.js",
Expand Down
2 changes: 1 addition & 1 deletion history-website/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@idrinth/api-bench/history/ui",
"private": true,
"version": "2.7.0",
"version": "2.7.1",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
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": "@idrinth/api-bench/root",
"version": "2.7.0",
"version": "2.7.1",
"description": "",
"license": "MIT",
"homepage": "https://idrinth-api-ben.ch",
Expand Down

0 comments on commit e21799f

Please sign in to comment.