Repository navigation
chore: align repo files with Glassnode standards (GN-180) #67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| # Weekly updates for the npm dependencies (pnpm at the root, npm in examples/) and for GitHub | ||
| # Actions. Security updates are separate and not delayed by the cooldown. | ||
| version: 2 | ||
| updates: | ||
| - package-ecosystem: npm | ||
| directories: [/, /examples] | ||
| schedule: | ||
| interval: weekly | ||
| # Mirrors minimum-release-age in .npmrc: only versions published at least 7 days ago. | ||
| cooldown: | ||
| default-days: 7 | ||
| groups: | ||
| # Minor and patch updates in one PR; each major update gets its own. | ||
| npm: | ||
| update-types: [minor, patch] | ||
| ignore: | ||
| # @types/node tracks the Node.js floor in engines, not the latest Node.js (CONTRIBUTING.md, | ||
| # "Toolchain pins"): it moves only when the floor is raised. | ||
| - dependency-name: '@types/node' | ||
| update-types: ['version-update:semver-major'] | ||
| - package-ecosystem: github-actions | ||
| directory: / | ||
| schedule: | ||
| interval: weekly | ||
| cooldown: | ||
| default-days: 7 | ||
| groups: | ||
| actions: | ||
| patterns: ['*'] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,7 +3,7 @@ | |
| .husky | ||
| .gitignore | ||
| .nvmrc | ||
| CLAUDE.md | ||
| AGENTS.md | ||
| eslint.config.mjs | ||
| prettier.config.mjs | ||
| tsconfig.json | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| # glassnode-api-ts-client: agent instructions | ||
|
|
||
| Read [CONTRIBUTING.md](CONTRIBUTING.md) first: setup, commands, the version and changelog rules, | ||
| and the design notes all live there. Before opening a PR, run the checks in its "Run the full | ||
| local check list" step. | ||
|
|
||
| ## Don't | ||
|
|
||
| - Edit `test/fixtures/contract/` by hand: it holds recorded real API responses. A contract test | ||
| failing there is API drift: fix the schema, never the fixture or the test. | ||
| - Run `scripts/record-fixtures.mjs`: it calls the live API with a real key and spends quota. Only | ||
| a maintainer re-records the fixtures. | ||
| - Bump `@types/node` past the Node.js floor (`^22`), TypeScript to 7.x, or TypeScript past what | ||
| `typedoc` lists: see "Toolchain pins" in CONTRIBUTING.md. | ||
| - Write extensionless or `.ts` relative imports in `src/`: they are `./foo.js`. | ||
| - Add a `browser` field or a `browser` condition in `exports`, even when `publint` suggests it. | ||
| - Add `.transform()` to `GlassnodeConfigSchema`, or set `tag` in `package.json` `publishConfig`. | ||
| - Expose the API key: logged URLs mask it, and hook payloads and error messages never carry it. | ||
| - Rename the `test` or `compat-node-floor` CI jobs (the rulesets require them by name), or | ||
| reference an action by tag instead of a full commit SHA. |
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| # Security policy | ||
|
|
||
| ## Contents | ||
|
|
||
| - [Reporting a vulnerability](#reporting-a-vulnerability) | ||
| - [Supported versions](#supported-versions) | ||
|
|
||
| ## Reporting a vulnerability | ||
|
|
||
| Don't open a public issue. Report it privately: | ||
|
|
||
| - **GitHub:** the repository's **Security** tab → **Report a vulnerability** | ||
| ([private vulnerability reporting](https://github.com/glassnode/glassnode-api-ts-client/security/advisories/new)). | ||
| - **Email:** security@glassnode.com, if you can't use GitHub. | ||
|
|
||
| Include the affected version, steps to reproduce and the impact. Glassnode has no bug bounty | ||
| program. | ||
|
|
||
| ## Supported versions | ||
|
|
||
| Only the latest release receives security fixes. |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor: You can probably also add:
?
Not sure if this needs to be part of the package that you install because usually nobody is looking at node_modules and they refer to github repo