@tryghost/announcement-bar 1.1.20 → 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.20",
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,48 +21,6 @@
17
21
  "react": "17.0.2",
18
22
  "react-dom": "17.0.2"
19
23
  },
20
- "scripts": {
21
- "dev": "concurrently \"vite preview -l silent\" \"pnpm build:watch\"",
22
- "build": "vite build",
23
- "build:watch": "vite build --watch",
24
- "test": "vitest run",
25
- "test:ci": "pnpm test --coverage",
26
- "test:unit": "pnpm test:ci",
27
- "lint": "eslint src --ext .js --cache",
28
- "preship": "pnpm lint",
29
- "ship": "node ../../.github/scripts/release-apps.js",
30
- "prepublishOnly": "pnpm build"
31
- },
32
- "eslintConfig": {
33
- "env": {
34
- "browser": true,
35
- "jest": true
36
- },
37
- "parserOptions": {
38
- "sourceType": "module",
39
- "ecmaVersion": 2022
40
- },
41
- "extends": [
42
- "plugin:ghost/browser",
43
- "plugin:react/recommended"
44
- ],
45
- "plugins": [
46
- "ghost"
47
- ],
48
- "rules": {
49
- "react/prop-types": "off",
50
- "ghost/filenames/match-regex": [
51
- "error",
52
- "^[a-z0-9.-]+$",
53
- false
54
- ]
55
- },
56
- "settings": {
57
- "react": {
58
- "version": "detect"
59
- }
60
- }
61
- },
62
24
  "browserslist": {
63
25
  "production": [
64
26
  ">0.2%",
@@ -79,14 +41,29 @@
79
41
  ]
80
42
  },
81
43
  "devDependencies": {
44
+ "@eslint/js": "9.39.4",
82
45
  "@vitejs/plugin-react": "4.7.0",
83
- "@vitest/coverage-v8": "~3.2.4",
84
- "concurrently": "8.2.2",
46
+ "@vitest/coverage-v8": "4.1.8",
47
+ "concurrently": "10.0.3",
85
48
  "cross-fetch": "4.1.0",
86
- "eslint": "catalog:",
87
- "jsdom": "28.1.0",
88
- "vite": "5.4.21",
89
- "vite-plugin-svgr": "3.3.0",
90
- "vitest": "3.2.4"
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",
54
+ "vite": "7.3.2",
55
+ "vite-plugin-svgr": "4.5.0",
56
+ "vitest": "4.1.8"
57
+ },
58
+ "scripts": {
59
+ "dev": "pnpm build && concurrently --kill-others --names preview,build \"vite preview -l silent\" \"pnpm build:watch\"",
60
+ "build": "vite build",
61
+ "build:watch": "vite build --watch",
62
+ "test": "vitest run",
63
+ "test:ci": "pnpm test --coverage",
64
+ "test:unit": "pnpm test:ci",
65
+ "lint": "eslint src test --cache",
66
+ "preship": "pnpm lint",
67
+ "ship": "node ../../.github/scripts/release-apps.js"
91
68
  }
92
- }
69
+ }