@eslinted/core 16.0.4 → 16.0.5

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 +42 -39
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
- "$template": "22.13.8",
2
+ "$template": "22.13.9",
3
3
  "name": "@eslinted/core",
4
- "version": "16.0.4",
4
+ "version": "16.0.5",
5
5
  "description": "Core ESLint flat config factory npm package `linted`.",
6
6
  "repository": "github:jimmy-zhening-luo/linted-core",
7
7
  "license": "MIT",
@@ -36,45 +36,48 @@
36
36
  },
37
37
  "scripts": {
38
38
  "build": "run-os",
39
- "build:default": "npm run rebuild+lint+test -- $npm_package_config_language $npm_package_config_lint default",
40
- "build:windows": "npm run rebuild+lint+test -- %npm_package_config_language% %npm_package_config_lint% windows",
41
- "rebuild+lint+test": "run-s \"clean:{1}:{3}\" \"compile:{1}:*\" \"lint:{2}\" \"test:{1}\" --",
42
- "clean:ts:default": "rm -rf dist",
43
- "clean:ts:windows": "cmd /c if exist dist rmdir /s /q dist",
44
- "clean:svelte:default": "rm -rf build .svelte-kit",
45
- "clean:svelte:windows": "run-s clean:svelte:windows:*",
46
- "clean:svelte:windows:build": "cmd /c if exist build rmdir /s /q build",
47
- "clean:svelte:windows:kit": "cmd /c if exist .svelte-kit rmdir /s /q .svelte-kit",
48
- "compile:ts:compile": "tsc",
49
- "compile:ts:rewrite": "run-os",
50
- "compile:ts:rewrite:default": "npm run compile:ts:rewrite+condition:$npm_package_config_rewrite",
51
- "compile:ts:rewrite:windows": "npm run compile:ts:rewrite+condition:%npm_package_config_rewrite%",
52
- "compile:ts:rewrite+condition:true": "ts-add-js-extension --dir=dist",
53
- "compile:ts:rewrite+condition:false": "echo \"Skip rewrite TypeScript imports (fix=false)\"",
54
- "compile:svelte:sync": "svelte-kit sync",
55
- "compile:svelte:check": "svelte-check --tsconfig ./tsconfig.json",
56
- "compile:svelte:compile": "vite build",
57
- "lint": "npm run build",
58
- "lint:true": "run-os",
59
- "lint:true:default": "run-s lint:scope:global:* \"lint:scope:$npm_package_config_language\"",
60
- "lint:true:windows": "run-s lint:scope:global:* \"lint:scope:%npm_package_config_language%\"",
61
- "lint:false": "(npm run lint:true) || (echo \"Skipped linting (lint=false)\")",
62
- "lint:scope:global:configs": "npm run linter -- {*,.github/**/*,.vscode/**/*}.{js,cjs,mjs,ts,cts,mts,html,json,jsonc,code-snippets,yml,yaml}",
63
- "lint:scope:global:code": "npm run linter -- {src,tests,static,typings,public}/**/*.{js,cjs,mjs,ts,cts,mts,html,json,jsonc,yml,yaml}",
64
- "lint:scope:ts": "echo \"Linting `ts`\"",
65
- "lint:scope:svelte": "npm run linter -- {src,tests,static}/**/*.svelte",
39
+ "build:default": "npm run make -- $npm_package_config_language $npm_package_config_lint default",
40
+ "build:windows": "npm run make -- %npm_package_config_language% %npm_package_config_lint% windows",
41
+ "postbuild": "echo \"Clean built.\"",
42
+ "make": "run-s \"make:clean-{1}+{3}\" \"make:build-{1}:*\" \"make:lint+{2}\" --",
43
+ "make:clean-ts+default": "rm -rf dist",
44
+ "make:clean-ts+windows": "cmd /c if exist dist rmdir /s /q dist",
45
+ "make:clean-svelte+default": "rm -rf build .svelte-kit",
46
+ "make:clean-svelte+windows": "run-p make:clean-svelte+windows:*",
47
+ "make:clean-svelte+windows:build": "cmd /c if exist build rmdir /s /q build",
48
+ "make:clean-svelte+windows:kit": "cmd /c if exist .svelte-kit rmdir /s /q .svelte-kit",
49
+ "make:build-ts:compile": "tsc",
50
+ "make:build-ts:rewrite": "run-os",
51
+ "make:build-ts:rewrite:default": "run-s make:build-ts:rewrite:-$npm_package_config_rewrite",
52
+ "make:build-ts:rewrite:windows": "run-s make:build-ts:rewrite:-%npm_package_config_rewrite%",
53
+ "make:build-ts:rewrite:-true": "ts-add-js-extension --dir=dist",
54
+ "make:build-ts:rewrite:-false": "echo \"Skip rewrite TypeScript import.\"",
55
+ "make:build-svelte:sync": "svelte-kit sync",
56
+ "make:build-svelte:check": "svelte-check --tsconfig ./tsconfig.json",
57
+ "make:build-svelte:compile": "vite build",
58
+ "make:lint+false": "(run-s make:lint+true) || (echo \"Skip lint (optional).\")",
59
+ "make:lint+true": "run-os",
60
+ "make:lint+true:default": "(run-s lint-) && (npm run --if-present lint-$npm_package_config_language)",
61
+ "make:lint+true:windows": "(run-s lint-) && (npm run --if-present lint-%npm_package_config_language%)",
62
+ "lint": "run-s build",
63
+ "lint-": "npm run linter -- {,src/**/,tests/**/,static/**/,typings/**/,public/**/,tools/**/,.github/**/,.vscode/**/}*.{js,cjs,mjs,ts,cts,mts,html,json,jsonc,code-snippets,yml,yaml}",
64
+ "lint-svelte": "npm run linter -- {,src/**/,tests/**/,static/**/,typings/**/,public/**/,tools/**/,.github/**/,.vscode/**/}*",
66
65
  "linter": "eslint --cache --fix",
67
- "postbuild": "echo \"Build (+lint) complete.\"",
68
- "pretest": "npm run build",
69
- "test": "",
70
- "test:ts": "mocha",
71
- "test:svelte": "",
72
- "start": "run-os",
73
- "start:default": "npm run start+os:$npm_package_config_language",
74
- "start:windows": "npm run start+os:%npm_package_config_language%",
75
- "start+os:ts": "node .",
76
- "start+os:svelte": "vite preview",
66
+ "pretest": "run-s build",
67
+ "test": "run-os",
68
+ "test:default": "run-s test-$npm_package_config_language",
69
+ "test:windows": "run-s test-%npm_package_config_language%",
70
+ "test-ts": "mocha",
71
+ "test-svelte": "",
77
72
  "prestart": "npm test",
73
+ "start": "run-os",
74
+ "start:default": "run-s start-$npm_package_config_language",
75
+ "start:windows": "run-s start-%npm_package_config_language%",
76
+ "start-ts": "node .",
77
+ "start-svelte": "vite preview",
78
+ "postinstall": "run-os",
79
+ "postinstall:default": "rm -rf .eslintcache",
80
+ "postinstall:windows": "cmd /c if exist .eslintcache del /f /q .eslintcache",
78
81
  "prepublishOnly": "npm test",
79
82
  "postpublish": "run-os",
80
83
  "postpublish:default": "if [ \"${npm_package_version#*-}\" = \"${npm_package_version}\" ]; then npm dist-tag add \"$npm_package_name@$npm_package_version\" latest; fi",