@moneko/core 3.40.4 → 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/commom/ca.d.mts +5 -5
- package/lib/commom/ca.mjs +1 -1
- package/lib/commom/paths.d.mts +1 -0
- package/lib/commom/paths.mjs +1 -1
- package/lib/common.d.mts +2 -2
- package/lib/common.mjs +1 -1
- 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 +98 -10
- package/typings/typings.d.ts +4 -0
package/lib/commom/ca.d.mts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { exec, type ExecException, type PromiseWithChild } from 'node:child_process';
|
|
1
|
+
import { type ChildProcess, exec, type ExecException, type PromiseWithChild } from 'node:child_process';
|
|
2
2
|
import { join, relative } from 'node:path';
|
|
3
3
|
import { platform } from 'node:process';
|
|
4
4
|
import { promisify } from 'node:util';
|
|
5
5
|
import { fileExists, loadFile, println, saveFile } from '@moneko/utils';
|
|
6
|
-
import { createCA, createCert } from 'mkcert';
|
|
6
|
+
import { type Certificate, createCA, createCert } from 'mkcert';
|
|
7
7
|
import log from './log.mjs';
|
|
8
8
|
import { getIPv4 } from './net.mjs';
|
|
9
9
|
import paths from './paths.mjs';
|
|
@@ -13,6 +13,6 @@ type ExecPromise = (command: string) => PromiseWithChild<{
|
|
|
13
13
|
}>;
|
|
14
14
|
declare const execPromise: ExecPromise;
|
|
15
15
|
declare async function isCertificateInstalled(organization: string): Promise<boolean>;
|
|
16
|
-
declare function installCallback(error: ExecException | null, _stdout: string, stderr: string);
|
|
17
|
-
export declare function installCA(certPath: string);
|
|
18
|
-
export declare async function setupCert(domain?: string, install?: boolean)
|
|
16
|
+
declare function installCallback(error: ExecException | null, _stdout: string, stderr: string): void;
|
|
17
|
+
export declare function installCA(certPath: string): ChildProcess | void;
|
|
18
|
+
export declare async function setupCert(domain?: string, install?: boolean): Promise<Certificate>;
|
package/lib/commom/ca.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{exec as t}from"node:child_process";import{join as r,relative as e}from"node:path";import{platform as o}from"node:process";import{promisify as i}from"node:util";import{fileExists as a,loadFile as n,println as l,saveFile as c}from"@moneko/utils";import{createCA as s,createCert as m}from"mkcert";import u from"./log.mjs";import{getIPv4 as d}from"./net.mjs";import p from"./paths.mjs";let f=i(t);async function y(t){try{if("darwin"===o){let{stdout:r}=await f(`security find-certificate -c "${t}" -a`);return r.length>0}if("win32"===o){let{stdout:r}=await f(`certutil -store -user Root | findstr /C:"${t}"`);return r.length>0}}catch(t){u(Error(t))}return!1}function h(t,r,e){if(t&&!e.includes("already exists")){u(t);return}}export function installCA(r){return"darwin"===o?t(`sudo security add-trusted-cert -d -r trustRoot -k "/Library/Keychains/System.keychain" "${r}"`,h):"win32"===o?t(`certutil -addstore -user "Root" "${r}"`,h):void l(`⚠️ 暂不支持自动安装 CA 的平台: ${o}`)}export async function setupCert(t="localhost",o=!0){let i=e(p.programPath,`${p.corePath}/cert/cert.pem`),l=e(p.programPath,`${p.corePath}/cert/key.pem`),u="Local Development CA - DO NOT TRUST"
|
|
1
|
+
import{exec as t}from"node:child_process";import{join as r,relative as e}from"node:path";import{platform as o}from"node:process";import{promisify as i}from"node:util";import{fileExists as a,loadFile as n,println as l,saveFile as c}from"@moneko/utils";import{createCA as s,createCert as m}from"mkcert";import u from"./log.mjs";import{getIPv4 as d}from"./net.mjs";import p from"./paths.mjs";let f=i(t);async function y(t){try{if("darwin"===o){let{stdout:r}=await f(`security find-certificate -c "${t}" -a`);return r.length>0}if("win32"===o){let{stdout:r}=await f(`certutil -store -user Root | findstr /C:"${t}"`);return r.length>0}}catch(t){u(Error(t))}return!1}function h(t,r,e){if(t&&!e.includes("already exists")){u(t);return}}export function installCA(r){return"darwin"===o?t(`sudo security add-trusted-cert -d -r trustRoot -k "/Library/Keychains/System.keychain" "${r}"`,h):"win32"===o?t(`certutil -addstore -user "Root" "${r}"`,h):void l(`⚠️ 暂不支持自动安装 CA 的平台: ${o}`)}export async function setupCert(t="localhost",o=!0){let i=e(p.programPath,`${p.corePath}/cert/cert.pem`),l=e(p.programPath,`${p.corePath}/cert/key.pem`),u="Local Development CA - DO NOT TRUST",f=!a(i)||!a(l);if(f){let t=await s({organization:u,validity:7300,countryCode:"CN",state:"Hunan",locality:"Changsha"});await Promise.all([c(i,t.cert),c(l,t.key)])}o&&(!await y(u)||f)&&installCA(i);let h=r(p.CA_DIR,`${t}_cert.pem`),w=r(p.CA_DIR,`${t}_key.pem`);if(f||!a(h)||!a(w)){let r=await Promise.all([n(i),n(l)]),e=await m({ca:{cert:r[0],key:r[1]},domains:[...new Set([t,"localhost","127.0.0.1",d()].filter(Boolean))],organization:u,validity:365});await Promise.all([c(h,e.cert),c(w,e.key)])}let C=await Promise.all([n(h),n(w)]);return{cert:C[0],key:C[1]}}
|
package/lib/commom/paths.d.mts
CHANGED
|
@@ -10,6 +10,7 @@ export declare const yarnArgv: Record<string, string> & {
|
|
|
10
10
|
export declare const CUSTOMCONFIG: string | undefined;
|
|
11
11
|
declare const programPath: string;
|
|
12
12
|
declare const nodeModules: string;
|
|
13
|
+
export declare const TMP_DIR: string;
|
|
13
14
|
declare const paths: {
|
|
14
15
|
readonly nodeModules;
|
|
15
16
|
readonly pnpmNodeModules;
|
package/lib/commom/paths.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{tmpdir as o}from"node:os";import{resolve as e}from"node:path";import t from"node:url";import{fileExists as n}from"@moneko/utils";let c=JSON.parse(process.env.npm_config_argv||'{"original":[]}').original;export const __dirname=t.fileURLToPath(new URL("..",import.meta.url));export const yarnArgv={};for(let o=0,e=c.length;o<e;o++){let e=c[o].split("=");Object.assign(yarnArgv,{[e[0]]:e[1]||!0})}export const CUSTOMCONFIG=process.env.npm_config_config||yarnArgv.config||process.env.__args__config__;let a=process.cwd(),r=e(a,"
|
|
1
|
+
import{tmpdir as o}from"node:os";import{resolve as e}from"node:path";import t from"node:url";import{fileExists as n}from"@moneko/utils";let c=JSON.parse(process.env.npm_config_argv||'{"original":[]}').original;export const __dirname=t.fileURLToPath(new URL("..",import.meta.url));export const yarnArgv={};for(let o=0,e=c.length;o<e;o++){let e=c[o].split("=");Object.assign(yarnArgv,{[e[0]]:e[1]||!0})}export const CUSTOMCONFIG=process.env.npm_config_config||yarnArgv.config||process.env.__args__config__;let a=process.cwd(),r=e(a,"node_modules");export const TMP_DIR=e(o(),"@moneko");let s={nodeModules:r,pnpmNodeModules:e(r,".pnpm/node_modules"),denoNodeModules:e(r,".deno"),corePath:__dirname,programPath:a,CA_DIR:e(TMP_DIR,".ca"),webpackCachePath:e(r,".cache"),lintCachePath:e(r,".cache"),httpCachePath:e(r,".cache/http"),swcCachePath:e(r,".cache/.swc"),configPath:e(a,"config/index.ts"),customConfigPath:e(a,`config/${CUSTOMCONFIG}.ts`),coveragePath:e(a,"coverage/clover.xml"),pagesPath:e(a,"src/pages"),componentsPath:e(a,"components"),mockPath:e(a,"mock")};export const config_files=[n(s.configPath)&&s.configPath,n(s.customConfigPath)&&s.customConfigPath].filter(Boolean);export const routeDir="library"===process.env.APPTYPE?s.componentsPath:s.pagesPath;export default s;
|
package/lib/common.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { extname, join, resolve } from 'node:path';
|
|
2
2
|
import type { Configuration, FileCacheOptions } from 'webpack';
|
|
3
|
-
import paths, { config_files, CUSTOMCONFIG } from './commom/paths.mjs';
|
|
3
|
+
import paths, { config_files, CUSTOMCONFIG, TMP_DIR } from './commom/paths.mjs';
|
|
4
4
|
import require from './commom/require.mjs';
|
|
5
5
|
import OverrideResolverPlugin, { type OverrideResolverOption } from './plugin/override-resolve.mjs';
|
|
6
6
|
import { isObject, node_modules, resolveProgram } from './utils/index.mjs';
|
|
@@ -8,7 +8,7 @@ import { exampleModuleName } from './vm/example.mjs';
|
|
|
8
8
|
import app from './vm/info.mjs';
|
|
9
9
|
import { CONFIG, PUBLICPATH } from './config.mjs';
|
|
10
10
|
import plugins from './plugins.config.mjs';
|
|
11
|
-
import { isDev, isLibrary, NODE_ENV, packageJson } from './process-env.mjs';
|
|
11
|
+
import { isCI, isDev, isLibrary, NODE_ENV, packageJson } from './process-env.mjs';
|
|
12
12
|
export declare const outputConfig: Configuration['output'];
|
|
13
13
|
declare let entryMap: {
|
|
14
14
|
readonly main: string[];
|
package/lib/common.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{extname as e,join as t,resolve as o}from"node:path";import s,{config_files as
|
|
1
|
+
import{extname as e,join as t,resolve as o}from"node:path";import s,{config_files as a,CUSTOMCONFIG as n,TMP_DIR as i}from"./commom/paths.mjs";import r from"./commom/require.mjs";import l from"./plugin/override-resolve.mjs";import{isObject as m,node_modules as c,resolveProgram as p}from"./utils/index.mjs";import{exampleModuleName as u}from"./vm/example.mjs";import h from"./vm/info.mjs";import{CONFIG as d,PUBLICPATH as f}from"./config.mjs";import g from"./plugins.config.mjs";import{isCI as b,isDev as y,isLibrary as j,NODE_ENV as v,packageJson as C}from"./process-env.mjs";export const outputConfig={path:p(j?"docs":"dist"),filename:"js/[name].[contenthash].bundle.js",chunkFilename:"js/[contenthash].chunk.js",assetModuleFilename:t=>{let o=e(t.filename||"").substring(1);return`assets/${o}/[hash][ext]`},library:{name:`${h.projectName}`,type:"umd",umdNamedDefine:!0},globalObject:"self",chunkLoadingGlobal:`webpackJsonp_${C.name}`,pathinfo:y,clean:!y,publicPath:f,asyncChunks:!0,charset:!0,iife:!0,crossOriginLoading:"anonymous",enabledWasmLoadingTypes:["fetch"],hotUpdateChunkFilename:"[id].[fullhash].hot.js",hotUpdateMainFilename:"[runtime].[fullhash].hot.json"};let k={main:[c("@app/entry")]};if(d.polyfill&&k.main.unshift(t(s.corePath,"./polyfills/replace-children.mjs")),y&&d.refresh&&d.env.injectRemoteReactRefresh&&k.main.unshift(r.resolve("@moneko/react/lib/injectRemoteReactRefresh.js")),d.entry&&("string"==typeof d.entry?k={main:[d.entry]}:Object.keys(d.entry)&&(k=Object.assign(k,d.entry))),"string"==typeof k.main&&(k.main=[k.main]),d.output){if("string"==typeof d.output)outputConfig.path=d.output;else if(Object.keys(d.output)){let e=d.output,t={...outputConfig.library};Object.assign(outputConfig,e),"object"==typeof d.output&&e.library&&(outputConfig.library=Object.assign(t,e.library))}}let x={type:"filesystem",allowCollectingMemory:!0,cacheDirectory:s.webpackCachePath,memoryCacheUnaffected:!0,name:`.${[n,v].filter(Boolean).join("-")}`,version:`${C.version}`,buildDependencies:{config:a}};!1===d.cache?x=!1:m(d.cache)&&(x=Object.assign(x,d.cache)),b&&(void 0===d.cache||d.cache&&!d.cache.cacheDirectory)&&(x.cacheDirectory=o(i,C.name));export const commonConfig={name:"client",target:"web",devtool:d.devtool,entry:k,mode:y?"development":"production",stats:"errors-only",cache:x,snapshot:{immutablePaths:[/node_modules\/(?!(@app|@moneko)\/)/],managedPaths:[/^@app\/.+/,/^@moneko\/.+/],buildDependencies:{timestamp:!0,hash:!0}},infrastructureLogging:{level:"error"},externalsPresets:d.externalsPresets,plugins:g,node:{global:!1,__filename:!1,__dirname:!1},experiments:{topLevelAwait:!0,asyncWebAssembly:!0,cacheUnaffected:!0,layers:!0,lazyCompilation:d.lazyCompilation&&y&&{imports:!0,entries:!0,test:e=>{let t=e.nameForCondition();return!!(t&&(t.startsWith(c(u))||t.startsWith(c("@app/comment"))||t.startsWith(s.pagesPath)||t.startsWith(s.componentsPath)))}},buildHttp:m(d.buildHttp)?{allowedUris:[],lockfileLocation:o(s.httpCachePath,"http.lock"),cacheLocation:o(s.httpCachePath,"data"),upgrade:!0,...d.buildHttp}:d.buildHttp,backCompat:!0,futureDefaults:!0,css:!1,outputModule:!1},resolve:{extensions:[".mts",".mjs",".ts",".tsx",".js",".jsx",".json",".wasm"],alias:d.alias,modules:[s.nodeModules,s.pnpmNodeModules,s.denoNodeModules],mainFields:["browser","module","main"],mainFiles:["index"],plugins:d.resolvePlugins,preferAbsolute:!0,cache:!0,fallback:{}},externals:d.externals,output:outputConfig};d.overrideResolve&&commonConfig.resolve.plugins.push(new l(Object.assign({original:d.alias["@"],override:n&&p(n)},d.overrideResolve)));
|
|
@@ -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,28 +1,114 @@
|
|
|
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",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"build": "node build.mjs",
|
|
9
|
-
"prepublishOnly": "
|
|
9
|
+
"prepublishOnly": "node build.mjs"
|
|
10
10
|
},
|
|
11
11
|
"bin": {
|
|
12
|
-
"mo": "
|
|
13
|
-
"pure-lint": "
|
|
12
|
+
"mo": "lib/bin/index.mjs",
|
|
13
|
+
"pure-lint": "lib/bin/pure-lint.mjs"
|
|
14
14
|
},
|
|
15
|
-
"
|
|
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
|
+
},
|
|
98
|
+
"keywords": [
|
|
99
|
+
"moneko",
|
|
100
|
+
"core"
|
|
101
|
+
],
|
|
16
102
|
"author": {
|
|
17
103
|
"name": "moneko",
|
|
18
104
|
"email": "poi.nyaa@qq.com"
|
|
19
105
|
},
|
|
106
|
+
"homepage": "https://monako97.github.io/neko-ui/@moneko/config",
|
|
20
107
|
"license": "MIT",
|
|
21
|
-
"sideEffects": false,
|
|
22
108
|
"dependencies": {
|
|
23
109
|
"@fastify/http-proxy": "9.5.0",
|
|
24
110
|
"@moneko/convert": "1.0.1",
|
|
25
|
-
"@moneko/eslint": "1.
|
|
111
|
+
"@moneko/eslint": "1.5.0",
|
|
26
112
|
"@moneko/mdx": "0.1.44",
|
|
27
113
|
"@moneko/raw-import": "0.0.3",
|
|
28
114
|
"@moneko/stylelint": "1.3.0",
|
|
@@ -55,16 +141,18 @@
|
|
|
55
141
|
"@types/stylis": "4.2.7",
|
|
56
142
|
"@types/webpack-bundle-analyzer": "4.7.0",
|
|
57
143
|
"@types/webpack-hot-middleware": "2.25.9",
|
|
58
|
-
"babel-plugin-react-compiler": "19.0.0-beta-e993439-20250405",
|
|
59
144
|
"sass": "1.86.3",
|
|
60
145
|
"sass-loader": "16.0.5",
|
|
61
146
|
"solid-refresh": "0.7.5",
|
|
62
147
|
"stylis": "4.3.6",
|
|
63
148
|
"webpack-bundle-analyzer": "4.10.2"
|
|
64
149
|
},
|
|
150
|
+
"publishConfig": {
|
|
151
|
+
"access": "public",
|
|
152
|
+
"registry": "https://registry.npmjs.org"
|
|
153
|
+
},
|
|
65
154
|
"files": [
|
|
66
155
|
"lib",
|
|
67
|
-
"typings
|
|
68
|
-
"typings/bundle-analyzer.d.ts"
|
|
156
|
+
"typings"
|
|
69
157
|
]
|
|
70
158
|
}
|