v2_repl_app

所属分类:编译器/解释器
开发工具:JavaScript
文件大小:0KB
下载次数:0
上传日期:2023-07-11 02:16:11
上 传 者sh-1993
说明:  ZAF SDK开发人员的交互式编程环境,
(An interactive programming environment for ZAF SDK developers,)

文件列表:
.babelrc (47, 2023-04-26)
.eslintrc (437, 2023-04-26)
.postcssrc.js (305, 2023-04-26)
LICENSE (3145, 2023-04-26)
Procfile (53, 2023-04-26)
package-lock.json (557699, 2023-04-26)
package.json (1441, 2023-04-26)
src/ (0, 2023-04-26)
src/images/ (0, 2023-04-26)
src/images/chat/ (0, 2023-04-26)
src/images/chat/logo-small.png (821, 2023-04-26)
src/images/chat/logo.png (1782, 2023-04-26)
src/images/chat/screenshot-0.png (257938, 2023-04-26)
src/images/chat/screenshot-1.png (63306, 2023-04-26)
src/images/chat/screenshot-2.png (81773, 2023-04-26)
src/images/sell/ (0, 2023-04-26)
src/images/sell/icon.svg (572, 2023-04-26)
src/images/sell/logo-small.png (821, 2023-04-26)
src/images/sell/logo.png (1782, 2023-04-26)
src/images/sell/screenshot-0.png (257938, 2023-04-26)
src/images/sell/screenshot-1.png (63306, 2023-04-26)
src/images/sell/screenshot-2.png (81773, 2023-04-26)
src/images/support/ (0, 2023-04-26)
src/images/support/icon.svg (572, 2023-04-26)
src/images/support/logo-small.png (821, 2023-04-26)
src/images/support/logo.png (1782, 2023-04-26)
src/images/support/screenshot-0.png (257938, 2023-04-26)
src/images/support/screenshot-1.png (63306, 2023-04-26)
src/images/support/screenshot-2.png (81773, 2023-04-26)
src/javascripts/ (0, 2023-04-26)
src/javascripts/app.js (6503, 2023-04-26)
src/javascripts/base_app.js (2277, 2023-04-26)
src/javascripts/helpers.js (767, 2023-04-26)
src/javascripts/index.js (389, 2023-04-26)
... ...

# v2 REPL App ![Production version](https://samson.zende.sk/projects/v2_repl_app/stages/production.svg?token=84457be797bb7a1e00d1f57575d5112a) ## Description An interactive programming environment for ZAF v2 developers. ## Dependencies [Zendesk apps tools](https://github.com/zendesk/zendesk_apps_tools) NodeJS >= 8.1.0 ## Owners This repo is maintained by @zendesk/vegemite. You can contact us using that Github handle on issues or pull requests. If you are not able to use that team handle you can mention recent contributors from [here](https://github.com/zendesk/v2_repl_app/graphs/contributors). We are often active during daytime hours on the East coast of Australia (UTC+10). We have a Slack channel called `apps` accessible to all Zendesk employees. The broader developer community is encouraged to get in touch with us by using the `zendesk-platform` Slack workspace, or by contacting us via https://support.zendesk.com. You can get access to the Slack channel by sending a request to developersupport@zendesk.com The complete app can be downloaded from the [Zendesk Marketplace](https://www.zendesk.com/apps/support/v2-repl/). ### Running Locally v2 REPL App is built using [Zendesk Apps Tool (ZAT)](https://github.com/zendesk/zendesk_apps_tools). To make changes to the source code: 1) Clone the current repository and change directory ```sh git clone git@github.com:zendesk/v2_repl_app.git cd v2_repl_app ``` 2) For development, run in the terminal ```sh npm run build npm run watch zat server -p dist ``` ### Webpack Webpack is the builder that will transform the `src` directory into an `dist/` app suitable for browsers. The config can be quite confusing so we opted to keep it as simple as possible. The most confusing part is probably the css part. It uses a `sass-loader` to convert .scss into css, then `css-loader` to convert that into javascript, and last `ExtractTextPlugin` to convert that javascript back into css and stick it into a `styles.css` file. For development run either a single run `npm run build` or keep watching the files with `npm run watch`. For production `npm run build` will run the end result through babel, because IE11 doesn't understand ES6 code, and webpack's `-p` options will minify the code. ## Testing This app is designed for testing the results of various Zendesk App Framework APIs. From within the app, you can run test commands like `zafClient.get('ticket.subject')`. You can also enable logging by running `window.logging = true`. ## Packaging ```sh cd "$ZENDESK_CODE_DIR/v2_repl_app" # Since ZAT may not work with latest Ruby, you probably want to make # sure you are using the specified version first ln -s "$ZENDESK_CODE_DIR/zendesk_apps_tools/.ruby-version" # Install ZAT gem install zendesk_apps_tools # Update translations cd src/ zat translate to_json # Build cd .. npm install --no-save npm run build # Packaging cd dist zip -r -FS /path/to/v2_repl.zip * ``` ## Contribute Pull requests and Github issues are welcome. They'll be merged with two :+1:s from the maintainers. Please CC @zendesk/vegemite on your PR. ## Bugs Bugs can be reported as Github issues or as tickets in https://support.zendesk.com ## Useful Links API documentation can be found at https://developer.zendesk.com/apps/docs/zendesk-apps/resources

近期下载者

相关文件


收藏者