@farcaster/create-mini-app 0.0.8 → 0.1.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # @farcaster/create-mini-app
2
2
 
3
+ ## 0.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#509](https://github.com/farcasterxyz/miniapps/pull/509) [`7cd3967`](https://github.com/farcasterxyz/miniapps/commit/7cd3967047b01307bbd47e7cff7dad85e94e19ed) Thanks [@obxium](https://github.com/obxium)! - Update create-mini-app template to use @farcaster/miniapp-sdk
8
+
9
+ ## 0.1.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [#396](https://github.com/farcasterxyz/miniapps/pull/396) [`d23f93f`](https://github.com/farcasterxyz/miniapps/commit/d23f93f5dcfb382d52e2faa8dc6be3dd1ab0674f) Thanks [@CassOnMars](https://github.com/CassOnMars)! - introduce mini app rename
14
+
15
+ ### Patch Changes
16
+
17
+ - [#402](https://github.com/farcasterxyz/miniapps/pull/402) [`0f94fc1`](https://github.com/farcasterxyz/miniapps/commit/0f94fc15b590a551dffb545be9f04fcf9ea41689) Thanks [@PirosB3](https://github.com/PirosB3)! - Enforce Node.js version
18
+
3
19
  ## 0.0.8
4
20
 
5
21
  ### Patch Changes
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @farcaster/create-mini-app
2
2
 
3
- Get up and running quickly with [Mini Apps](https://miniapps.xyz) by using the `@farcaster/create-mini-app` CLI.
3
+ Get up and running quickly with [Mini Apps](https://miniapps.farcaster.xyz) by using the `@farcaster/create-mini-app` CLI.
4
4
 
5
5
  ## Installation
6
6
 
@@ -14,4 +14,4 @@ yarn create @farcaster/mini-app
14
14
 
15
15
  ## Documentation
16
16
 
17
- For documentation and guides, visit [miniapps.xyz](https://miniapps.xyz/docs/getting-started).
17
+ For documentation and guides, visit [miniapps.farcaster.xyz](https://miniapps.farcaster.xyz/docs/getting-started).
package/dist/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export { init, type InitParameters } from './init.js';
1
+ export { type InitParameters, init } from './init.js';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,cAAc,EAAE,MAAM,WAAW,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAE,IAAI,EAAE,MAAM,WAAW,CAAA"}
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAuB,MAAM,WAAW,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,IAAI,EAAE,MAAM,WAAW,CAAA"}
package/index.ts CHANGED
@@ -1 +1 @@
1
- export { init, type InitParameters } from './init.js'
1
+ export { type InitParameters, init } from './init.js'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@farcaster/create-mini-app",
3
- "version": "0.0.8",
3
+ "version": "0.1.1",
4
4
  "description": "Create Farcaster Mini Apps with one command",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -17,8 +17,8 @@
17
17
  "license": "MIT",
18
18
  "devDependencies": {
19
19
  "@types/fs-extra": "^11.0.4",
20
- "typescript": "^5.8.2",
21
- "@farcaster/tsconfig": "0.0.2"
20
+ "typescript": "^5.8.3",
21
+ "@farcaster/tsconfig": "0.1.0"
22
22
  },
23
23
  "dependencies": {
24
24
  "@clack/prompts": "^0.10.0",
@@ -27,6 +27,9 @@
27
27
  "fs-extra": "^11.3.0",
28
28
  "picocolors": "^1.1.1"
29
29
  },
30
+ "engines": {
31
+ "node": ">=22.11.0"
32
+ },
30
33
  "scripts": {
31
34
  "build": "pnpm run clean && tsc --project tsconfig.build.json",
32
35
  "check:types": "tsc --noEmit",
@@ -1,4 +1,6 @@
1
- This is a [Vite](https://vitejs.dev) project bootstrapped with [`@farcaster/create-mini-app`](https://github.com/farcasterxyz/frames/tree/main/packages/create-mini-app).
1
+ This is a [Vite](https://vitejs.dev) project bootstrapped with [`@farcaster/create-mini-app`](https://github.com/farcasterxyz/miniapps/tree/main/packages/create-mini-app).
2
+
3
+ For documentation and guides, visit [miniapps.farcaster.xyz](https://miniapps.farcaster.xyz/docs/getting-started).
2
4
 
3
5
  ## `farcaster.json`
4
6
 
@@ -18,3 +20,4 @@ Add a the `fc:frame` in `index.html` to make your root app URL sharable in feeds
18
20
  <meta name="fc:frame" content='{"version":"next","imageUrl":"https://placehold.co/900x600.png?text=Frame%20Image","button":{"title":"Open","action":{"type":"launch_frame","name":"App Name","url":"https://app.com"}}}' />
19
21
  </head>
20
22
  ```
23
+
@@ -1,13 +1,26 @@
1
1
  {
2
+ "root": false,
2
3
  "formatter": {
3
4
  "enabled": true,
4
5
  "indentStyle": "space",
5
6
  "lineWidth": 120
6
7
  },
7
8
  "linter": {
8
- "enabled": true
9
+ "enabled": true,
10
+ "rules": {
11
+ "style": {
12
+ "noParameterAssign": "error",
13
+ "useAsConstAssertion": "error",
14
+ "useDefaultParameterLast": "error",
15
+ "useEnumInitializers": "error",
16
+ "useSelfClosingElements": "error",
17
+ "useSingleVarDeclarator": "error",
18
+ "noUnusedTemplateLiteral": "error",
19
+ "useNumberNamespace": "error",
20
+ "noInferrableTypes": "error",
21
+ "noUselessElse": "error"
22
+ }
23
+ }
9
24
  },
10
- "organizeImports": {
11
- "enabled": true
12
- }
25
+ "assist": { "actions": { "source": { "organizeImports": "on" } } }
13
26
  }
@@ -10,8 +10,8 @@
10
10
  "preview": "vite preview"
11
11
  },
12
12
  "dependencies": {
13
- "@farcaster/frame-sdk": "latest",
14
- "@farcaster/frame-wagmi-connector": "latest",
13
+ "@farcaster/miniapp-sdk": "latest",
14
+ "@farcaster/miniapp-wagmi-connector": "latest",
15
15
  "@tanstack/react-query": "5.45.1",
16
16
  "react": "^18.3.1",
17
17
  "react-dom": "^18.3.1",
@@ -24,7 +24,7 @@
24
24
  "@types/react-dom": "^18.3.0",
25
25
  "@vitejs/plugin-react": "^4.2.1",
26
26
  "@wagmi/cli": "latest",
27
- "typescript": "^5.4.5",
27
+ "typescript": "^5.8.3",
28
28
  "vite": "^5.2.11"
29
29
  }
30
30
  }
@@ -1,4 +1,4 @@
1
- import { sdk } from "@farcaster/frame-sdk";
1
+ import { sdk } from "@farcaster/miniapp-sdk";
2
2
  import { useEffect } from "react";
3
3
  import { useAccount, useConnect, useSignMessage } from "wagmi";
4
4
 
@@ -1,10 +1,10 @@
1
- import { farcasterFrame } from "@farcaster/frame-wagmi-connector";
1
+ import { farcasterMiniApp as miniAppConnector } from "@farcaster/miniapp-wagmi-connector";
2
2
  import { http, createConfig } from "wagmi";
3
3
  import { base, mainnet } from "wagmi/chains";
4
4
 
5
5
  export const config = createConfig({
6
6
  chains: [base, mainnet],
7
- connectors: [farcasterFrame()],
7
+ connectors: [miniAppConnector()],
8
8
  transports: {
9
9
  [base.id]: http(),
10
10
  [mainnet.id]: http(),
@@ -1,9 +0,0 @@
1
-
2
- 
3
- > @farcaster/create-mini-app@0.0.8 build /Users/horsefacts/Work/farcaster/frames/packages/create-mini-app
4
- > pnpm run clean && tsc --project tsconfig.build.json
5
-
6
-
7
- > @farcaster/create-mini-app@0.0.8 clean /Users/horsefacts/Work/farcaster/frames/packages/create-mini-app
8
- > rm -rf dist tsconfig.tsbuildinfo
9
-