From a1ae8abc6d14993937fe61cad6473617b8de884a Mon Sep 17 00:00:00 2001 From: "loong.woo" Date: Fri, 6 Sep 2024 09:12:35 +0800 Subject: [PATCH] chore: v2.1.0 --- README.md | 4 ++-- deno.json | 4 ++-- src/npm/pkg.json | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index f6bcd04..fca80c9 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ [![JSR](https://jsr.io/badges/@loongwoo/stc)](https://jsr.io/@loongwoo/stc) -STC (Swagger Transform Code) is a tool for converting Swagger(OpenApi) documents into code files. +STC (Swagger Transform Code) is a tool for converting OpenApi/Swagger/Apifox into code. ![Publish to release](https://github.com/long-woo/stc/actions/workflows/deno-build.yml/badge.svg) [![Publish Package to npmjs](https://github.com/long-woo/stc/actions/workflows/npm.yml/badge.svg)](https://github.com/long-woo/stc/actions/workflows/npm.yml) @@ -149,7 +149,7 @@ Create a `myPlugin.ts` file: ```ts // 引用模块 -import { start } from 'https://deno.land/x/stc@2.0.0/mod.ts' +import { start } from 'https://deno.land/x/stc@2.1.0/mod.ts' // Defining plugins const myPlugin: IPlugin = { diff --git a/deno.json b/deno.json index 4f0fbf2..1f6685c 100644 --- a/deno.json +++ b/deno.json @@ -1,12 +1,12 @@ { "name": "@loongwoo/stc", - "version": "2.0.0", + "version": "2.1.0", "exports": "./mod.ts", "tasks": { "pack": "deno run -A src/pack.ts", "dev": "deno task pack && deno run -A --watch=src src/main.ts --url 'https://petstore3.swagger.io/api/v3/openapi.json'", "serve": "deno run -A --watch=src src/service.ts", - "version": "echo '2.0.0' > release/version", + "version": "echo '2.1.0' > release/version", "build:npm": "deno run -A src/npm/build.ts", "build:mac": "deno compile -A --target x86_64-apple-darwin --output release/stc src/main.ts", "build:mac-m": "deno compile -A --target aarch64-apple-darwin --output release/stc-m src/main.ts", diff --git a/src/npm/pkg.json b/src/npm/pkg.json index 6f38a13..6ed353a 100644 --- a/src/npm/pkg.json +++ b/src/npm/pkg.json @@ -1,7 +1,7 @@ { "name": "@loongwoo/stc", - "version": "2.0.0", - "description": "OpenApi/Swagger/Apifox document conversion tool.\nOpenAPI(Swagger)、Apifox 文档转换为接口文件。", + "version": "2.1.0", + "description": "A tool for converting OpenApi/Swagger/Apifox into code.", "type": "module", "module": "esm/mod.js", "types": "esm/mod.d.ts",