Compare commits

3 Commits

Author SHA1 Message Date
f468103b00 11
1
2023-08-18 17:27:24 +00:00
774922bbd4 fix: 修复 2023-04-19 03:55:24 +08:00
c70bd748bf 11 2023-04-19 02:09:43 +08:00
20 changed files with 80 additions and 29946 deletions

7
.npmrc
View File

@@ -1,2 +1,7 @@
registry=https://registry.npmmirror.com/
# registry=https://registry.npmmirror.com/
registry=https://registry.npmjs.org/
shamefully-hoist=true
lockfile=false
shared-workspace-lockfile=false
# https://registry.npmjs.org/.

View File

@@ -1,5 +1,5 @@
{
"version": "0.0.2",
"version": "0.0.5",
"useWorkspaces": true,
"packages": [
"packages/*"

22
m.json Normal file
View File

@@ -0,0 +1,22 @@
[
{
"category": "Metadata",
"guid": "0f34b81a-4af7-4719-9958-4cb8f680e7c6",
"name": "JavScraper",
"description": "Emby/Jellyfin 的一个日本电影刮削器插件,可以从某些网站抓取影片信息。",
"owner": "JavScraper",
"overview": "Emby/Jellyfin 的一个日本电影刮削器插件,可以从某些网站抓取影片信息。",
"imageURL": "https://raw.githubusercontent.com/JavScraper/Emby.Plugins.JavScraper/master/Emby.Plugins.JavScraper/thumb.png",
"versions": [
{
"changelog": "增加计划任务:修复缺失的中文字幕标签,需要手动在“计划任务”中执行。",
"targetAbi": "10.6.0.0",
"sourceUrl": "https://github.com/bjrjustin/Emby.Plugins.JavScraper/releases/download/v1.2022.1024.2104/Jellyfin.JavScraper@v1.2022.0523.1110.zip",
"timestamp": "2021-06-22T13:52:37Z",
"version": "1.2021.0622.2145",
"checksum": "fd81ee3cfa8f275d79dc4f81d017e50a"
}
]
}
]

View File

@@ -2,20 +2,19 @@
"name": "root",
"private": true,
"workspaces": [
"packages/*"
"packages/*",
"projects/*"
],
"devDependencies": {
"@babel/runtime": "^7.12.5",
"@types/react": "^18.0.35",
"@babel/runtime": "^7.21.0",
"@types/react": "^18.0.37",
"antd": "^5.4.2",
"babel-plugin-import": "^1.13.6",
"father": "^4.1.8",
"lerna": "^6.6.1",
"typescript": "^5.0.4"
},
"scripts": {
},
"scripts": {},
"dependencies": {
"cnpm": "^9.1.0"
}

View File

@@ -28,6 +28,5 @@
"antd": "^5.4.2",
"react": ">=16.9.0",
"react-dom": ">=16.9.0"
},
"gitHead": "b2627a6b62138d5dff798892c30f464370146f13"
}
}

View File

@@ -2,7 +2,7 @@ import { useEffect } from 'react';
const useTask = () => {
useEffect(() => {
console.log('useTask31231');
console.log('lishican2');
}, []);
};
export default useTask;

View File

@@ -4,9 +4,10 @@ import { defineConfig } from 'father';
export default defineConfig({
esm: {
input: "src",
platform: "browser",
transformer:"esbuild"
input: 'src',
platform: 'browser',
transformer: 'esbuild',
output: 'es',
},
extraBabelPlugins: [

8
packages/bizComponent/es/index.d.ts vendored Normal file
View File

@@ -0,0 +1,8 @@
import React from 'react';
import './index.less';
declare const HelloWorld: React.FC<{
name4: string;
age3: string;
}>;
export default HelloWorld;
//# sourceMappingURL=index.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAQ,cAAc,CAAC;AAEvB,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,KAAK,EAAE,MAAM,CAAC;IAAA,IAAI,EAAC,MAAM,CAAA;CAAE,CAQvD,CAAC;AACF,eAAe,UAAU,CAAC"}

View File

@@ -0,0 +1,13 @@
// src/index.tsx
import { useTask } from "@lishican/antbank-platform-hooks";
import { Button } from "antd";
import React from "react";
import "./index.less";
var HelloWorld = ({ name4 }) => {
useTask();
return /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement(Button, { type: "primary" }, name4));
};
var src_default = HelloWorld;
export {
src_default as default
};

View File

@@ -0,0 +1,6 @@
.red {
color: red;
display: flex;
justify-content: center;
align-items: center;
}

View File

@@ -2,8 +2,8 @@
"name": "@lishican/antbank-platform-ui",
"version": "0.0.2",
"description": "",
"module": "dist/esm/index.js",
"types": "dist/esm/index.d.ts",
"module": "es/index.js",
"types": "es/index.d.ts",
"scripts": {
"dev": "father dev",
"build": "father build",
@@ -32,8 +32,6 @@
},
"dependencies": {
"@lishican/antbank-platform-hooks": "^0.0.2",
"@lishican/antbank-platform-ui": "^0.0.2",
"styled-components": "^5.3.9"
},
"gitHead": "b2627a6b62138d5dff798892c30f464370146f13"
}
}

View File

@@ -4,15 +4,11 @@ import { Button } from 'antd';
import React from 'react';
import './index.less';
const HelloWorld: React.FC<any> = () => {
const HelloWorld: React.FC<{ name4: string,age3:string }> = ({ name4 }) => {
useTask();
return (
<div>
<Button type="primary">ok</Button>
<Button type="primary">{name4}</Button>
{/* <h3 className='red'>red</h3> */}
</div>
);

15363
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,5 +1,5 @@
{
"name": "bkloan-sg",
"name": "bkloan-gl",
"author": "lishican <1213782659@qq.com>",
"scripts": {
"build": "umi build",

View File

@@ -1,12 +1,11 @@
import { defineConfig } from 'umi';
export default defineConfig({
routes: [
{ path: '/', component: 'index' },
],
routes: [{ path: '/', component: 'index' }],
npmClient: 'npm',
monorepoRedirect: {
peerDeps: true,
exclude: [/node_modules/],
},
plugins: ['@umijs/plugins/dist/qiankun'],
qiankun: {

File diff suppressed because it is too large Load Diff

View File

@@ -26,8 +26,7 @@
"react-dom": "^18.2.0"
},
"dependencies": {
"@lishican/antbank-platform-hooks": "workspace:^0.0.1",
"@lishican/antbank-platform-ui": "workspace:^0.0.1",
"@lishican/antbank-platform-ui": "workspace:*",
"antd": "^5.4.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",

View File

@@ -1,13 +1,10 @@
import { useTask } from '@lishican/antbank-platform-hooks';
import Test from '@lishican/antbank-platform-ui';
import { MicroApp } from 'umi';
import styles from './index.less';
export default function HomePage() {
useTask()
return (
<div>
<h2 className={styles.red2}>Yay! Welcome to2 umi!</h2>
<Test />
<Test name4="2131" age3='2131' />
</div>
);
}
}

View File

@@ -1,3 +1,3 @@
{
"extends": "./src/.umi/tsconfig.json"
"extends": "./src/.umi/tsconfig.json",
}