@energie360/ui-library 0.1.3 → 0.1.4

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": "@energie360/ui-library",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -25,22 +25,20 @@
25
25
  "devDependencies": {
26
26
  "@tsconfig/node22": "^22.0.0",
27
27
  "@types/node": "^22.13.10",
28
- "@vitejs/plugin-vue": "^5.2.3",
29
28
  "@vue/tsconfig": "^0.7.0",
30
29
  "autoprefixer": "^10.4.21",
31
30
  "chokidar": "^4.0.3",
32
31
  "postcss": "^8.5.3",
33
32
  "sass": "^1.86.0",
34
- "typescript": "^5.8.2",
35
- "vite": "^6.2.2",
36
- "vue": "^3.5.13",
37
- "vue-tsc": "^2.2.8"
33
+ "typescript": "^5.8.2"
38
34
  },
39
35
  "dependencies": {
40
36
  "@energie360/design-tokens": "^1.3.0"
41
37
  },
38
+ "peerDependencies": {
39
+ "vue": "^3.5.0"
40
+ },
42
41
  "scripts": {
43
- "dev:vite": "NODE_ENV=development vite build --watch --mode development",
44
42
  "watch": "node ./watch.js",
45
43
  "dev": "npm run build; npm run watch",
46
44
  "build:utilities": "sass --load-path=node_modules utility:dist",
@@ -1,13 +1,6 @@
1
1
  {
2
2
  "extends": "@tsconfig/node22/tsconfig.json",
3
- "include": [
4
- "vite.config.*",
5
- "vitest.config.*",
6
- "cypress.config.*",
7
- "nightwatch.conf.*",
8
- "playwright.config.*",
9
- "eslint.config.*"
10
- ],
3
+ "include": ["cypress.config.*", "nightwatch.conf.*", "playwright.config.*", "eslint.config.*"],
11
4
  "compilerOptions": {
12
5
  "noEmit": true,
13
6
  "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
package/vite.config.ts DELETED
@@ -1,35 +0,0 @@
1
- import { resolve } from 'path'
2
- import { defineConfig } from 'vite'
3
- import vue from '@vitejs/plugin-vue'
4
- import autoprefixer from 'autoprefixer'
5
-
6
- export default defineConfig({
7
- plugins: [vue()],
8
- build: {
9
- cssCodeSplit: true,
10
- sourcemap: true,
11
- lib: {
12
- entry: [
13
- resolve(__dirname, 'custom-elements.js'),
14
- resolve(__dirname, 'base-style.js'),
15
- resolve(__dirname, 'utility/utility-text.js'),
16
- ],
17
- name: '@energie360/ui-library',
18
- formats: ['es'],
19
- fileName: (format, entryName) => `${entryName}.js`,
20
- },
21
- },
22
- optimizeDeps: {
23
- entries: [],
24
- },
25
- css: {
26
- postcss: {
27
- plugins: [autoprefixer],
28
- },
29
- preprocessorOptions: {
30
- scss: {
31
- api: 'modern-compiler',
32
- },
33
- },
34
- },
35
- })