@zimbra/eslint-plugin-preact-i18n 1.1.1-master.5031e8d.0 → 2.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.
- package/.circleci/config.yml +5 -10
- package/.claude/settings.local.json +19 -0
- package/package.json +4 -4
package/.circleci/config.yml
CHANGED
|
@@ -10,7 +10,7 @@ orbs:
|
|
|
10
10
|
config: &config
|
|
11
11
|
working_directory: ~/eslint-plugin-preact-i18n
|
|
12
12
|
docker:
|
|
13
|
-
- image: cimg/node:18
|
|
13
|
+
- image: cimg/node:24.18
|
|
14
14
|
resource_class: small
|
|
15
15
|
|
|
16
16
|
persist-workspace: &persist-workspace
|
|
@@ -27,17 +27,17 @@ attach-workspace: &attach-workspace
|
|
|
27
27
|
restore-dependencies-cache: &restore-dependencies-cache
|
|
28
28
|
restore_cache:
|
|
29
29
|
keys:
|
|
30
|
-
-
|
|
30
|
+
- v3-dependencies-{{ .Branch }}-{{ checksum "package.json" }}
|
|
31
31
|
# fallback to using the cache from the same branch
|
|
32
|
-
-
|
|
32
|
+
- v3-dependencies-{{ .Branch }}-
|
|
33
33
|
# fallback to using the latest cache if no exact match is found
|
|
34
|
-
-
|
|
34
|
+
- v3-dependencies-
|
|
35
35
|
|
|
36
36
|
save-dependencies-cache: &save-dependencies-cache
|
|
37
37
|
save_cache:
|
|
38
38
|
paths:
|
|
39
39
|
- node_modules
|
|
40
|
-
key:
|
|
40
|
+
key: v3-dependencies-{{ .Branch }}-{{ checksum "package.json" }}
|
|
41
41
|
|
|
42
42
|
feature-branch: &feature-branch
|
|
43
43
|
filters:
|
|
@@ -73,11 +73,6 @@ jobs:
|
|
|
73
73
|
|
|
74
74
|
- *restore-dependencies-cache
|
|
75
75
|
|
|
76
|
-
# Install npm version @6
|
|
77
|
-
- run:
|
|
78
|
-
name: Install npm version
|
|
79
|
-
command: sudo npm install -g npm@6
|
|
80
|
-
|
|
81
76
|
# install dependencies - do this AFTER we do the optional branch checkout of the api client
|
|
82
77
|
- run:
|
|
83
78
|
name: Install npm modules
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"permissions": {
|
|
3
|
+
"allow": [
|
|
4
|
+
"WebFetch(domain:github.com)",
|
|
5
|
+
"Bash(gh auth *)",
|
|
6
|
+
"Bash(gh api *)",
|
|
7
|
+
"mcp__8dc65161-76c2-433b-92c7-e8f67673527b__getAccessibleAtlassianResources",
|
|
8
|
+
"mcp__8dc65161-76c2-433b-92c7-e8f67673527b__getJiraIssue",
|
|
9
|
+
"Bash(npm test *)",
|
|
10
|
+
"Bash(npm ci *)",
|
|
11
|
+
"Bash(npx eslint *)",
|
|
12
|
+
"Bash(cd /Users/saket.patel/git/zimbrax/zm-x-web && grep -rn \"fields=\" src --include=*.js -l | xargs grep -l \"MarkupText\" 2>/dev/null | sort -u)",
|
|
13
|
+
"Bash(cd /Users/saket.patel/git/zimbrax/zm-x-web && grep -rniE \"innerHTML\" src --include=*.js | grep -viE \"\\\\.innerHTML\\\\s*\\\\\\)|getSafeHtml|sanitize|DOMPurify|purif\" | head -60)",
|
|
14
|
+
"mcp__8dc65161-76c2-433b-92c7-e8f67673527b__addCommentToJiraIssue",
|
|
15
|
+
"Bash(npm view *)",
|
|
16
|
+
"Bash(cd /Users/saket.patel/git/zimbrax/zm-eslint-config && echo \"=== README rule mentions ===\" && grep -n \"no-unknown-key\\\\|no-missing-template\\\\|preact-i18n/\\\\|MarkupText\" README.md | head; echo \"=== README i18n rules block ===\" && grep -n \"no-unknown-key\" README.md | head -1)"
|
|
17
|
+
]
|
|
18
|
+
}
|
|
19
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zimbra/eslint-plugin-preact-i18n",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "eslint plugin for users of the preact-i18n library",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"prepare": "husky"
|
|
29
29
|
},
|
|
30
30
|
"engines": {
|
|
31
|
-
"node": "^18.
|
|
32
|
-
"npm": "^
|
|
31
|
+
"node": "^24.18.0",
|
|
32
|
+
"npm": "^11.16.0"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"minimatch": "^10.2.5"
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@babel/core": "^7.1.6",
|
|
45
45
|
"@babel/preset-env": "^7.1.6",
|
|
46
46
|
"@babel/register": "^7.0.0",
|
|
47
|
-
"@zimbra/eslint-config": "
|
|
47
|
+
"@zimbra/eslint-config": "2.3.1-PREAPPS-9700.f1b2ff0.0",
|
|
48
48
|
"eslint": "^9.39.3",
|
|
49
49
|
"husky": "^9.1.7",
|
|
50
50
|
"mocha": "^11.7.6",
|