Skip to content

Commit

Permalink
Use wireit in scoped-custom-element-registry (#551)
Browse files Browse the repository at this point in the history
  • Loading branch information
justinfagnani authored Aug 21, 2023
1 parent 90cb97f commit 172891f
Show file tree
Hide file tree
Showing 5 changed files with 130 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ packages/webcomponentsjs/custom-elements-es5-adapter.js
packages/webcomponentsjs/webcomponents-bundle.d.ts
packages/webcomponentsjs/webcomponents-bundle.js*

packages/scoped-custom-element-registry/**/.wireit/

LICENSE
packages/*/LICENSE.md
packages/tests/html-imports/html/imports/unclosed-import.html
3 changes: 3 additions & 0 deletions .prettierignore-sync
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
[local]
.gitignore

[relative]
packages/*/{.gitignore,.prettierignore}

[inline]
LICENSE
packages/*/LICENSE.md
Expand Down
1 change: 1 addition & 0 deletions packages/scoped-custom-element-registry/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.wireit/
98 changes: 96 additions & 2 deletions packages/scoped-custom-element-registry/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

31 changes: 28 additions & 3 deletions packages/scoped-custom-element-registry/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
},
"main": "scoped-custom-element-registry.min.js",
"scripts": {
"build": "gulp",
"test": "web-test-runner"
"build": "wireit",
"test": "wireit"
},
"files": [
"CHANGELOG.md",
Expand All @@ -42,6 +42,31 @@
"@open-wc/testing": "^3.1.5",
"@web/test-runner": "^0.13.30",
"@web/test-runner-mocha": "^0.7.5",
"@web/test-runner-playwright": "^0.8.9"
"@web/test-runner-playwright": "^0.8.9",
"wireit": "^0.10.0"
},
"wireit": {
"build": {
"command": "gulp",
"files": [
"gulpfile.js",
"src/**/*.js"
],
"output": [
"scoped-custom-element-registry.min.js",
"scoped-custom-element-registry.min.js.map"
]
},
"test": {
"command": "wtr",
"dependencies": [
"build"
],
"files": [
"web-test-runner.config.js",
"test/**/*.test.(js|html)"
],
"output": []
}
}
}

0 comments on commit 172891f

Please sign in to comment.