Skip to content

Commit ce7286d

Browse files
committed
feat: Initial commit
0 parents  commit ce7286d

27 files changed

+9638
-0
lines changed

.babelrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"presets": [["@babel/preset-env", {"targets": {"node": "current"}}]]
3+
}

.github/workflows/index.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: "deploy"
2+
on:
3+
push:
4+
branches:
5+
- main
6+
jobs:
7+
release:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v2
11+
- uses: actions/setup-node@v1
12+
with:
13+
node-version: '16'
14+
- run: yarn install
15+
- run: yarn test:ci
16+
- run: yarn build
17+
- run: npx semantic-release
18+
env:
19+
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
20+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
21+
- uses: codecov/codecov-action@v1
22+
with:
23+
file: coverage/lcov.info

.gitignore

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Build
2+
.cache/
3+
dist/
4+
stats.html
5+
6+
# Dependencies
7+
node_modules/
8+
9+
# Misc
10+
.DS_STORE
11+
12+
# NPM
13+
npm-debug.log*
14+
yarn-debug.log*
15+
yarn-error.log*
16+
package-lock.json
17+
.yarn
18+
19+
# Webstorm
20+
.idea/
21+
*.iml
22+
23+
# Jest
24+
coverage/
25+
__snapshots__/

.prettierignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
dist/
2+
node_modules/

.prettierrc

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"pluginSearchDirs": ["."],
3+
"printWidth": 120,
4+
"useTabs": true,
5+
"tabWidth": 4,
6+
"singleQuote": true,
7+
"semi": false,
8+
"trailingComma": "es5",
9+
"bracketSpacing": true,
10+
"overrides": [
11+
{
12+
"files": "./**/*.js",
13+
"options": {
14+
"parser": "babylon"
15+
}
16+
},
17+
{
18+
"files": "./**/*.json",
19+
"options": {
20+
"parser": "json"
21+
}
22+
},
23+
{
24+
"files": ".prettierrc",
25+
"options": {
26+
"parser": "json"
27+
}
28+
}
29+
]
30+
}

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<p align="center">
2+
svelte-use-tooltip
3+
</p>
4+
<p align="center">
5+
Svelte action to display a tooltip
6+
</p>
7+
8+
TODO

assets/svelte-palette.png

45.5 KB
Loading

assets/trash.png

11.9 KB
Loading

commitlint.config.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
module.exports = {
2+
extends: ['@commitlint/config-conventional'],
3+
rules: {
4+
'subject-case': [2, 'always', ['sentence-case']],
5+
'scope-case': [2, 'always', ['lower-case', 'upper-case']],
6+
},
7+
}

dev/.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/node_modules/
2+
/public/build/
3+
4+
.DS_Store

0 commit comments

Comments
 (0)