Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
216 commits
Select commit Hold shift + click to select a range
a901b7c
Create LICENSE
bcakmakoglu Jul 14, 2021
1915bad
refactor: instead of a computed property we'll wait for the mounted h…
bcakmakoglu Jul 14, 2021
b050c6f
v0.1.4
bcakmakoglu Jul 14, 2021
c7aa884
refactor: move updated and beforedestroy hooks to useDraggable.ts/use…
bcakmakoglu Jul 14, 2021
96c533b
fix: import from vue-demi to avoid warnings in vue2
bcakmakoglu Jul 14, 2021
72881cc
v0.1.5
bcakmakoglu Jul 14, 2021
4132dc1
update: Add some keywords to package.json
bcakmakoglu Jul 15, 2021
782193c
v0.1.6
bcakmakoglu Jul 15, 2021
f598e27
update: remove onMounted hooks from directives (handled in useDraggab…
bcakmakoglu Jul 15, 2021
55edd9b
refactor: Foo.vue to ExampleComponent.vue, same component just with a…
bcakmakoglu Jul 15, 2021
6285120
update: beautify README.md
bcakmakoglu Jul 15, 2021
9cdc637
update: docs with more info in index.md
bcakmakoglu Jul 15, 2021
65aeb05
feat: install plugin differently for vue2 / vue3
bcakmakoglu Jul 15, 2021
e01fe37
v0.1.7
bcakmakoglu Jul 15, 2021
f74c3e1
feat: add event emitters to draggable composables so we can alternati…
bcakmakoglu Jul 15, 2021
383339f
update: docs with info on events
bcakmakoglu Jul 15, 2021
859c889
update: add an eventhandler example
bcakmakoglu Jul 15, 2021
f5a720b
fix: small regression in directive emitting event, this is done by th…
bcakmakoglu Jul 15, 2021
308ebf3
feat: add cypress and a basic test
bcakmakoglu Jul 15, 2021
b642e55
fix: add all event emitters to components
bcakmakoglu Jul 15, 2021
4bbc299
feat: add ci workflow
bcakmakoglu Jul 15, 2021
ab8ebfa
feat: add issue templates
bcakmakoglu Jul 15, 2021
3288969
fix: remove types for cypress/chai/mocha (already included)
bcakmakoglu Jul 15, 2021
73ed130
update: ci.yml to create a build
bcakmakoglu Jul 15, 2021
ca894f9
update: check if position actually changed after drag
bcakmakoglu Jul 15, 2021
0daddfe
update: README.md with info about test
bcakmakoglu Jul 15, 2021
6395de8
update: np config to use ci script as test
bcakmakoglu Jul 15, 2021
9a0f428
v0.1.8
bcakmakoglu Jul 15, 2021
856936a
hotfix: typing of DraggableEvent to match Keyboard and MouseEvents
bcakmakoglu Jul 15, 2021
95d20b0
v0.1.9
bcakmakoglu Jul 15, 2021
f4e4c1d
hotfix: *actually* fix the type of DraggableEvent...
bcakmakoglu Jul 15, 2021
719d253
update: add cypress screenshots dir to gitignore
bcakmakoglu Jul 15, 2021
000e0b5
v0.1.10
bcakmakoglu Jul 15, 2021
43ecb70
fix: Add correct type for draggable event emitter
bcakmakoglu Jul 17, 2021
6b689f6
v0.1.11
bcakmakoglu Jul 17, 2021
158e715
fix: naming collision between OnDrag Prop an onDrag as Event-Emitter …
bcakmakoglu Jul 17, 2021
2dd18d1
v0.1.12
bcakmakoglu Jul 17, 2021
2116a50
fix: more naming collisions in JSX
bcakmakoglu Jul 17, 2021
8a4d3b9
v0.1.13
bcakmakoglu Jul 17, 2021
60cdbe5
feat!: implement event hooks for onDragStart, onDrag and onDragStop
bcakmakoglu Jul 19, 2021
4de2bce
refactor: check if vnode instance or native el has to be used to emit…
bcakmakoglu Jul 19, 2021
f856776
update: docs with info about event hooks
bcakmakoglu Jul 19, 2021
27b1c35
feat(breaking!): Composable hooks introduced
bcakmakoglu Jul 19, 2021
8f7f61d
update: docs
bcakmakoglu Jul 19, 2021
183a189
update: test & example
bcakmakoglu Jul 19, 2021
f249001
v0.1.14-0
bcakmakoglu Jul 19, 2021
6f0dddb
feat: Reimplemented components, though they will not be without a wra…
bcakmakoglu Jul 19, 2021
d44dedf
update: docs and README.md with info on component again
bcakmakoglu Jul 19, 2021
47cd069
fix: circular dep
bcakmakoglu Jul 19, 2021
2dcd18d
update: docs index
bcakmakoglu Jul 19, 2021
44b3fe5
v0.2.0-0
bcakmakoglu Jul 19, 2021
3159465
update: add components to Plugin
bcakmakoglu Jul 19, 2021
3ca4e1a
fix: circular deps
bcakmakoglu Jul 20, 2021
1d9c0ca
v0.2.1-0
bcakmakoglu Jul 20, 2021
c952f2a
fix: Render functions not passing el ref correctly
bcakmakoglu Jul 20, 2021
1e04cb0
fix: shims-vue.d.ts
bcakmakoglu Jul 20, 2021
de36ff2
update: named instead of default export in index.ts
bcakmakoglu Jul 20, 2021
3c78a11
update: rollup.config.js split into js and ts files
bcakmakoglu Jul 20, 2021
778104d
v0.2.1-1
bcakmakoglu Jul 20, 2021
acb05c2
update: build config
bcakmakoglu Jul 20, 2021
58f80de
update: build config
bcakmakoglu Jul 20, 2021
3db6435
feat: support multiple slots passed to `<Draggable>`
bcakmakoglu Jul 20, 2021
4486171
v0.2.1-2
bcakmakoglu Jul 20, 2021
3c6c290
refactor: add draggable in component on mounted hook (possibly avoid …
bcakmakoglu Jul 20, 2021
7d0675c
v0.2.1-3
bcakmakoglu Jul 20, 2021
1e925b8
update: check which vue version to render components
bcakmakoglu Jul 20, 2021
8c946ce
update: docs
bcakmakoglu Jul 20, 2021
55c4883
v0.2.1-4
bcakmakoglu Jul 20, 2021
42343b9
update: README.md
bcakmakoglu Jul 20, 2021
3c513cc
feat: add callback option as prop to components and option to composa…
bcakmakoglu Jul 20, 2021
a6baa67
v0.2.1-5
bcakmakoglu Jul 20, 2021
0468926
fix: update props to composable when component updates
bcakmakoglu Jul 20, 2021
edea0ca
v0.2.1-6
bcakmakoglu Jul 20, 2021
ebf050f
v0.2.1
bcakmakoglu Jul 20, 2021
b1f15a2
feat: Beautified demo
bcakmakoglu Jul 20, 2021
fccc7da
v0.2.2
bcakmakoglu Jul 20, 2021
088964b
chore: demo deps
bcakmakoglu Jul 20, 2021
5550915
fix: demo conf
bcakmakoglu Jul 20, 2021
a06bd5e
chore: deps add script for demo
bcakmakoglu Jul 20, 2021
7c9faa8
chore: fix demo script
bcakmakoglu Jul 20, 2021
0320dc4
fix: demo nuxt conf
bcakmakoglu Jul 20, 2021
6dbc03c
fix: docs index format
bcakmakoglu Jul 20, 2021
c776425
fix: deps
bcakmakoglu Jul 20, 2021
7c8f02e
fix: deps
bcakmakoglu Jul 20, 2021
af6d964
chore: update example as demo doesn't deploy on Vercel... locally it …
bcakmakoglu Jul 20, 2021
9b45166
update: minor styling change for example
bcakmakoglu Jul 20, 2021
437a875
update: add listener to draggable on demo el
bcakmakoglu Jul 20, 2021
9551b87
v0.2.3
bcakmakoglu Jul 20, 2021
8eb030c
update(demo): add colors to windicss.config.ts
bcakmakoglu Jul 21, 2021
43debd0
feat: use ref as "state" for composables
bcakmakoglu Jul 21, 2021
28aae66
update: renamed demo dir to vue2 demo
bcakmakoglu Jul 21, 2021
bccf7c1
feat: expose state as scoped slot prop
bcakmakoglu Jul 21, 2021
8819d6d
chore: remove check for specific nr of elements from test
bcakmakoglu Jul 21, 2021
0192b34
update: move colors to separate file
bcakmakoglu Jul 21, 2021
f74e056
fix: state updates happening before change (should be on changed)
bcakmakoglu Jul 21, 2021
3acf569
feat(demo): Add WrapperBox.vue for prettier demo boxes
bcakmakoglu Jul 21, 2021
8ba6e13
fix: spread props on update in Draggable.ts
bcakmakoglu Jul 22, 2021
0c521ca
feat: Prettier demo (thanks Windicss)
bcakmakoglu Jul 22, 2021
f9af300
fix: windiconf not extracing from demo dir
bcakmakoglu Jul 22, 2021
8e804b7
fix: add safelist to windiconf
bcakmakoglu Jul 22, 2021
acace4b
fix: regression bug using useMouse
bcakmakoglu Jul 22, 2021
aa317b7
update: example app
bcakmakoglu Jul 22, 2021
67564c2
fix: some issues with scrolling
bcakmakoglu Jul 22, 2021
4aba244
update: example
bcakmakoglu Jul 22, 2021
f473f75
fix: tests looking for non existing class (been removed with update)
bcakmakoglu Jul 22, 2021
b397261
feat: Add info modal to examples with code snippets
bcakmakoglu Jul 23, 2021
0e61eb1
v0.2.4
bcakmakoglu Jul 23, 2021
a13f5c3
fix: no more passing multiple children to Draggable, it's not suppose…
bcakmakoglu Jul 24, 2021
60b3ffb
update: add z-index 999 when example box is being dragged
bcakmakoglu Jul 24, 2021
1fefc4a
v0.2.5
bcakmakoglu Jul 24, 2021
47be785
fix: nuxt2 demo
bcakmakoglu Jul 28, 2021
e312155
fix: useDraggable.ts and useDraggableCore.ts implement a regular ref …
bcakmakoglu Jul 29, 2021
61a6ea5
v0.2.6
bcakmakoglu Jul 29, 2021
32bdb88
fix: Render functions in components for Vue2
bcakmakoglu Jul 29, 2021
77f458f
chore: deps in vue2 demo
bcakmakoglu Jul 29, 2021
57af42a
update: add colors to windicss.config.ts in vue2 demo
bcakmakoglu Jul 29, 2021
c36d678
v0.2.7
bcakmakoglu Jul 29, 2021
7b2a571
fix: infinite updates on directive
bcakmakoglu Jul 29, 2021
1a5d2c9
fix: Implement an actual obj comparison library instead of using json…
bcakmakoglu Jul 29, 2021
3a372ed
update: vue2 demo
bcakmakoglu Jul 29, 2021
09c33f3
v0.2.8-0
bcakmakoglu Jul 29, 2021
82f1a5e
v0.2.8
bcakmakoglu Jul 29, 2021
68e4d63
refactor: renamed emitter in directive to emit (more uniform with vue)
bcakmakoglu Jul 29, 2021
976a747
chore(deps-dev): bump vue-tsc from 0.0.24 to 0.2.2
dependabot[bot] Jul 23, 2021
4b5734c
chore(deps-dev): bump vite-plugin-windicss from 1.2.5 to 1.2.7
dependabot[bot] Jul 28, 2021
15c128b
fix: state types
bcakmakoglu Jul 29, 2021
c4e1902
refactor: extend dev script
bcakmakoglu Jul 29, 2021
670bcbe
update: add workflow ci for develop branch
bcakmakoglu Jul 29, 2021
922879f
v0.2.9
bcakmakoglu Jul 29, 2021
cae9d5d
update: Add jfrueh to sponsors! 🏌️‍♀️
bcakmakoglu Aug 14, 2021
f85cc17
update: remove unused ref from Draggable.ts
bcakmakoglu Aug 1, 2021
f23aaf4
update(example): move info icon a little more to the top-right corner…
bcakmakoglu Aug 1, 2021
2a64e68
feat: Add initial state func to composables
bcakmakoglu Aug 11, 2021
a35d004
update: remove init function from Draggable component
bcakmakoglu Aug 11, 2021
7338524
feat: scoped slot in Draggable component
bcakmakoglu Aug 11, 2021
fa388ca
update(directive): Binding value
bcakmakoglu Aug 12, 2021
953c902
fix: blurry transformation in chrome
bcakmakoglu Aug 12, 2021
653e4c9
fix(example): Rem fix event handler
bcakmakoglu Aug 13, 2021
46b9bf4
update(core): Stateless core
bcakmakoglu Aug 13, 2021
15e4d90
update(docs): Draggable and Draggable Core documentation
bcakmakoglu Aug 13, 2021
0dc7362
chore(deps): Remove fast-deep-equal
bcakmakoglu Aug 13, 2021
4949702
feat: Add transform fix option
bcakmakoglu Aug 15, 2021
eb0e514
v0.3.0-0
bcakmakoglu Aug 15, 2021
ab93f42
fix: Transform fix option stuck in infinite loop
bcakmakoglu Aug 16, 2021
3a4c622
update(docs): Debugging info
bcakmakoglu Aug 16, 2021
e49b20d
chore(deps): Update draggable to next tag in vue2 demo
bcakmakoglu Aug 16, 2021
7d57fb0
v0.3.0-1
bcakmakoglu Aug 16, 2021
d5cee8f
fix: Infinite loop in directive
bcakmakoglu Aug 16, 2021
b480204
v0.3.0-2
bcakmakoglu Aug 16, 2021
bcb9db4
fix: Transformations not applied on state change
bcakmakoglu Aug 17, 2021
4a507d9
v0.3.0-3
bcakmakoglu Aug 17, 2021
17149aa
update(docs): Remove x and y from DraggableOptions
bcakmakoglu Aug 17, 2021
52ce832
fix: Jumping positions when custom styling and transform fix are acti…
bcakmakoglu Aug 19, 2021
70f2617
v0.3.0-4
bcakmakoglu Aug 19, 2021
c93ceba
update(composable): Correct starting positions
bcakmakoglu Aug 19, 2021
d9400e3
update(example): Overwrite controlPos correctly
bcakmakoglu Aug 19, 2021
e81be53
v0.3.0-5
bcakmakoglu Aug 19, 2021
6fa9a64
chore: Add funding.yml
bcakmakoglu Aug 25, 2021
b2d5bd2
v0.3.0
bcakmakoglu Sep 6, 2021
583cd42
fix: bounds causing inverted drag
bcakmakoglu Oct 10, 2021
3ae68f3
refactor!: remove slack
bcakmakoglu Oct 12, 2021
394dd49
fix: typescript version fixed to 4.3.5
bcakmakoglu Oct 12, 2021
c173db1
update(docs): add gif to readme and docs index page
bcakmakoglu Oct 13, 2021
9b643bc
fix: deltas and positions not aligning between draggable and core
bcakmakoglu Nov 17, 2021
dc0d658
fix: package.json version number
bcakmakoglu Nov 17, 2021
c60f48e
v0.3.2
bcakmakoglu Nov 17, 2021
b33d19c
fix: pass current pos from draggable to core
bcakmakoglu Nov 17, 2021
be439df
v0.3.3
bcakmakoglu Nov 17, 2021
a69fcd3
fix: styles causing position to create a wrong transformation
bcakmakoglu Nov 17, 2021
cd10e72
v0.3.4
bcakmakoglu Nov 17, 2021
aa07232
update: new demo and docs url
bcakmakoglu Nov 17, 2021
d66c5bd
feat: merge transform values
bcakmakoglu Nov 17, 2021
7d11dde
fix: missing classes on load
bcakmakoglu Nov 17, 2021
e6a7bf2
v0.3.5
bcakmakoglu Nov 17, 2021
6ac153f
update: watch-type for components
bcakmakoglu Nov 18, 2021
007126d
v0.3.6
bcakmakoglu Nov 18, 2021
35a9c21
fix: watcher causing scale to calculate transform wrong
bcakmakoglu Nov 18, 2021
428b480
v0.3.7
bcakmakoglu Nov 18, 2021
fa62498
fix: node-type
bcakmakoglu Nov 18, 2021
47c0288
fix: draggable not reacting to state change
bcakmakoglu Nov 18, 2021
42d7893
fix: draggable and draggable core components not updating state properly
bcakmakoglu Nov 22, 2021
144138c
chore(deps): update vueuse to latest
bcakmakoglu Nov 22, 2021
e206022
update: use get helper in useDraggable/useDraggableCore
bcakmakoglu Nov 22, 2021
5d6d047
update: force transformation on update end
bcakmakoglu Nov 23, 2021
c7065b0
fix: transform regex not matching % values
bcakmakoglu Nov 23, 2021
ba08c53
v0.3.8
bcakmakoglu Nov 23, 2021
7a02d8f
fix: scaling being calculated twice
bcakmakoglu Nov 23, 2021
29641fa
v0.3.9
bcakmakoglu Nov 23, 2021
68e58f0
refactor: add reactive state to composables
bcakmakoglu Dec 7, 2021
7f8625c
refactor: watch positions for update - not whole state
bcakmakoglu Dec 7, 2021
e9dc073
refactor: force immediate update
bcakmakoglu Dec 7, 2021
68be614
update: lint examples
bcakmakoglu Dec 7, 2021
5100e49
refactor: remove rollup and use vite lib mode
bcakmakoglu Dec 7, 2021
c7fbdd8
refactor: use relative paths
bcakmakoglu Dec 7, 2021
54dc423
fix: file name in package.json
bcakmakoglu Dec 7, 2021
16d694f
v0.4.0
bcakmakoglu Dec 7, 2021
8798b53
fix: file name for types main
bcakmakoglu Dec 7, 2021
09e2480
v0.4.1
bcakmakoglu Dec 7, 2021
f8d1053
update: add "import" to exports object in package.json
bcakmakoglu Dec 21, 2021
46435cb
v0.4.2
bcakmakoglu Feb 6, 2022
7e0ec7d
fix: cancel update if handler returns false
bcakmakoglu Jan 11, 2023
6899c64
v0.4.3
bcakmakoglu Jan 11, 2023
8959a6a
chore: replace yarn with pnpm
bcakmakoglu Feb 14, 2024
fa48269
chore: cleanup files and lint
bcakmakoglu Feb 14, 2024
ef4ceea
chore: lint files
bcakmakoglu Mar 11, 2024
925365b
refactor: use esm format
bcakmakoglu Mar 11, 2024
a262464
fix: add types export to package.json
bcakmakoglu Mar 11, 2024
3a06e4c
chore: use port 3000
bcakmakoglu Mar 11, 2024
ba8b6d3
v0.5.0
bcakmakoglu Mar 11, 2024
d78e092
chore(deps-dev): update deps dev
bcakmakoglu Sep 5, 2024
34e9d05
fix(workflows): update workflows to use node 20 and pnpm
bcakmakoglu Sep 5, 2024
ce6ce41
chore(workflows): cleanup commands
bcakmakoglu Sep 5, 2024
504afdf
fix(draggable-core): add internal arg to avoid duplicate events
bcakmakoglu Sep 5, 2024
1ed4a69
chore: cleanup np script
bcakmakoglu Sep 5, 2024
f7c78bc
v0.5.1
bcakmakoglu Sep 5, 2024
af465d2
chore(deps-dev): bump vue-router from 4.2.5 to 4.5.0
dependabot[bot] Jan 27, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .babelrc

This file was deleted.

58 changes: 58 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{
"root": true,
"extends": [
"@antfu",
"plugin:prettier/recommended",
"plugin:cypress/recommended"
],
"plugins": [
"prettier"
],
"rules": {
"curly": [
"error",
"all"
],
"vue/no-setup-props-destructure": 0,
"no-console": [
"error",
{
"allow": [
"warn",
"error"
]
}
],
"unused-imports/no-unused-vars": 0,
"@typescript-eslint/no-use-before-define": 0,
"eqeqeq": 0,
"@typescript-eslint/no-unused-vars": [
"error",
{
"argsIgnorePattern": "^_",
"varsIgnorePattern": "^_"
}
],
"prettier/prettier": [
"error",
{
"singleQuote": true,
"trailingComma": "all",
"semi": false,
"quoteProps": "consistent",
"bracketSpacing": true,
"printWidth": 130
}
],
"antfu/if-newline": 0,
"antfu/generic-spacing": 0,
// typescript
"@typescript-eslint/no-empty-interface": "off",
"@typescript-eslint/ban-types": "off",
// stylistic
"@stylistic/ts/member-delimiter-style": "off",
"@stylistic/ts/brace-style": "off",
"@stylistic/js/operator-linebreak": "off",
"@stylistic/ts/indent": "off"
}
}
43 changes: 0 additions & 43 deletions .eslintrc.js

This file was deleted.

1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
github: bcakmakoglu
38 changes: 38 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
35 changes: 35 additions & 0 deletions .github/actions/install-dependencies/action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Install Dependencies

description: This workflow will install dependencies and should be used as an action for other workflows

runs:
using: "composite"

steps:
- name: Install pnpm 📦
uses: pnpm/action-setup@v3.0.0
with:
version: 9.3.0
run_install: false

- name: Setup pnpm config 📖
run: pnpm config set store-dir .pnpm-store
shell: bash

- name: Get pnpm store directory 🏬
id: pnpm-cache
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT

- name: Setup pnpm cache 🧃
uses: actions/cache@v4
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-

- name: Install dependencies 👨🏻‍💻
run: pnpm install --frozen-lockfile --ignore-scripts
shell: bash
32 changes: 32 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
version: 2
updates:
# Fetch and update latest `npm` packages
- package-ecosystem: npm
directory: '/'
schedule:
interval: daily
time: '00:00'
open-pull-requests-limit: 10
reviewers:
- bcakmakoglu
assignees:
- bcakmakoglu
commit-message:
prefix: fix
prefix-development: chore
include: scope
# Fetch and update latest `github-actions` pkgs
- package-ecosystem: github-actions
directory: '/'
schedule:
interval: daily
time: '00:00'
open-pull-requests-limit: 10
reviewers:
- bcakmakoglu
assignees:
- bcakmakoglu
commit-message:
prefix: fix
prefix-development: chore
include: scope
53 changes: 53 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: ci

on:
push:
branches:
- main
- master
- develop
pull_request:
branches:
- main
- master
- develop

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }}
cancel-in-progress: true

jobs:
build-and-test:
runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [ubuntu-latest]
node: [20]

steps:
- name: Checkout 🛎
uses: actions/checkout@master

- name: Setup node env 🏗
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
check-latest: true

- name: Install Dependencies 👨🏻‍💻
uses: ./.github/actions/install-dependencies

- name: Run linter 👀
run: pnpm lint

- name: Run tests 🧪
uses: cypress-io/github-action@v5
with:
install-command: pnpm cypress install
start: pnpm ci:test
command: pnpm test
browser: chrome

- name: Build App 🛠
run: pnpm build
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -97,3 +97,4 @@ hasura/db_data/
types/types.ts

build
cypress/screenshots
8 changes: 0 additions & 8 deletions .prettierrc

This file was deleted.

21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2021-2024 Burak Cakmakoglu

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Loading