Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/pr-compressed-size.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
install-script: 'pnpm install --no-frozen-lockfile'
build-script: 'uniapp build:npm'
repo-token: '${{ secrets.GITHUB_TOKEN }}'
pattern: './packages/tdesign-uniapp/npm_dist/**/*.{js,ts,vue,less,css}'
pattern: './packages/tdesign-uniapp/dist/**/*.{js,ts,vue,less,css}'
comment-key: uniapp

uniapp-chat-size:
Expand All @@ -52,5 +52,5 @@ jobs:
install-script: 'pnpm install --no-frozen-lockfile'
build-script: 'uniapp build:npm'
repo-token: '${{ secrets.GITHUB_TOKEN }}'
pattern: './packages/tdesign-uniapp-chat/npm_dist/**/*.{js,ts,vue,less,css}'
pattern: './packages/tdesign-uniapp-chat/dist/**/*.{js,ts,vue,less,css}'
comment-key: uniapp-chat
66 changes: 33 additions & 33 deletions packages/tdesign-uniapp-chat/package.json
Original file line number Diff line number Diff line change
@@ -1,61 +1,62 @@
{
"name": "tdesign-uniapp-chat",
"version": "0.1.1",
"typings": "./npm_dist/types/index.d.ts",
"version": "0.1.3",
"typings": "./dist/types/index.d.ts",
"exports": {
"./*": "./npm_dist/*",
"./*": "./dist/*",
"./attachments/attachments.vue": {
"types": "./npm_dist/types/attachments.d.ts",
"import": "./npm_dist/attachments/attachments.vue",
"default": "./npm_dist/attachments/attachments.vue"
"types": "./dist/types/attachments.d.ts",
"import": "./dist/attachments/attachments.vue",
"default": "./dist/attachments/attachments.vue"
},
"./chat-actionbar/chat-actionbar.vue": {
"types": "./npm_dist/types/chat-actionbar.d.ts",
"import": "./npm_dist/chat-actionbar/chat-actionbar.vue",
"default": "./npm_dist/chat-actionbar/chat-actionbar.vue"
"types": "./dist/types/chat-actionbar.d.ts",
"import": "./dist/chat-actionbar/chat-actionbar.vue",
"default": "./dist/chat-actionbar/chat-actionbar.vue"
},
"./chat-content/chat-content.vue": {
"types": "./npm_dist/types/chat-content.d.ts",
"import": "./npm_dist/chat-content/chat-content.vue",
"default": "./npm_dist/chat-content/chat-content.vue"
"types": "./dist/types/chat-content.d.ts",
"import": "./dist/chat-content/chat-content.vue",
"default": "./dist/chat-content/chat-content.vue"
},
"./chat-list/chat-list.vue": {
"types": "./npm_dist/types/chat-list.d.ts",
"import": "./npm_dist/chat-list/chat-list.vue",
"default": "./npm_dist/chat-list/chat-list.vue"
"types": "./dist/types/chat-list.d.ts",
"import": "./dist/chat-list/chat-list.vue",
"default": "./dist/chat-list/chat-list.vue"
},
"./chat-loading/chat-loading.vue": {
"types": "./npm_dist/types/chat-loading.d.ts",
"import": "./npm_dist/chat-loading/chat-loading.vue",
"default": "./npm_dist/chat-loading/chat-loading.vue"
"types": "./dist/types/chat-loading.d.ts",
"import": "./dist/chat-loading/chat-loading.vue",
"default": "./dist/chat-loading/chat-loading.vue"
},
"./chat-markdown/chat-markdown.vue": {
"types": "./npm_dist/types/chat-markdown.d.ts",
"import": "./npm_dist/chat-markdown/chat-markdown.vue",
"default": "./npm_dist/chat-markdown/chat-markdown.vue"
"types": "./dist/types/chat-markdown.d.ts",
"import": "./dist/chat-markdown/chat-markdown.vue",
"default": "./dist/chat-markdown/chat-markdown.vue"
},
"./chat-message/chat-message.vue": {
"types": "./npm_dist/types/chat-message.d.ts",
"import": "./npm_dist/chat-message/chat-message.vue",
"default": "./npm_dist/chat-message/chat-message.vue"
"types": "./dist/types/chat-message.d.ts",
"import": "./dist/chat-message/chat-message.vue",
"default": "./dist/chat-message/chat-message.vue"
},
"./chat-sender/chat-sender.vue": {
"types": "./npm_dist/types/chat-sender.d.ts",
"import": "./npm_dist/chat-sender/chat-sender.vue",
"default": "./npm_dist/chat-sender/chat-sender.vue"
"types": "./dist/types/chat-sender.d.ts",
"import": "./dist/chat-sender/chat-sender.vue",
"default": "./dist/chat-sender/chat-sender.vue"
},
"./chat-thinking/chat-thinking.vue": {
"types": "./npm_dist/types/chat-thinking.d.ts",
"import": "./npm_dist/chat-thinking/chat-thinking.vue",
"default": "./npm_dist/chat-thinking/chat-thinking.vue"
"types": "./dist/types/chat-thinking.d.ts",
"import": "./dist/chat-thinking/chat-thinking.vue",
"default": "./dist/chat-thinking/chat-thinking.vue"
}
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"files": [
"npm_dist",
"dist",
"global.d.ts",
"LICENSE",
"README.md",
"CHANGELOG.md"
],
Expand All @@ -70,8 +71,7 @@
"site": "pnpm --filter=\"./site\" build",
"site:dev": "pnpm --filter=\"./site\" run dev",
"site:preview": "pnpm --filter=\"./site\" run site:preview",
"type-check": "vue-tsc --noEmit",
"publish": "cd npm_dist && npm publish"
"type-check": "vue-tsc --noEmit"
},
"devDependencies": {
"@commitlint/cli": "^12.0.1",
Expand Down
5 changes: 2 additions & 3 deletions packages/tdesign-uniapp/example/script/release/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,17 @@ const path = require('path');
const PACKAGES_ROOT = path.resolve(__dirname, '../../../../');

const config = {
targetDir: path.resolve(PACKAGES_ROOT, 'tdesign-uniapp/npm_dist'),
targetDir: path.resolve(PACKAGES_ROOT, 'tdesign-uniapp/dist'),
sourceDir: path.resolve(PACKAGES_ROOT, 'uniapp-components'),
sourceGlob: path.resolve(PACKAGES_ROOT, 'uniapp-components/**/*'),

chatTargetDir: path.resolve(PACKAGES_ROOT, 'tdesign-uniapp-chat/npm_dist'),
chatTargetDir: path.resolve(PACKAGES_ROOT, 'tdesign-uniapp-chat/dist'),
chatSourceDir: path.resolve(PACKAGES_ROOT, 'uniapp-pro-components/chat'),
chatSourceGlob: path.resolve(PACKAGES_ROOT, 'uniapp-pro-components/chat/**/*'),

demoDir: path.resolve(__dirname, '../../src/pages-more'),
};


module.exports = {
config,
PACKAGES_ROOT,
Expand Down
Loading
Loading