Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: muuvmuuv/vscode-sundial
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.3.0
Choose a base ref
...
head repository: muuvmuuv/vscode-sundial
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref

Commits on Jul 7, 2023

  1. build: update deps

    muuvmuuv committed Jul 7, 2023
    Copy the full SHA
    ac10083 View commit details
  2. feat: add status bar icon

    muuvmuuv committed Jul 7, 2023
    Copy the full SHA
    0132ede View commit details
  3. chore: release 3.4.0-beta.0

    muuvmuuv committed Jul 7, 2023
    Copy the full SHA
    00138ef View commit details
  4. Copy the full SHA
    2efc757 View commit details
  5. fix: got bug

    muuvmuuv committed Jul 7, 2023
    Copy the full SHA
    479885a View commit details
  6. chore: release 3.4.0

    muuvmuuv committed Jul 7, 2023
    Copy the full SHA
    be07575 View commit details
  7. ci: run publish separated

    muuvmuuv committed Jul 7, 2023
    Copy the full SHA
    b3a9ab0 View commit details
  8. chore: release 3.4.1

    muuvmuuv committed Jul 7, 2023
    Copy the full SHA
    74cffba View commit details

Commits on Jan 21, 2025

  1. Copy the full SHA
    64e8006 View commit details
  2. Copy the full SHA
    1bd6d23 View commit details
  3. build: fix release-it hooks

    muuvmuuv committed Jan 21, 2025
    Copy the full SHA
    3681596 View commit details
  4. build: format on release

    muuvmuuv committed Jan 21, 2025
    Copy the full SHA
    32a7625 View commit details
  5. chore: release 3.5.0

    muuvmuuv committed Jan 21, 2025
    Copy the full SHA
    78459a6 View commit details
  6. Copy the full SHA
    c1909aa View commit details
  7. build: ignore more files

    muuvmuuv committed Jan 21, 2025
    Copy the full SHA
    6e2cb1d View commit details
  8. chore: release 3.5.1

    muuvmuuv committed Jan 21, 2025
    Copy the full SHA
    f79da13 View commit details
  9. Copy the full SHA
    1473889 View commit details

Commits on Jan 22, 2025

  1. Copy the full SHA
    71adbe8 View commit details
  2. docs: update badges

    muuvmuuv committed Jan 22, 2025
    Copy the full SHA
    7eb1194 View commit details

Commits on Jan 27, 2025

  1. build: fixed lock file

    muuvmuuv committed Jan 27, 2025
    Copy the full SHA
    c2b4d6f View commit details

