@dreamworld/dw-checkbox 2.4.0 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,45 +1,8 @@
1
1
  version: 2
2
2
  jobs:
3
- merge-to-development:
4
- machine: true
5
- steps:
6
- - run:
7
- name: Clone Repository
8
- working_directory: ~/workdir
9
- command: |
10
- echo "PR IS::"
11
- echo $CIRCLE_PULL_REQUEST
12
- if [[ -n ${CIRCLE_PULL_REQUEST} ]]
13
- then
14
- git clone https://${GH_TOKEN}@github.com/DreamworldSolutions/$CIRCLE_PROJECT_REPONAME.git my-repo
15
- else
16
- echo "No PR Attached, so not doing anything"
17
- fi
18
- - run:
19
- name: Merge PR branch to development
20
- working_directory: ~/workdir/my-repo
21
- command: |
22
- if [[ -n ${CIRCLE_PULL_REQUEST} ]]
23
- then
24
- # circleci has 2.14.x as of now!
25
- git --version
26
- git config credential.helper 'cache --timeout=120'
27
- git config user.email "dw-devops@dreamworld.solutions"
28
- git config user.name "DW Devops"
29
- git remote set-url --push origin https://${GH_TOKEN}@github.com/DreamworldSolutions/$CIRCLE_PROJECT_REPONAME.git
30
- (git checkout -b feature/development origin/master || true)
31
- (git pull origin feature/development || true)
32
- git merge origin/$CIRCLE_BRANCH --no-ff --no-edit
33
- git push origin feature/development
34
- # Push quietly to prevent showing the token in log
35
- git push -q origin feature/development
36
- else
37
- echo "No PR Attached, so not doing anything."
38
- fi
39
-
40
3
  release-snapshot:
41
4
  docker:
42
- - image: circleci/node:14
5
+ - image: circleci/node:lts
43
6
  steps:
44
7
  - checkout
45
8
  - run: yarn install --frozen-lockfile --non-interactive
@@ -51,7 +14,7 @@ jobs:
51
14
  npx semantic-release
52
15
  release:
53
16
  docker:
54
- - image: circleci/node:14
17
+ - image: circleci/node:lts
55
18
  steps:
56
19
  - checkout
57
20
  - run: yarn install --frozen-lockfile --non-interactive
@@ -60,18 +23,8 @@ jobs:
60
23
  name: Deploy
61
24
  command: npx semantic-release
62
25
 
63
-
64
26
  workflows:
65
27
  version: 2
66
- merge-to-development:
67
- jobs:
68
- - merge-to-development:
69
- context: Dreamworld
70
- filters:
71
- branches:
72
- ignore:
73
- - master
74
- - feature/development
75
28
  release:
76
29
  jobs:
77
30
  - release-snapshot:
@@ -79,10 +32,10 @@ workflows:
79
32
  filters:
80
33
  branches:
81
34
  only:
82
- - feature/development
35
+ - /^feature\/.+$/
83
36
  - release:
84
37
  context: Dreamworld
85
38
  filters:
86
- branches:
87
- only:
88
- - master
39
+ branches:
40
+ only:
41
+ - master
@@ -8,8 +8,7 @@ Code distributed by Google as part of the polymer project is also
8
8
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
9
9
  */
10
10
 
11
- import { html, css} from 'lit-element';
12
- import { LitElement } from '@dreamworld/pwa-helpers/lit-element.js';
11
+ import { LitElement, html, css } from '@dreamworld/pwa-helpers/lit.js';
13
12
  import '../dw-checkbox.js';
14
13
 
15
14
  class DwCheckboxDemo extends LitElement {
package/dw-checkbox.js CHANGED
@@ -8,8 +8,7 @@ Code distributed by Google as part of the polymer project is also
8
8
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
9
9
  */
10
10
 
11
- import { html, css } from 'lit-element';
12
- import { LitElement } from '@dreamworld/pwa-helpers/lit-element.js';
11
+ import { LitElement, html, css } from '@dreamworld/pwa-helpers/lit.js';
13
12
  import '@material/mwc-checkbox';
14
13
  import '@dreamworld/dw-form/dw-form-field';
15
14
  import { DwFormElement } from '@dreamworld/dw-form/dw-form-element';
package/package.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "@dreamworld/dw-checkbox",
3
- "version": "2.4.0",
3
+ "version": "3.0.0",
4
4
  "description": "",
5
5
  "main": "dw-checkbox.js",
6
6
  "scripts": {
7
- "test": "echo \"Error: no test specified\" && exit 1"
7
+ "test": "echo \"Error: no test specified\" && exit 1",
8
+ "start": "wds --node-resolve --app-index demo/index.html --open --watch"
8
9
  },
9
10
  "repository": {
10
11
  "type": "git",
@@ -21,12 +22,12 @@
21
22
  },
22
23
  "homepage": "https://github.com/DreamworldSolutions/dw-checkbox#readme",
23
24
  "dependencies": {
24
- "@dreamworld/dw-form": "^3.0.1",
25
- "@dreamworld/pwa-helpers": "^1.10.0",
26
- "@material/mwc-checkbox": "^0.26.1",
27
- "lit-element": "^2.2.1"
25
+ "@dreamworld/dw-form": "^4.0.0",
26
+ "@dreamworld/pwa-helpers": "^1.13.1",
27
+ "@material/mwc-checkbox": "0.27.0"
28
28
  },
29
29
  "devDependencies": {
30
+ "@web/dev-server": "^0.1.34",
30
31
  "semantic-release": "17.0.8"
31
32
  },
32
33
  "publishConfig": {