1.13.3 • Published 12 months ago

@keen.io/query-creator v1.13.3

Weekly downloads
79
License
MIT
Repository
github
Last release
12 months ago

Query Creator

written in typescript styled with prettier tested with jest Commitizen friendly yarn

The Query Creator is an open source point-and-click interface used to create Keen Query structure. It's maintained by the team at Keen IO.

Install

npm install query-creator --save

or

yarn add query-creator

Integration

<QueryCreator
  modalContainer={modalContainer}
  projectId={projectId}
  readKey={readKey}
  masterKey={masterKey}
  host={host}
  onUpdateQuery={(query) => {}}
  onUpdateChartSettings={(chartSettings) => {}}
  httpProtocol={httpProtocol}
/>

Build

The @keen.io/query-creator use two step build to address issues with CSS specificity.

Typescript

First stage is responsible for transpilation Typescript code to esnext and emiting type declarations.

Babel

Second stage is responsible for code transpilation based on supported browserlist defined in package.json file and increasing styled-components css specificity by using plugins from .babelrc file. Generator functions transformations are disabled so applications that use this package should take care of it on their own.

Project Setup

prerequisites
  1. yarn - package manager
  2. node - make sure it's minimum 10.x.x
steps
  1. checkout repository
  2. run yarn - to install project dependencies
  3. create a config.js file (use config.template.js) and provide Keen credentials
  4. run application in development mode yarn start

npm scripts

List of useful commands that could be used by developers. Execution in the command-line interface should be prefixed with yarn package manager.

CommandDescription
lintrun linter against current application codebase.
testrun unit tests.
buildbuilds application distribution.
prettierrun code formatter process against current codebase.

commit

This project uses Conventional Commits to enforce common commit standards.

CommandDescription
npx git-czrun commit command line interface.
1.13.3

12 months ago

1.11.13

2 years ago

1.13.2

2 years ago

1.13.1

2 years ago

1.13.0

2 years ago

1.11.12

2 years ago

1.11.10

2 years ago

1.11.11

2 years ago

1.11.4

2 years ago

1.11.3

2 years ago

1.11.2

2 years ago

1.11.8

2 years ago

1.11.7

2 years ago

1.11.6

2 years ago

1.11.5

2 years ago

1.11.9

2 years ago

1.11.0

3 years ago

1.10.0

3 years ago

1.9.0

3 years ago

1.6.3

3 years ago

1.8.0

3 years ago

1.6.2

3 years ago

1.7.0

3 years ago

1.6.1

3 years ago

1.6.0

3 years ago

1.5.5

3 years ago

1.5.4

3 years ago

1.5.3

3 years ago

1.5.2

3 years ago

1.5.1

3 years ago

1.5.0

3 years ago

1.4.2

3 years ago

1.4.1

3 years ago

1.4.0

3 years ago

1.3.4

3 years ago

1.3.3

3 years ago

1.3.2

3 years ago

1.3.1

3 years ago

1.3.0

3 years ago

1.2.3

3 years ago

1.2.2

3 years ago

1.2.0

3 years ago

1.2.1

3 years ago

1.1.9

3 years ago

1.1.8

3 years ago

1.1.6

3 years ago

1.1.5

3 years ago

1.1.4

3 years ago

1.1.1

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.0

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago