@eslinted/core 14.2.0-rc.0 → 14.2.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.
Files changed (1) hide show
  1. package/package.json +23 -17
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
- "_schemaVersion": "22.11.2",
2
+ "_schemaVersion": "22.11.3",
3
3
  "name": "@eslinted/core",
4
- "version": "14.2.0-rc.0",
4
+ "version": "14.2.1",
5
5
  "description": "Core ESLint flat config factory npm package `linted`.",
6
6
  "keywords": [],
7
7
  "repository": "github:jimmy-zhening-luo/linted-core",
@@ -33,7 +33,7 @@
33
33
  "devDependencies": {
34
34
  "@types/chai": "^5.0.1",
35
35
  "@types/mocha": "^10.0.10",
36
- "@types/node": "22.9.3",
36
+ "@types/node": "22.10.0",
37
37
  "chai": "^5.1.2",
38
38
  "mocha": "^10.8.2",
39
39
  "npm-run-all": "^4.1.5",
@@ -42,10 +42,16 @@
42
42
  "typescript": "^5.7.2"
43
43
  },
44
44
  "scripts": {
45
+ "prebuild": "npm ci || run-s prebuild:reinstall:*",
46
+ "prebuild:reinstall:install": "npm i",
47
+ "prebuild:reinstall:add": "git add *",
48
+ "prebuild:reinstall:commit": "run-os",
49
+ "prebuild:reinstall:commit:default": "git commit -m \"reinstall ${npm_package_version}\"",
50
+ "prebuild:reinstall:commit:windows": "git commit -m \"reinstall %npm_package_version%\"",
45
51
  "build": "run-os",
46
- "build:default": "npm run rebuild -- $npm_package_config_language $npm_package_config_lint default",
47
- "build:windows": "npm run rebuild -- %npm_package_config_language% %npm_package_config_lint% windows",
48
- "rebuild": "run-s \"clean:{1}:{3}\" \"compile:{1}:*\" \"lint:{2}\" \"test:{1}\" --",
52
+ "build:default": "npm run rebuild+lint+test -- $npm_package_config_language $npm_package_config_lint default",
53
+ "build:windows": "npm run rebuild+lint+test -- %npm_package_config_language% %npm_package_config_lint% windows",
54
+ "rebuild+lint+test": "run-s \"clean:{1}:{3}\" \"compile:{1}:*\" \"lint:{2}\" \"test:{1}\" --",
49
55
  "clean:ts:default": "rm -rf dist",
50
56
  "clean:ts:windows": "cmd /c if exist dist rmdir /s /q dist",
51
57
  "clean:svelte:default": "rm -rf build .svelte-kit",
@@ -61,26 +67,26 @@
61
67
  "compile:svelte:sync": "svelte-kit sync",
62
68
  "compile:svelte:check": "svelte-check --tsconfig ./tsconfig.json",
63
69
  "compile:svelte:compile": "vite build",
64
- "li": "eslint --cache --fix",
65
70
  "lint": "npm run build",
66
71
  "lint:true": "run-os",
67
- "lint:true:default": "run-p lint:scope:global:* \"lint:scope:$npm_package_config_language\"",
68
- "lint:true:windows": "run-p lint:scope:global:* \"lint:scope:%npm_package_config_language%\"",
72
+ "lint:true:default": "run-s lint:scope:global:* \"lint:scope:$npm_package_config_language\"",
73
+ "lint:true:windows": "run-s lint:scope:global:* \"lint:scope:%npm_package_config_language%\"",
69
74
  "lint:false": "(npm run lint:true) || (echo \"Skipped linting (lint=false)\")",
70
- "lint:scope:global:configs": "npm run li -- {*,.github/**/*}.{json,jsonc,yml,yaml,js,cjs,mjs,ts,cts,mts}",
71
- "lint:scope:global:code": "npm run li -- {src,tests,static,typings}/**/*.{html,js,cjs,mjs,ts,cts,mts}",
72
- "lint:scope:ts": "exit 0",
73
- "lint:scope:svelte": "npm run li -- {src,tests,static}/**/*.svelte",
75
+ "lint:scope:global:configs": "npm run linter -- {*,.github/**/*}.{json,jsonc,yml,yaml,js,cjs,mjs,ts,cts,mts}",
76
+ "lint:scope:global:code": "npm run linter -- {src,tests,static,typings}/**/*.{html,js,cjs,mjs,ts,cts,mts}",
77
+ "lint:scope:ts": "echo \"Linting `ts`\"",
78
+ "lint:scope:svelte": "npm run linter -- {src,tests,static}/**/*.svelte",
79
+ "linter": "eslint --cache --fix",
74
80
  "postbuild": "echo \"Build (+lint) complete.\"",
75
81
  "pretest": "npm run build",
76
82
  "test": "",
77
83
  "test:ts": "mocha",
78
84
  "test:svelte": "",
79
85
  "start": "run-os",
80
- "start:default": "npm run starter:$npm_package_config_language",
81
- "start:windows": "npm run starter:%npm_package_config_language%",
82
- "starter:ts": "node .",
83
- "starter:svelte": "vite preview",
86
+ "start:default": "npm run start+os:$npm_package_config_language",
87
+ "start:windows": "npm run start+os:%npm_package_config_language%",
88
+ "start+os:ts": "node .",
89
+ "start+os:svelte": "vite preview",
84
90
  "prestart": "npm test",
85
91
  "prepublishOnly": "npm test",
86
92
  "postpublish": "run-os",