Skip to content

Commit 77bf8f9

Browse files
committed
Add new types to web-features package build
1 parent 1012068 commit 77bf8f9

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ packages/web-features/index.d.ts
55
packages/**/LICENSE.txt
66
packages/web-features/data.json
77
packages/web-features/data.schema.json
8-
packages/web-features/types.ts
8+
packages/web-features/types*
9+
packages/web-features/index.js
910
data.extended.json
10-
index.js
1111

1212
# Ignore files created & used by pages & 11ty
1313
/_site/**

scripts/build.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,12 @@ yargs(process.argv.slice(2))
3535

3636
function buildPackage() {
3737
const packageDir = new URL("./packages/web-features/", rootDir);
38-
const filesToCopy = ["LICENSE.txt", "types.ts", "schemas/data.schema.json"];
38+
const filesToCopy = [
39+
"LICENSE.txt",
40+
"types.quicktype.ts",
41+
"types.ts",
42+
"schemas/data.schema.json",
43+
];
3944

4045
if (!valid(data)) {
4146
logger.error("Data failed schema validation. No package built.");

0 commit comments

Comments
 (0)