create-backtick-app 0.2.8 → 0.3.0

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
@@ -61,7 +61,7 @@ npm run ios # or android, or web: a simulator, an emulator or a browser
61
61
 
62
62
  Each starts your Backtick server alongside Expo, in one terminal. Edit `server/Home.tsx` and save: the server restarts, and once it listens, `reloadExpo()` in `server/index.tsx` reloads the app. The app fetches the new screen without rebuilding.
63
63
 
64
- `npm test` draws `server/Home.tsx` as the app would, in `server/Home.test.tsx`; [Testing screens](https://backtickjs.com/docs/testing/) explains the test.
64
+ `npm test` draws `server/Home.tsx` as the app would, in `server/Home.test.tsx`; [Testing screens](https://backtickjs.dev/docs/testing/) explains the test.
65
65
 
66
66
  ### `react` and `solid-js`
67
67
 
@@ -77,8 +77,8 @@ Then open http://localhost:3000. Edit `server/Home.tsx`, save, and refresh the p
77
77
 
78
78
  - [`@backtickjs/core`](https://github.com/backtickjs/backtick/tree/main/packages/core): the `cs` tag
79
79
  - [`@backtickjs/bundler`](https://github.com/backtickjs/backtick/tree/main/packages/bundler): runs server components and writes the bundle
80
- - [Quick start](https://backtickjs.com/docs/)
81
- - [Tutorial](https://backtickjs.com/docs/tutorial/)
80
+ - [Quick start](https://backtickjs.dev/docs/)
81
+ - [Tutorial](https://backtickjs.dev/docs/tutorial/)
82
82
 
83
83
  ## License
84
84
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-backtick-app",
3
- "version": "0.2.8",
3
+ "version": "0.3.0",
4
4
  "description": "Creates a Backtick app: React Native, React or Solid, with screens from your server on Node or Bun",
5
5
  "keywords": [
6
6
  "backtick",
@@ -11,10 +11,10 @@
11
11
  "format:check": "prettier --check --ignore-unknown ."
12
12
  },
13
13
  "dependencies": {
14
- "@backtickjs/bundler": "0.2.8",
15
- "@backtickjs/core": "0.2.8",
16
- "@backtickjs/node-plugin": "0.2.8",
17
- "@backtickjs/jsx-react": "0.2.8",
14
+ "@backtickjs/bundler": "0.3.0",
15
+ "@backtickjs/core": "0.3.0",
16
+ "@backtickjs/node-plugin": "0.3.0",
17
+ "@backtickjs/jsx-react": "0.3.0",
18
18
  "@hono/node-server": "^2.1.4",
19
19
  "hono": "^4.13.13",
20
20
  "react": "19.2.3",
@@ -22,8 +22,8 @@
22
22
  "typescript": "^6.0.3"
23
23
  },
24
24
  "devDependencies": {
25
- "@backtickjs/prettier-plugin": "0.2.8",
26
- "@backtickjs/tsc": "0.2.8",
25
+ "@backtickjs/prettier-plugin": "0.3.0",
26
+ "@backtickjs/tsc": "0.3.0",
27
27
  "@types/node": "^25.9.1",
28
28
  "@types/react": "19.2.18",
29
29
  "@types/react-dom": "19.2.7",
@@ -56,7 +56,7 @@ export async function Home() {
56
56
  </p>
57
57
  </section>
58
58
 
59
- <a style={styles.link} href="https://backtickjs.com/docs/">
59
+ <a style={styles.link} href="https://backtickjs.dev/docs/">
60
60
  Read the docs →
61
61
  </a>
62
62
  </main>
@@ -16,12 +16,12 @@
16
16
  "format:check": "prettier --check --ignore-unknown ."
17
17
  },
18
18
  "dependencies": {
19
- "@backtickjs/bundler": "0.2.8",
20
- "@backtickjs/core": "0.2.8",
21
- "@backtickjs/expo": "0.2.8",
22
- "@backtickjs/hono": "0.2.8",
23
- "@backtickjs/node-plugin": "0.2.8",
24
- "@backtickjs/jsx-react": "0.2.8",
19
+ "@backtickjs/bundler": "0.3.0",
20
+ "@backtickjs/core": "0.3.0",
21
+ "@backtickjs/expo": "0.3.0",
22
+ "@backtickjs/hono": "0.3.0",
23
+ "@backtickjs/node-plugin": "0.3.0",
24
+ "@backtickjs/jsx-react": "0.3.0",
25
25
  "@hono/node-server": "^2.1.4",
26
26
  "expo": "~57.0.26",
27
27
  "expo-constants": "~57.0.20",
@@ -35,8 +35,8 @@
35
35
  "typescript": "^6.0.3"
36
36
  },
37
37
  "devDependencies": {
38
- "@backtickjs/prettier-plugin": "0.2.8",
39
- "@backtickjs/tsc": "0.2.8",
38
+ "@backtickjs/prettier-plugin": "0.3.0",
39
+ "@backtickjs/tsc": "0.3.0",
40
40
  "@testing-library/react": "^16.3.3",
41
41
  "@testing-library/user-event": "^14.6.7",
42
42
  "@types/node": "^25.9.1",
@@ -74,7 +74,7 @@ export async function Home() {
74
74
 
75
75
  <$Text
76
76
  style={styles.link}
77
- onPress={() => $Linking.openURL("https://backtickjs.com/docs/")}
77
+ onPress={() => $Linking.openURL("https://backtickjs.dev/docs/")}
78
78
  >
79
79
  Read the docs →
80
80
  </$Text>
@@ -1,5 +1,5 @@
1
1
  import { reloadExpo } from "@backtickjs/expo/server";
2
- import { backtick } from "@backtickjs/hono";
2
+ import { backtickRenderer } from "@backtickjs/hono";
3
3
  import { serve } from "@hono/node-server";
4
4
  import { Hono } from "hono";
5
5
  import { cors } from "hono/cors";
@@ -11,7 +11,7 @@ const app = new Hono();
11
11
  app.use(cors({ origin: "*", allowHeaders: ["x-backtick-modules"] }));
12
12
 
13
13
  // `context.render(element)` answers with the screen, bundled for the app.
14
- app.use(backtick());
14
+ app.use(backtickRenderer());
15
15
 
16
16
  // Your app's screens: add a route, and the app can fetch it. A path can
17
17
  // take parameters, `/stories/:id`, read with `context.req.param("id")`.
@@ -11,18 +11,18 @@
11
11
  "format:check": "prettier --check --ignore-unknown ."
12
12
  },
13
13
  "dependencies": {
14
- "@backtickjs/bundler": "0.2.8",
15
- "@backtickjs/core": "0.2.8",
16
- "@backtickjs/node-plugin": "0.2.8",
17
- "@backtickjs/jsx-solid": "0.2.8",
14
+ "@backtickjs/bundler": "0.3.0",
15
+ "@backtickjs/core": "0.3.0",
16
+ "@backtickjs/node-plugin": "0.3.0",
17
+ "@backtickjs/jsx-solid": "0.3.0",
18
18
  "@hono/node-server": "^2.1.4",
19
19
  "hono": "^4.13.13",
20
20
  "solid-js": "1.9.17",
21
21
  "typescript": "^6.0.3"
22
22
  },
23
23
  "devDependencies": {
24
- "@backtickjs/prettier-plugin": "0.2.8",
25
- "@backtickjs/tsc": "0.2.8",
24
+ "@backtickjs/prettier-plugin": "0.3.0",
25
+ "@backtickjs/tsc": "0.3.0",
26
26
  "@types/node": "^25.9.1",
27
27
  "agent-device": "^0.21.27",
28
28
  "nodemon": "^3.1.14",
@@ -56,7 +56,7 @@ export async function Home() {
56
56
  </p>
57
57
  </section>
58
58
 
59
- <a style={styles.link} href="https://backtickjs.com/docs/">
59
+ <a style={styles.link} href="https://backtickjs.dev/docs/">
60
60
  Read the docs →
61
61
  </a>
62
62
  </main>