boke-devops 0.0.30
Sign up to get free protection for your applications and to get access to all the features.
- package/.vscode/settings.json +2 -0
- package/lerna.json +4 -0
- package/package.json +43 -0
- package/packages/boke-devops-vue/.eslintrc.cjs +22 -0
- package/packages/boke-devops-vue/README.md +45 -0
- package/packages/boke-devops-vue/demo/App.vue +62 -0
- package/packages/boke-devops-vue/demo/main.ts +7 -0
- package/packages/boke-devops-vue/package-lock.json +13513 -0
- package/packages/boke-devops-vue/package.json +59 -0
- package/packages/boke-devops-vue/pnpm-lock.yaml +6063 -0
- package/packages/boke-devops-vue/src/AegisUser/__tests__/Avatar.test.js +18 -0
- package/packages/boke-devops-vue/src/AegisUser/__tests__/__snapshots__/Avatar.test.js.snap +60 -0
- package/packages/boke-devops-vue/src/AegisUser/multiple-user-select.vue +190 -0
- package/packages/boke-devops-vue/src/AegisUser/store.ts +23 -0
- package/packages/boke-devops-vue/src/AegisUser/user-avatar-group.vue +76 -0
- package/packages/boke-devops-vue/src/AegisUser/user-avatar.vue +347 -0
- package/packages/boke-devops-vue/src/Microapp/MicroAppProvider.vue +50 -0
- package/packages/boke-devops-vue/src/Provider/Provider.vue +22 -0
- package/packages/boke-devops-vue/src/Provider/store.ts +23 -0
- package/packages/boke-devops-vue/src/global.d.ts +43 -0
- package/packages/boke-devops-vue/src/index.ts +39 -0
- package/packages/boke-devops-vue/src/style/variables.less +79 -0
- package/packages/boke-devops-vue/tsconfig.json +34 -0
- package/packages/boke-devops-vue/tsconfig.web.json +20 -0
- package/packages/boke-devops-vue/types/AegisUser/multiple-user-select.vue.d.ts +97 -0
- package/packages/boke-devops-vue/types/AegisUser/store.d.ts +7 -0
- package/packages/boke-devops-vue/types/AegisUser/user-avatar-group.vue.d.ts +44 -0
- package/packages/boke-devops-vue/types/AegisUser/user-avatar.vue.d.ts +217 -0
- package/packages/boke-devops-vue/types/Microapp/MicroAppProvider.vue.d.ts +39 -0
- package/packages/boke-devops-vue/types/Provider/Provider.vue.d.ts +63 -0
- package/packages/boke-devops-vue/types/Provider/store.d.ts +15 -0
- package/packages/boke-devops-vue/types/index.d.ts +13 -0
- package/packages/boke-devops-vue/types/store.d.ts +12 -0
- package/packages/boke-devops-vue/vite.config.ts +90 -0
- package/packages/boke-docs/.dumirc.ts +64 -0
- package/packages/boke-docs/.eslintrc.js +14 -0
- package/packages/boke-docs/.fatherrc.ts +7 -0
- package/packages/boke-docs/README.md +1 -0
- package/packages/boke-docs/docs/components/Avatar/demo/normal.vue +25 -0
- package/packages/boke-docs/docs/components/Avatar/demo/with_provider.vue +38 -0
- package/packages/boke-docs/docs/components/Avatar/index.md +10 -0
- package/packages/boke-docs/docs/components/UserSelect/demo/normal.vue +34 -0
- package/packages/boke-docs/docs/components/UserSelect/demo/with_provider.vue +40 -0
- package/packages/boke-docs/docs/components/UserSelect/index.md +12 -0
- package/packages/boke-docs/docs/components/index.md +126 -0
- package/packages/boke-docs/docs/framework-test/external/App.vue +303 -0
- package/packages/boke-docs/docs/framework-test/index.md +96 -0
- package/packages/boke-docs/docs/index.md +50 -0
- package/packages/boke-docs/node_modules/.bin/acorn +17 -0
- package/packages/boke-docs/node_modules/.bin/acorn.CMD +12 -0
- package/packages/boke-docs/node_modules/.bin/acorn.ps1 +41 -0
- package/packages/boke-docs/node_modules/.bin/browserslist +17 -0
- package/packages/boke-docs/node_modules/.bin/browserslist.CMD +12 -0
- package/packages/boke-docs/node_modules/.bin/browserslist.ps1 +41 -0
- package/packages/boke-docs/node_modules/.bin/dumi +17 -0
- package/packages/boke-docs/node_modules/.bin/dumi.CMD +12 -0
- package/packages/boke-docs/node_modules/.bin/dumi.ps1 +41 -0
- package/packages/boke-docs/node_modules/.bin/eslint +17 -0
- package/packages/boke-docs/node_modules/.bin/eslint.CMD +12 -0
- package/packages/boke-docs/node_modules/.bin/eslint.ps1 +41 -0
- package/packages/boke-docs/node_modules/.bin/prettier +17 -0
- package/packages/boke-docs/node_modules/.bin/prettier.CMD +12 -0
- package/packages/boke-docs/node_modules/.bin/prettier.ps1 +41 -0
- package/packages/boke-docs/node_modules/.bin/stylelint +17 -0
- package/packages/boke-docs/node_modules/.bin/stylelint.CMD +12 -0
- package/packages/boke-docs/node_modules/.bin/stylelint.ps1 +41 -0
- package/packages/boke-docs/node_modules/.bin/tsc +17 -0
- package/packages/boke-docs/node_modules/.bin/tsc.CMD +12 -0
- package/packages/boke-docs/node_modules/.bin/tsc.ps1 +41 -0
- package/packages/boke-docs/node_modules/.bin/tsserver +17 -0
- package/packages/boke-docs/node_modules/.bin/tsserver.CMD +12 -0
- package/packages/boke-docs/node_modules/.bin/tsserver.ps1 +41 -0
- package/packages/boke-docs/node_modules/.bin/vite +17 -0
- package/packages/boke-docs/node_modules/.bin/vite.CMD +12 -0
- package/packages/boke-docs/node_modules/.bin/vite.ps1 +41 -0
- package/packages/boke-docs/node_modules/.bin/webpack +17 -0
- package/packages/boke-docs/node_modules/.bin/webpack.CMD +12 -0
- package/packages/boke-docs/node_modules/.bin/webpack.ps1 +41 -0
- package/packages/boke-docs/package.json +38 -0
- package/packages/boke-docs/pnpm-lock.yaml +11506 -0
- package/packages/boke-docs/tsconfig.json +14 -0
- package/packages/boke-docs/tsconfig.vue.json +10 -0
- package/packages/boke-js-bridge/es/child.d.ts +27 -0
- package/packages/boke-js-bridge/es/child.js +144 -0
- package/packages/boke-js-bridge/es/index.d.ts +3 -0
- package/packages/boke-js-bridge/es/index.js +3 -0
- package/packages/boke-js-bridge/es/parent.d.ts +24 -0
- package/packages/boke-js-bridge/es/parent.js +71 -0
- package/packages/boke-js-bridge/es/utils.d.ts +2 -0
- package/packages/boke-js-bridge/es/utils.js +6 -0
- package/packages/boke-js-bridge/package-lock.json +2028 -0
- package/packages/boke-js-bridge/package.json +35 -0
- package/packages/boke-js-bridge/readme.md +11 -0
- package/packages/boke-js-bridge/src/child.ts +174 -0
- package/packages/boke-js-bridge/src/index.ts +3 -0
- package/packages/boke-js-bridge/src/parent.ts +92 -0
- package/packages/boke-js-bridge/src/utils.ts +15 -0
- package/packages/boke-js-bridge/tsconfig.json +26 -0
- package/packages/boke-js-bridge/typings.d.ts +4 -0
- package/packages/boke-js-bridge/umd/child.js +156 -0
- package/packages/boke-js-bridge/umd/index.js +18 -0
- package/packages/boke-js-bridge/umd/parent.js +84 -0
- package/packages/boke-js-bridge/umd/utils.js +18 -0
- package/packages/test/Provider-test.vue +85 -0
- package/pnpm-workspace.yaml +2 -0
- package/scripts/configs.mjs +52 -0
- package/scripts/index.mjs +43 -0
- package/scripts/release.mjs +16 -0
- package/test-setup.js +24 -0
- package/vite.config.ts +21 -0
- package/vitest.config.js +22 -0
@@ -0,0 +1,41 @@
|
|
1
|
+
#!/usr/bin/env pwsh
|
2
|
+
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
3
|
+
|
4
|
+
$exe=""
|
5
|
+
$pathsep=":"
|
6
|
+
$env_node_path=$env:NODE_PATH
|
7
|
+
$new_node_path="C:\Users\lizulong\Desktop\devops-components-vue\node_modules\.pnpm\webpack@5.92.1\node_modules\webpack\bin\node_modules;C:\Users\lizulong\Desktop\devops-components-vue\node_modules\.pnpm\webpack@5.92.1\node_modules\webpack\node_modules;C:\Users\lizulong\Desktop\devops-components-vue\node_modules\.pnpm\webpack@5.92.1\node_modules;C:\Users\lizulong\Desktop\devops-components-vue\node_modules\.pnpm\node_modules"
|
8
|
+
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
|
9
|
+
# Fix case when both the Windows and Linux builds of Node
|
10
|
+
# are installed in the same directory
|
11
|
+
$exe=".exe"
|
12
|
+
$pathsep=";"
|
13
|
+
} else {
|
14
|
+
$new_node_path="/mnt/c/Users/lizulong/Desktop/devops-components-vue/node_modules/.pnpm/webpack@5.92.1/node_modules/webpack/bin/node_modules:/mnt/c/Users/lizulong/Desktop/devops-components-vue/node_modules/.pnpm/webpack@5.92.1/node_modules/webpack/node_modules:/mnt/c/Users/lizulong/Desktop/devops-components-vue/node_modules/.pnpm/webpack@5.92.1/node_modules:/mnt/c/Users/lizulong/Desktop/devops-components-vue/node_modules/.pnpm/node_modules"
|
15
|
+
}
|
16
|
+
if ([string]::IsNullOrEmpty($env_node_path)) {
|
17
|
+
$env:NODE_PATH=$new_node_path
|
18
|
+
} else {
|
19
|
+
$env:NODE_PATH="$new_node_path$pathsep$env_node_path"
|
20
|
+
}
|
21
|
+
|
22
|
+
$ret=0
|
23
|
+
if (Test-Path "$basedir/node$exe") {
|
24
|
+
# Support pipeline input
|
25
|
+
if ($MyInvocation.ExpectingInput) {
|
26
|
+
$input | & "$basedir/node$exe" "$basedir/../../../../node_modules/.pnpm/webpack@5.92.1/node_modules/webpack/bin/webpack.js" $args
|
27
|
+
} else {
|
28
|
+
& "$basedir/node$exe" "$basedir/../../../../node_modules/.pnpm/webpack@5.92.1/node_modules/webpack/bin/webpack.js" $args
|
29
|
+
}
|
30
|
+
$ret=$LASTEXITCODE
|
31
|
+
} else {
|
32
|
+
# Support pipeline input
|
33
|
+
if ($MyInvocation.ExpectingInput) {
|
34
|
+
$input | & "node$exe" "$basedir/../../../../node_modules/.pnpm/webpack@5.92.1/node_modules/webpack/bin/webpack.js" $args
|
35
|
+
} else {
|
36
|
+
& "node$exe" "$basedir/../../../../node_modules/.pnpm/webpack@5.92.1/node_modules/webpack/bin/webpack.js" $args
|
37
|
+
}
|
38
|
+
$ret=$LASTEXITCODE
|
39
|
+
}
|
40
|
+
$env:NODE_PATH=$env_node_path
|
41
|
+
exit $ret
|
@@ -0,0 +1,38 @@
|
|
1
|
+
{
|
2
|
+
"name": "@devops/boke-docs",
|
3
|
+
"description": "A Vue3 component library",
|
4
|
+
"repository": {
|
5
|
+
"type": "git",
|
6
|
+
"url": "https://github.com/umijs/dumi",
|
7
|
+
"directory": "@devops/boke-docs"
|
8
|
+
},
|
9
|
+
"license": "MIT",
|
10
|
+
"scripts": {
|
11
|
+
"build": "dumi build",
|
12
|
+
"dev": "dumi dev",
|
13
|
+
"preview": "dumi preview",
|
14
|
+
"setup": "dumi setup",
|
15
|
+
"start": "npm run dev"
|
16
|
+
},
|
17
|
+
"dependencies": {
|
18
|
+
"@dumijs/preset-vue": "^2.3.0",
|
19
|
+
"@vue/compiler-sfc": "^3.0.5",
|
20
|
+
"dayjs": "^1.11.10",
|
21
|
+
"dumi": "~2.4.5",
|
22
|
+
"element-plus": "^2.3.14",
|
23
|
+
"pinia": "^2.1.7",
|
24
|
+
"react": "^18.2.0",
|
25
|
+
"vue": "^3.4.31"
|
26
|
+
},
|
27
|
+
"devDependencies": {
|
28
|
+
"@devops/boke-devops-vue": "workspace:*",
|
29
|
+
"@typescript-eslint/parser": "^6.7.2",
|
30
|
+
"eslint-plugin-vue": "^9.17.0",
|
31
|
+
"typescript": "~4.7.4",
|
32
|
+
"unplugin-auto-import": "^0.16.6",
|
33
|
+
"unplugin-element-plus": "^0.8.0",
|
34
|
+
"unplugin-vue-components": "^0.25.2"
|
35
|
+
},
|
36
|
+
"authors": [],
|
37
|
+
"version": "0.0.30"
|
38
|
+
}
|