Skip to content

Commit 25a8c71

Browse files
committed
fix: remove old scripts and clean pnpm and turbo
I also included pnpm as an alternative codegroup for the docs. So it includes samples of yarn/npm/pnpm
1 parent 4e7f212 commit 25a8c71

File tree

10 files changed

+211
-206
lines changed

10 files changed

+211
-206
lines changed

.github/workflows/npm-publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
run: pnpm run build
3737

3838
- name: Test library
39-
- run: npm test
39+
- run: pnpm test
4040

4141
- name: Publish
4242
run: pnpm publish

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ npm i --save bootstrap bootstrap-vue-3
4848

4949
# Yarn
5050
yarn add bootstrap bootstrap-vue-3
51+
52+
# PNPM
53+
pnpm add bootstrap bootstrap-vue-3
5154
```
5255

5356
# Contribute & support 🙌

apps/docs/.vuepress/PluginComponentReference/client/components/component-doc.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@
8282
</b-table>
8383
</div>
8484
</template>
85+
8586
<script lang="ts">
8687
import {resolveComponent, defineComponent, computed, ComputedRef, ConcreteComponent} from 'vue'
8788
import AnchoredHeading from './anchored-heading'

apps/docs/getting-started/README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,14 @@ yarn add bootstrap bootstrap-vue-3
5757

5858
```bash
5959
npm install bootstrap bootstrap-vue-3
60+
```
61+
62+
</CodeGroupItem>
63+
64+
<CodeGroupItem title="PNPM">
65+
66+
```bash
67+
pnpm add bootstrap bootstrap-vue-3
6068
```
6169

6270
</CodeGroupItem>
@@ -99,6 +107,14 @@ yarn add bootstrap bootstrap-vue-3
99107

100108
```bash
101109
npm install bootstrap bootstrap-vue-3
110+
```
111+
112+
</CodeGroupItem>
113+
114+
<CodeGroupItem title="PNPM">
115+
116+
```bash
117+
pnpm add bootstrap bootstrap-vue-3
102118
```
103119

104120
</CodeGroupItem>

apps/docs/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
"private": true,
55
"scripts": {
66
"dev": "vuepress dev",
7-
"build": "vuepress build",
8-
"deploy": "./scripts/deploy.sh"
7+
"build": "vuepress build"
98
},
109
"devDependencies": {
1110
"@vuepress/client": "2.0.0-beta.45",

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
"audit": "improved-yarn-audit --ignore-dev-deps --min-severity moderate",
99
"build": "turbo run build",
1010
"dev": "turbo run dev --parallel",
11+
"test": "turbo run test",
12+
"test:lint": "turbo run test:lint",
13+
"test:unit": "turbo run test:unit",
1114
"lint": "turbo run lint",
1215
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
1316
"prepare": "husky install && turbo run build"

packages/bootstrap-vue-3/scripts/deploy.sh

Lines changed: 0 additions & 31 deletions
This file was deleted.

packages/bootstrap-vue-3/vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ const config = defineConfig({
5656
vue({
5757
include: [/\.vue$/, /\.md$/],
5858
}),
59-
visualizer(), // generates admin/stats.html on npm run build
59+
visualizer(), // generates admin/stats.html on pnpm run build
6060
dts({skipDiagnostics: false, logDiagnostics: true}),
6161
],
6262

0 commit comments

Comments
 (0)