Skip to content

Commit 7e3ab2e

Browse files
committed
trivias
1 parent 44ceb78 commit 7e3ab2e

4 files changed

Lines changed: 16 additions & 16 deletions

File tree

.github/workflows/publish.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ jobs:
2525
uses: actions/setup-node@v4
2626
with:
2727
node-version: 20
28-
registry-url: 'https://npm.pkg.github.com'
29-
scope: '@partner-up'
28+
registry-url: "https://npm.pkg.github.com"
29+
scope: "@partner-up"
3030

3131
- name: Install pnpm
3232
uses: pnpm/action-setup@v4
3333
with:
34-
version: 10.23.0
34+
version: 10.28.1
3535

3636
- name: Get pnpm store directory
3737
shell: bash
@@ -54,8 +54,8 @@ jobs:
5454
uses: changesets/action@v1
5555
with:
5656
publish: pnpm run release
57-
commit: 'chore: version packages'
58-
title: 'chore: version packages'
57+
commit: "chore: version packages"
58+
title: "chore: version packages"
5959
env:
6060
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6161
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@
1212
"devDependencies": {
1313
"@changesets/cli": "^2.29.7"
1414
},
15-
"packageManager": "pnpm@10.23.0"
16-
}
15+
"packageManager": "pnpm@10.28.1"
16+
}

packages/uniapp/package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,10 @@
4141
"scripts": {
4242
"dev": "vite",
4343
"preview": "vite preview",
44-
"type-check": "vue-tsc --noEmit"
44+
"type-check": "vue-tsc --noEmit",
45+
"copy": "copyfiles -u 1 \"src/**/*.{vue,ts,json,scss}\" dist",
46+
"clean": "rimraf dist",
47+
"build": "pnpm run clean && pnpm run copy"
4548
},
4649
"keywords": [
4750
"partnerup",
@@ -65,5 +68,5 @@
6568
"vue": "^3.4.0",
6669
"vue-tsc": "^2.0.0"
6770
},
68-
"packageManager": "pnpm@10.23.0"
71+
"packageManager": "pnpm@10.28.1"
6972
}

packages/uniapp/tsconfig.json

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,10 @@
66
"lib": ["ES2020", "DOM", "DOM.Iterable"],
77
"skipLibCheck": true,
88

9-
/* Bundler mode */
10-
"moduleResolution": "bundler",
11-
"allowImportingTsExtensions": true,
12-
"resolveJsonModule": true,
13-
"isolatedModules": true,
14-
"noEmit": true,
15-
"jsx": "preserve",
9+
"outDir": "dist",
10+
"declaration": true,
11+
"emitDeclarationOnly": true,
12+
"rootDir": "src",
1613

1714
/* Linting */
1815
"strict": true,

0 commit comments

Comments
 (0)