Skip to content

Commit

Permalink
Add flow type definitions to the repo to avoid failures during flow t…
Browse files Browse the repository at this point in the history
…ype installation (#118)

* fix: add flow types to repo

* fix: remove flow type install step from build scripts
  • Loading branch information
ravishekhar authored Aug 1, 2024
1 parent 449034e commit a802a67
Show file tree
Hide file tree
Showing 30 changed files with 8,737 additions and 4 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@ jobs:
- name: 👕 Lint commit messages
uses: wagoid/commitlint-github-action@v4

- name: ▶️ Run flow-typed script
run: npm run flow-typed

- name: ▶️ Run build script
run: npm run build

Expand Down
59 changes: 59 additions & 0 deletions flow-typed/npm/@commitlint/cli_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
// flow-typed signature: 5559d97aaf526bbcbabcb99b36bc5e17
// flow-typed version: <<STUB>>/@commitlint/cli_v^16.2.1/flow_v0.155.0

/**
* This is an autogenerated libdef stub for:
*
* '@commitlint/cli'
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you to share your work with the
* community by sending a pull request to:
* https://github.com/flowtype/flow-typed
*/

declare module '@commitlint/cli' {
declare module.exports: any;
}

/**
* We include stubs for each file inside this npm package in case you need to
* require those files directly. Feel free to delete any files that aren't
* needed.
*/
declare module '@commitlint/cli/cli' {
declare module.exports: any;
}

declare module '@commitlint/cli/lib/cli-error' {
declare module.exports: any;
}

declare module '@commitlint/cli/lib/cli' {
declare module.exports: any;
}

declare module '@commitlint/cli/lib/types' {
declare module.exports: any;
}

// Filename aliases
declare module '@commitlint/cli/cli.js' {
declare module.exports: $Exports<'@commitlint/cli/cli'>;
}
declare module '@commitlint/cli/index' {
declare module.exports: $Exports<'@commitlint/cli'>;
}
declare module '@commitlint/cli/index.js' {
declare module.exports: $Exports<'@commitlint/cli'>;
}
declare module '@commitlint/cli/lib/cli-error.js' {
declare module.exports: $Exports<'@commitlint/cli/lib/cli-error'>;
}
declare module '@commitlint/cli/lib/cli.js' {
declare module.exports: $Exports<'@commitlint/cli/lib/cli'>;
}
declare module '@commitlint/cli/lib/types.js' {
declare module.exports: $Exports<'@commitlint/cli/lib/types'>;
}
33 changes: 33 additions & 0 deletions flow-typed/npm/@commitlint/config-conventional_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
// flow-typed signature: 9962542700789a22cff26fc78989b904
// flow-typed version: <<STUB>>/@commitlint/config-conventional_v^16.2.1/flow_v0.155.0

/**
* This is an autogenerated libdef stub for:
*
* '@commitlint/config-conventional'
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you to share your work with the
* community by sending a pull request to:
* https://github.com/flowtype/flow-typed
*/

declare module '@commitlint/config-conventional' {
declare module.exports: any;
}

/**
* We include stubs for each file inside this npm package in case you need to
* require those files directly. Feel free to delete any files that aren't
* needed.
*/


// Filename aliases
declare module '@commitlint/config-conventional/index' {
declare module.exports: $Exports<'@commitlint/config-conventional'>;
}
declare module '@commitlint/config-conventional/index.js' {
declare module.exports: $Exports<'@commitlint/config-conventional'>;
}
101 changes: 101 additions & 0 deletions flow-typed/npm/@krakenjs/cross-domain-safe-weakmap_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
// flow-typed signature: c1582f4a5fd85814ac0820269f611942
// flow-typed version: <<STUB>>/@krakenjs/cross-domain-safe-weakmap_v^2.0.2/flow_v0.155.0

/**
* This is an autogenerated libdef stub for:
*
* '@krakenjs/cross-domain-safe-weakmap'
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you to share your work with the
* community by sending a pull request to:
* https://github.com/flowtype/flow-typed
*/

declare module '@krakenjs/cross-domain-safe-weakmap' {
declare module.exports: any;
}

/**
* We include stubs for each file inside this npm package in case you need to
* require those files directly. Feel free to delete any files that aren't
* needed.
*/
declare module '@krakenjs/cross-domain-safe-weakmap/dist/cross-domain-safe-weakmap' {
declare module.exports: any;
}

declare module '@krakenjs/cross-domain-safe-weakmap/dist/cross-domain-safe-weakmap.min' {
declare module.exports: any;
}

declare module '@krakenjs/cross-domain-safe-weakmap/dist/module' {
declare module.exports: any;
}

declare module '@krakenjs/cross-domain-safe-weakmap/dist/module/native' {
declare module.exports: any;
}

declare module '@krakenjs/cross-domain-safe-weakmap/dist/module/util' {
declare module.exports: any;
}

declare module '@krakenjs/cross-domain-safe-weakmap/dist/module/weakmap' {
declare module.exports: any;
}

declare module '@krakenjs/cross-domain-safe-weakmap/src' {
declare module.exports: any;
}

declare module '@krakenjs/cross-domain-safe-weakmap/src/native' {
declare module.exports: any;
}

declare module '@krakenjs/cross-domain-safe-weakmap/src/util' {
declare module.exports: any;
}

declare module '@krakenjs/cross-domain-safe-weakmap/src/weakmap' {
declare module.exports: any;
}

// Filename aliases
declare module '@krakenjs/cross-domain-safe-weakmap/dist/cross-domain-safe-weakmap.js' {
declare module.exports: $Exports<'@krakenjs/cross-domain-safe-weakmap/dist/cross-domain-safe-weakmap'>;
}
declare module '@krakenjs/cross-domain-safe-weakmap/dist/cross-domain-safe-weakmap.min.js' {
declare module.exports: $Exports<'@krakenjs/cross-domain-safe-weakmap/dist/cross-domain-safe-weakmap.min'>;
}
declare module '@krakenjs/cross-domain-safe-weakmap/dist/module/index' {
declare module.exports: $Exports<'@krakenjs/cross-domain-safe-weakmap/dist/module'>;
}
declare module '@krakenjs/cross-domain-safe-weakmap/dist/module/index.js' {
declare module.exports: $Exports<'@krakenjs/cross-domain-safe-weakmap/dist/module'>;
}
declare module '@krakenjs/cross-domain-safe-weakmap/dist/module/native.js' {
declare module.exports: $Exports<'@krakenjs/cross-domain-safe-weakmap/dist/module/native'>;
}
declare module '@krakenjs/cross-domain-safe-weakmap/dist/module/util.js' {
declare module.exports: $Exports<'@krakenjs/cross-domain-safe-weakmap/dist/module/util'>;
}
declare module '@krakenjs/cross-domain-safe-weakmap/dist/module/weakmap.js' {
declare module.exports: $Exports<'@krakenjs/cross-domain-safe-weakmap/dist/module/weakmap'>;
}
declare module '@krakenjs/cross-domain-safe-weakmap/src/index' {
declare module.exports: $Exports<'@krakenjs/cross-domain-safe-weakmap/src'>;
}
declare module '@krakenjs/cross-domain-safe-weakmap/src/index.js' {
declare module.exports: $Exports<'@krakenjs/cross-domain-safe-weakmap/src'>;
}
declare module '@krakenjs/cross-domain-safe-weakmap/src/native.js' {
declare module.exports: $Exports<'@krakenjs/cross-domain-safe-weakmap/src/native'>;
}
declare module '@krakenjs/cross-domain-safe-weakmap/src/util.js' {
declare module.exports: $Exports<'@krakenjs/cross-domain-safe-weakmap/src/util'>;
}
declare module '@krakenjs/cross-domain-safe-weakmap/src/weakmap.js' {
declare module.exports: $Exports<'@krakenjs/cross-domain-safe-weakmap/src/weakmap'>;
}
129 changes: 129 additions & 0 deletions flow-typed/npm/@krakenjs/cross-domain-utils_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
// flow-typed signature: 5948de3a9bfc088d5311d6c7eb8ff3cb
// flow-typed version: <<STUB>>/@krakenjs/cross-domain-utils_v^3.0.2/flow_v0.155.0

/**
* This is an autogenerated libdef stub for:
*
* '@krakenjs/cross-domain-utils'
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you to share your work with the
* community by sending a pull request to:
* https://github.com/flowtype/flow-typed
*/

declare module '@krakenjs/cross-domain-utils' {
declare module.exports: any;
}

/**
* We include stubs for each file inside this npm package in case you need to
* require those files directly. Feel free to delete any files that aren't
* needed.
*/
declare module '@krakenjs/cross-domain-utils/dist/cross-domain-utils' {
declare module.exports: any;
}

declare module '@krakenjs/cross-domain-utils/dist/cross-domain-utils.min' {
declare module.exports: any;
}

declare module '@krakenjs/cross-domain-utils/dist/module/constants' {
declare module.exports: any;
}

declare module '@krakenjs/cross-domain-utils/dist/module/index.flow' {
declare module.exports: any;
}

declare module '@krakenjs/cross-domain-utils/dist/module' {
declare module.exports: any;
}

declare module '@krakenjs/cross-domain-utils/dist/module/types' {
declare module.exports: any;
}

declare module '@krakenjs/cross-domain-utils/dist/module/util' {
declare module.exports: any;
}

declare module '@krakenjs/cross-domain-utils/dist/module/utils' {
declare module.exports: any;
}

declare module '@krakenjs/cross-domain-utils/src/constants' {
declare module.exports: any;
}

declare module '@krakenjs/cross-domain-utils/src/index.flow' {
declare module.exports: any;
}

declare module '@krakenjs/cross-domain-utils/src' {
declare module.exports: any;
}

declare module '@krakenjs/cross-domain-utils/src/types' {
declare module.exports: any;
}

declare module '@krakenjs/cross-domain-utils/src/util' {
declare module.exports: any;
}

declare module '@krakenjs/cross-domain-utils/src/utils' {
declare module.exports: any;
}

// Filename aliases
declare module '@krakenjs/cross-domain-utils/dist/cross-domain-utils.js' {
declare module.exports: $Exports<'@krakenjs/cross-domain-utils/dist/cross-domain-utils'>;
}
declare module '@krakenjs/cross-domain-utils/dist/cross-domain-utils.min.js' {
declare module.exports: $Exports<'@krakenjs/cross-domain-utils/dist/cross-domain-utils.min'>;
}
declare module '@krakenjs/cross-domain-utils/dist/module/constants.js' {
declare module.exports: $Exports<'@krakenjs/cross-domain-utils/dist/module/constants'>;
}
declare module '@krakenjs/cross-domain-utils/dist/module/index.flow.js' {
declare module.exports: $Exports<'@krakenjs/cross-domain-utils/dist/module/index.flow'>;
}
declare module '@krakenjs/cross-domain-utils/dist/module/index' {
declare module.exports: $Exports<'@krakenjs/cross-domain-utils/dist/module'>;
}
declare module '@krakenjs/cross-domain-utils/dist/module/index.js' {
declare module.exports: $Exports<'@krakenjs/cross-domain-utils/dist/module'>;
}
declare module '@krakenjs/cross-domain-utils/dist/module/types.js' {
declare module.exports: $Exports<'@krakenjs/cross-domain-utils/dist/module/types'>;
}
declare module '@krakenjs/cross-domain-utils/dist/module/util.js' {
declare module.exports: $Exports<'@krakenjs/cross-domain-utils/dist/module/util'>;
}
declare module '@krakenjs/cross-domain-utils/dist/module/utils.js' {
declare module.exports: $Exports<'@krakenjs/cross-domain-utils/dist/module/utils'>;
}
declare module '@krakenjs/cross-domain-utils/src/constants.js' {
declare module.exports: $Exports<'@krakenjs/cross-domain-utils/src/constants'>;
}
declare module '@krakenjs/cross-domain-utils/src/index.flow.js' {
declare module.exports: $Exports<'@krakenjs/cross-domain-utils/src/index.flow'>;
}
declare module '@krakenjs/cross-domain-utils/src/index' {
declare module.exports: $Exports<'@krakenjs/cross-domain-utils/src'>;
}
declare module '@krakenjs/cross-domain-utils/src/index.js' {
declare module.exports: $Exports<'@krakenjs/cross-domain-utils/src'>;
}
declare module '@krakenjs/cross-domain-utils/src/types.js' {
declare module.exports: $Exports<'@krakenjs/cross-domain-utils/src/types'>;
}
declare module '@krakenjs/cross-domain-utils/src/util.js' {
declare module.exports: $Exports<'@krakenjs/cross-domain-utils/src/util'>;
}
declare module '@krakenjs/cross-domain-utils/src/utils.js' {
declare module.exports: $Exports<'@krakenjs/cross-domain-utils/src/utils'>;
}
Loading

0 comments on commit a802a67

Please sign in to comment.