diff --git a/README.md b/README.md index c05d6b8..ba937fe 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,8 @@ STC (Swagger Transform Code) is a tool for converting OpenApi/Swagger/Apifox int [![JSR](https://jsr.io/badges/@loongwoo/stc)](https://jsr.io/@loongwoo/stc) ![NPM Version](https://img.shields.io/npm/v/%40loongwoo%2Fstc) +> New scope enabled since 2.8.0 **@loun** +
stc
@@ -153,8 +155,8 @@ Create a `myPlugin.ts` file: ```ts // 引用模块 -// import { start } from 'https://deno.land/x/stc@2.7.1/mod.ts' -import { start } from 'jsr:@loongwoo/stc@^2.7.1' +// import { start } from 'https://deno.land/x/stc@2.7.2/mod.ts' +import { start } from 'jsr:@loongwoo/stc@^2.7.2' // Defining plugins const myPlugin: IPlugin = { diff --git a/cover.svg b/cover.svg new file mode 100644 index 0000000..945e374 --- /dev/null +++ b/cover.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/deno.json b/deno.json index 7cfb41e..601985f 100644 --- a/deno.json +++ b/deno.json @@ -1,12 +1,12 @@ { "name": "@loongwoo/stc", - "version": "2.7.1", + "version": "2.7.2", "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' --lang=ts", "serve": "deno run -A --watch=src src/service.ts", - "version": "echo '2.7.1' > release/version", + "version": "echo '2.7.2' > 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 59e2216..05f9dff 100644 --- a/src/npm/pkg.json +++ b/src/npm/pkg.json @@ -1,6 +1,6 @@ { "name": "@loongwoo/stc", - "version": "2.7.1", + "version": "2.7.2", "description": "A tool for converting OpenApi/Swagger/Apifox into code.", "type": "module", "module": "esm/mod.js", @@ -18,7 +18,7 @@ "apifox", "stc" ], - "author": "loong.woo", + "author": "lonu", "license": "MIT", "bugs": { "url": "https://github.com/long-woo/stc/issues"