Skip to content

Commit

Permalink
Merge pull request #3 from xlboy/release/0.3.0
Browse files Browse the repository at this point in the history
release: v0.3.0
  • Loading branch information
xlboy authored Aug 13, 2024
2 parents a6f5c78 + 0512de8 commit 26be0b7
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 8 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
node_modules
.history
dist
.yalc
.yalc
yalc.lock
2 changes: 2 additions & 0 deletions .vscodeignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@ vsc-extension-quickstart.md
patches
debug-demo
.nvmrc
.yalc
yalc.lock
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
# 0.3.0 (2024-08-13)

Upgrade `@phoenix-twind/intellisense`, with the following changes:

- [BUG] Fixed multiple duplicates issue when triggering suggestions (https://github.com/xlboy/twind/commit/1cd784c946a9ecd093b87296aaa8ff62e3b2fe5a)

- [BUG] Fixed line break issue in hover content display (https://github.com/xlboy/twind/pull/4#discussion_r1714110841)

- [Pref] Optimized hover performance (https://github.com/xlboy/twind/pull/7)

# 0.2.0 (2024-08-11)

- refactor: rewrite `colorPreview`
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"publisher": "xlboy",
"displayName": "Twind Intellisense (Phoenix)",
"preview": true,
"version": "0.2.0",
"version": "0.3.0",
"description": "Twind Intellisense for VSCode, It's waiting for its king to return",
"license": "MIT",
"type": "module",
Expand Down Expand Up @@ -88,12 +88,13 @@
"build": "tsup",
"dev": "tsup --watch src",
"type-check": "tsc",
"yalc-update": "yalc update && tsx scripts/patch-yalc && pnpm i",
"vsce-package": "run-s build && tsx scripts/vsce-package",
"vsce-publish": "run-s build && tsx scripts/vsce-package --publish"
},
"devDependencies": {
"@ctrl/tinycolor": "^4.1.0",
"@phoenix-twind/intellisense": "1.1.4-alpha.2",
"@phoenix-twind/intellisense": "1.1.4-alpha.3",
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@tsconfig/node20": "^20.1.4",
"@twind/core": "^1.1.3",
Expand Down
10 changes: 5 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions scripts/patch-yalc.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import pkg from '../.yalc/@phoenix-twind/intellisense/package.json';
import fs from 'fs';

const clone = JSON.parse(JSON.stringify(pkg));

clone.exports = {
'.': {
types: './intellisense.d.ts',
default: './intellisense.dev.js',
},
'./package.json': './package.json',
};

fs.writeFileSync('./.yalc/@phoenix-twind/intellisense/package.json', JSON.stringify(clone, null, 2));

0 comments on commit 26be0b7

Please sign in to comment.