@aiursoft/autodark.js 1.2.2 → 1.2.4

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/.gitlab-ci.yml CHANGED
@@ -1,4 +1,5 @@
1
1
  stages:
2
+ - s360
2
3
  - check
3
4
  - publish
4
5
 
@@ -7,8 +8,26 @@ workflow:
7
8
  - if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
8
9
  - if: '$CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS'
9
10
  when: never
11
+ - if: '$CI_COMMIT_BRANCH == "master"'
12
+ variables:
13
+ S360_PURPOSE: baseline
14
+ S360_CHECK_KEY: '$S360_BASELINE_KEY'
10
15
  - if: '$CI_COMMIT_BRANCH'
11
16
 
17
+ variables:
18
+ S360_PURPOSE: review
19
+ S360_CHECK_KEY: ''
20
+
21
+ s360:
22
+ stage: s360
23
+ script:
24
+ - export PATH="$PATH:$HOME/.dotnet/tools"
25
+ - dotnet tool update Aiursoft.S360.Client --global --add-source https://nuget.aiursoft.com/v3/index.json
26
+ - s360 check --path . --ecosystem npm --npm-lockfile-only --purpose "$S360_PURPOSE"
27
+ retry:
28
+ max: 2
29
+ when: runner_system_failure
30
+
12
31
  check:
13
32
  stage: check
14
33
  script:
package/README.md CHANGED
@@ -21,6 +21,8 @@ autoTheme()
21
21
 
22
22
  ## Development
23
23
 
24
+ Use Node.js 20 or a newer supported LTS release.
25
+
24
26
  ```bash
25
27
  npm ci
26
28
  npm run check
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiursoft/autodark.js",
3
- "version": "1.2.2",
3
+ "version": "1.2.4",
4
4
  "description": "Auto dark theme",
5
5
  "module": "dist/esm/autodark.js",
6
6
  "types": "dist/types/autodark.d.ts",
@@ -21,7 +21,6 @@
21
21
  "bootstrap": "^4.6.2"
22
22
  },
23
23
  "devDependencies": {
24
- "esbuild": "^0.19.12",
25
24
  "@typescript-eslint/eslint-plugin": "^6.21.0",
26
25
  "@typescript-eslint/parser": "^6.21.0",
27
26
  "eslint": "^8.57.1",
@@ -30,5 +29,10 @@
30
29
  "typescript": "^5.9.3"
31
30
  },
32
31
  "author": "Anduin Xue <anduin@aiursoft.com>",
33
- "license": "MIT"
32
+ "license": "MIT",
33
+ "overrides": {
34
+ "@typescript-eslint/typescript-estree": {
35
+ "minimatch": "^11.0.5"
36
+ }
37
+ }
34
38
  }