@vue-interface/select-field 2.0.0 → 2.0.2

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/tsconfig.json DELETED
@@ -1,27 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "target": "ES2020",
4
- "useDefineForClassFields": true,
5
- "lib": ["ES2020", "DOM", "DOM.Iterable"],
6
- "module": "ESNext",
7
- "skipLibCheck": true,
8
- "moduleResolution": "bundler",
9
- "customConditions": ["source"],
10
- "allowImportingTsExtensions": true,
11
- "resolveJsonModule": true,
12
- "isolatedModules": true,
13
- "noEmit": true,
14
- "strict": true,
15
- "noUnusedLocals": true,
16
- "noUnusedParameters": true,
17
- "noFallthroughCasesInSwitch": true,
18
- "jsx": "preserve",
19
- "jsxImportSource": "vue"
20
- },
21
- "include": [
22
- "**/*.ts",
23
- "**/*.tsx",
24
- "**/*.vue",
25
- ],
26
- "exclude": ["node_modules"]
27
- }
package/vite.config.js DELETED
@@ -1,47 +0,0 @@
1
- import tailwindcss from '@tailwindcss/vite';
2
- import vue from '@vitejs/plugin-vue';
3
- import { pascalCase } from 'change-case';
4
- import path from 'path';
5
- import { defineConfig } from 'vite';
6
- import dts from 'vite-plugin-dts';
7
- import pkg from './package.json';
8
-
9
- const fileName = pkg.name.split('/')[1];
10
-
11
- const external = [
12
- ...(pkg.dependencies ? Object.keys(pkg.dependencies) : []),
13
- ...(pkg.peerDependencies ? Object.keys(pkg.peerDependencies) : [])
14
- ];
15
-
16
- export default ({ command }) => defineConfig({
17
- build: {
18
- sourcemap: command === 'build',
19
- lib: {
20
- entry: path.resolve(__dirname, 'index.ts'),
21
- name: pascalCase(fileName),
22
- fileName,
23
- },
24
- rollupOptions: {
25
- external,
26
- output: {
27
- globals: external.reduce((carry, dep) => {
28
- return Object.assign(carry, {
29
- [dep]: pascalCase(dep)
30
- });
31
- }, {}),
32
- }
33
- },
34
- watch: !process.env.NODE_ENV && {
35
- include: [
36
- './tailwindcss/**/*.js'
37
- ]
38
- }
39
- },
40
- plugins: [
41
- vue(),
42
- dts({
43
- entryRoot: path.resolve(__dirname, './'),
44
- }),
45
- tailwindcss()
46
- ],
47
- });