Skip to content

Commit

Permalink
feat: upgrade to latest lit version. (#22)
Browse files Browse the repository at this point in the history
feat: upgrade to the latest lit version

BREAKING CHANGE: https://a.kerika.net/orI/board/VuCl/Zo_8
  • Loading branch information
ujjval-kukadiya committed Oct 19, 2022
1 parent c7c814f commit 920d816
Show file tree
Hide file tree
Showing 6 changed files with 984 additions and 365 deletions.
13 changes: 5 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ jobs:
- image: circleci/node:lts
steps:
- checkout
- run: yarn install --production=true --flat --non-ineractive
- run: yarn install --production=false --non-interactive
- run: yarn install --frozen-lockfile --non-interactive
- run:
name: Deploy
command: |
Expand All @@ -18,14 +17,12 @@ jobs:
- image: circleci/node:lts
steps:
- checkout
- run: yarn install --production=true --flat --non-ineractive
- run: yarn install --production=false --non-interactive
- run: yarn install --frozen-lockfile --non-interactive
- run: echo "Running release job"
- run:
name: Deploy
command: npx semantic-release


workflows:
version: 2
release:
Expand All @@ -39,6 +36,6 @@ workflows:
- release:
context: Dreamworld
filters:
branches:
only:
- master
branches:
only:
- master
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,4 @@ e.g.
| _swipeScrollToPosition(pos) | Swipe to specific position. **pos**: Passed to swipe position |
| _swipeScrollToIndex(index, disableTransition) | Swipe to specific Slide (identified by the 0-based index.).|
| _swipeDestroy() | Destroy a swipe |

12 changes: 1 addition & 11 deletions demo/dw-swipe-demo.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,4 @@
/**
@license
Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/

import { css, LitElement, html } from 'lit-element';
import { LitElement, html, css } from '@dreamworld/pwa-helpers/lit.js';

//These are the dw element needed by this elemenet
import './dw-swipe-integrater';
Expand Down
12 changes: 1 addition & 11 deletions demo/dw-swipe-integrater.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,4 @@
/**
@license
Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/

import { css, LitElement, html } from 'lit-element';
import { LitElement, html, css } from '@dreamworld/pwa-helpers/lit.js';
import { DwSwipe } from '../dw-swipe';

//These are the dw element needed by this elemenet
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"description": "A LitElement mixin to implement Swipe behavior. e.g. It's used in Kerika board to scroll column one at a time through swipe gesture.",
"main": "dw-swipe.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo \"Error: no test specified\" && exit 1",
"start": "wds --node-resolve --app-index demo/index.html --open --watch"
},
"publishConfig": {
"access": "public"
Expand All @@ -14,11 +15,12 @@
"url": "git+https://github.com/DreamworldSolutions/dw-swipe.git"
},
"dependencies": {
"@dreamworld/pwa-helpers": "^1.14.0",
"reselect": "^4.0.0"
},
"devDependencies": {
"@web/dev-server": "^0.1.34",
"@webcomponents/webcomponentsjs": "^2.2.10",
"lit-element": "^2.2.1",
"lodash-es": "^4.17.15",
"semantic-release": "17.0.8"
},
Expand Down
Loading

0 comments on commit 920d816

Please sign in to comment.