Skip to content

Commit 172891f

Browse files
Use wireit in scoped-custom-element-registry (webcomponents#551)
1 parent 90cb97f commit 172891f

File tree

5 files changed

+130
-5
lines changed

5 files changed

+130
-5
lines changed

.prettierignore

+2
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ packages/webcomponentsjs/custom-elements-es5-adapter.js
4141
packages/webcomponentsjs/webcomponents-bundle.d.ts
4242
packages/webcomponentsjs/webcomponents-bundle.js*
4343

44+
packages/scoped-custom-element-registry/**/.wireit/
45+
4446
LICENSE
4547
packages/*/LICENSE.md
4648
packages/tests/html-imports/html/imports/unclosed-import.html

.prettierignore-sync

+3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
[local]
22
.gitignore
33

4+
[relative]
5+
packages/*/{.gitignore,.prettierignore}
6+
47
[inline]
58
LICENSE
69
packages/*/LICENSE.md
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.wireit/

packages/scoped-custom-element-registry/package-lock.json

+96-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/scoped-custom-element-registry/package.json

+28-3
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
},
1919
"main": "scoped-custom-element-registry.min.js",
2020
"scripts": {
21-
"build": "gulp",
22-
"test": "web-test-runner"
21+
"build": "wireit",
22+
"test": "wireit"
2323
},
2424
"files": [
2525
"CHANGELOG.md",
@@ -42,6 +42,31 @@
4242
"@open-wc/testing": "^3.1.5",
4343
"@web/test-runner": "^0.13.30",
4444
"@web/test-runner-mocha": "^0.7.5",
45-
"@web/test-runner-playwright": "^0.8.9"
45+
"@web/test-runner-playwright": "^0.8.9",
46+
"wireit": "^0.10.0"
47+
},
48+
"wireit": {
49+
"build": {
50+
"command": "gulp",
51+
"files": [
52+
"gulpfile.js",
53+
"src/**/*.js"
54+
],
55+
"output": [
56+
"scoped-custom-element-registry.min.js",
57+
"scoped-custom-element-registry.min.js.map"
58+
]
59+
},
60+
"test": {
61+
"command": "wtr",
62+
"dependencies": [
63+
"build"
64+
],
65+
"files": [
66+
"web-test-runner.config.js",
67+
"test/**/*.test.(js|html)"
68+
],
69+
"output": []
70+
}
4671
}
4772
}

0 commit comments

Comments
 (0)