@dreamworld/dw-checkbox 2.4.0 → 3.0.1-add-type-module.1
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.
- package/.circleci/config.yml +6 -53
- package/demo/dw-checkbox-demo.js +1 -2
- package/dw-checkbox.js +1 -2
- package/package.json +8 -6
package/.circleci/config.yml
CHANGED
|
@@ -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:
|
|
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:
|
|
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
|
|
35
|
+
- /^feature\/.+$/
|
|
83
36
|
- release:
|
|
84
37
|
context: Dreamworld
|
|
85
38
|
filters:
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
39
|
+
branches:
|
|
40
|
+
only:
|
|
41
|
+
- master
|
package/demo/dw-checkbox-demo.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
|
|
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
|
|
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,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dreamworld/dw-checkbox",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.1-add-type-module.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dw-checkbox.js",
|
|
6
|
+
"type": "module",
|
|
6
7
|
"scripts": {
|
|
7
|
-
"test": "echo \"Error: no test specified\" && exit 1"
|
|
8
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
|
9
|
+
"start": "wds --node-resolve --app-index demo/index.html --open --watch"
|
|
8
10
|
},
|
|
9
11
|
"repository": {
|
|
10
12
|
"type": "git",
|
|
@@ -21,12 +23,12 @@
|
|
|
21
23
|
},
|
|
22
24
|
"homepage": "https://github.com/DreamworldSolutions/dw-checkbox#readme",
|
|
23
25
|
"dependencies": {
|
|
24
|
-
"@dreamworld/dw-form": "^
|
|
25
|
-
"@dreamworld/pwa-helpers": "^1.
|
|
26
|
-
"@material/mwc-checkbox": "
|
|
27
|
-
"lit-element": "^2.2.1"
|
|
26
|
+
"@dreamworld/dw-form": "^4.0.0",
|
|
27
|
+
"@dreamworld/pwa-helpers": "^1.13.1",
|
|
28
|
+
"@material/mwc-checkbox": "0.27.0"
|
|
28
29
|
},
|
|
29
30
|
"devDependencies": {
|
|
31
|
+
"@web/dev-server": "^0.1.34",
|
|
30
32
|
"semantic-release": "17.0.8"
|
|
31
33
|
},
|
|
32
34
|
"publishConfig": {
|