From 0ea4c1d44ef162c9605794a09f54dedec4a3eb4c Mon Sep 17 00:00:00 2001 From: mvllow Date: Wed, 1 Feb 2023 14:48:44 -0500 Subject: [PATCH 1/4] chore: upgrade to pinecone v4 --- icons/rose-pine-icon-theme.json | 44 ++++++++++++++++----------------- package.json | 6 +++-- 2 files changed, 26 insertions(+), 24 deletions(-) diff --git a/icons/rose-pine-icon-theme.json b/icons/rose-pine-icon-theme.json index 48982aa..f8684aa 100644 --- a/icons/rose-pine-icon-theme.json +++ b/icons/rose-pine-icon-theme.json @@ -1,24 +1,24 @@ { - "iconDefinitions": { - "_file": { - "iconPath": "./file.svg" - }, - "_file-special": { - "iconPath": "./file-special.svg" - }, - "_folder": { - "iconPath": "./folder.svg" - }, - "_folder-open": { - "iconPath": "./folder-open.svg" - } - }, - "file": "_file", - "fileNames": { - "_pinecone-color-theme.json": "_file-special", - "pinecone.config.js": "_file-special" - }, - "folder": "_folder", - "folderExpanded": "_folder-open", - "hidesExplorerArrows": true + "iconDefinitions": { + "_file": { + "iconPath": "./file.svg" + }, + "_file-special": { + "iconPath": "./file-special.svg" + }, + "_folder": { + "iconPath": "./folder.svg" + }, + "_folder-open": { + "iconPath": "./folder-open.svg" + } + }, + "file": "_file", + "fileNames": { + "_pinecone-color-theme.json": "_file-special", + "pinecone.config.js": "_file-special" + }, + "folder": "_folder", + "folderExpanded": "_folder-open", + "hidesExplorerArrows": true } diff --git a/package.json b/package.json index a67ffdd..c6f1206 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,9 @@ "scripts": { "build": "pinecone", "watch": "pinecone --watch", - "release": "np --no-publish --no-tests" + "format": "prettier --write .", + "release": "np --no-publish --no-tests", + "version": "npm run build && npm run format" }, "icon": "assets/icon.png", "displayName": "Rosé Pine", @@ -84,7 +86,7 @@ "devDependencies": { "@rose-pine/palette": "^2.0.0-4", "np": "^7.6.1", - "pinecone-cli": "^3.0.1", + "pinecone-cli": "^4.0.0", "prettier": "^2.5.1" }, "prettier": { From 5ecfa739da587c980b2d7ccd168738f7122e8392 Mon Sep 17 00:00:00 2001 From: mvllow Date: Wed, 1 Feb 2023 14:52:07 -0500 Subject: [PATCH 2/4] chore: format --- .github/workflows/workflow.yaml | 2 +- examples/js-ts.ts | 16 ++++++------ examples/vue.vue | 12 ++++----- package.json | 2 -- pinecone.config.js | 46 ++++++++++++++++----------------- 5 files changed, 38 insertions(+), 40 deletions(-) diff --git a/.github/workflows/workflow.yaml b/.github/workflows/workflow.yaml index fd13d5d..7da4385 100644 --- a/.github/workflows/workflow.yaml +++ b/.github/workflows/workflow.yaml @@ -2,7 +2,7 @@ on: workflow_dispatch: push: tags: - - '*' + - "*" name: Deploy Extension jobs: diff --git a/examples/js-ts.ts b/examples/js-ts.ts index 15afcff..314e409 100644 --- a/examples/js-ts.ts +++ b/examples/js-ts.ts @@ -1,21 +1,21 @@ interface Fruit { - name: string - isSweet: boolean + name: string; + isSweet: boolean; } -const whenToEatSweetFruits = 'all the time' -const whenToEatSourFruits = 'all the time' +const whenToEatSweetFruits = "all the time"; +const whenToEatSourFruits = "all the time"; const someFruit: Fruit = { - name: 'pitaya', + name: "pitaya", isSweet: true, -} +}; function printTheBestTimeToEatSweetOrSourFruits(fruit: Fruit) { console.log( `The best time to eat ${fruit.name} is ${ fruit.isSweet ? whenToEatSweetFruits : whenToEatSourFruits }` - ) + ); } -printTheBestTimeToEatSweetOrSourFruits(someFruit) +printTheBestTimeToEatSweetOrSourFruits(someFruit); diff --git a/examples/vue.vue b/examples/vue.vue index 79586ca..3913491 100644 --- a/examples/vue.vue +++ b/examples/vue.vue @@ -9,16 +9,16 @@