From 9e3be3d1baf8d581dde51b28b15e69c5f4b94086 Mon Sep 17 00:00:00 2001 From: zhangtao25 Date: Tue, 14 Jan 2025 19:42:01 +0800 Subject: [PATCH] chore: daily development --- .github/workflows/publish-babel-plugin-canyon.yml | 2 +- plugins/babel-plugin-canyon/package.json | 2 +- plugins/babel-plugin-canyon/src/index.ts | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-babel-plugin-canyon.yml b/.github/workflows/publish-babel-plugin-canyon.yml index 0926f457..011e6857 100644 --- a/.github/workflows/publish-babel-plugin-canyon.yml +++ b/.github/workflows/publish-babel-plugin-canyon.yml @@ -21,6 +21,6 @@ jobs: env: NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}} - run: | - pnpm dist-tag add babel-plugin-canyon@2.0.4 latest + pnpm dist-tag add babel-plugin-canyon@2.0.5 latest env: NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}} diff --git a/plugins/babel-plugin-canyon/package.json b/plugins/babel-plugin-canyon/package.json index 6b30c977..093d5942 100644 --- a/plugins/babel-plugin-canyon/package.json +++ b/plugins/babel-plugin-canyon/package.json @@ -1,6 +1,6 @@ { "name": "babel-plugin-canyon", - "version": "2.0.4", + "version": "2.0.5", "description": "", "scripts": { "release": "babel src --extensions \".ts\" --out-dir lib", diff --git a/plugins/babel-plugin-canyon/src/index.ts b/plugins/babel-plugin-canyon/src/index.ts index b86307d6..fa2c3d62 100644 --- a/plugins/babel-plugin-canyon/src/index.ts +++ b/plugins/babel-plugin-canyon/src/index.ts @@ -44,10 +44,12 @@ export default declare((api, config, dirname) => { }, //可配置代理 默认false special: true, //默认false keepMap: true, // 默认true + slug:'auto' } :{ provider: 'gitlab', keepMap: true, + slug:'auto' } config = { ...preset,