@bape/ui 0.0.1 → 0.1.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bape/ui",
3
- "version": "0.0.1",
3
+ "version": "0.1.0",
4
4
  "description": "bape Vue 3 UI library",
5
5
  "type": "module",
6
6
  "private": false,
@@ -15,24 +15,20 @@
15
15
  "require": "./dist/index.cjs"
16
16
  }
17
17
  },
18
+ "files": [
19
+ "dist"
20
+ ],
18
21
  "publishConfig": {
19
22
  "access": "public"
20
23
  },
21
- "peerDependencies": {
22
- "vue": "^3.5.27"
24
+ "clean-package": {
25
+ "remove": [
26
+ "scripts",
27
+ "devDependencies"
28
+ ]
23
29
  },
24
- "devDependencies": {
25
- "@vitejs/plugin-vue": "^6.0.3",
26
- "esbuild-plugin-vue": "^0.2.4",
27
- "tsup": "^8.5.1",
28
- "typescript": "~5.9.3",
29
- "vite": "^7.3.1",
30
- "vite-plugin-dts": "^4.5.4",
30
+ "peerDependencies": {
31
31
  "vue": "^3.5.27"
32
32
  },
33
- "license": "MIT",
34
- "scripts": {
35
- "dev": "vite build --watch",
36
- "build": "vite build"
37
- }
33
+ "license": "MIT"
38
34
  }
@@ -1,11 +0,0 @@
1
- <script setup lang="ts">
2
- defineProps<{
3
- label: string
4
- }>()
5
- </script>
6
-
7
- <template>
8
- <button class="bape-button">
9
- {{ label }}
10
- </button>
11
- </template>
@@ -1 +0,0 @@
1
- export { default as Button } from './Button.vue'
package/src/index.ts DELETED
@@ -1 +0,0 @@
1
- export { Button } from './components/Button'
package/tsconfig.json DELETED
@@ -1,24 +0,0 @@
1
- {
2
- "extends": "../tsconfig.base.json",
3
- "compilerOptions": {
4
- "module": "esnext",
5
- "target": "esnext",
6
- "moduleResolution": "bundler",
7
- "types": [],
8
-
9
- "lib": ["ESNext", "DOM"],
10
- "jsx": "preserve",
11
- "jsxImportSource": "vue",
12
-
13
- /* Outputs */
14
- "declaration": true,
15
- "declarationMap": true,
16
- "emitDeclarationOnly": false,
17
-
18
- /* Module isolation */
19
- "isolatedModules": true,
20
- "useDefineForClassFields": true
21
- },
22
- "include": ["src"],
23
- "exclude": ["dist", "node_modules"]
24
- }
package/vite.config.ts DELETED
@@ -1,32 +0,0 @@
1
- import { defineConfig } from 'vite'
2
- import vue from '@vitejs/plugin-vue'
3
- import dts from 'vite-plugin-dts'
4
- import { resolve } from 'path'
5
-
6
- export default defineConfig({
7
- plugins: [
8
- vue(),
9
- dts({
10
- tsconfigPath: './tsconfig.json',
11
- rollupTypes: true, // Merges all types into a single index.d.ts
12
- }),
13
- ],
14
- build: {
15
- lib: {
16
- entry: resolve(__dirname, 'src/index.ts'),
17
- name: 'bapeUI',
18
- fileName: (format) => `index.${format === 'es' ? 'js' : 'cjs'}`,
19
- formats: ['es', 'cjs'],
20
- },
21
- rollupOptions: {
22
- external: ['vue'],
23
- output: {
24
- globals: {
25
- vue: 'Vue',
26
- },
27
- },
28
- },
29
- sourcemap: true,
30
- emptyOutDir: true,
31
- },
32
- })