7 Commits

Author SHA1 Message Date
semantic-release-bot
b04e6efd38 chore(release): 1.3.0 [skip ci]
# [1.3.0](https://github.com/obsqrbtz/goose-highlighter/compare/v1.2.0...v1.3.0) (2025-06-23)

### Features

* force version bump test ([fc710fc](fc710fce5d))
* semantic-prepare.js ([726e7f0](726e7f0826))
* trigger release ([e35863d](e35863d10e))
2025-06-23 16:05:21 +03:00
e35863d10e feat: trigger release 2025-06-23 16:05:11 +03:00
fc710fce5d feat: force version bump test 2025-06-23 16:03:23 +03:00
726e7f0826 feat: semantic-prepare.js 2025-06-23 15:58:24 +03:00
semantic-release-bot
b94dc15daf chore(release): 1.2.0 [skip ci]
# [1.2.0](https://github.com/obsqrbtz/goose-highlighter/compare/v1.1.1...v1.2.0) (2025-06-23)

### Features

* some test feature ([c388f90](c388f907a5))
2025-06-23 15:54:10 +03:00
c388f907a5 feat: some test feature 2025-06-23 15:53:59 +03:00
74a1a9d664 build: set up versioning with semantic-release 2025-06-23 15:51:49 +03:00
8 changed files with 6852 additions and 1 deletions

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
node_modules

23
.releaserc.json Normal file
View File

@@ -0,0 +1,23 @@
{
"branches": [
"main"
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
[
[
"./scripts/semantic-prepare.js"
],
"@semantic-release/git",
{
"assets": [
"manifest.json",
"CHANGELOG.md"
],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
]
]
}

37
CHANGELOG.md Normal file
View File

@@ -0,0 +1,37 @@
# [1.3.0](https://github.com/obsqrbtz/goose-highlighter/compare/v1.2.0...v1.3.0) (2025-06-23)
### Features
* force version bump test ([fc710fc](https://github.com/obsqrbtz/goose-highlighter/commit/fc710fce5d463cb2b6dd2675ed5bf295a7ea8bb8))
* semantic-prepare.js ([726e7f0](https://github.com/obsqrbtz/goose-highlighter/commit/726e7f082659545f9b37d021dd6f4cbbd43ce1ad))
* trigger release ([e35863d](https://github.com/obsqrbtz/goose-highlighter/commit/e35863d10ea51f55449ac41d68f931d3f906e7d1))
# [1.3.0](https://github.com/obsqrbtz/goose-highlighter/compare/v1.2.0...v1.3.0) (2025-06-23)
### Features
* force version bump test ([fc710fc](https://github.com/obsqrbtz/goose-highlighter/commit/fc710fce5d463cb2b6dd2675ed5bf295a7ea8bb8))
* semantic-prepare.js ([726e7f0](https://github.com/obsqrbtz/goose-highlighter/commit/726e7f082659545f9b37d021dd6f4cbbd43ce1ad))
# [1.3.0](https://github.com/obsqrbtz/goose-highlighter/compare/v1.2.0...v1.3.0) (2025-06-23)
### Features
* semantic-prepare.js ([726e7f0](https://github.com/obsqrbtz/goose-highlighter/commit/726e7f082659545f9b37d021dd6f4cbbd43ce1ad))
# [1.3.0](https://github.com/obsqrbtz/goose-highlighter/compare/v1.2.0...v1.3.0) (2025-06-23)
### Features
* semantic-prepare.js ([726e7f0](https://github.com/obsqrbtz/goose-highlighter/commit/726e7f082659545f9b37d021dd6f4cbbd43ce1ad))
# [1.2.0](https://github.com/obsqrbtz/goose-highlighter/compare/v1.1.1...v1.2.0) (2025-06-23)
### Features
* some test feature ([c388f90](https://github.com/obsqrbtz/goose-highlighter/commit/c388f907a50b9b9dfbc45022015fcd6f52894a7c))

View File

@@ -18,6 +18,7 @@ function clearHighlights() {
} }
} }
function processNodes() { function processNodes() {
observer.disconnect(); observer.disconnect();
clearHighlights(); clearHighlights();

View File

@@ -1,7 +1,7 @@
{ {
"manifest_version": 3, "manifest_version": 3,
"name": "Goose Highlighter", "name": "Goose Highlighter",
"version": "1.1", "version": "1.3.0",
"description": "Highlight text on web pages", "description": "Highlight text on web pages",
"default_locale": "en", "default_locale": "en",
"permissions": [ "permissions": [

6767
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

10
package.json Normal file
View File

@@ -0,0 +1,10 @@
{
"devDependencies": {
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"semantic-release": "^24.2.5"
},
"scripts": {
"prepare": "node scripts/update-manifest-version.js"
}
}

View File

@@ -0,0 +1,12 @@
const fs = require("fs");
const path = require("path");
module.exports = async ({ nextRelease }) => {
const manifestPath = path.resolve(__dirname, "../manifest.json");
const manifest = JSON.parse(fs.readFileSync(manifestPath, "utf8"));
manifest.version = nextRelease.version;
fs.writeFileSync(manifestPath, JSON.stringify(manifest, null, 2));
console.log(`✅ Updated manifest.json to version ${nextRelease.version}`);
};