Skip to content

120240612.0.0 #83

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 6 commits into from
Jun 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@ make generate
# in SubstrateLabs/substrate-typescript: copy the generated files
make sync-codegen

# format the code
make format-fix

# ensure the package builds
make build
```
Expand Down Expand Up @@ -124,6 +121,8 @@ After making changes, you should:
- Make sure to bump the `SDK_VERSION` in the `bin/update-version.ts` script
- Then run `make update-version` to ensure the `package.json` and `src/version.ts` are set correctly.

**NOTE:** If the API version (the date string) has changed, you should reset the minor and patch version to `0.0`.

**NOTE:** The `make update-version` task will run after every `make sync-codegen` too!

## CI & Git Hooks
Expand Down Expand Up @@ -159,7 +158,6 @@ that we'd like to publish.

1. Preview the "pack" (tarball we publish to npm): `make publish-preview`
2. Publish to NPM & push tag to GitHub: `make publish`
3. Create new Release on GitHub (using the web UI). Add release notes, mentions, etc.

**Non-Production Releases**

Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ update-version: ensure
sync-codegen: ensure
bin/sync-codegen.ts
make update-version
make format-fix

.PHONY: format-check
format-check: ensure
Expand Down
2 changes: 1 addition & 1 deletion bin/update-version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { execSync } from "node:child_process";

// NOTE: Merged with API version to produce the full SDK version string
// https://docs.substrate.run/versioning
const SDK_VERSION = "1.0.14";
const SDK_VERSION = "1.0.0";

const ok = (message: string) => console.log("\x1b[32m✓\x1b[0m", message);

Expand Down
8 changes: 0 additions & 8 deletions examples/streaming/nextjs-basic/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,6 @@
--background-end-rgb: 255, 255, 255;
}

@media (prefers-color-scheme: dark) {
:root {
--foreground-rgb: 255, 255, 255;
--background-start-rgb: 0, 0, 0;
--background-end-rgb: 0, 0, 0;
}
}

body {
color: rgb(var(--foreground-rgb));
background: linear-gradient(
Expand Down
8 changes: 0 additions & 8 deletions examples/streaming/nextjs-multiple-nodes/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,6 @@
--background-end-rgb: 255, 255, 255;
}

@media (prefers-color-scheme: dark) {
:root {
--foreground-rgb: 255, 255, 255;
--background-start-rgb: 0, 0, 0;
--background-end-rgb: 0, 0, 0;
}
}

body {
color: rgb(var(--foreground-rgb));
background: linear-gradient(
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "substrate",
"version": "120240530.0.14",
"version": "120240612.0.0",
"description": "The official SDK for the Substrate API",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion src/GEN_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20240530.20240531
20240612.20240613
Loading
Loading