linted 30.17.0 → 30.18.1

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.
@@ -1,3 +1,4 @@
1
+ --- # RELEASE.yml
1
2
  name: NPM Publish (RELEASE)
2
3
  on: { push: { tags: ['v[0-9]+.[0-9]+.[0-9]+'] } }
3
4
  jobs:
@@ -25,3 +26,5 @@ jobs:
25
26
  id: publish
26
27
  run: npm publish
27
28
  env: { NODE_AUTH_TOKEN: "${{secrets.NPM_TOKEN}}" }
29
+
30
+ ...
@@ -1,3 +1,4 @@
1
+ --- # rc.yml
1
2
  name: NPM Publish (rc)
2
3
  on: { push: { tags: ['v[0-9]+.[0-9]+.[0-9]+-rc.[0-9]+'] } }
3
4
  jobs:
@@ -25,3 +26,5 @@ jobs:
25
26
  id: publish
26
27
  run: npm publish
27
28
  env: { NODE_AUTH_TOKEN: "${{secrets.NPM_TOKEN}}" }
29
+
30
+ ...
package/package.json CHANGED
@@ -1,10 +1,31 @@
1
1
  {
2
- "$pkg": "2211.2.1",
2
+ "$pkg": "2211.4.0",
3
3
  "$schema": "https://json.schemastore.org/package",
4
4
  "$help": "https://docs.npmjs.com/cli/configuring-npm/package-json",
5
5
  "name": "linted",
6
- "version": "30.17.0",
6
+ "version": "30.18.1",
7
7
  "repository": "github:jimmy-zhening-luo/linted",
8
+ "description": "ESLint mono-plugin bundler with strict, opinionated defaults for (Stylistic) JavaScript, TypeScript, Svelte, HTML, Tailwind/CSS, JSON, JSONC, YAML, and Mocha.",
9
+ "keywords": [
10
+ "eslint",
11
+ "eslint-config",
12
+ "eslint-plugin",
13
+ "linter",
14
+ "formatter",
15
+ "typescript",
16
+ "javascript",
17
+ "stylistic",
18
+ "svelte",
19
+ "sveltekit",
20
+ "html",
21
+ "css",
22
+ "mocha",
23
+ "tailwindcss",
24
+ "json",
25
+ "jsonc",
26
+ "yaml"
27
+ ],
28
+ "license": "MIT",
8
29
  "private": false,
9
30
  "engineStrict": true,
10
31
  "engines": {
@@ -15,7 +36,7 @@
15
36
  "peerDependencies": {
16
37
  "eslint": "~9.34.0",
17
38
  "eslint-plugin-svelte": "~3.11.0",
18
- "mocha": "^11.7.1",
39
+ "mocha": "^11.7.2",
19
40
  "typescript": "^5.9.2"
20
41
  },
21
42
  "peerDependenciesMeta": {
@@ -32,8 +53,8 @@
32
53
  "dependencies": {
33
54
  "@eslint/css": "0.10.0",
34
55
  "@eslint/json": "0.13.2",
35
- "@eslinted/core": "23.1.1",
36
- "@eslinted/defaults": "12.15.1",
56
+ "@eslinted/core": "23.1.2",
57
+ "@eslinted/defaults": "12.16.1",
37
58
  "@html-eslint/eslint-plugin": "0.46.1",
38
59
  "@stylistic/eslint-plugin": "5.2.3",
39
60
  "eslint-plugin-chai-expect": "3.1.0",
@@ -47,7 +68,7 @@
47
68
  "@types/chai": "^5.2.2",
48
69
  "@types/mocha": "^10.0.10",
49
70
  "chai": "^6.0.1",
50
- "mocha": "^11.7.1",
71
+ "mocha": "^11.7.2",
51
72
  "ts-add-js-extension": "^1.6.6",
52
73
  "typescript": "^5.9.2"
53
74
  },
@@ -56,8 +77,7 @@
56
77
  "scripts": {
57
78
  "clean": "cmd --% /c \"(if exist dist rmdir /s /q dist) & (if exist build rmdir /s /q build) & (if exist .svelte-kit rmdir /s /q .svelte-kit) & (if exist .eslintcache del /f /q .eslintcache)\" || rm -rf dist build .svelte-kit .eslintcache",
58
79
  "prebuild": "npm run clean",
59
- "build": "cmd --% /c \"(if exist svelte.config.js (npm run build:svelte) else (npm run build:ts))\" || npm run build-unix",
60
- "build-unix": "if [ -f svelte.config.js ]; then npm run build:svelte; else npm run build:ts; fi",
80
+ "build": "cmd /c \"(if exist svelte.config.js (npm run build:svelte) else (npm run build:ts))\" || bash -c 'if [ -f svelte.config.js ]; then npm run build:svelte; else npm run build:ts; fi'",
61
81
  "build:ts": "tsc && ts-add-js-extension --dir=dist",
62
82
  "build:svelte": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json && vite build",
63
83
  "postbuild": "npm run lint || echo \"Lint failed. Continuing...\"",
@@ -66,39 +86,16 @@
66
86
  "test": "npm run --if-present test:mocha",
67
87
  "test:mocha": "mocha",
68
88
  "prestart": "npm test",
69
- "start": "cmd --% /c \"(if exist svelte.config.js (npm run start:svelte) else (npm run start:ts))\" || npm run start-unix",
70
- "start-unix": "if [ -f svelte.config.js ]; then npm run start:svelte; else npm run start:ts; fi",
89
+ "start": "cmd --% /c \"(if exist svelte.config.js (npm run start:svelte) else (npm run start:ts))\" || bash -c 'if [ -f svelte.config.js ]; then npm run start:svelte; else npm run start:ts; fi'",
71
90
  "start:ts": "node .",
72
91
  "start:svelte": "vite preview --open",
73
92
  "prepublishOnly": "npm test",
74
- "postpublish": "cmd --% /c \"for /f \"delims=-\" %a in (\"%npm_package_version%\") do if \"%a\" == \"%npm_package_version%\" npm dist-tag add \"%npm_package_name%@%npm_package_version%\" latest\" || npm run postpublish-unix",
75
- "postpublish-unix": "if [ \"${npm_package_version#*-}\" = \"${npm_package_version}\" ]; then npm dist-tag add \"$npm_package_name@$npm_package_version\" latest; fi",
93
+ "postpublish": "cmd --% /c \"for /f \"delims=-\" %a in (\"%npm_package_version%\") do if \"%a\" == \"%npm_package_version%\" npm dist-tag add \"%npm_package_name%@%npm_package_version%\" latest\" || bash -c 'if [ \"${npm_package_version#*-}\" = \"${npm_package_version}\" ]; then npm dist-tag add \"$npm_package_name@$npm_package_version\" latest; fi'",
76
94
  "predeploy": "npm test",
77
95
  "deploy": ""
78
96
  },
79
97
  "publishConfig": {
80
98
  "tag": "next"
81
99
  },
82
- "license": "MIT",
83
- "description": "ESLint mono-plugin bundler with strict, opinionated defaults for (Stylistic) JavaScript, TypeScript, Svelte, HTML, Tailwind/CSS, JSON, JSONC, YAML, and Mocha.",
84
- "keywords": [
85
- "eslint",
86
- "eslint-config",
87
- "eslint-plugin",
88
- "linter",
89
- "formatter",
90
- "typescript",
91
- "javascript",
92
- "stylistic",
93
- "svelte",
94
- "sveltekit",
95
- "html",
96
- "css",
97
- "mocha",
98
- "tailwindcss",
99
- "json",
100
- "jsonc",
101
- "yaml"
102
- ],
103
100
  "author": "Jimmy Zhening Luo <jimmy-zhening-luo@users.noreply.github.com> (https://jimm.my/)"
104
101
  }