@ctorforce/ui 1.0.0 → 1.0.1
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 +15 -3
- package/.turbo/turbo-build.log +0 -19
- package/index.ts +0 -1
- package/src/components/Button.vue +0 -18
- package/src/components/index.ts +0 -3
- package/vite.config.ts +0 -17
package/package.json
CHANGED
|
@@ -1,12 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ctorforce/ui",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "",
|
|
5
|
-
"main": "
|
|
5
|
+
"main": "./dist/ctorforce-ui.umd.js",
|
|
6
|
+
"module": "./dist/ctorforce-ui.mjs",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"import": "./dist/ctorforce-ui.mjs",
|
|
10
|
+
"require": "./dist/ctorforce-ui.umd.js"
|
|
11
|
+
},
|
|
12
|
+
"./style.css": "./dist/ctorforce-ui.css"
|
|
13
|
+
},
|
|
14
|
+
"files": [
|
|
15
|
+
"dist"
|
|
16
|
+
],
|
|
6
17
|
"scripts": {
|
|
7
18
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
8
19
|
"build": "vite build",
|
|
9
|
-
"type-check": "vue-tsc --noEmit"
|
|
20
|
+
"type-check": "vue-tsc --noEmit",
|
|
21
|
+
"prepublishOnly": "npm run build"
|
|
10
22
|
},
|
|
11
23
|
"keywords": [],
|
|
12
24
|
"author": "",
|
package/.turbo/turbo-build.log
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
> @ctorforce/ui@1.0.0 build /Users/penglei/Desktop/project/ctorforce/packages/ui
|
|
4
|
-
> vite build
|
|
5
|
-
|
|
6
|
-
[36mvite v8.0.1 [32mbuilding client environment for production...[36m[39m
|
|
7
|
-
[2K
|
|
8
|
-
[2K
|
|
9
|
-
[2K
|
|
10
|
-
[2mdist/[0m[36mctorforce-ui.mjs [39m[2m[1m0.55 kB[0m[0m[2m │ gzip: 0.39 kB[0m
|
|
11
|
-
|
|
12
|
-
[2K
|
|
13
|
-
[2K
|
|
14
|
-
[2K
|
|
15
|
-
[2mdist/[0m[36mctorforce-ui.umd.js [39m[2m[1m0.63 kB[0m[0m[2m │ gzip: 0.42 kB[0m
|
|
16
|
-
|
|
17
|
-
[2K[1G[33m[33m[MISSING_GLOBAL_NAME] Warning:[0m No name was provided for external module "vue" in "output.globals" – guessing "vue".
|
|
18
|
-
[39m
|
|
19
|
-
[32m✓ built in 523ms[39m
|
package/index.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './src/components'
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
defineProps<{
|
|
3
|
-
type?: 'primary' | 'default'
|
|
4
|
-
}>()
|
|
5
|
-
</script>
|
|
6
|
-
|
|
7
|
-
<template>
|
|
8
|
-
<button class="cf-button">
|
|
9
|
-
<slot />
|
|
10
|
-
</button>
|
|
11
|
-
</template>
|
|
12
|
-
|
|
13
|
-
<style scoped>
|
|
14
|
-
.cf-button {
|
|
15
|
-
padding: 8px 16px;
|
|
16
|
-
border-radius: 6px;
|
|
17
|
-
}
|
|
18
|
-
</style>
|
package/src/components/index.ts
DELETED
package/vite.config.ts
DELETED
|
@@ -1,17 +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, 'index.ts'),
|
|
10
|
-
name: 'CtorforceUI',
|
|
11
|
-
fileName: 'ctorforce-ui'
|
|
12
|
-
},
|
|
13
|
-
rollupOptions: {
|
|
14
|
-
external: ['vue']
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
})
|