@eslinted/core 4.0.2 → 4.0.4
Sign up to get free protection for your applications and to get access to all the features.
- package/.github/workflows/RELEASE.yml +1 -0
- package/.github/workflows/rc.yml +1 -0
- package/package.json +46 -17
- package/tsconfig.json +5 -4
- /package/{types → typings}/typioca/literals/number/bases/base32.d.ts +0 -0
- /package/{types → typings}/typioca/literals/number/bases/base64.d.ts +0 -0
- /package/{types → typings}/typioca/literals/number/bases/binary.d.ts +0 -0
- /package/{types → typings}/typioca/literals/number/bases/decimal.d.ts +0 -0
- /package/{types → typings}/typioca/literals/number/bases/hex.d.ts +0 -0
- /package/{types → typings}/typioca/literals/number/bases/octal.d.ts +0 -0
- /package/{types → typings}/typioca/literals/number/bases/quatral.d.ts +0 -0
- /package/{types → typings}/typioca/literals/number/bases/ternary.d.ts +0 -0
- /package/{types → typings}/typioca/literals/string/letter/digit/extended/base64/index.d.ts +0 -0
- /package/{types → typings}/typioca/literals/string/letter/digit/extended/hex/index.d.ts +0 -0
- /package/{types → typings}/typioca/literals/string/letter/digit/index.d.ts +0 -0
- /package/{types → typings}/typioca/literals/string/letter/index.d.ts +0 -0
- /package/{types → typings}/typioca/primitive/index.d.ts +0 -0
- /package/{types → typings}/typioca/safe/index.d.ts +0 -0
- /package/{types → typings}/typioca/safe/numbers/finite/index.d.ts +0 -0
- /package/{types → typings}/typioca/safe/numbers/fint.d.ts +0 -0
- /package/{types → typings}/typioca/safe/numbers/integer/index.d.ts +0 -0
- /package/{types → typings}/typioca/safe/numbers/integer/numberful/index.d.ts +0 -0
- /package/{types → typings}/typioca/safe/numbers/polarity/Negative.d.ts +0 -0
- /package/{types → typings}/typioca/safe/numbers/polarity/Positive.d.ts +0 -0
- /package/{types → typings}/typioca/safe/numbers/polarity/pole/index.d.ts +0 -0
- /package/{types → typings}/typioca/safe/strings/char.d.ts +0 -0
- /package/{types → typings}/typioca/safe/strings/stringful/index.d.ts +0 -0
- /package/{types → typings}/typioca/safe/strings/stringful/length/index.d.ts +0 -0
- /package/{types → typings}/typioca/utility/interface/build/particord/index.d.ts +0 -0
- /package/{types → typings}/typioca/utility/interface/build/properties/Field.d.ts +0 -0
- /package/{types → typings}/typioca/utility/interface/build/properties/Flag.d.ts +0 -0
- /package/{types → typings}/typioca/utility/interface/build/properties/Limit.d.ts +0 -0
- /package/{types → typings}/typioca/utility/interface/build/properties/List.d.ts +0 -0
- /package/{types → typings}/typioca/utility/interface/build/properties/Listish.d.ts +0 -0
- /package/{types → typings}/typioca/utility/interface/build/properties/Scalar.d.ts +0 -0
- /package/{types → typings}/typioca/utility/interface/build/properties/property/index.d.ts +0 -0
- /package/{types → typings}/typioca/utility/interface/build/recordful/index.d.ts +0 -0
- /package/{types → typings}/typioca/utility/interface/build/tables/FieldTable.d.ts +0 -0
- /package/{types → typings}/typioca/utility/interface/build/tables/FlagTable.d.ts +0 -0
- /package/{types → typings}/typioca/utility/interface/build/tables/ListTable.d.ts +0 -0
- /package/{types → typings}/typioca/utility/interface/build/tables/ListishTable.d.ts +0 -0
- /package/{types → typings}/typioca/utility/interface/build/tables/ScalarTable.d.ts +0 -0
- /package/{types → typings}/typioca/utility/interface/build/tables/table/index.d.ts +0 -0
- /package/{types → typings}/typioca/utility/interface/identity/interface/index.d.ts +0 -0
- /package/{types → typings}/typioca/utility/interface/identity/keys/index.d.ts +0 -0
- /package/{types → typings}/typioca/utility/interface/transform/partial/unrequire/index.d.ts +0 -0
- /package/{types → typings}/typioca/utility/iterable/build/arrays/array/index.d.ts +0 -0
- /package/{types → typings}/typioca/utility/iterable/build/arrays/index.d.ts +0 -0
- /package/{types → typings}/typioca/utility/iterable/build/tuples/index.d.ts +0 -0
- /package/{types → typings}/typioca/utility/iterable/build/tuples/tuple/index.d.ts +0 -0
- /package/{types → typings}/typioca/utility/iterable/identity/array/index.d.ts +0 -0
- /package/{types → typings}/typioca/utility/iterable/identity/array/length/index.d.ts +0 -0
- /package/{types → typings}/typioca/utility/iterable/identity/dyad.d.ts +0 -0
- /package/{types → typings}/typioca/utility/iterable/identity/monad.d.ts +0 -0
- /package/{types → typings}/typioca/utility/iterable/identity/triad.d.ts +0 -0
- /package/{types → typings}/typioca/utility/iterable/transform/flat/index.d.ts +0 -0
- /package/{types → typings}/typioca/utility/iterable/transform/flat/unflat/index.d.ts +0 -0
- /package/{types → typings}/typioca/utility/iterable/transform/string/index.d.ts +0 -0
- /package/{types → typings}/typioca/utility/iterable/transform/string/stringify/index.d.ts +0 -0
- /package/{types → typings}/typioca/utility/nullable/index.d.ts +0 -0
- /package/{types → typings}/typioca/utility/nullable/null/index.d.ts +0 -0
- /package/{types → typings}/typioca/utility/object/build/index.d.ts +0 -0
- /package/{types → typings}/typioca/utility/primitive/boolean/true/index.d.ts +0 -0
- /package/{types → typings}/typioca/utility/primitive/index.d.ts +0 -0
- /package/{types → typings}/typioca/utility/primitive/number/length/index.d.ts +0 -0
- /package/{types → typings}/typioca/utility/primitive/number/length/numbered/index.d.ts +0 -0
- /package/{types → typings}/typioca/utility/primitive/string/fake/index.d.ts +0 -0
- /package/{types → typings}/typioca/utility/primitive/string/literalful/index.d.ts +0 -0
- /package/{types → typings}/typioca/utility/primitive/string/literalful/literal/index.d.ts +0 -0
package/.github/workflows/rc.yml
CHANGED
package/package.json
CHANGED
@@ -1,23 +1,28 @@
|
|
1
1
|
{
|
2
|
-
"_schemaVersion": "20.
|
2
|
+
"_schemaVersion": "20.18.0",
|
3
3
|
"name": "@eslinted/core",
|
4
|
-
"version": "4.0.
|
4
|
+
"version": "4.0.4",
|
5
5
|
"description": "Core ESLint flat config factory npm package `linted`.",
|
6
6
|
"keywords": [],
|
7
|
+
"repository": "github:jimmy-zhening-luo/linted-core",
|
8
|
+
"homepage": "https://github.com/jimmy-zhening-luo/linted-core#readme",
|
9
|
+
"bugs": "https://github.com/jimmy-zhening-luo/linted-core/issues",
|
7
10
|
"license": "MIT",
|
8
11
|
"private": false,
|
9
12
|
"publishConfig": {
|
10
13
|
"access": "public"
|
11
14
|
},
|
12
|
-
"repository": "github:jimmy-zhening-luo/linted-core",
|
13
|
-
"homepage": "https://github.com/jimmy-zhening-luo/linted-core#readme",
|
14
|
-
"bugs": "https://github.com/jimmy-zhening-luo/linted-core/issues",
|
15
15
|
"type": "module",
|
16
16
|
"main": "dist/index.js",
|
17
17
|
"types": "dist/index.d.ts",
|
18
|
+
"config": {
|
19
|
+
"language": "ts",
|
20
|
+
"fix": "true",
|
21
|
+
"lint": "false"
|
22
|
+
},
|
18
23
|
"engineStrict": true,
|
19
24
|
"engines": {
|
20
|
-
"node": ">=20.
|
25
|
+
"node": ">=20.18.0",
|
21
26
|
"npm": ">=10.8.2"
|
22
27
|
},
|
23
28
|
"peerDependenciesMeta": {},
|
@@ -26,23 +31,47 @@
|
|
26
31
|
},
|
27
32
|
"devDependencies": {
|
28
33
|
"npm-run-all": "^4.1.5",
|
34
|
+
"run-script-os": "^1.1.6",
|
35
|
+
"ts-add-js-extension": "^1.6.4",
|
29
36
|
"typescript": "^5.6.3"
|
30
37
|
},
|
31
38
|
"scripts": {
|
32
|
-
"build": "run-
|
33
|
-
"build:
|
34
|
-
"build:
|
35
|
-
"
|
36
|
-
"
|
37
|
-
"
|
39
|
+
"build": "run-os",
|
40
|
+
"build:default": "npm run rebuild -- $npm_package_config_language $npm_package_config_fix $npm_package_config_lint default",
|
41
|
+
"build:windows": "npm run rebuild -- %npm_package_config_language% %npm_package_config_fix% %npm_package_config_lint% windows",
|
42
|
+
"rebuild": "run-s \"clean:{1}:{4}\" \"compile:{1}:*\" \"fix:{2} -- {1}\" \"lint:{3}\" --",
|
43
|
+
"clean:ts:default": "rm -rf dist",
|
44
|
+
"clean:ts:windows": "cmd /c if exist dist rmdir /s /q dist",
|
45
|
+
"clean:svelte:default": "rm -rf build .svelte-kit",
|
46
|
+
"clean:svelte:windows": "run-s clean:svelte:windows:*",
|
47
|
+
"clean:svelte:windows:build": "cmd /c if exist build rmdir /s /q build",
|
48
|
+
"clean:svelte:windows:kit": "cmd /c if exist .svelte-kit rmdir /s /q .svelte-kit",
|
49
|
+
"compile:ts:compile": "tsc",
|
50
|
+
"compile:svelte:sync": "svelte-kit sync",
|
51
|
+
"compile:svelte:check": "svelte-check --tsconfig ./tsconfig.json",
|
52
|
+
"compile:svelte:compile": "vite build",
|
53
|
+
"fix:true": "run-s \"fix:dist:{1}\" --",
|
54
|
+
"fix:false": "echo \"Fix skipped (fix=false)\"",
|
55
|
+
"fix:dist:ts": "ts-add-js-extension --dir=dist",
|
56
|
+
"fix:dist:svelte": "echo \"Fix skipped for Svelte (handled by SvelteKit)\"",
|
57
|
+
"li": "eslint --cache --fix",
|
38
58
|
"lint": "npm run build",
|
39
|
-
"lint:
|
40
|
-
"lint:
|
41
|
-
"lint:
|
42
|
-
"
|
59
|
+
"lint:true": "run-os",
|
60
|
+
"lint:true:default": "run-s lint:scope:global:* \"lint:scope:$npm_package_config_language\"",
|
61
|
+
"lint:true:windows": "run-s lint:scope:global:* \"lint:scope:%npm_package_config_language%\"",
|
62
|
+
"lint:false": "(npm run lint:true) || (echo \"Skipped linting (lint=false)\")",
|
63
|
+
"lint:scope:global:configs": "npm run li -- {*,.github/**/*}.{json,jsonc,yml,yaml,js,cjs,mjs,ts,cts,mts}",
|
64
|
+
"lint:scope:global:code": "npm run li -- {src,tests,static,typings}/**/*.{html,js,cjs,mjs,ts,cts,mts}",
|
65
|
+
"lint:scope:ts": "exit 0",
|
66
|
+
"lint:scope:svelte": "npm run li -- {src,tests,static}/**/*.svelte",
|
67
|
+
"postbuild": "echo \"Build (+lint) complete.\"",
|
43
68
|
"pretest": "npm run build",
|
44
69
|
"test": "",
|
45
|
-
"start": "
|
70
|
+
"start": "run-os",
|
71
|
+
"start:default": "npm run starter:$npm_package_config_language",
|
72
|
+
"start:windows": "npm run starter:%npm_package_config_language%",
|
73
|
+
"starter:ts": "node .",
|
74
|
+
"starter:svelte": "vite preview",
|
46
75
|
"prestart": "npm test",
|
47
76
|
"prepublishOnly": "npm test",
|
48
77
|
"predeploy": "npm test",
|
package/tsconfig.json
CHANGED
@@ -1,11 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"display": "@jimbojet/tsc",
|
3
3
|
"$schema": "https://json.schemastore.org/tsconfig",
|
4
|
-
"_version": "5.
|
4
|
+
"_version": "5.6.1",
|
5
5
|
"include": [
|
6
6
|
"*.config.ts",
|
7
7
|
"src/**/*.ts",
|
8
|
-
"
|
8
|
+
"tests/**/*.ts",
|
9
|
+
"typings/**/*.d.ts",
|
9
10
|
],
|
10
11
|
"exclude": [],
|
11
12
|
"compilerOptions": {
|
@@ -40,8 +41,8 @@
|
|
40
41
|
// "allowUmdGlobalAccess": true,
|
41
42
|
// "baseUrl": "./",
|
42
43
|
// "customConditions": [],
|
43
|
-
"module": "
|
44
|
-
"moduleResolution": "
|
44
|
+
"module": "es2022",
|
45
|
+
"moduleResolution": "bundler",
|
45
46
|
// "moduleSuffixes": [],
|
46
47
|
// "noResolve": true,
|
47
48
|
// "paths": { "*": ["node_modules/*"] },
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|