@farcaster/create-mini-app 0.1.0 → 0.1.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/CHANGELOG.md +12 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/index.ts +1 -1
- package/package.json +7 -2
- package/templates/default/biome.json +17 -4
- package/templates/default/package.json +2 -2
- package/templates/default/src/App.tsx +1 -1
- package/templates/default/src/wagmi.ts +2 -2
- package/.turbo/turbo-build.log +0 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @farcaster/create-mini-app
|
|
2
2
|
|
|
3
|
+
## 0.1.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#559](https://github.com/farcasterxyz/miniapps/pull/559) [`5e466f0`](https://github.com/farcasterxyz/miniapps/commit/5e466f0649c3daddac75271993e540ee0daf8435) Thanks [@tybook](https://github.com/tybook)! - Test deploy via new CI auth method
|
|
8
|
+
|
|
9
|
+
## 0.1.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#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
|
|
14
|
+
|
|
3
15
|
## 0.1.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { type InitParameters, init } from './init.js';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
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,
|
|
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 {
|
|
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.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Create Farcaster Mini Apps with one command",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -15,10 +15,15 @@
|
|
|
15
15
|
"cli"
|
|
16
16
|
],
|
|
17
17
|
"license": "MIT",
|
|
18
|
+
"repository": {
|
|
19
|
+
"type": "git",
|
|
20
|
+
"url": "https://github.com/farcasterxyz/miniapps.git",
|
|
21
|
+
"directory": "packages/create-mini-app"
|
|
22
|
+
},
|
|
18
23
|
"devDependencies": {
|
|
19
24
|
"@types/fs-extra": "^11.0.4",
|
|
20
25
|
"typescript": "^5.8.3",
|
|
21
|
-
"@farcaster/tsconfig": "0.1.
|
|
26
|
+
"@farcaster/tsconfig": "0.1.1"
|
|
22
27
|
},
|
|
23
28
|
"dependencies": {
|
|
24
29
|
"@clack/prompts": "^0.10.0",
|
|
@@ -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/
|
|
14
|
-
"@farcaster/
|
|
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",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
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: [
|
|
7
|
+
connectors: [miniAppConnector()],
|
|
8
8
|
transports: {
|
|
9
9
|
[base.id]: http(),
|
|
10
10
|
[mainnet.id]: http(),
|
package/.turbo/turbo-build.log
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
> @farcaster/create-mini-app@0.1.0 build /Users/deodad/Repos/miniapps/packages/create-mini-app
|
|
4
|
-
> pnpm run clean && tsc --project tsconfig.build.json
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
> @farcaster/create-mini-app@0.1.0 clean /Users/deodad/Repos/miniapps/packages/create-mini-app
|
|
8
|
-
> rm -rf dist tsconfig.tsbuildinfo
|
|
9
|
-
|