hp-design-system 0.0.8 → 0.0.11
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/dist/App.vue.d.ts +2 -0
- package/dist/components/Button.vue.d.ts +7 -0
- package/dist/index.d.ts +7 -0
- package/dist/main.d.ts +1 -0
- package/package.json +7 -5
- package/tsconfig.app.json +1 -1
- package/tsconfig.node.json +1 -1
- package/tsconfig.build.json +0 -10
- package/tsconfig.json +0 -15
- package/vite.config.ts +0 -23
@@ -0,0 +1,7 @@
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {
|
2
|
+
text: string;
|
3
|
+
$props: {
|
4
|
+
readonly text?: string | undefined;
|
5
|
+
};
|
6
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
7
|
+
export default _default;
|
package/dist/index.d.ts
ADDED
package/dist/main.d.ts
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
import './style.css';
|
package/package.json
CHANGED
@@ -1,19 +1,21 @@
|
|
1
1
|
{
|
2
2
|
"name": "hp-design-system",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.11",
|
4
4
|
"type": "module",
|
5
5
|
"main": "dist/hp-design-system.umd.js",
|
6
6
|
"module": "dist/hp-design-system.esm.js",
|
7
7
|
"types": "dist/index.d.ts",
|
8
8
|
"exports": {
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
".": {
|
10
|
+
"import": "./dist/hp-design-system.esm.js",
|
11
|
+
"require": "./dist/hp-design-system.umd.js"
|
12
12
|
}
|
13
13
|
},
|
14
14
|
"scripts": {
|
15
15
|
"dev": "vite",
|
16
|
-
"
|
16
|
+
"clean:cache": "rmdir /s /q node_modules\\.vite",
|
17
|
+
"build": "npm run build:types && vite build",
|
18
|
+
"build:types": "vue-tsc --project tsconfig.json",
|
17
19
|
"preview": "vite preview"
|
18
20
|
},
|
19
21
|
"dependencies": {
|
package/tsconfig.app.json
CHANGED
package/tsconfig.node.json
CHANGED
package/tsconfig.build.json
DELETED
package/tsconfig.json
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"compilerOptions": {
|
3
|
-
"target": "esnext",
|
4
|
-
"module": "esnext",
|
5
|
-
"strict": true,
|
6
|
-
"moduleResolution": "node",
|
7
|
-
"esModuleInterop": true,
|
8
|
-
"skipLibCheck": true,
|
9
|
-
"outDir": "dist",
|
10
|
-
"declaration": true,
|
11
|
-
"types": ["vite/client", "node"]
|
12
|
-
},
|
13
|
-
"include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.vue"],
|
14
|
-
"exclude": ["node_modules"]
|
15
|
-
}
|
package/vite.config.ts
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
import { defineConfig } from 'vite'
|
2
|
-
import vue from '@vitejs/plugin-vue'
|
3
|
-
import path from 'path'
|
4
|
-
|
5
|
-
export default defineConfig({
|
6
|
-
plugins: [vue()],
|
7
|
-
build: {
|
8
|
-
lib: {
|
9
|
-
entry: path.resolve(__dirname, 'src/index.ts'),
|
10
|
-
name: 'HpDesignSystem',
|
11
|
-
fileName: (format) => `hp-design-system.${format}.js`
|
12
|
-
},
|
13
|
-
rollupOptions: {
|
14
|
-
external: ['vue'],
|
15
|
-
output: {
|
16
|
-
globals: {
|
17
|
-
vue: 'Vue'
|
18
|
-
},
|
19
|
-
exports: 'named'
|
20
|
-
}
|
21
|
-
}
|
22
|
-
}
|
23
|
-
})
|