Skip to content

Commit

Permalink
Revert "Biome Lint/Format (#396)"
Browse files Browse the repository at this point in the history
This reverts commit 251f139.
  • Loading branch information
delaneyj committed Dec 20, 2024
1 parent 251f139 commit 71ff8d4
Show file tree
Hide file tree
Showing 76 changed files with 364 additions and 548 deletions.
4 changes: 2 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
"makefile.configureOnOpen": false,
"editor.formatOnSave": true,
"[typescript]": {
"editor.defaultFormatter": "biomejs.biome"
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[json]": {
"editor.defaultFormatter": "biomejs.biome"
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
}
10 changes: 4 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
# WIP Release Notes for Datastar

## v0.21.4
## v0.21.3

### Added

- Added a `retryInterval` option to the `sse()` action, defaulting to 1 second.
- Added the ability to tell Datastar to ignore an element if `data-star-ignore` exists on it. Useful for preventing naming conflicts with third-party libraries.

### Changed

### Fixed

- Fixed a bug in which local signals were being unintentionally sent with requests ([#387](https://github.com/starfederation/datastar/issues/387)).
- Fixed a bug in which the bundler was not exporting Datastar ([#403](https://github.com/starfederation/datastar/issues/403)).
- The Datastar module is now exported, exposing [public methods and properties](https://data-star.dev/reference/javascript_api) ([#358](https://github.com/starfederation/datastar/issues/358)).
54 changes: 0 additions & 54 deletions biome.json

This file was deleted.

8 changes: 4 additions & 4 deletions build/consts.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,25 +66,25 @@ var Consts = &ConstTemplateData{
FileExtension: "go",
Name: "Go",
Icon: "vscode-icons:file-type-go-gopher",
SdkUrl: "https://github.com/starfederation/datastar/tree/main/sdk/go",
SdkUrl: "https://github.com/starfederation/datastar/tree/develop/sdk/go",
},
{
FileExtension: "php",
Name: "PHP",
Icon: "vscode-icons:file-type-php2",
SdkUrl: "https://github.com/starfederation/datastar/tree/main/sdk/php",
SdkUrl: "https://github.com/starfederation/datastar/tree/develop/sdk/php",
},
{
FileExtension: "fs",
Name: "Dotnet",
Icon: "vscode-icons:file-type-fsharp2",
SdkUrl: "https://github.com/starfederation/datastar/tree/main/sdk/dotnet",
SdkUrl: "https://github.com/starfederation/datastar/tree/develop/sdk/dotnet",
},
{
FileExtension: "java",
Name: "Java",
Icon: "vscode-icons:file-type-java",
SdkUrl: "https://github.com/starfederation/datastar/tree/main/sdk/java",
SdkUrl: "https://github.com/starfederation/datastar/tree/develop/sdk/java",
},
},
DatastarKey: "datastar",
Expand Down
7 changes: 2 additions & 5 deletions build/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func Build() error {

if err := errors.Join(
// createPluginManifest(),
createBundles(version),
createBundles(),
writeOutConsts(version),
); err != nil {
return fmt.Errorf("error creating bundles: %w", err)
Expand Down Expand Up @@ -51,7 +51,7 @@ func extractVersion() (string, error) {
return version, nil
}

func createBundles(version string) error {
func createBundles() error {
log.Print("Creating bundles...")
defer log.Print("Bundles created!")

Expand All @@ -63,9 +63,6 @@ func createBundles(version string) error {
"library/src/bundles/datastar-core.ts",
"library/src/bundles/datastar.ts",
},
Banner: map[string]string{
"js": "// Datastar v" + version,
},
Outdir: outDir,
Bundle: true,
Write: true,
Expand Down
7 changes: 3 additions & 4 deletions bundles/datastar-core.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions bundles/datastar-core.js.map

Large diffs are not rendered by default.

17 changes: 8 additions & 9 deletions bundles/datastar.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions bundles/datastar.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion examples/java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<!-- Define necessary properties -->
<properties>
<jetty.version>11.0.24</jetty.version> <!-- Specify Jetty version -->
<jetty.version>11.0.15</jetty.version> <!-- Specify Jetty version -->
<maven.compiler.source>17</maven.compiler.source> <!-- Java source version -->
<maven.compiler.target>17</maven.compiler.target> <!-- Java target version -->
</properties>
Expand Down
38 changes: 19 additions & 19 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@ require (
github.com/alecthomas/chroma v0.10.0
github.com/benbjohnson/hashfs v0.2.2
github.com/delaneyj/gostar v0.8.0
github.com/delaneyj/toolbelt v0.3.15
github.com/delaneyj/toolbelt v0.3.13
github.com/drhodes/golorem v0.0.0-20220328165741-da82e5b29246
github.com/dustin/go-humanize v1.0.1
github.com/evanw/esbuild v0.24.0
github.com/go-chi/chi/v5 v5.2.0
github.com/go-chi/chi/v5 v5.1.0
github.com/go-faker/faker/v4 v4.5.0
github.com/go-rod/rod v0.116.2
github.com/go-sanitize/sanitize v1.1.0
github.com/goccy/go-json v0.10.4
github.com/gomarkdown/markdown v0.0.0-20241205020045-f7e15b2f3e62
github.com/goccy/go-json v0.10.3
github.com/gomarkdown/markdown v0.0.0-20241105142532-d03b89096d81
github.com/gorilla/csrf v1.7.2
github.com/gorilla/sessions v1.4.0
github.com/grafana/regexp v0.0.0-20240518133315-a468a5bfb3bc
Expand All @@ -28,11 +28,11 @@ require (
github.com/klauspost/compress v1.17.11
github.com/lithammer/fuzzysearch v1.1.8
github.com/microcosm-cc/bluemonday v1.0.27
github.com/nats-io/nats-server/v2 v2.10.24
github.com/nats-io/nats.go v1.38.0
github.com/nats-io/nats-server/v2 v2.10.22
github.com/nats-io/nats.go v1.37.0
github.com/samber/lo v1.47.0
github.com/segmentio/encoding v0.4.1
github.com/stretchr/testify v1.10.0
github.com/stretchr/testify v1.9.0
github.com/valyala/bytebufferpool v1.0.0
github.com/valyala/quicktemplate v1.8.0
github.com/wcharczuk/go-chart/v2 v2.1.2
Expand All @@ -58,8 +58,8 @@ require (
github.com/kr/pretty v0.3.1 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/minio/highwayhash v1.0.3 // indirect
github.com/nats-io/jwt/v2 v2.7.3 // indirect
github.com/nats-io/nkeys v0.4.9 // indirect
github.com/nats-io/jwt/v2 v2.7.2 // indirect
github.com/nats-io/nkeys v0.4.7 // indirect
github.com/nats-io/nuid v1.0.1 // indirect
github.com/ncruces/go-strftime v0.1.9 // indirect
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
Expand All @@ -72,20 +72,20 @@ require (
github.com/ysmood/goob v0.4.0 // indirect
github.com/ysmood/got v0.40.0 // indirect
github.com/ysmood/leakless v0.9.0 // indirect
golang.org/x/crypto v0.31.0 // indirect
golang.org/x/exp v0.0.0-20241217172543-b2144cdd0a67 // indirect
golang.org/x/image v0.23.0 // indirect
golang.org/x/net v0.33.0 // indirect
golang.org/x/sync v0.10.0 // indirect
golang.org/x/sys v0.28.0 // indirect
golang.org/x/text v0.21.0 // indirect
golang.org/x/crypto v0.29.0 // indirect
golang.org/x/exp v0.0.0-20241108190413-2d47ceb2692f // indirect
golang.org/x/image v0.22.0 // indirect
golang.org/x/net v0.31.0 // indirect
golang.org/x/sync v0.9.0 // indirect
golang.org/x/sys v0.27.0 // indirect
golang.org/x/text v0.20.0 // indirect
golang.org/x/time v0.8.0 // indirect
google.golang.org/protobuf v1.36.0 // indirect
google.golang.org/protobuf v1.35.2 // indirect
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
modernc.org/libc v1.61.4 // indirect
modernc.org/libc v1.61.2 // indirect
modernc.org/mathutil v1.6.0 // indirect
modernc.org/memory v1.8.0 // indirect
modernc.org/sqlite v1.34.3 // indirect
modernc.org/sqlite v1.34.1 // indirect
zombiezen.com/go/sqlite v1.4.0 // indirect
)
Loading

0 comments on commit 71ff8d4

Please sign in to comment.