create-backtick-app 0.1.6 → 0.1.7

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
@@ -65,7 +65,7 @@ Each starts your Backtick server alongside Expo, in one terminal. Edit `server/H
65
65
  A web page: the server bundles `server/Home.tsx` into an HTML page at `/`, with the framework loaded from a CDN by an import map.
66
66
 
67
67
  ```sh
68
- npm run start
68
+ npm start
69
69
  ```
70
70
 
71
71
  Then open http://localhost:3000. Edit `server/Home.tsx` and save to see the page change.
package/dist/index.js CHANGED
@@ -170,7 +170,8 @@ if (!values["no-install"]) {
170
170
  }
171
171
  // Created where it was run, there's nowhere to go first.
172
172
  const here = target === process.cwd();
173
- const script = (name) => `${run} run ${name}`;
173
+ // `npm start` and its peers take no `run`; every other script does.
174
+ const script = (name) => name === "start" ? `${run} start` : `${run} run ${name}`;
174
175
  const start = [...(here ? [] : [`cd ${slug}`]), script("start")]
175
176
  .map((command) => ` ${command}`)
176
177
  .join("\n");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-backtick-app",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
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,15 +11,15 @@
11
11
  "format:check": "prettier --check --ignore-unknown ."
12
12
  },
13
13
  "dependencies": {
14
- "@backtickjs/bundler": "^0.1.6",
15
- "@backtickjs/core": "^0.1.6",
16
- "@backtickjs/node-plugin": "^0.1.6",
14
+ "@backtickjs/bundler": "^0.1.7",
15
+ "@backtickjs/core": "^0.1.7",
16
+ "@backtickjs/node-plugin": "^0.1.7",
17
17
  "@backtickjs/react": "^19.2.3",
18
18
  "typescript": "^6.0.3"
19
19
  },
20
20
  "devDependencies": {
21
- "@backtickjs/prettier-plugin": "^0.1.6",
22
- "@backtickjs/tsc": "^0.1.6",
21
+ "@backtickjs/prettier-plugin": "^0.1.7",
22
+ "@backtickjs/tsc": "^0.1.7",
23
23
  "@types/node": "^25.9.1",
24
24
  "prettier": "^3.6.2"
25
25
  },
@@ -15,12 +15,12 @@
15
15
  "format:check": "prettier --check --ignore-unknown ."
16
16
  },
17
17
  "dependencies": {
18
- "@backtickjs/bundler": "^0.1.6",
19
- "@backtickjs/core": "^0.1.6",
20
- "@backtickjs/node-plugin": "^0.1.6",
18
+ "@backtickjs/bundler": "^0.1.7",
19
+ "@backtickjs/core": "^0.1.7",
20
+ "@backtickjs/node-plugin": "^0.1.7",
21
21
  "@backtickjs/react": "^19.2.3",
22
22
  "@backtickjs/react-native": "^0.86.3",
23
- "@backtickjs/react-native-client": "^0.1.6",
23
+ "@backtickjs/react-native-client": "^0.1.7",
24
24
  "expo": "~57.0.26",
25
25
  "expo-constants": "~57.0.20",
26
26
  "expo-status-bar": "~57.0.1",
@@ -31,9 +31,10 @@
31
31
  "typescript": "^6.0.3"
32
32
  },
33
33
  "devDependencies": {
34
- "@backtickjs/prettier-plugin": "^0.1.6",
35
- "@backtickjs/tsc": "^0.1.6",
34
+ "@backtickjs/prettier-plugin": "^0.1.7",
35
+ "@backtickjs/tsc": "^0.1.7",
36
36
  "@testing-library/react": "^16.3.3",
37
+ "@testing-library/user-event": "^14.6.7",
37
38
  "@types/node": "^25.9.1",
38
39
  "@types/react": "19.2.18",
39
40
  "global-jsdom": "^30.0.0",
@@ -11,15 +11,15 @@
11
11
  "format:check": "prettier --check --ignore-unknown ."
12
12
  },
13
13
  "dependencies": {
14
- "@backtickjs/bundler": "^0.1.6",
15
- "@backtickjs/core": "^0.1.6",
16
- "@backtickjs/node-plugin": "^0.1.6",
14
+ "@backtickjs/bundler": "^0.1.7",
15
+ "@backtickjs/core": "^0.1.7",
16
+ "@backtickjs/node-plugin": "^0.1.7",
17
17
  "@backtickjs/solid-js": "^1.9.14",
18
18
  "typescript": "^6.0.3"
19
19
  },
20
20
  "devDependencies": {
21
- "@backtickjs/prettier-plugin": "^0.1.6",
22
- "@backtickjs/tsc": "^0.1.6",
21
+ "@backtickjs/prettier-plugin": "^0.1.7",
22
+ "@backtickjs/tsc": "^0.1.7",
23
23
  "@types/node": "^25.9.1",
24
24
  "prettier": "^3.6.2"
25
25
  },