@moneko/core 3.41.0 → 3.42.0-beta.0
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/lib/lint/eslint/base.d.mts +2 -0
- package/lib/lint/eslint/base.mjs +1 -0
- package/lib/lint/eslint/index.d.mts +2 -0
- package/lib/lint/eslint/index.mjs +1 -0
- package/lib/lint/eslint/react.d.mts +2 -0
- package/lib/lint/eslint/react.mjs +1 -0
- package/lib/lint/eslint/solid.d.mts +2 -0
- package/lib/lint/eslint/solid.mjs +1 -0
- package/lib/lint/eslint/vue.d.mts +2 -0
- package/lib/lint/eslint/vue.mjs +1 -0
- package/lib/lint/stylelint/config.d.mts +2 -0
- package/lib/lint/stylelint/config.mjs +1 -0
- package/lib/lint/stylelint/index.d.mts +1 -0
- package/lib/lint/stylelint/index.mjs +1 -0
- package/lib/loader/react-compiler.cjs +1 -1
- package/lib/loader/react-compiler.d.cts +2 -2
- package/package.json +85 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from"@moneko/eslint/base";export default e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{ESLint,loadESLint}from"@moneko/eslint";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from"@moneko/eslint/react";export default e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import o from"@moneko/eslint/solid";export default o;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from"@moneko/eslint/vue";export default e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import o from"@moneko/stylelint/config";export default o;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { type Config, type ConfigRuleSettings, type CoreRules, type CosmiconfigResult, type CssSyntaxError, type CustomSyntax, type DisabledRange, type DisabledRangeObject, type DisabledWarning, type DisableOptions, type DisableOptionsReport, type DisablePropertyName, type DisableReportRange, type EditInfo, type FixCallback, type FixMode, type FixObject, type Formatter, type FormatterType, type GetLintSourceOptions, type GetPostcssOptions, type InternalApi, type LinterOptions, type LinterResult, type LintResult, type LonghandSubPropertiesOfShorthandProperties, type Plugin, type PostcssPluginOptions, type PostcssResult, type Problem, type Processor, type PublicApi, type Range, type Rule, type RuleBase, type RuleContext, type RuleMessage, type RuleMessages, type RuleMeta, type RuleOptions, type RuleOptionsPossible, type Severity, type ShorthandProperties, stylelint, type StylelintPostcssResult, type Utils, type Warning, type WarningOptions } from '@moneko/stylelint';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{stylelint}from"@moneko/stylelint";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"default",{enumerable:!0,get:function(){return
|
|
1
|
+
"use strict";var e;Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"default",{enumerable:!0,get:function(){return l}});const r=require("@moneko/eslint/babel-core"),t=require("@moneko/eslint/react-compiler"),o=(e=require("../commom/log.mjs"))&&e.__esModule?e:{default:e};async function l(e){let l=this.async();this.cacheable&&this.cacheable(),(0,r.transform)(e,{sourceFileName:this.resourcePath,filename:this.resourcePath,sourceMaps:!1,plugins:[[t.BabelPluginReactCompiler,this.getOptions()]],cloneInputAst:!1,ast:!1,configFile:!1,babelrc:!1},(r,t)=>{if(r){(0,o.default)(r),l(r,e);return}if(null===t){l(Error(`Failed to transform "${this.resourcePath}"`));return}l(null,t.code||"",null===t.map?void 0:t.map)})}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { transform } from '@babel
|
|
2
|
-
import BabelPluginReactCompiler from '
|
|
1
|
+
import { transform } from '@moneko/eslint/babel-core';
|
|
2
|
+
import { BabelPluginReactCompiler } from '@moneko/eslint/react-compiler';
|
|
3
3
|
import type { LoaderContext } from 'webpack';
|
|
4
4
|
import log from '../commom/log.mjs';
|
|
5
5
|
export interface ReactCompilerOption {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moneko/core",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.42.0-beta.0",
|
|
4
4
|
"description": "core",
|
|
5
5
|
"main": "lib/index.mjs",
|
|
6
6
|
"type": "module",
|
|
@@ -12,6 +12,89 @@
|
|
|
12
12
|
"mo": "lib/bin/index.mjs",
|
|
13
13
|
"pure-lint": "lib/bin/pure-lint.mjs"
|
|
14
14
|
},
|
|
15
|
+
"exports": {
|
|
16
|
+
".": {
|
|
17
|
+
"import": {
|
|
18
|
+
"types": "./lib/index.d.mts",
|
|
19
|
+
"default": "./lib/index.mjs"
|
|
20
|
+
},
|
|
21
|
+
"default": {
|
|
22
|
+
"types": "./lib/index.d.mts",
|
|
23
|
+
"default": "./lib/index.mjs"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"./eslint": {
|
|
27
|
+
"import": {
|
|
28
|
+
"types": "./lib/lint/eslint/index.d.mts",
|
|
29
|
+
"default": "./lib/lint/eslint/index.mjs"
|
|
30
|
+
},
|
|
31
|
+
"default": {
|
|
32
|
+
"types": "./lib/lint/eslint/index.d.mts",
|
|
33
|
+
"default": "./lib/lint/eslint/index.mjs"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"./eslint/base": {
|
|
37
|
+
"import": {
|
|
38
|
+
"types": "./lib/lint/eslint/base.d.mts",
|
|
39
|
+
"default": "./lib/lint/eslint/base.mjs"
|
|
40
|
+
},
|
|
41
|
+
"default": {
|
|
42
|
+
"types": "./lib/lint/eslint/base.d.mts",
|
|
43
|
+
"default": "./lib/lint/eslint/base.mjs"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"./eslint/react": {
|
|
47
|
+
"import": {
|
|
48
|
+
"types": "./lib/lint/eslint/react.d.mts",
|
|
49
|
+
"default": "./lib/lint/eslint/react.mjs"
|
|
50
|
+
},
|
|
51
|
+
"default": {
|
|
52
|
+
"types": "./lib/lint/eslint/react.d.mts",
|
|
53
|
+
"default": "./lib/lint/eslint/react.mjs"
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"./eslint/vue": {
|
|
57
|
+
"import": {
|
|
58
|
+
"types": "./lib/lint/eslint/vue.d.mts",
|
|
59
|
+
"default": "./lib/lint/eslint/vue.mjs"
|
|
60
|
+
},
|
|
61
|
+
"default": {
|
|
62
|
+
"types": "./lib/lint/eslint/vue.d.mts",
|
|
63
|
+
"default": "./lib/lint/eslint/vue.mjs"
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"./eslint/solid": {
|
|
67
|
+
"import": {
|
|
68
|
+
"types": "./lib/lint/eslint/solid.d.mts",
|
|
69
|
+
"default": "./lib/lint/eslint/solid.mjs"
|
|
70
|
+
},
|
|
71
|
+
"default": {
|
|
72
|
+
"types": "./lib/lint/eslint/solid.d.mts",
|
|
73
|
+
"default": "./lib/lint/eslint/solid.mjs"
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"./stylelint": {
|
|
77
|
+
"import": {
|
|
78
|
+
"types": "./lib/lint/stylelint/index.d.mts",
|
|
79
|
+
"default": "./lib/lint/stylelint/index.mjs"
|
|
80
|
+
},
|
|
81
|
+
"default": {
|
|
82
|
+
"types": "./lib/lint/stylelint/index.d.mts",
|
|
83
|
+
"default": "./lib/lint/stylelint/index.mjs"
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"./stylelint/config": {
|
|
87
|
+
"import": {
|
|
88
|
+
"types": "./lib/lint/stylelint/config.d.mts",
|
|
89
|
+
"default": "./lib/lint/stylelint/config.mjs"
|
|
90
|
+
},
|
|
91
|
+
"default": {
|
|
92
|
+
"types": "./lib/lint/stylelint/config.d.mts",
|
|
93
|
+
"default": "./lib/lint/stylelint/config.mjs"
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
"./package.json": "./package.json"
|
|
97
|
+
},
|
|
15
98
|
"keywords": [
|
|
16
99
|
"moneko",
|
|
17
100
|
"core"
|
|
@@ -25,7 +108,7 @@
|
|
|
25
108
|
"dependencies": {
|
|
26
109
|
"@fastify/http-proxy": "9.5.0",
|
|
27
110
|
"@moneko/convert": "1.0.1",
|
|
28
|
-
"@moneko/eslint": "1.
|
|
111
|
+
"@moneko/eslint": "1.5.0",
|
|
29
112
|
"@moneko/mdx": "0.1.44",
|
|
30
113
|
"@moneko/raw-import": "0.0.3",
|
|
31
114
|
"@moneko/stylelint": "1.3.0",
|
|
@@ -58,7 +141,6 @@
|
|
|
58
141
|
"@types/stylis": "4.2.7",
|
|
59
142
|
"@types/webpack-bundle-analyzer": "4.7.0",
|
|
60
143
|
"@types/webpack-hot-middleware": "2.25.9",
|
|
61
|
-
"babel-plugin-react-compiler": "19.0.0-beta-e993439-20250405",
|
|
62
144
|
"sass": "1.86.3",
|
|
63
145
|
"sass-loader": "16.0.5",
|
|
64
146
|
"solid-refresh": "0.7.5",
|