feat(www): Finish up on the onboarding (#210)

Merging this prematurely to make sure the team is on the same boat... like dang! We need to find a better way to do this. 

Plus it has become too big
This commit is contained in:
Wanjohi
2025-03-26 02:21:53 +03:00
committed by GitHub
parent 957eca7794
commit f62fc1fb4b
106 changed files with 6329 additions and 866 deletions

View File

@@ -0,0 +1,35 @@
diff --git a/node_modules/@macaron-css/solid/.bun-tag-1514d668548fb0b3 b/.bun-tag-1514d668548fb0b3
new file mode 100644
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
diff --git a/node_modules/@macaron-css/solid/.bun-tag-9d48210b8d0a8094 b/.bun-tag-9d48210b8d0a8094
new file mode 100644
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
diff --git a/package.json b/package.json
index c3f06bb43f13f07c712043f8e3beac3a0ea1b8fa..86af93a7f500de2117b91ee3424f3e109b1ea597 100644
--- a/package.json
+++ b/package.json
@@ -2,7 +2,6 @@
"name": "@macaron-css/solid",
"version": "1.5.3",
"license": "MIT",
- "type": "module",
"repository": {
"type": "git",
"url": "https://github.com/mokshit06/macaron.git",
@@ -11,12 +10,14 @@
"exports": {
".": {
"types": "./dist/index.d.mts",
- "import": "./dist/index.mjs"
+ "import": "./dist/index.mjs",
+ "require": "./dist/index.js"
},
"./dist/*": "./dist/*",
"./runtime": {
"types": "./dist/runtime.d.mts",
- "import": "./dist/runtime.mjs"
+ "import": "./dist/runtime.mjs",
+ "require": "./dist/runtime.js"
}
},
"dependencies": {

View File

@@ -0,0 +1,26 @@
diff --git a/aws-data-api/pg/driver.cjs b/aws-data-api/pg/driver.cjs
index d57ac748a6a1e206e1b47375d7b9e0d727f59413..23fa1b3f26ef3977e346bbb383643d4a54e83db2 100644
--- a/aws-data-api/pg/driver.cjs
+++ b/aws-data-api/pg/driver.cjs
@@ -93,7 +93,7 @@ function construct(client, config) {
return db;
}
function drizzle(...params) {
- if (params[0] instanceof import_client_rds_data.RDSDataClient) {
+ if (params[0].constructor.name === "RDSDataClient") {
return construct(params[0], params[1]);
}
if (params[0].client) {
diff --git a/aws-data-api/pg/driver.js b/aws-data-api/pg/driver.js
index a83341a2bbe741d104d50a22d66ae88dba649ed4..d0e2b0bbeb6eea0a28b440acf391f463e5e90295 100644
--- a/aws-data-api/pg/driver.js
+++ b/aws-data-api/pg/driver.js
@@ -71,7 +71,7 @@ function construct(client, config) {
return db;
}
function drizzle(...params) {
- if (params[0] instanceof RDSDataClient) {
+ if (params[0].constructor.name === "RDSDataClient") {
return construct(params[0], params[1]);
}
if (params[0].client) {