Commits on Feb 12, 2025

  1. build(deps-dev): bump esbuild in the npm_and_yarn group (#62)

    Bumps the npm_and_yarn group with 1 update: [esbuild](https://github.com/evanw/esbuild).
    
    
    Updates `esbuild` from 0.24.2 to 0.25.0
    - [Release notes](https://github.com/evanw/esbuild/releases)
    - [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG-2024.md)
    - [Commits](evanw/esbuild@v0.24.2...v0.25.0)
    
    ---
    updated-dependencies:
    - dependency-name: esbuild
      dependency-type: direct:development
      dependency-group: npm_and_yarn
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Feb 12, 2025
    Copy the full SHA
    ad626f5 View commit details

Commits on Mar 5, 2025

  1. Copy the full SHA
    33a9322 View commit details
  2. chore: release 3.6.0

    muuvmuuv committed Mar 5, 2025
    Copy the full SHA
    8d1aa82 View commit details
Showing with 7,145 additions and 11,057 deletions.
  1. +0 −31 .eslintrc
  2. +1 −1 .github/ISSUE_TEMPLATE/feature_request.md
  3. +43 −26 .github/workflows/main.yml
  4. +0 −7 .prettierrc
  5. +1 −0 .prototools
  6. +28 −27 .release-it.json
  7. +14 −14 .vscode/launch.json
  8. +17 −1 .vscode/settings.json
  9. +25 −25 .vscode/tasks.json
  10. +11 −4 .vscodeignore
  11. +43 −1 CHANGELOG.md
  12. +48 −9 README.md
  13. BIN assets/status-bar-icon.png
  14. +43 −0 biome.json
  15. +5 −5 lefthook.yml
  16. +6,221 −10,193 package-lock.json
  17. +163 −184 package.json
  18. +60 −75 src/editor.ts
  19. +44 −50 src/extension.ts
  20. +31 −0 src/is-online.ts
  21. +5 −62 src/logger.ts
  22. +50 −60 src/sensors/autolocale.ts
  23. +0 −4 src/sensors/index.ts
  24. +21 −28 src/sensors/latlong.ts
  25. +240 −216 src/sundial.ts
  26. +0 −5 src/utils.ts
  27. +16 −15 testProject/.vscode/settings.json
  28. +15 −14 tsconfig.json
31 changes: 0 additions & 31 deletions .eslintrc

This file was deleted.

2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: Feature request
about: Suggest an idea for this project, something you wan to see or improvements
title: "[FEATURE] This would be killin'"
title: "[FEAT] This would be killin'"
labels: ''
assignees: ''
---
69 changes: 43 additions & 26 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
name: Main
permissions:
contents: read
pull-requests: write

on:
push:
@@ -10,36 +13,50 @@ on:
- published

jobs:
verify:
verify-code:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 16
node-version: 22
cache: "npm"
- run: npm ci
- run: npm run package
- run: npm run lint
- run: npm run check

publish:
runs-on: ubuntu-latest
needs:
- verify
if: github.event_name == 'release'
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 16
cache: "npm"
- run: npm ci
- name: Publish to Open VSX Registry
uses: HaaLeo/publish-vscode-extension@v1
with:
pat: ${{ secrets.OPEN_VSX_TOKEN }}
- name: Publish to Visual Studio Marketplace
uses: HaaLeo/publish-vscode-extension@v1
with:
pat: ${{ secrets.VS_MARKETPLACE_TOKEN }}
registryUrl: https://marketplace.visualstudio.com
# publish-open-vsx:
# runs-on: ubuntu-latest
# needs:
# - verify-code
# if: github.event_name == 'release'
# steps:
# - uses: actions/checkout@v4
# - uses: actions/setup-node@v4
# with:
# node-version: 22
# cache: "npm"
# - run: npm ci
# - run: npm package
# - name: Publish to Open VSX Registry
# uses: HaaLeo/publish-vscode-extension@28e2d3f
# with:
# pat: ${{ secrets.OPEN_VSX_TOKEN }}

# publish-vs-marketplace:
# runs-on: ubuntu-latest
# needs:
# - verify-code
# if: github.event_name == 'release'
# steps:
# - uses: actions/checkout@v4
# - uses: actions/setup-node@v4
# with:
# node-version: 22
# cache: "npm"
# - run: npm ci
# - name: Publish to Visual Studio Marketplace
# uses: HaaLeo/publish-vscode-extension@28e2d3f
# with:
# pat: ${{ secrets.VS_MARKETPLACE_TOKEN }}
# registryUrl: https://marketplace.visualstudio.com
7 changes: 0 additions & 7 deletions .prettierrc

This file was deleted.

1 change: 1 addition & 0 deletions .prototools
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node = "^20.17.0"
55 changes: 28 additions & 27 deletions .release-it.json
Original file line number Diff line number Diff line change
@@ -1,29 +1,30 @@
{
"default": "https://github.com/release-it/release-it/blob/master/conf/release-it.json",
"hooks": {
"before:init": "npm run lint && npm run package"
},
"git": {
"requireCleanWorkingDir": false,
"requireCommits": false,
"tagName": "v${version}",
"commit": true,
"commitMessage": "chore: release ${version}",
"push": true
},
"npm": {
"publish": false
},
"github": {
"release": true,
"releaseName": "Release ${version}",
"draft": true,
"tokenRef": "GITHUB_ACCESS_TOKEN"
},
"plugins": {
"@release-it/conventional-changelog": {
"preset": "conventionalcommits",
"infile": "CHANGELOG.md"
}
}
"default": "https://github.com/release-it/release-it/blob/master/conf/release-it.json",
"hooks": {
"before:init": "npm run check && npm run package",
"before:git:beforeRelease": "npm run format"
},
"git": {
"requireCleanWorkingDir": false,
"requireCommits": false,
"tagName": "v${version}",
"commit": true,
"commitMessage": "chore: release ${version}",
"push": true
},
"npm": {
"publish": false
},
"github": {
"release": true,
"releaseName": "Release ${version}",
"draft": true,
"tokenRef": "GITHUB_ACCESS_TOKEN"
},
"plugins": {
"@release-it/conventional-changelog": {
"preset": "conventionalcommits",
"infile": "CHANGELOG.md"
}
}
}
28 changes: 14 additions & 14 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
// https://code.visualstudio.com/docs/editor/debugging#_launch-configurations
{
"version": "0.2.0",
"configurations": [
{
"name": "Launch Extension",
"type": "extensionHost",
"request": "launch",
"preLaunchTask": "${defaultBuildTask}",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}",
"${workspaceFolder}/testProject"
],
"outFiles": ["${workspaceFolder}/dist/*.js"]
}
]
"version": "0.2.0",
"configurations": [
{
"name": "Launch Extension",
"type": "extensionHost",
"request": "launch",
"preLaunchTask": "${defaultBuildTask}",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}",
"${workspaceFolder}/testProject"
],
"outFiles": ["${workspaceFolder}/dist/*.js"]
}
]
}
18 changes: 17 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1 +1,17 @@
{}
{
"biome.rename": true,
"[json][jsonc][json5]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[javascript][typescript]": {
"editor.defaultFormatter": "biomejs.biome",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit",
"source.organizeImports.biome": "explicit"
}
},
"editor.codeActionsOnSave": {
"source.fixAll.biome": "explicit",
"quickfix.biome": "explicit"
}
}
50 changes: 25 additions & 25 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
// https://code.visualstudio.com/docs/editor/tasks#vscode
{
"version": "2.0.0",
"tasks": [
{
"label": "Watch",
"type": "npm",
"script": "dev",
"isBackground": true,
"problemMatcher": {
"base": "$tsc-watch",
"applyTo": "allDocuments",
"background": {
"activeOnStart": true,
"beginsPattern": "^.*running",
"endsPattern": "^.*watching"
}
},
"presentation": {
"reveal": "never"
},
"group": {
"kind": "build",
"isDefault": true
}
}
]
"version": "2.0.0",
"tasks": [
{
"label": "Watch",
"type": "npm",
"script": "dev",
"isBackground": true,
"problemMatcher": {
"base": "$tsc-watch",
"applyTo": "allDocuments",
"background": {
"activeOnStart": true,
"beginsPattern": "^.*running",
"endsPattern": "^.*watching"
}
},
"presentation": {
"reveal": "never"
},
"group": {
"kind": "build",
"isDefault": true
}
}
]
}
15 changes: 11 additions & 4 deletions .vscodeignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
.vscode/**
.github/**
.vscode-test/**
out/**
node_modules/**
testProject/**
src/**
assets/*.sketch
.gitignore
**/tsconfig.json
**/.eslintrc.json
**/*.map
**/*.ts
.env
.prototools
**/*cache
**/*.yaml
**/*.yml
**/*.sh
**/*.json
!package.json
44 changes: 43 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,46 @@
# Changelog

## 3.6.0 (2025-03-05)

* feat: remove is-online and bump vs code peer ([33a9322](https://github.com/muuvmuuv/vscode-sundial/commit/33a9322))
* build: fixed lock file ([c2b4d6f](https://github.com/muuvmuuv/vscode-sundial/commit/c2b4d6f))
* build: use latest ovsx on release ([1473889](https://github.com/muuvmuuv/vscode-sundial/commit/1473889))
* build(deps-dev): bump esbuild in the npm_and_yarn group (#62) ([ad626f5](https://github.com/muuvmuuv/vscode-sundial/commit/ad626f5)), closes [#62](https://github.com/muuvmuuv/vscode-sundial/issues/62)
* docs: update badges ([7eb1194](https://github.com/muuvmuuv/vscode-sundial/commit/7eb1194))
* ci: fix several issues and update to latest ([71adbe8](https://github.com/muuvmuuv/vscode-sundial/commit/71adbe8))

## <small>3.5.1 (2025-01-21)</small>

* build: ignore more files ([6e2cb1d](https://github.com/muuvmuuv/vscode-sundial/commit/6e2cb1d))
* feat: remove logger complexity ([c1909aa](https://github.com/muuvmuuv/vscode-sundial/commit/c1909aa))

## 3.5.0 (2025-01-21)

* build: fix release-it hooks ([3681596](https://github.com/muuvmuuv/vscode-sundial/commit/3681596))
* build: format on release ([32a7625](https://github.com/muuvmuuv/vscode-sundial/commit/32a7625))
* refactor: replace dajs with date-fns and remove got ([1bd6d23](https://github.com/muuvmuuv/vscode-sundial/commit/1bd6d23))
* refactor: use biome and optimize code quality ([64e8006](https://github.com/muuvmuuv/vscode-sundial/commit/64e8006))

## [3.4.1](https://github.com/muuvmuuv/vscode-sundial/compare/v3.4.0...v3.4.1) (2023-07-07)

## [3.4.0](https://github.com/muuvmuuv/vscode-sundial/compare/v3.3.0...v3.4.0) (2023-07-07)

### Features

* add status bar icon ([0132ede](https://github.com/muuvmuuv/vscode-sundial/commit/0132ede260497659d813db4526e9a64038dc1c7c))


### Bug Fixes

* got bug ([479885a](https://github.com/muuvmuuv/vscode-sundial/commit/479885afb4813f327494c6e706b3dfe65f2311b7))
* status bar icon hidden after first run ([2efc757](https://github.com/muuvmuuv/vscode-sundial/commit/2efc75773b603923579c71e4503d42744a068cf2))

## [3.4.0-beta.0](https://github.com/muuvmuuv/vscode-sundial/compare/v3.3.0...v3.4.0-beta.0) (2023-07-07)


### Features

* add status bar icon ([0132ede](https://github.com/muuvmuuv/vscode-sundial/commit/0132ede260497659d813db4526e9a64038dc1c7c))

## [3.3.0](https://github.com/muuvmuuv/vscode-sundial/compare/v3.1.0...v3.3.0) (2023-04-26)

@@ -133,4 +175,4 @@ undefined

### [1.0.2](https://github.com/muuvmuuv/vscode-sundial/compare/v1.0.0...v1.0.2) (2018-10-03)

## 1.0.0 (2018-09-29)
## 1.0.0 (2018-09-29)
Loading