open-index/open-npm huggingface dataset:
npm package: @geekykaran/detox-generation
Description: Generate wrapper code for native dependencies
Author: DanielMSchmidt
Latest version: 9.0.6-skyscanner

# Generation

This part of the repository aims to automate the adaption of the underlying testing frameworks.
For now, it only covers `EarlGrey`'s `GREYActions`.

We chose to check the generated files into version control to have them available as documentation.

To correlate changes to the generation with changes in the generated code, please make sure to run the build before every commit.

## Development

- `npm install`
- `npm run build` builds every file specified in the `index.js`
- `npm test`

## Testing

- We test with integration level tests by having a fixture Objective-C file which we generate and import before the tests.
- We only add unit tests for code that is used in production, e.g. helper functions.
- We then test against this file to ensure that the code generation result works with the specified interface.
- We decided to base our tests around snapshot tests with the goal to spot mistakes in the return values of the functions without over-specification.
- If you add functionality that affects the API surface of detox, please also make sure to include [End to End tests for it](../detox/test/e2e).

## Resources

Parsing, ASTs, and code generation are hard topics but don't worry; we got your back.
Here are some resources that might come in handy:

- [astexplorer](https://astexplorer.net): Allows you to understand Abstract Syntax Trees by showing you code and the resulting AST side-by-side.
- [Babel Handbook](https://github.com/thejameskyle/babel-handbook):
- [babel-types](https://github.com/babel/babel/tree/master/packages/babel-types): A builder library for ASTs.
- [babel-template](https://github.com/babel/babel/tree/master/packages/babel-template): A useful tool we do not use yet for generating bigger ASTs with less code by the usage of string interpolation.
- [regex101](https://regex101.com): You might need to extract parts of a string; This tool helps you to quickly build the right Regular Expression for the job.
npm package: @geekymedic/cli
Description: geekymedic-cli
Author: MagicWang
Latest version: 1.0.1

@geekymedic/cli
========

geekymedic-cli

[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)
[![Version](https://img.shields.io/npm/v/@geekymedic/cli.svg)](https://npmjs.org/package/@geekymedic/cli)
[![Downloads/week](https://img.shields.io/npm/dw/@geekymedic/cli.svg)](https://npmjs.org/package/@geekymedic/cli)
[![License](https://img.shields.io/npm/l/@geekymedic/cli.svg)](https://github.com/MagicWang/cli/blob/master/package.json)

<!-- toc -->
* [Usage](#usage)
* [Commands](#commands)
<!-- tocstop -->
# Usage
<!-- usage -->
```sh-session
$ npm install -g @geekymedic/cli
$ gkm COMMAND
running command...
$ gkm (-v|--version|version)
@geekymedic/cli/1.0.0 win32-x64 node-v12.16.1
$ gkm --help [COMMAND]
USAGE
  $ gkm COMMAND
...
```
<!-- usagestop -->
# Commands
<!-- commands -->
* [`gkm help [COMMAND]`](#gkm-help-command)
* [`gkm new [PROJECTNAME]`](#gkm-new-projectname)

## `gkm help [COMMAND]`

display help for gkm

```
USAGE
  $ gkm help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI
```

_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v2.2.1/src\commands\help.ts)_

## `gkm new [PROJECTNAME]`

create new project

```
USAGE
  $ gkm new [PROJECTNAME]

OPTIONS
  -f, --force
  -h, --help       show CLI help
  -l, --lang=lang  [default: angular] which font framework will be use,angular|vue|react|weapp
```
<!-- commandsstop -->