All notable changes to the "light-switch" extension will be documented in this file.
Check Keep a Changelog for recommendations on how to structure this file.
- Improved the logic and now allows for proper checking between light and dark hours
- Added more unit tests to verify theme switching behaviour
- Updated general documentation to improve consistency of the project's codebase.
- REMOVED: Tests for
setTheme
. - FIXED: Tests that broke the pipeline.
- ADDED: Tests for
setTheme
,switchTheme
,workspace
. - CHANGED:
package.json
configuration properties to Dark/Light themes,instead of Night/Day.
- REVERTED: Test builds to deploy artifacts. Now switching to revising builds with release tags generated by
npm version
. - CHANGED"
patch
from thepackage.json
deploy script:vsce publish --yarn
.
- ADDED: Pipeline status badge.
- CHANGED:
patch
to thepackage.json
deploy script:vsce publish patch --yarn
- ADDED: Test builds to deploy artifacts.
- REMOVED: the information message that printed 'Light Switch is now active!' on activation.
- FIXED: Logic for switching themes. It was inverted.
- Set up an Azure Pipeline following Microsoft's Continuous Integration tutorial.
- PROBLEM:
@types/vscode
had conflicts withvscode
when runningyarn test
.- FIX: Had to remove the old
vscode
dependency as per the Testing Extension's Migrating fromvscode
link.
- FIX: Had to remove the old
- PROBLEM:
- Replaced
package-lock.json
foryarn.lock
. - Updated
package.json
'scompile
script to includenpm run test-compile
, since the./out/
folder has to be created in order to run tests.
- Specified default value to
"17:00"
forlightSwitch.nightTime
onpackage.json
— This needed to be done, otherwise it would be""
, thus breaking the intended code. - Replaced moment with day.js
- Added tests for date validation
- Migrated the build to use webpack