capacitor-community / stripe

Stripe Mobile SDK wrapper for Capacitor
MIT License
185 stars 74 forks source link

New documentation. #134

Closed rdlabo closed 2 years ago

rdlabo commented 2 years ago

This plugin's readme is so long. So we try to create new documentation:

https://capacitor-community-stripe-site.netlify.app/

This status is progress.

rdlabo commented 2 years ago

update interface: https://github.com/capacitor-community/stripe/commit/406e972e1906e2c7c763da17215301706aa78715

related: https://github.com/ionic-team/capacitor-docgen/pull/35

hideokamoto commented 2 years ago

I think the docs have not deployed in Netlify...

https://app.netlify.com/sites/capacitor-community-stripe/deploys/61c82d42df3fde00086dd320

5:53:19 PM: $ npm run build && cd demo/angular && npm ci && npm run build -- --prod && echo '/* /index.html 200' >> www/_redirects
5:53:20 PM: > @capacitor-community/stripe@3.4.2 build /opt/build/repo
5:53:20 PM: > npm run clean && npm run docgen && tsc && rollup -c rollup.config.js
5:53:20 PM: > @capacitor-community/stripe@3.4.2 clean /opt/build/repo
5:53:20 PM: > rimraf ./dist
5:53:21 PM: > @capacitor-community/stripe@3.4.2 docgen /opt/build/repo
5:53:21 PM: > docgen --api StripePlugin --output-readme README.md --output-json dist/docs.json
5:53:27 PM: ✔️ DocGen Output: /opt/build/repo/dist/docs.json
5:53:27 PM: ✔️ DocGen Output: /opt/build/repo/README.md
5:53:36 PM: 
5:53:36 PM: dist/esm/index.js → dist/plugin.js, dist/plugin.cjs.js...
5:53:36 PM: created dist/plugin.js, dist/plugin.cjs.js in 294ms
5:53:38 PM: npm ERR! @capacitor/docgen not accessible from @capacitor-community/stripe
5:53:38 PM: npm ERR! A complete log of this run can be found in:
5:53:38 PM: npm ERR!     /opt/buildhome/.npm/_logs/2021-12-26T08_53_38_047Z-debug.log
5:53:38 PM: ​
5:53:38 PM: ────────────────────────────────────────────────────────────────
5:53:38 PM:   "build.command" failed                                        
5:53:38 PM: ────────────────────────────────────────────────────────────────
5:53:38 PM: ​
5:53:38 PM:   Error message
5:53:38 PM:   Command failed with exit code 1: npm run build && cd demo/angular && npm ci && npm run build -- --prod && echo '/* /index.html 200' >> www/_redirects
5:53:38 PM: ​
5:53:38 PM:   Error location
5:53:38 PM:   In Build command from Netlify app:
5:53:38 PM:   npm run build && cd demo/angular && npm ci && npm run build -- --prod && echo '/* /index.html 200' >> www/_redirects
5:53:38 PM: ​
5:53:38 PM:   Resolved config
5:53:38 PM:   build:
5:53:38 PM:     command: npm run build && cd demo/angular && npm ci && npm run build -- --prod && echo '/* /index.html 200' >> www/_redirects
5:53:38 PM:     commandOrigin: ui
5:53:38 PM:     publish: /opt/build/repo/demo/angular/www
5:53:38 PM:     publishOrigin: ui
rdlabo commented 2 years ago

@hideokamoto fixed. This was probrem of npm install.

rdlabo commented 2 years ago

hosted: https://stripe.capacitorjs.jp/

rdlabo commented 2 years ago

released!!