From 29ae5aae1788d4696c515c9fd929763bac53b5e9 Mon Sep 17 00:00:00 2001 From: "loong.woo" Date: Thu, 28 Nov 2024 14:14:01 +0800 Subject: [PATCH] release: 2.6.0 --- README.md | 4 ++-- deno.json | 4 ++-- src/core.ts | 2 +- src/npm/pkg.json | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index ad50b76..963af1c 100644 --- a/README.md +++ b/README.md @@ -152,8 +152,8 @@ Create a `myPlugin.ts` file: ```ts // 引用模块 -// import { start } from 'https://deno.land/x/stc@2.4.2/mod.ts' -import { start } from 'jsr:@loongwoo/stc@^2.4.2' +// import { start } from 'https://deno.land/x/stc@2.6.0/mod.ts' +import { start } from 'jsr:@loongwoo/stc@^2.6.0' // Defining plugins const myPlugin: IPlugin = { diff --git a/deno.json b/deno.json index 2e2e296..23d6c31 100644 --- a/deno.json +++ b/deno.json @@ -1,12 +1,12 @@ { "name": "@loongwoo/stc", - "version": "2.4.2", + "version": "2.6.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' --lang=ts", "serve": "deno run -A --watch=src src/service.ts", - "version": "echo '2.4.2' > release/version", + "version": "echo '2.6.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/core.ts b/src/core.ts index 3e666c7..8a4fdb4 100644 --- a/src/core.ts +++ b/src/core.ts @@ -1,4 +1,4 @@ -import micromatch from "npm:micromatch"; +import micromatch from "npm:micromatch@4.0.8"; import Logs from "./console.ts"; import type { diff --git a/src/npm/pkg.json b/src/npm/pkg.json index dce0ead..e4f5221 100644 --- a/src/npm/pkg.json +++ b/src/npm/pkg.json @@ -1,6 +1,6 @@ { "name": "@loongwoo/stc", - "version": "2.4.2", + "version": "2.6.0", "description": "A tool for converting OpenApi/Swagger/Apifox into code.", "type": "module", "module": "esm/mod.js",