Skip to content

Commit 99f8ef2

Browse files
committed
Merge branch 'develop' of github.com:starfederation/datastar into develop
2 parents 1714295 + ba10b96 commit 99f8ef2

File tree

21 files changed

+122
-97
lines changed

21 files changed

+122
-97
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @delaneyj @bencroker
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Build Docker Images
2+
3+
on:
4+
push:
5+
branches: develop
6+
paths: [ 'Dockerfile-dev' ]
7+
workflow_dispatch:
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
env:
13+
REGISTRY: ghcr.io
14+
OWNER: starfederation
15+
IMAGE_NAME: ${{ github.repository }}-dev
16+
steps:
17+
- name: Checkout the repository
18+
uses: actions/checkout@v3
19+
- name: Login to GitHub Container Registry
20+
uses: docker/login-action@v3
21+
with:
22+
registry: ghcr.io
23+
username: ${{ github.actor }}
24+
password: ${{ secrets.GITHUB_TOKEN }}
25+
- name: Build and Push Docker Image
26+
uses: docker/build-push-action@v4
27+
with:
28+
context: ./.github
29+
file: ./Dockerfile-dev
30+
push: true
31+
tags: |
32+
${{ env.REGISTRY }}/${{ env.OWNER }}/${{ env.IMAGE_NAME }}:latest
33+
build-args: |
34+
ENVIRONMENT=development

bundles/datastar-core.js

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bundles/datastar-core.js.map

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bundles/datastar.js

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bundles/datastar.js.map

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

code/dotnet/sdk/src/Consts.fs

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

code/go/sdk/consts.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

code/go/site/router.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ func staticPath(path string) string {
3030
return "/" + staticSys.HashName("static/"+path)
3131
}
3232

33+
func staticAbsolutePath(path string) string {
34+
return "https://data-star.dev/" + staticSys.HashName("static/"+path)
35+
}
36+
3337
func RunBlocking(port int, readyCh chan struct{}) toolbelt.CtxErrFunc {
3438
return func(ctx context.Context) error {
3539

code/go/site/routes_examples_bulk_update.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ func setupExamplesBulkUpdate(examplesRouter chi.Router) error {
7979
http.Error(w, err.Error(), http.StatusBadRequest)
8080
return
8181
}
82-
logJSON("incoming", store)
82+
// logJSON("incoming", store)
8383

8484
sse := datastar.NewSSE(w, r)
8585
for key, wasSelected := range store.Selections {
@@ -111,7 +111,7 @@ func setupExamplesBulkUpdate(examplesRouter chi.Router) error {
111111
store.Selections[k] = false
112112
}
113113

114-
logJSON("outgoing", store)
114+
// logJSON("outgoing", store)
115115
sse.MarshalAndMergeSignals(store)
116116
}
117117

0 commit comments

Comments
 (0)