• Stars
    star
    798
  • Rank 57,066 (Top 2 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created over 9 years ago
  • Updated 12 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Tooling that helps you do quality, faster.

chimp

Your development companion for doing quality, faster. For a full documentation please go to chimpjs.com.

oclif Version Downloads/week License

Usage

$ npm install -g chimp
$ chimp COMMAND
running command...
$ chimp (-v|--version|version)
chimp/0.0.0-development darwin-x64 node-v12.16.2
$ chimp --help [COMMAND]
USAGE
  $ chimp COMMAND
...

Commands

chimp create [NAME]

create (scaffold) a new app

USAGE
  $ chimp create [NAME]

ARGUMENTS
  NAME  name of the new app, also used as the directory

OPTIONS
  -a, --appPrefix=appPrefix              [default: ~app] prefix that points to the sourcecode of your app
  -g, --generatedPrefix=generatedPrefix  [default: ~generated] prefix that points to the generated by chimp helper code
  -h, --help                             show CLI help

EXAMPLES
  $ chimp create my-new-app
  $ chimp create my-new-app -a ~src -g ~chimp-helpers

See code: src/commands/create.ts

chimp generate

generate GraphQL code

USAGE
  $ chimp generate

OPTIONS
  -a, --appPrefix=appPrefix              [default: ~app] prefix that points to the sourcecode of your app
  -g, --generatedPrefix=generatedPrefix  [default: ~generated] prefix that points to the generated by chimp helper code
  -h, --help                             show CLI help

  -p, --modulesPath=modulesPath          path to the graphQL modules, only use if you are migrating an existing Apollo
                                         App and you want to use chimp only for a part of it

EXAMPLES
  $ chimp generate
  $ chimp generate -a ~src -g ~chimp-helpers

See code: src/commands/generate.ts

chimp help [COMMAND]

display help for chimp

USAGE
  $ chimp help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

chimp init

init Chimp

USAGE
  $ chimp init

OPTIONS
  -h, --help                     show CLI help
  -p, --modulesPath=modulesPath  [default: ./src/modules] path to the GraphQL modules.

EXAMPLES
  $ chimp init
  $ chimp init -p ./src/chimp-modules

See code: src/commands/init.ts

Updating jest.config.js after chimp init

Please manually add pathsToModuleNameMapper like so:

const { pathsToModuleNameMapper } = require("ts-jest/utils");
const { compilerOptions } = require("./tsconfig");
// ...
module.exports = {
  // ...,
  moduleNameMapper: pathsToModuleNameMapper(compilerOptions.paths, {
    prefix: "<rootDir>/"
  })
}

More Repositories

1

qualityfaster

An example project showing how to create robust and maintainable acceptance tests
JavaScript
262
star
2

typescript-event-sourcing

Domain Driven Design, Event Sourcing & Command Query Responsibility Segregation with Typescript
TypeScript
246
star
3

rtd

DEPRECATED: The Test Runner for Meteor
JavaScript
164
star
4

pojo-observer

A minimalist object observer with React hooks support. Allows you to separate concerns between presentation and interaction logic
TypeScript
105
star
5

meteor-rtd-example-project

A template project to use for creating a meteor app with unit and webdriver testing
JavaScript
91
star
6

meteor-cucumber

89
star
7

Letterpress

Sell your written and video content
JavaScript
83
star
8

federation-testing-tool

Test your Apollo GraphQL Gateway / Federation micro services.
JavaScript
65
star
9

md-blog

-- DEPRECATED --
JavaScript
60
star
10

storybook-webpack-federation-plugin

Exposes all the components in your Storybook as Webpack 5 federated components.
JavaScript
57
star
11

whirlwind-old

Reduce your test suite time from hours to minutes on TravisCI, CircleCI, CodeShip and even locally
JavaScript
37
star
12

meteor-webdriver

WebdriverIO for Meteor
JavaScript
28
star
13

meteor-coverage

DEPRECATED - SEE NOTICE BELOW - Code coverage for Meteor testing using Velocity
JavaScript
22
star
14

cleaner

Gives you methods to clear your Mongo database and collections for testing purposes
JavaScript
21
star
15

meteor-webstorm-library

DEPRECATED! Webstorm officially supports meteor Now. A converter that takes the api.json that powers docs.meteor.com and converts it into a stub with jsdocs, for Webstorm to use as a library.
JavaScript
20
star
16

meteor-inspectlet

Inspectlet in an easy to use package
JavaScript
20
star
17

meteor-email-stub

Allows you to inspect sent emails and assert on their content.
JavaScript
18
star
18

inverter

A tiny Inversion of Control (IoC) container for Meteor.
JavaScript
18
star
19

NDK

The Narrative Development Kit - A Narrative Script to Event-Sourced application library
TypeScript
15
star
20

meteor-http-interceptor

Intercepts HTTP calls and allows fake implementations to take over entire domains. Used for testing.
JavaScript
13
star
21

cdk-typescript-tooling

TypeScript
13
star
22

use-complex-state

TypeScript
13
star
23

chimp-widgets

Widget that provides high-level commands for UI testing for use with Xolv.io chimp
CoffeeScript
12
star
24

jasmine-unit

A jasmine-based unit-testing framework designed for the Velocity test runner
JavaScript
9
star
25

meteor-template-isolator

Exposes code from Meteor templates for testing purposes
JavaScript
9
star
26

meteor-backdoor

Meteor method that allows you to run arbitrary code on the server
JavaScript
8
star
27

mongodb-diff

Creates the MongoDB update query by diffing two objects.
JavaScript
7
star
28

newman-to-escape

JavaScript
6
star
29

react-hooks-domain-model

JavaScript
6
star
30

meteor-private-packages

Allows you to add private packages to your app.
JavaScript
6
star
31

whirlwind

Artilary based performance testing that runs on the serverless framework, supporting high-order functions like Stress, Soak, Load, Spike and DDOS attacks
JavaScript
6
star
32

chimp-datasources-generator

Mustache
5
star
33

webpack-federation-storybook-design-systems-demo

TypeScript
4
star
34

meteor-github-stub

A stub for use in testing Meteor apps. Fakes the oauth calls amongst other APIs.
JavaScript
4
star
35

aws-sales-system-example

TypeScript
3
star
36

qualityfaster-old

The code behind the book
JavaScript
3
star
37

dynamodb-toolbox-examples

TypeScript
3
star
38

dynamodb-testing-tool

TypeScript
3
star
39

meteor-twitter-stub

Provides an Twitter OAuth stub for testing and local development
JavaScript
3
star
40

pan-am-supergraph-demo

Demo Federation 2 Router + Subgraphs
JavaScript
3
star
41

cdk-typescript-tooling-example-live

TypeScript
3
star
42

instant-mock

InstantMock allows teams to quickly create mock GraphQL endpoints to eliminate delays and bottlenecks for front-end and QA teams caused by backend API readiness.
TypeScript
2
star
43

chimp-monorepo-example

TypeScript
2
star
44

chimp-graphql-codegen-plugin

TypeScript
2
star
45

meteor-package-boilerplate

A great boilerplate for your awesome new Meteor package
JavaScript
2
star
46

contentful-pipelines

Provides connivence methods for running Contentful migrations.
TypeScript
2
star
47

patcher

Patches Meteor methods and allows you to override "this" attributes for testing purposes
JavaScript
2
star
48

meteor-core-js

ES2015 and ES2016 polyfills in Meteor apps via core-js
JavaScript
2
star
49

enterprise-apollo-graphql

Practice repo of the Enterprise Apollo GraphQL course
TypeScript
2
star
50

chimp-gql-tiny-example

TypeScript
1
star
51

graphql-federation-sandbox

Shell
1
star
52

chimp-widgets-demo

Demo for Chimp Widgets
JavaScript
1
star
53

apollo-composable-with-vue-stories-demo

Apollo Composable with Vue Storybook Stories example
JavaScript
1
star
54

contentful-apollo-federation-example

Example of how to use the contentful-apollo-federation package
TypeScript
1
star
55

meteor-wallaby-sandbox

Sandbox project to get Wallaby working with Meteor.
JavaScript
1
star
56

lerna-dependencies-generator

Move your monolith dependencies into your monorepo packages
JavaScript
1
star
57

babel-async-comment-bug

Reproduce an issue with babel where adding a comment in an async function's arguments list can break it
JavaScript
1
star
58

why-so-loud-jest

JavaScript
1
star
59

swag-shop

The Xolvio Swag Shop is a React application built to demonstrate the power of integrating multiple technologies, including ApolloGraphQL. It is served from three subgraphs and provides an ideal environment for testing, demo purposes, and showcasing interaction with InstantMock.
TypeScript
1
star