Skip to content

Commit

Permalink
Merge pull request #3 from reside-ic/setup
Browse files Browse the repository at this point in the history
Setup
  • Loading branch information
M-Kusumgar authored Jan 22, 2024
2 parents 6cd25cf + 3ce4e5a commit c9ef909
Show file tree
Hide file tree
Showing 17 changed files with 4,976 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
on:
push:
branches:
- main
pull_request:
branches:
- main

name: Test

jobs:
test:
runs-on: ubuntu-latest
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
steps:
- uses: actions/checkout@v2

- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18.x

- name: Install Packages
run: npm ci

- name: Tests
run: npm run coverage

- name: Upload Coverage to CodeCov
uses: codecov/codecov-action@v3
24 changes: 24 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist-ssr
dist
*.local
coverage

# Editor directories and files
.vscode/*
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
## Run

```commandline
npm run dev
```

## Build

```commandline
npm run build
```

## Test

```commandline
npm run test
```

## Test with coverage

```commandline
npm run coverage
```
12 changes: 12 additions & 0 deletions demo/App.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<template>
<hello-world/>
</template>

<script lang="ts">
import HelloWorld from "../src/components/Component.vue";
import { defineComponent } from "vue";
export default defineComponent({
components: { HelloWorld }
});
</script>
5 changes: 5 additions & 0 deletions demo/main.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { createApp } from 'vue'
import '../src/style.css'
import App from './App.vue'

createApp(App).mount('#app')
12 changes: 12 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Nested Multiselect Demo</title>
</head>
<body>
<div id="app"></div>
<script type="module" src="/demo/main.ts"></script>
</body>
</html>
Loading

0 comments on commit c9ef909

Please sign in to comment.