@moneko/core 3.55.0-beta.2 → 3.55.0-beta.3
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 +1 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"default",{enumerable:!0,get:function(){return t}});const e=require("@moneko/eslint/react-compiler");function t(t){let r,s=this.getOptions();if(r="annotation"===s.compilationMode?t.includes("use memo")||t.includes("use forget"):t.includes("react")||this.resourcePath.endsWith(".tsx")||this.resourcePath.endsWith(".jsx"),this.resourcePath.endsWith(".d.ts")||!r)return t;this.cacheable&&this.cacheable();let i=(0,e.runBabelPluginReactCompiler)(t,this.resourcePath,"typescript",s);return i?.code??t}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{parentPort as
|
|
1
|
+
import{parentPort as e}from"node:worker_threads";import{runBabelPluginReactCompiler as o}from"@moneko/eslint/react-compiler";e?.on("message",({sourceCode:r,resourcePath:t,options:m})=>{let s=o(r,t,"typescript",m);e?.postMessage([null,s.code??r,s.map??void 0])});
|
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moneko/core",
|
|
3
|
-
"version": "3.55.0-beta.
|
|
3
|
+
"version": "3.55.0-beta.3",
|
|
4
4
|
"description": "core",
|
|
5
5
|
"main": "lib/index.mjs",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"build": "rm -rf ./lib && node build.mjs && tsc",
|
|
9
|
-
"prepublishOnly": "node build.mjs"
|
|
9
|
+
"prepublishOnly": "node build.mjs",
|
|
10
|
+
"pin": "node lib/bin/index.mjs pin"
|
|
10
11
|
},
|
|
11
12
|
"bin": {
|
|
12
13
|
"mo": "lib/bin/index.mjs",
|
|
@@ -108,7 +109,7 @@
|
|
|
108
109
|
"license": "MIT",
|
|
109
110
|
"dependencies": {
|
|
110
111
|
"@moneko/convert": "1.1.0",
|
|
111
|
-
"@moneko/eslint": "1.9.
|
|
112
|
+
"@moneko/eslint": "1.9.2-beta.0",
|
|
112
113
|
"@moneko/mdx": "0.1.44",
|
|
113
114
|
"@moneko/raw-import": "0.0.3",
|
|
114
115
|
"@moneko/request": "1.6.2",
|
|
@@ -116,7 +117,7 @@
|
|
|
116
117
|
"@moneko/transform-imports": "1.0.0",
|
|
117
118
|
"@moneko/utils": "0.3.3",
|
|
118
119
|
"@swc/core": "1.13.5",
|
|
119
|
-
"browserslist": "4.
|
|
120
|
+
"browserslist": "4.26.2",
|
|
120
121
|
"chokidar": "4.0.3",
|
|
121
122
|
"core-js": "3.45.1",
|
|
122
123
|
"core-js-compat": "3.45.1",
|
|
@@ -125,7 +126,7 @@
|
|
|
125
126
|
"less-loader": "12.3.0",
|
|
126
127
|
"lightningcss": "1.30.1",
|
|
127
128
|
"marked-completed": "1.2.14",
|
|
128
|
-
"memfs": "4.
|
|
129
|
+
"memfs": "4.42.0",
|
|
129
130
|
"mini-css-extract-plugin": "2.9.4",
|
|
130
131
|
"style-loader": "4.0.0",
|
|
131
132
|
"swc-loader": "0.2.6",
|
|
@@ -141,7 +142,7 @@
|
|
|
141
142
|
"@types/stylis": "4.2.7",
|
|
142
143
|
"@types/webpack-bundle-analyzer": "4.7.0",
|
|
143
144
|
"@types/webpack-hot-middleware": "2.25.10",
|
|
144
|
-
"sass": "1.92.
|
|
145
|
+
"sass": "1.92.1",
|
|
145
146
|
"sass-loader": "16.0.5",
|
|
146
147
|
"solid-refresh": "0.7.5",
|
|
147
148
|
"stylis": "4.3.6",
|
package/typings/typings.d.ts
CHANGED