Skip to content

Commit

Permalink
Merge branch 'release/0.2.4'
Browse files Browse the repository at this point in the history
  • Loading branch information
hiukky committed Jun 2, 2020
2 parents e839c7d + 7d1ce96 commit a7e7cb3
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 11 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

All notable changes to the "orbit" extension will be documented in this file.

## [0.2.4]

Fixes

- Color for accessor optional

## [0.2.3]

Changes
Expand Down
10 changes: 8 additions & 2 deletions examples/.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,20 @@ type TGender = 0 | 1 | 2 | 9
interface IData {
name: string
age: number
gender: TGender
gender?: TGender
}

const dirs = [process.cwd(), __dirname]
let nickname = 'hiukky'
var age = 23

console.log({ dirs, nickname, age })
const data: IData = {
name: nickname,
gender: 1,
age,
}

console.log({ dirs, nickname, age }, data?.gender)

class Class {
constructor() {}
Expand Down
9 changes: 6 additions & 3 deletions examples/.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,19 @@ import React, { useEffect, useState } from 'react'

interface IAppProps {
loading: boolean
background: string
colors: {
background?: string
foreground: string
}
}

const App = ({ loading = true, background = '#55efc4' }: IAppProps) => {
const App = ({ loading = true, colors }: IAppProps) => {
const [title, setTitle] = useState('Orbit')

useEffect(() => {
document.title = title

console.log({ loading, background })
console.log(loading, colors?.background)

return () => {
setTitle('')
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "orbit",
"displayName": "Orbit",
"description": "Dark Colored Theme for VS Code.",
"version": "0.2.3",
"version": "0.2.4",
"publisher": "hiukky",
"icon": "assets/logo.png",
"engines": {
Expand All @@ -27,7 +27,7 @@
"devDependencies": {
"@commitlint/cli": "^8.3.5",
"@commitlint/config-conventional": "^8.3.4",
"@types/node": "^14.0.5",
"@types/node": "^14.0.9",
"husky": "^4.2.5",
"prettier": "^2.0.5",
"react": "^16.13.1"
Expand Down
1 change: 1 addition & 0 deletions themes/orbit-color-theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@
"markup.deleted",
"meta.group.regexp",
"punctuation.separator.key-value.html",
"punctuation.accessor.optional",
"source.css",
"source.php",
"storage.type.function.arrow",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -174,10 +174,10 @@
resolved "https://registry.yarnpkg.com/@types/color-name/-/color-name-1.1.1.tgz#1c1261bbeaa10a8055bbc5d8ab84b7b2afc846a0"
integrity sha512-rr+OQyAjxze7GgWrSaJwydHStIhHq2lvY3BOC2Mj7KnzI7XK0Uw1TOOdI9lDoajEbSWLiYgoo4f1R51erQfhPQ==

"@types/node@^14.0.5":
version "14.0.5"
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.0.5.tgz#3d03acd3b3414cf67faf999aed11682ed121f22b"
integrity sha512-90hiq6/VqtQgX8Sp0EzeIsv3r+ellbGj4URKj5j30tLlZvRUpnAe9YbYnjl3pJM93GyXU0tghHhvXHq+5rnCKA==
"@types/node@^14.0.9":
version "14.0.9"
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.0.9.tgz#43896ab87fc82bda1dfd600cdf44a0c8a64e11d2"
integrity sha512-0sCTiXKXELOBxvZLN4krQ0FPOAA7ij+6WwvD0k/PHd9/KAkr4dXel5J9fh6F4x1FwAQILqAWkmpeuS6mjf1iKA==

"@types/parse-json@^4.0.0":
version "4.0.0"
Expand Down

0 comments on commit a7e7cb3

Please sign in to comment.