auto-terminal-profile 5.0.0 → 6.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,3 @@
1
+ dark-mode-notify/
2
+ package.json
3
+ package-lock.json
package/changelog.md CHANGED
@@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [6.0.0](https://github.com/patrik-csak/auto-terminal-profile/compare/v5.0.0...v6.0.0) – 2025-05-27
9
+
10
+ ### Added
11
+
12
+ - Support for Node.js v22–24
13
+
14
+ ### Removed
15
+
16
+ - **BREAKING**: Support for Node.js versions before v20
17
+
8
18
  ## [5.0.0](https://github.com/patrik-csak/auto-terminal-profile/compare/v4.0.0...v5.0.0) – 2024-11-27
9
19
 
10
20
  ### Changed
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <Workspace
3
+ version = "1.0">
4
+ <FileRef
5
+ location = "self:">
6
+ </FileRef>
7
+ </Workspace>
@@ -0,0 +1,14 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>SchemeUserState</key>
6
+ <dict>
7
+ <key>dark-mode-notify.xcscheme_^#shared#^_</key>
8
+ <dict>
9
+ <key>orderHint</key>
10
+ <integer>0</integer>
11
+ </dict>
12
+ </dict>
13
+ </dict>
14
+ </plist>
@@ -0,0 +1,3 @@
1
+ import xo from 'xo';
2
+
3
+ export default xo.xoToEslintConfig([{prettier: 'compat'}]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "auto-terminal-profile",
3
- "version": "5.0.0",
3
+ "version": "6.0.0",
4
4
  "description": "Automatically switch macOS Terminal profile when system dark / light mode changes",
5
5
  "keywords": [
6
6
  "macos",
@@ -9,19 +9,25 @@
9
9
  "dark mode",
10
10
  "profile"
11
11
  ],
12
- "repository": "github:patrik-csak/auto-terminal-profile",
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "git+https://github.com/patrik-csak/auto-terminal-profile.git"
15
+ },
13
16
  "funding": "https://buymeacoffee.com/patrikcsak",
14
17
  "license": "MIT",
15
18
  "author": "Patrik Csak <p@trikcsak.com> (https://patrikcsak.com)",
16
19
  "type": "module",
17
- "bin": "./cli.js",
20
+ "bin": {
21
+ "auto-terminal-profile": "cli.js"
22
+ },
18
23
  "scripts": {
19
- "format": "xo --fix && sort-package-json",
24
+ "format": "eslint --fix && npm run prettier -- --write && sort-package-json",
20
25
  "postinstall": "cd dark-mode-notify && make build",
21
- "test": "xo && sort-package-json --check"
26
+ "prettier": "prettier .",
27
+ "test": "eslint && npm run prettier -- --check && sort-package-json --check"
22
28
  },
23
29
  "dependencies": {
24
- "commander": "^12.0.0",
30
+ "commander": "^14.0.0",
25
31
  "conf": "^13.0.1",
26
32
  "dark-mode": "^4.0.0",
27
33
  "env-paths": "^3.0.0",
@@ -29,15 +35,17 @@
29
35
  "pupa": "^3.1.0",
30
36
  "read-package-up": "^11.0.0",
31
37
  "run-applescript": "^7.0.0",
32
- "terminal-profile": "^2.0.0",
38
+ "terminal-profile": "^3.0.0",
33
39
  "untildify": "^5.0.0"
34
40
  },
35
41
  "devDependencies": {
36
- "sort-package-json": "^2.7.0",
37
- "xo": "^0.59.3"
42
+ "eslint": "^9.27.0",
43
+ "prettier": "^3.5.3",
44
+ "sort-package-json": "^3.2.1",
45
+ "xo": "^1.0.0"
38
46
  },
39
47
  "engines": {
40
- "node": ">=18 <=20"
48
+ "node": ">=20 <=24"
41
49
  },
42
50
  "os": [
43
51
  "darwin"
@@ -0,0 +1,11 @@
1
+ /**
2
+ * @see {@link https://github.com/xojs/xo#prettier}
3
+ * @type {import('prettier').Options}
4
+ */
5
+ const config = {
6
+ bracketSpacing: false,
7
+ singleQuote: true,
8
+ useTabs: true,
9
+ };
10
+
11
+ export default config;