Oliver Dunk
aab4aa91fd
Partial fixes for sample list generator ( #1464 )
...
* Partial fixes for sample list generator
A number of fixes for the sample list generator:
- Removes a comment from one of our manifest files, as we don't
currently support JSONC.
- Ignores the `node_modules` folder since we have recently added some AI
samples with a build step.
- Adds the `aiOriginTrial` API to the list of recognised APIs.
- Updates `extension-apis.json` with the latest data from the
`chrome-types` package.
Updating recognised extension APIs still requires access to a
non-existent storage bucket, so this does not fully fix the process.
* Fix linter issue
2025-04-30 17:14:32 +01:00
Oliver Dunk
600017fca8
Add environment variable for configuring storage bucket ( #1372 )
...
Adds the STORAGE_BUCKET environment variable which is used for
determining which bucket the prepare-chrome-types script loads type data
from.
2024-12-20 19:52:52 +00:00
patrick kettner
2a3e3d43f8
add chrome.power/keep awake as an api sample ( #1060 )
...
* add chrome.power/keep awake as an api sample
* support localized file info for extension samples
Co-authored-by: Oliver Dunk <oliverdunk@google.com >
2024-01-16 07:48:03 -05:00
Oliver Dunk
dbc5ad434f
Update extension-apis.json ( #1068 )
2024-01-16 07:46:40 -05:00
dependabot[bot]
f0c95d16ca
Bump @babel/traverse in /.repo/sample-list-generator ( #1018 )
...
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse ) from 7.22.5 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse )
---
updated-dependencies:
- dependency-name: "@babel/traverse"
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-13 13:22:59 +00:00
dependabot[bot]
0587b2f3c6
Bump semver from 6.3.0 to 6.3.1 in /.repo/sample-list-generator ( #990 )
...
Bumps [semver](https://github.com/npm/node-semver ) from 6.3.0 to 6.3.1.
- [Release notes](https://github.com/npm/node-semver/releases )
- [Changelog](https://github.com/npm/node-semver/blob/v6.3.1/CHANGELOG.md )
- [Commits](https://github.com/npm/node-semver/compare/v6.3.0...v6.3.1 )
---
updated-dependencies:
- dependency-name: semver
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-13 13:20:57 +00:00
Xuezhou Dai
9d9272809b
Add scripts for generating sample list ( #963 )
...
* init project
* init .gitignore
* Add main scripts
* Add prefetch script
* Add extension-apis.json
* Add README.md
* Update comments
* Add newline to .gitignore
* Update type definition
* Update extension api json loading.
* Update README.md
* Update deps
* Pin deps versions
* Update extension-apis.json
* Update prefetch script
* Update script
* Remove type definitions prefix
* Add comment to auto generated json
* Split utils
* Update types
* Add manifest utils
* refactor
* Reject if there is a babel error.
* Add parallel support
* Remove redundant import
* loadExtensionApis execute synchronously
* Add test deps
* Fix unexpected result
* Add test scripts
* Update type definition
* Add start function
* Rename api variable
* Fix test
* Update getApiType method
* Remove singularize
* Fix loadExtensionApis return signature
* Remove parallel controller
* Update type definition
* Add comments
* Update types
* Update api detector
* Fix api test
* Add more test cases
* Remove `$special` key
* Fix typo
* Simplify code
* Rename `apiType` to `type`
* Add warning if no api found
* Rename variable
* Update getFullMemberExpression
* Remove the special case for `chrome.storage`.
* Add getManifest function
* Revoke changes
* Fix crash caused by incorrect folder detection
* Remove redundant import
* Check property type with typedoc
* Add action
* Fix wrong node version
* Update code
* Rename variable
* Remove unnecessary Map
* Update README
* Fix typo
* Remove unnecessary output
* Add comments
* Remove the judgment on storage API.
* Update test case
* Update comments
* Extract `getAllJsFile()` into the filesystem util
* Explain how to run the tests in README
* Pin deps
* Extract variable
* Extract `isDirectory()` into the filesystem util
* Remove assertion
* Update the parameter of `extractApiCalls()`
* Update tests
* Remove action
2023-08-01 10:00:30 +01:00