wdwh 1.6.0 → 1.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -39,7 +39,6 @@ https://github.com/kubashh/wdwh/tree/main/example
39
39
  - `src/app/App.tsx` (app entry point)
40
40
  - `src/app/react.svg` (favicon, can be any other image, bun path must be specify in `src/app/index.tsx`)
41
41
  - `src/app/index.css` (must contain `@import "tailwindcss";`)
42
- - `bunfig.toml` (for tailwindcss)
43
42
  - `package.json` (with scripts `dev` `build`)
44
43
  - `tsconfig.json` (for `typescript`)
45
44
 
package/dist/main.ts CHANGED
@@ -174,10 +174,7 @@ let body = getHtmlElement(text, `body`).replaceAll(`className`, `class`)
174
174
  const bodyStart = body.indexOf(`>`) + 1
175
175
  const bodyEnd = body.lastIndexOf(`<`)
176
176
  body = body.replace(body.slice(bodyStart, bodyEnd), ``)
177
- return {
178
- headContent,
179
- body,
180
- }
177
+ return { headContent, body }
181
178
  }
182
179
  function getHtmlElement(text: string, name: string) {
183
180
  for (let sliceStart, sliceEnd = text.indexOf(`export default`); ; sliceEnd++) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "wdwh",
3
3
  "author": "kubashh",
4
- "version": "1.6.0",
4
+ "version": "1.6.2",
5
5
  "license": "MIT",
6
6
  "repository": "https://github.com/kubashh/wdwh.git",
7
7
  "description": "The Bun framework. Easyer web dev without html",
@@ -23,7 +23,6 @@
23
23
  "index.d.ts"
24
24
  ],
25
25
  "scripts": {
26
- "build": "bun build.ts",
27
26
  "deploy": "bun publish.ts"
28
27
  },
29
28
  "bin": {
package/src/main.ts CHANGED
@@ -232,10 +232,7 @@ async function getPropsFromIndexTSX() {
232
232
  const bodyEnd = body.lastIndexOf(`<`)
233
233
  body = body.replace(body.slice(bodyStart, bodyEnd), ``)
234
234
 
235
- return {
236
- headContent,
237
- body,
238
- }
235
+ return { headContent, body }
239
236
  }
240
237
 
241
238
  function getHtmlElement(text: string, name: string) {