Skip to content

Commit

Permalink
chore(fast-foundation): new build/test/docs setup (microsoft#3139)
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect authored May 15, 2020
1 parent 0165009 commit 411ff0b
Show file tree
Hide file tree
Showing 30 changed files with 1,177 additions and 64 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { customElement } from "@microsoft/fast-element";
import {
AnchoredRegion,
AnchoredRegionTemplate as template,
} from "@microsoft/fast-foundation/dist/anchored-region";
} from "@microsoft/fast-foundation/dist/esm/anchored-region/index.js";
import { AnchoredRegionStyles as styles } from "./anchored-region.styles";

@customElement({
Expand Down
1 change: 0 additions & 1 deletion packages/web-components/fast-element/.npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
dist/dts/__test__/
dist/esm/__test__/
*.spec.*
*.test.*
coverage/

# Source files
Expand Down
4 changes: 3 additions & 1 deletion packages/web-components/fast-foundation/.eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@ node_modules
# don't lint build output (make sure it's set to your correct build folder name)
dist
# don't lint coverage output
coverage
coverage
# don't lint tests
*.spec.ts
4 changes: 4 additions & 0 deletions packages/web-components/fast-foundation/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.rollupcache
coverage
tsdoc-metadata.json
temp
8 changes: 8 additions & 0 deletions packages/web-components/fast-foundation/.mocharc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"colors": true,
"recursive": true,
"timeout": 5000,
"require": [
"jsdom-global/register"
]
}
24 changes: 15 additions & 9 deletions packages/web-components/fast-foundation/.npmignore
Original file line number Diff line number Diff line change
@@ -1,19 +1,25 @@
# Tests
__test__/
*.test.*

# specifications
dist/dts/__test__/
dist/esm/__test__/
*.spec.*

# images
images/
coverage/

# Source files
src/

# images
images/

# config files
.eslintignore
.eslintrc.js
.eslintrc.cjs
.prettierignore
tsconfig.json
tsconfig.build.json
rollup.config.js
karma.conf.cjs
api-extractor.json
.mocharc.json

# cache
.rollupcache
temp
3 changes: 2 additions & 1 deletion packages/web-components/fast-foundation/.prettierignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
coverage/*
dist/*
dist/*
*.spec.ts
20 changes: 20 additions & 0 deletions packages/web-components/fast-foundation/api-extractor.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",

"mainEntryPointFilePath": "dist/dts/index.d.ts",

"apiReport": {
"enabled": true,
"reportFolder": "docs",
"reportFileName": "api-report.md"
},

"docModel": {
"enabled": true,
"apiJsonFilePath": "dist/fast-foundation.api.json"
},

"dtsRollup": {
"enabled": true
}
}
Loading

0 comments on commit 411ff0b

Please sign in to comment.