Skip to content

Commit

Permalink
ci: Build local types in a separate project
Browse files Browse the repository at this point in the history
  • Loading branch information
ewlsh committed Mar 13, 2024
1 parent ec16084 commit 04a2ee3
Show file tree
Hide file tree
Showing 10 changed files with 499 additions and 252 deletions.
2 changes: 2 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ examples/
@types/
*.js
*/*.js
# ignore local test as it is a separate typescript project
local/
2 changes: 2 additions & 0 deletions .ts-for-gir.all.rc.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
export default {
outdir: './local/@girs/',
modules: ['*'],
girDirectories: ['./vala-girs/gir-1.0', './girs'],
ignoreVersionConflicts: true,
promisify: true,
packageYarn: true,
ignore: [
'Colorhug-1.0', // Duplicate of ColorHug-1.0
'GUPnP-DLNA-1.0', // Same namespace as GUPnP-1.0.gir, is this a bug or should we merge the type definitions?
Expand Down
9 changes: 9 additions & 0 deletions local/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
@girs

.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
1 change: 1 addition & 0 deletions local/.yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: node-modules
Loading

0 comments on commit 04a2ee3

Please sign in to comment.