Skip to content

Commit 91b40a0

Browse files
authored
Run custom elements manifest generation in build for fast foundation (#37)
# Pull Request ## 📖 Description In #36 scripts to build a custom elements manifest wree added but not included in the build step. This PR adds that step to build ## ✅ Checklist ### General - [x] I have included a change request file using `$ npm run change` - [ ] I have added tests for my changes. - [ ] I have tested my changes. - [ ] I have updated the project documentation to reflect my changes. - [ ] I have read the [CONTRIBUTING](https://github.com/microsoft/fast/blob/main/CONTRIBUTING.md) documentation and followed the [standards](https://github.com/microsoft/fast/blob/main/CODE_OF_CONDUCT.md#our-standards) for this project. --------- Co-authored-by: rajsite <1588923+rajsite@users.noreply.github.com>
1 parent 7551b8b commit 91b40a0

File tree

3 files changed

+14
-7
lines changed

3 files changed

+14
-7
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "Actually include custom-elements.json in build",
4+
"packageName": "@ni/fast-foundation",
5+
"email": "1588923+rajsite@users.noreply.github.com",
6+
"dependentChangeType": "patch"
7+
}

packages/web-components/fast-foundation/custom-elements-manifest.config.mjs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ export default {
55
"src/**/*.ts"
66
],
77
exclude: [
8-
"**/__test__/",
9-
"**/design-system/",
10-
"**/design-token/",
11-
"**/di/",
12-
"**/utilities/",
13-
"**/test-utilities/",
8+
"**/__test__/**",
9+
"**/design-system/**",
10+
"**/design-token/**",
11+
"**/di/**",
12+
"**/utilities/**",
13+
"**/test-utilities/**",
1414
"**/*.spec.ts",
1515
"**/*.template.ts",
1616
"**/index.ts",

packages/web-components/fast-foundation/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"types": "dist/fast-foundation.d.ts",
2222
"unpkg": "dist/fast-foundation.min.js",
2323
"scripts": {
24-
"build": "npm run clean:dist && npm run build:tsc && npm run build:rollup && npm run doc",
24+
"build": "npm run clean:dist && npm run build:tsc && npm run build:rollup && npm run doc && npm run build:cem",
2525
"pack": "npm pack",
2626
"lint": "npm run eslint",
2727
"format": "npm run eslint:fix",

0 commit comments

Comments
 (0)