@caatinga/cli 2.2.0 → 2.2.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/dist/index.js +1 -1
- package/package.json +2 -2
- package/templates/marketplace-with-token/caatinga.template.json +1 -1
- package/templates/marketplace-with-token/package.json +3 -3
- package/templates/react-vite-counter/caatinga.template.json +1 -1
- package/templates/react-vite-counter/package.json +18 -3
- package/templates/react-vite-counter/pnpm-workspace.yaml +16 -3
- package/templates/react-vite-counter/vite.config.ts +5 -5
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@caatinga/cli",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.1",
|
|
4
4
|
"description": "Caatinga CLI for building dApps on Stellar/Soroban",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"stellar",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"LICENSE"
|
|
44
44
|
],
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@caatinga/core": "^2.2.
|
|
46
|
+
"@caatinga/core": "^2.2.1",
|
|
47
47
|
"chalk": "^5.4.1",
|
|
48
48
|
"commander": "^12.1.0"
|
|
49
49
|
},
|
|
@@ -12,15 +12,15 @@
|
|
|
12
12
|
"caatinga:generate": "caatinga generate token && caatinga generate marketplace"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@caatinga/client": "^2.2.
|
|
16
|
-
"@caatinga/core": "^2.2.
|
|
15
|
+
"@caatinga/client": "^2.2.1",
|
|
16
|
+
"@caatinga/core": "^2.2.1",
|
|
17
17
|
"@vitejs/plugin-react": "^4.3.4",
|
|
18
18
|
"react": "^18.3.1",
|
|
19
19
|
"react-dom": "^18.3.1",
|
|
20
20
|
"vite": "^6.0.6"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
|
-
"@caatinga/cli": "^2.2.
|
|
23
|
+
"@caatinga/cli": "^2.2.1",
|
|
24
24
|
"@types/react": "^18.3.18",
|
|
25
25
|
"@types/react-dom": "^18.3.5",
|
|
26
26
|
"typescript": "^5.7.2"
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
"caatinga:generate": "npx caatinga generate counter --network testnet"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@caatinga/client": "^2.2.
|
|
16
|
-
"@caatinga/core": "^2.2.
|
|
15
|
+
"@caatinga/client": "^2.2.1",
|
|
16
|
+
"@caatinga/core": "^2.2.1",
|
|
17
17
|
"@creit.tech/stellar-wallets-kit": "^2.3.0",
|
|
18
18
|
"@stellar/stellar-sdk": "^14.5.0",
|
|
19
19
|
"buffer": "^6.0.3",
|
|
@@ -23,9 +23,24 @@
|
|
|
23
23
|
"vite": "^6.0.6"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@caatinga/cli": "^2.2.
|
|
26
|
+
"@caatinga/cli": "^2.2.1",
|
|
27
27
|
"@types/react": "^18.3.18",
|
|
28
28
|
"@types/react-dom": "^18.3.5",
|
|
29
29
|
"typescript": "^5.7.2"
|
|
30
|
+
},
|
|
31
|
+
"overrides": {
|
|
32
|
+
"uuid": "^14.0.0",
|
|
33
|
+
"@creit.tech/stellar-wallets-kit": {
|
|
34
|
+
"@trezor/connect-web": "file:./src/stubs/empty-wallet-dep",
|
|
35
|
+
"@trezor/connect-plugin-stellar": "file:./src/stubs/empty-wallet-dep",
|
|
36
|
+
"@hot-wallet/sdk": "file:./src/stubs/hot-wallet-sdk"
|
|
37
|
+
},
|
|
38
|
+
"@reown/appkit-utils": {
|
|
39
|
+
"@safe-global/safe-apps-sdk": "-",
|
|
40
|
+
"@safe-global/safe-apps-provider": "-"
|
|
41
|
+
},
|
|
42
|
+
"@safe-global/safe-apps-sdk": {
|
|
43
|
+
"@safe-global/safe-gateway-typescript-sdk": "-"
|
|
44
|
+
}
|
|
30
45
|
}
|
|
31
46
|
}
|
|
@@ -1,6 +1,19 @@
|
|
|
1
1
|
# pnpm-only file (npm / yarn / bun ignore it). pnpm 10.26+/11.x block lifecycle
|
|
2
|
-
# scripts by default; vite depends on esbuild's, so allow it.
|
|
3
|
-
#
|
|
4
|
-
#
|
|
2
|
+
# scripts by default; vite depends on esbuild's, so allow it.
|
|
3
|
+
# Install-time overrides block unused wallet SDK branches; vite.config.ts aliases
|
|
4
|
+
# provide a second layer so yarn/bun bundles stay clean too.
|
|
5
5
|
allowBuilds:
|
|
6
6
|
esbuild: true
|
|
7
|
+
|
|
8
|
+
ignoredOptionalDependencies:
|
|
9
|
+
- "@safe-global/safe-apps-provider"
|
|
10
|
+
- "@safe-global/safe-apps-sdk"
|
|
11
|
+
|
|
12
|
+
overrides:
|
|
13
|
+
uuid: "^14.0.0"
|
|
14
|
+
"@creit.tech/stellar-wallets-kit>@trezor/connect-web": "-"
|
|
15
|
+
"@creit.tech/stellar-wallets-kit>@trezor/connect-plugin-stellar": "-"
|
|
16
|
+
"@creit.tech/stellar-wallets-kit>@hot-wallet/sdk": "-"
|
|
17
|
+
"@reown/appkit-utils>@safe-global/safe-apps-sdk": "-"
|
|
18
|
+
"@reown/appkit-utils>@safe-global/safe-apps-provider": "-"
|
|
19
|
+
"@safe-global/safe-apps-sdk>@safe-global/safe-gateway-typescript-sdk": "-"
|
|
@@ -3,9 +3,10 @@ import react from "@vitejs/plugin-react";
|
|
|
3
3
|
import { fileURLToPath } from "node:url";
|
|
4
4
|
|
|
5
5
|
// Empty CJS module. Aliasing browser-hostile wallet sub-deps here keeps them out
|
|
6
|
-
// of the bundle on
|
|
7
|
-
//
|
|
8
|
-
// import resolve to `undefined`
|
|
6
|
+
// of the bundle on yarn/bun (and as a safety net on npm/pnpm). Install-time
|
|
7
|
+
// overrides in package.json / pnpm-workspace.yaml block the same deps from
|
|
8
|
+
// being installed. CJS interop lets any named import resolve to `undefined`
|
|
9
|
+
// without an esbuild "not exported" error.
|
|
9
10
|
const emptyStub = fileURLToPath(
|
|
10
11
|
new URL("./src/stubs/empty-wallet-dep/index.cjs", import.meta.url)
|
|
11
12
|
);
|
|
@@ -19,8 +20,7 @@ export default defineConfig({
|
|
|
19
20
|
// to keep the NEAR chain out of the build. See src/stubs/hot-wallet.ts.
|
|
20
21
|
"@hot-wallet/sdk": fileURLToPath(new URL("./src/stubs/hot-wallet.ts", import.meta.url)),
|
|
21
22
|
// SWK + Reown/WalletConnect pull Trezor Connect (Node-only) and Safe Global
|
|
22
|
-
// SDKs that none of the wallets Caatinga ships actually use.
|
|
23
|
-
// bundle builds without pnpm-only "-" dependency overrides.
|
|
23
|
+
// SDKs that none of the wallets Caatinga ships actually use.
|
|
24
24
|
"@trezor/connect-web": emptyStub,
|
|
25
25
|
"@trezor/connect-plugin-stellar": emptyStub,
|
|
26
26
|
"@safe-global/safe-apps-sdk": emptyStub,
|