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, "useWorkspaces": true,
"packages": [ "packages": [
"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", "name": "root",
"private": true, "private": true,
"workspaces": [ "workspaces": [
"packages/*" "packages/*",
"projects/*"
], ],
"devDependencies": { "devDependencies": {
"@babel/runtime": "^7.12.5", "@babel/runtime": "^7.21.0",
"@types/react": "^18.0.35", "@types/react": "^18.0.37",
"antd": "^5.4.2", "antd": "^5.4.2",
"babel-plugin-import": "^1.13.6", "babel-plugin-import": "^1.13.6",
"father": "^4.1.8", "father": "^4.1.8",
"lerna": "^6.6.1", "lerna": "^6.6.1",
"typescript": "^5.0.4" "typescript": "^5.0.4"
}, },
"scripts": { "scripts": {},
},
"dependencies": { "dependencies": {
"cnpm": "^9.1.0" "cnpm": "^9.1.0"
} }

View File

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

View File

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

View File

@@ -4,9 +4,10 @@ import { defineConfig } from 'father';
export default defineConfig({ export default defineConfig({
esm: { esm: {
input: "src", input: 'src',
platform: "browser", platform: 'browser',
transformer:"esbuild" transformer: 'esbuild',
output: 'es',
}, },
extraBabelPlugins: [ 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", "name": "@lishican/antbank-platform-ui",
"version": "0.0.2", "version": "0.0.2",
"description": "", "description": "",
"module": "dist/esm/index.js", "module": "es/index.js",
"types": "dist/esm/index.d.ts", "types": "es/index.d.ts",
"scripts": { "scripts": {
"dev": "father dev", "dev": "father dev",
"build": "father build", "build": "father build",
@@ -32,8 +32,6 @@
}, },
"dependencies": { "dependencies": {
"@lishican/antbank-platform-hooks": "^0.0.2", "@lishican/antbank-platform-hooks": "^0.0.2",
"@lishican/antbank-platform-ui": "^0.0.2",
"styled-components": "^5.3.9" "styled-components": "^5.3.9"
}, }
"gitHead": "b2627a6b62138d5dff798892c30f464370146f13"
} }

View File

@@ -4,15 +4,11 @@ import { Button } from 'antd';
import React from 'react'; import React from 'react';
import './index.less'; import './index.less';
const HelloWorld: React.FC<{ name4: string,age3:string }> = ({ name4 }) => {
const HelloWorld: React.FC<any> = () => {
useTask(); useTask();
return ( return (
<div> <div>
<Button type="primary">ok</Button> <Button type="primary">{name4}</Button>
{/* <h3 className='red'>red</h3> */} {/* <h3 className='red'>red</h3> */}
</div> </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>", "author": "lishican <1213782659@qq.com>",
"scripts": { "scripts": {
"build": "umi build", "build": "umi build",

View File

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

File diff suppressed because it is too large Load Diff

View File

@@ -26,8 +26,7 @@
"react-dom": "^18.2.0" "react-dom": "^18.2.0"
}, },
"dependencies": { "dependencies": {
"@lishican/antbank-platform-hooks": "workspace:^0.0.1", "@lishican/antbank-platform-ui": "workspace:*",
"@lishican/antbank-platform-ui": "workspace:^0.0.1",
"antd": "^5.4.2", "antd": "^5.4.2",
"react": "^18.2.0", "react": "^18.2.0",
"react-dom": "^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 Test from '@lishican/antbank-platform-ui';
import { MicroApp } from 'umi';
import styles from './index.less'; import styles from './index.less';
export default function HomePage() { export default function HomePage() {
useTask()
return ( return (
<div> <div>
<h2 className={styles.red2}>Yay! Welcome to2 umi!</h2> <h2 className={styles.red2}>Yay! Welcome to2 umi!</h2>
<Test /> <Test name4="2131" age3='2131' />
</div> </div>
); );
} }

View File

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