chore: update dir

This commit is contained in:
vben
2024-05-21 22:42:25 +08:00
parent f6087ce4e8
commit 20af961f09
20 changed files with 94 additions and 36 deletions

View File

@@ -77,13 +77,6 @@ textarea::placeholder {
opacity: 1;
}
// .collapse-transition {
// transition:
// height 0.2s ease-in-out,
// padding-top 0.2s ease-in-out,
// padding-bottom 0.2s ease-in-out;
// }
input:-webkit-autofill {
border: none;
box-shadow: 0 0 0 1000px transparent inset;

View File

@@ -2,7 +2,7 @@ import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';
import { openWindow } from './window'; // 假设你的函数在 'openWindow' 文件中
describe('generateUUID', () => {
describe('openWindow', () => {
// 保存原始的 window.open 函数
let originalOpen: typeof window.open;

View File

@@ -56,6 +56,7 @@ const passwordStatus = computed(() => {
function handleSubmit() {
formState.submitted = true;
if (
usernameStatus.value !== 'default' ||
passwordStatus.value !== 'default'

View File

@@ -1,3 +1 @@
// export { useNProgress } from '@vueuse/integrations/useNProgress';
export * from './use-request';

View File

@@ -0,0 +1,49 @@
{
"name": "@vben/styles",
"version": "1.0.0",
"type": "module",
"license": "MIT",
"homepage": "https://github.com/vbenjs/vue-vben-admin",
"repository": {
"type": "git",
"url": "git+https://github.com/vbenjs/vue-vben-admin.git",
"directory": "packages/styles"
},
"bugs": {
"url": "https://github.com/vbenjs/vue-vben-admin/issues"
},
"scripts": {
"build": "pnpm vite build",
"prepublishOnly": "npm run build"
},
"files": [
"dist"
],
"sideEffects": [
"**/*.css"
],
"main": "./dist/index.mjs",
"module": "./dist/index.mjs",
"imports": {
"#*": "./src/*"
},
"exports": {
".": {
"development": "./src/index.ts",
"types": "./src/index.ts",
"default": "./dist/index.mjs"
}
},
"publishConfig": {
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.mjs"
}
}
},
"dependencies": {
"@vben-core/design": "workspace:*",
"@vben-core/design-tokens": "workspace:*"
}
}

View File

@@ -0,0 +1,4 @@
import '@vben-core/design/tailwind';
import '@vben-core/design';
import '@vben-core/design-tokens';

View File

@@ -0,0 +1,5 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"extends": "@vben/tsconfig/web.json",
"include": ["src"]
}

View File

@@ -0,0 +1,3 @@
import { defineConfig } from '@vben/vite-config';
export default defineConfig();