@tryghost/announcement-bar 1.1.21 → 1.1.22

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.
package/package.json CHANGED
@@ -1,8 +1,12 @@
1
1
  {
2
2
  "name": "@tryghost/announcement-bar",
3
- "version": "1.1.21",
3
+ "type": "module",
4
+ "version": "1.1.22",
4
5
  "license": "MIT",
5
- "repository": "https://github.com/TryGhost/Ghost",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "https://github.com/TryGhost/Ghost"
9
+ },
6
10
  "author": "Ghost Foundation",
7
11
  "files": [
8
12
  "umd/",
@@ -17,36 +21,6 @@
17
21
  "react": "17.0.2",
18
22
  "react-dom": "17.0.2"
19
23
  },
20
- "eslintConfig": {
21
- "env": {
22
- "browser": true,
23
- "jest": true
24
- },
25
- "parserOptions": {
26
- "sourceType": "module",
27
- "ecmaVersion": 2022
28
- },
29
- "extends": [
30
- "plugin:ghost/browser",
31
- "plugin:react/recommended"
32
- ],
33
- "plugins": [
34
- "ghost"
35
- ],
36
- "rules": {
37
- "react/prop-types": "off",
38
- "ghost/filenames/match-regex": [
39
- "error",
40
- "^[a-z0-9.-]+$",
41
- false
42
- ]
43
- },
44
- "settings": {
45
- "react": {
46
- "version": "detect"
47
- }
48
- }
49
- },
50
24
  "browserslist": {
51
25
  "production": [
52
26
  ">0.2%",
@@ -67,24 +41,28 @@
67
41
  ]
68
42
  },
69
43
  "devDependencies": {
44
+ "@eslint/js": "9.39.4",
70
45
  "@vitejs/plugin-react": "4.7.0",
71
- "@vitest/coverage-v8": "4.1.2",
72
- "concurrently": "8.2.2",
46
+ "@vitest/coverage-v8": "4.1.8",
47
+ "concurrently": "10.0.3",
73
48
  "cross-fetch": "4.1.0",
74
- "eslint": "8.57.1",
75
- "jsdom": "28.1.0",
49
+ "eslint": "9.39.4",
50
+ "eslint-plugin-ghost": "3.5.0",
51
+ "eslint-plugin-react": "7.37.5",
52
+ "globals": "17.6.0",
53
+ "jsdom": "29.1.1",
76
54
  "vite": "7.3.2",
77
55
  "vite-plugin-svgr": "4.5.0",
78
- "vitest": "4.1.2"
56
+ "vitest": "4.1.8"
79
57
  },
80
58
  "scripts": {
81
- "dev": "concurrently \"vite preview -l silent\" \"pnpm build:watch\"",
59
+ "dev": "pnpm build && concurrently --kill-others --names preview,build \"vite preview -l silent\" \"pnpm build:watch\"",
82
60
  "build": "vite build",
83
61
  "build:watch": "vite build --watch",
84
62
  "test": "vitest run",
85
63
  "test:ci": "pnpm test --coverage",
86
64
  "test:unit": "pnpm test:ci",
87
- "lint": "eslint src --ext .js --cache",
65
+ "lint": "eslint src test --cache",
88
66
  "preship": "pnpm lint",
89
67
  "ship": "node ../../.github/scripts/release-apps.js"
90
68
  }