Skip to content

Commit

Permalink
120240612.0.0 (#83)
Browse files Browse the repository at this point in the history
* rc

* codegen

* codegen

* update

* 120240612.0.0

* update readme
  • Loading branch information
0thernet authored Jun 14, 2024
1 parent be277c3 commit d179d4e
Show file tree
Hide file tree
Showing 14 changed files with 1,126 additions and 1,785 deletions.
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

0 comments on commit d179d4e

Please sign in to comment.