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

Commit 80c0f73

Browse files
authored
Merge pull request #255 from asigloo/feature/change-to-vite
Feature/change to vite
2 parents 1c0e3c2 + 0aea046 commit 80c0f73

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+8751
-1037
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ jobs:
1616
with:
1717
node-version: 12
1818
- name: Install dependencies
19-
run: npm ci
20-
- name: Run unit tests
21-
run: npm run test --verbose
19+
run: yarn
2220
- name: Build Library
23-
run: npm run build
21+
run: yarn build

.github/workflows/release.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,12 @@ jobs:
1616
with:
1717
node-version: 12
1818
- name: Install dependencies
19-
run: npm ci
20-
- name: Run unit tests
21-
run: npm run test --verbose
19+
run: yarn
2220
- name: Build Library
23-
run: npm run build
24-
- name: Build Types Declarations
25-
run: npm run build:dts
21+
run: yarn build
2622
- name: Release
2723
env:
2824
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2925
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
3026
CI: true
31-
run: npm run semantic-release
27+
run: yarn semantic-release

.husky/pre-commit

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
#!/bin/sh
22
. "$(dirname $0)/_/husky.sh"
33

4-
npm run lint

.husky/pre-push

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/sh
22
. "$(dirname $0)/_/husky.sh"
33

4-
npm test
4+

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ export default defineComponent({
148148

149149
We've prepared some demos to show different use cases of the library and how to use each type of input field.
150150

151-
To check them just run the command bellow which run the app at `http://localhost:6044/ `
151+
To check them just run the command bellow which run the app at `http://localhost:3000/ `
152152

153153
```
154154
yarn run serve

cypress.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"baseUrl": "http://localhost:6044",
2+
"baseUrl": "http://localhost:3000",
33
"pluginsFile": "tests/e2e/plugins/index.js",
44
"testFiles": "**/*.e2e.js*"
55
}

demos/vue-3/public/index.html

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

demos/vue-3/src/App.vue

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,14 @@
1-
<template>
2-
<div id="app">
3-
<Toolbar />
4-
<router-view />
5-
</div>
6-
</template>
7-
81
<script lang="ts">
92
import { defineComponent } from 'vue';
10-
import Toolbar from './components/Toolbar.vue';
11-
12-
const components = {
13-
Toolbar,
14-
};
153
164
export default defineComponent({
175
name: 'app',
18-
components,
196
});
207
</script>
8+
9+
<template>
10+
<div id="app">
11+
<Toolbar />
12+
<router-view />
13+
</div>
14+
</template>

demos/vue-3/src/components/Console.vue

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,9 @@
55
<li class="rounded w-2 h-2 bg-yellow-300 inline-block mr-1"></li>
66
<li class="rounded w-2 h-2 bg-green-500 inline-block"></li>
77
</ul>
8-
<pre
9-
data-cy="form-values"
10-
class="shadow-lg pt-4"
11-
:data-formValues="jsonValues"
12-
>{{ content }}</pre
13-
>
8+
<pre data-cy="form-values" class="pt-4" :data-formValues="jsonValues">{{
9+
content
10+
}}</pre>
1411
</div>
1512
</template>
1613

@@ -32,5 +29,3 @@ export default defineComponent({
3229
},
3330
});
3431
</script>
35-
36-
<style></style>

demos/vue-3/src/components/Icon.vue

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

0 commit comments

Comments
 (0)