Skip to content

Commit

Permalink
Merge pull request #91 from long-woo/dev
Browse files Browse the repository at this point in the history
release: 2.6.0
  • Loading branch information
long-woo authored Nov 28, 2024
2 parents b4a8305 + 29ae5aa commit 4bdc3d2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
4 changes: 2 additions & 2 deletions deno.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/core.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import micromatch from "npm:micromatch";
import micromatch from "npm:micromatch@4.0.8";

import Logs from "./console.ts";
import type {
Expand Down
2 changes: 1 addition & 1 deletion src/npm/pkg.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 4bdc3d2

Please sign in to comment.