Skip to content
This repository was archived by the owner on Jun 27, 2023. It is now read-only.

Commit 186f929

Browse files
authored
Merge pull request #299 from asigloo/deps/change-package-manager-to-pnpm
deps: change package manager to pnpm 😜
2 parents 6cf34a0 + e2068f2 commit 186f929

35 files changed

+7830
-42642
lines changed

.github/FUNDING.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
github: [alvarosaburido]
1+
github: [alvarosabu]
22
ko_fi: alvarosaburido

.github/workflows/ci.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,13 @@ jobs:
1515
uses: actions/setup-node@v2
1616
with:
1717
node-version: 16
18+
- name: Install pnpm
19+
uses: pnpm/action-setup@v2
20+
with:
21+
version: 6
1822
- name: Install dependencies
19-
run: yarn
23+
run: pnpm install
2024
- name: Build Library
21-
run: yarn build
25+
run: pnpm build
2226
- name: Build Types Declarations
23-
run: yarn build:dts
27+
run: pnpm build:dts

.github/workflows/release.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,19 @@ jobs:
1515
uses: actions/setup-node@v2
1616
with:
1717
node-version: 16
18+
- name: Install pnpm
19+
uses: pnpm/action-setup@v2
20+
with:
21+
version: 6
1822
- name: Install dependencies
19-
run: yarn
23+
run: pnpm install
2024
- name: Build Library
21-
run: yarn build
25+
run: pnpm build
2226
- name: Build Types Declarations
23-
run: yarn build:dts
27+
run: pnpm build:dts
2428
- name: Release
2529
env:
2630
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2731
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
2832
CI: true
29-
run: yarn semantic-release
33+
run: pnpm semantic-release

babel.config.js

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

demos/vue-3/src/views/Home.vue

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,6 @@ export default defineComponent({
6969
route: '/login',
7070
tags: ['email-field', 'password-field'],
7171
},
72-
{
73-
name: 'Custom Fields',
74-
route: '/custom-fields',
75-
tags: ['custom-field'],
76-
},
7772
{
7873
name: 'Toggle Visibility',
7974
route: '/toggle-visibility',

docs/.vitepress/config.js renamed to docs/.vitepress/config.ts

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
/* import { UserConfig } from 'vitepress'
2-
*/
3-
const { description } = require('../../package')
1+
import { defineConfigWithTheme } from 'vitepress'
42

5-
const config = {
3+
export default defineConfigWithTheme({
64
title: 'Vue Dynamic Forms',
7-
description,
5+
description: 'Easy way to dynamically create reactive forms in vue based on varying business object model',
86
lang: 'en-US',
97
themeConfig: {
108
repo: 'asigloo/vue-dynamic-forms',
@@ -140,6 +138,4 @@ const config = {
140138
},
141139
],
142140
],
143-
}
144-
145-
module.exports = config
141+
})

docs/.vitepress/theme/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import DefaultTheme, { Config } from 'vitepress/theme'
1+
import DefaultTheme from 'vitepress/theme'
22
import { createDynamicForms } from '/@'
3-
import '../theme/styles/base.scss'
3+
import './base.scss'
44

55
const VueDynamicForms = createDynamicForms({
66
autoValidate: true,
@@ -12,7 +12,7 @@ const VueDynamicForms = createDynamicForms({
1212
},
1313
})
1414

15-
const theme: Config = {
15+
const theme = {
1616
...DefaultTheme,
1717
enhanceApp({ app }) {
1818
app.use(VueDynamicForms)

docs/components.d.ts

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
// generated by unplugin-vue-components
2+
// We suggest you to commit this file into source control
3+
// Read more: https://github.com/vuejs/vue-next/pull/3399
4+
5+
declare module 'vue' {
6+
export interface GlobalComponents {
7+
CheckboxInput: typeof import('./components/CheckboxInput.vue')['default']
8+
Console: typeof import('./components/Console.vue')['default']
9+
CustomField: typeof import('./components/CustomField.vue')['default']
10+
EmailField: typeof import('./components/EmailField.vue')['default']
11+
FormCompositionOptionsApi: typeof import('./components/FormCompositionOptionsApi.vue')['default']
12+
NumberField: typeof import('./components/NumberField.vue')['default']
13+
PasswordField: typeof import('./components/PasswordField.vue')['default']
14+
RadioInput: typeof import('./components/RadioInput.vue')['default']
15+
SelectField: typeof import('./components/SelectField.vue')['default']
16+
TextAreaField: typeof import('./components/TextAreaField.vue')['default']
17+
TextField: typeof import('./components/TextField.vue')['default']
18+
ValidationEmail: typeof import('./components/ValidationEmail.vue')['default']
19+
ValidationMax: typeof import('./components/ValidationMax.vue')['default']
20+
ValidationMaxLength: typeof import('./components/ValidationMaxLength.vue')['default']
21+
ValidationMin: typeof import('./components/ValidationMin.vue')['default']
22+
ValidationMinLength: typeof import('./components/ValidationMinLength.vue')['default']
23+
ValidationPattern: typeof import('./components/ValidationPattern.vue')['default']
24+
ValidationRequired: typeof import('./components/ValidationRequired.vue')['default']
25+
ValidationUrl: typeof import('./components/ValidationUrl.vue')['default']
26+
}
27+
}
28+
29+
export { }

0 commit comments

Comments
 (0)