Skip to content

Commit

Permalink
feat(quantity): create module
Browse files Browse the repository at this point in the history
  • Loading branch information
gregswindle committed Dec 2, 2019
1 parent a90a7de commit 5e1a146
Show file tree
Hide file tree
Showing 161 changed files with 28,648 additions and 826 deletions.
31 changes: 31 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
root = true

[*]
charset = utf-8
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
trim_trailing_whitespace = false

# Graphics
[*.{eps,gif,ico,jpeg,jpg,png,tif,tiff}]
charset = unset
end_of_line = unset
indent_size = unset
indent_style = unset
insert_final_newline = unset
tab_width = unset
trim_trailing_whitespace = unset

# Other documents
[*.{doc,DOC,docx,DOCX,dot,DOT,PDF,pdf,rtf,RTF}]
charset = unset
end_of_line = unset
indent_size = unset
indent_style = unset
insert_final_newline = unset
tab_width = unset
trim_trailing_whitespace = unset
88 changes: 88 additions & 0 deletions .env.defaults
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
# .env.defaults, committed to repo

## See https://github.com/keithmorris/node-dotenv-extended/#readme
## ⛔️
## 🚫 DO NOT COMMIT YOUR ACTUAL .env file to version control.
## 🚫 It should only include environment-specific values such
## 🚫 as database passwords or API keys.
## 🚫 Your production database should have a different password
## 🚫 than your development database.

# Codacy

CODACY_PROJECT_TOKEN=

# CodeClimate

CC_TEST_REPORTER_ID=

#
# Product manifest (package.json) variables
#

NODE_ENV=development
NPM_PACKAGE_NAME=@archetypes/quantity
NPM_PACKAGE_VERSION=

#
# Jest JUnit for JavaScript BDD test suites
# @see https://github.com/jest-community/jest-junit#configuration
#

# name attribute of <testsuites>
# @default "jest tests"
JEST_SUITE_NAME=@archetypes/quantity tests

# File path to save the output.
# @default "./junit.xml"
JEST_JUNIT_OUTPUT=./jest-junit.xml

# Directory to save the output.
# null
JEST_JUNIT_OUTPUT_DIR=

# File name for the output.
# @default "./junit.xml"
JEST_JUNIT_OUTPUT_NAME=./jest-junit.xml

# Template string for name attribute of the <testsuite>.
# @default "{title}"
JEST_JUNIT_SUITE_NAME=

# Template string for the classname attribute of <testcase>.
# @default "{classname} {title}"
JEST_JUNIT_CLASSNAME=

# Template string for the name attribute of <testcase>.
# @default "{classname} {title}"
JEST_JUNIT_TITLE=

# Character(s) used to join the describe blocks.
# @default " "
JEST_JUNIT_ANCESTOR_SEPARATOR=

# DEPRECATED. Use suiteNameTemplate instead. Use file path as the name attribute of <testsuite>
# @default "false"
JEST_USE_PATH_FOR_SUITE_NAME=

#
# RollupJS

BUILD=production
INCLUDE_DEPS=true

#
# SonarCloud variable defaults
#

# SonarCloud static code analysis

SONAR_BRANCH_NAME=
SONAR_BRANCH_TARGET=master
SONAR_HOST_URL=https://sonarcloud.io
SONAR_ORGANIZATION=commonality
SONAR_PROJECT_DESCRIPTION=Represents an amount of something measured according to some standard of measurement.
SONAR_PROJECT_KEY=commonality_archetypes-quantity
SONAR_PROJECT_NAME=@archetypes/quantity
SONAR_PROJECT_VERSION=
SONAR_TOKEN=
97 changes: 97 additions & 0 deletions .env.schema
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
# .env.schema, committed to repo

## See https://github.com/keithmorris/node-dotenv-extended/#readme
## ⛔️
## 🚫 DO NOT COMMIT YOUR ACTUAL .env file to version control.
## 🚫 It should only include environment-specific values such
## 🚫 as database passwords or API keys.
## 🚫 Your production database should have a different password
## 🚫 than your development database.

# Codacy

CODACY_PROJECT_TOKEN=

# CodeClimate

CC_TEST_REPORTER_ID=

NODE_ENV=

#
# Product manifest (package.json) variables
#

NPM_PACKAGE_NAME=
NPM_PACKAGE_VERSION=

#
# Jest JUnit for JavaScript BDD test suites
# @see https://github.com/jest-community/jest-junit#configuration
#

# name attribute of <testsuites>
# @default "jest tests"
JEST_SUITE_NAME=

# File path to save the output.
# @default "./junit.xml"
JEST_JUNIT_OUTPUT=

# Directory to save the output.
# null
JEST_JUNIT_OUTPUT_DIR=

# File name for the output.
# @default "./junit.xml"
JEST_JUNIT_OUTPUT_NAME=

# Template string for name attribute of the <testsuite>.
# @default "{title}"
JEST_JUNIT_SUITE_NAME=

# Template string for the classname attribute of <testcase>.
# @default "{classname} {title}"
JEST_JUNIT_CLASSNAME=

# Template string for the name attribute of <testcase>.
# @default "{classname} {title}"
JEST_JUNIT_TITLE=

# Character(s) used to join the describe blocks.
# @default " "
JEST_JUNIT_ANCESTOR_SEPARATOR=

# DEPRECATED. Use suiteNameTemplate instead. Use file path as the name attribute of <testsuite>
# @default "false"
JEST_USE_PATH_FOR_SUITE_NAME=

## Rollup.js

BUILD=
INCLUDE_DEPS=

#
# SonarCloud variables (CI/CD code analysis)
#

# Name of the current working branch.
# This is a short-lived branch
# corresponding to Merge/Pull Requests, feature, and fix branches.
# To get the current working branch name, run:
# npm --loglevel silent run vars:git:branch:name
# @see https://sonarcloud.io/documentation/branches/overview/


# The default branch of the repository; it should almost always
# be "master".

SONAR_BRANCH_NAME=
SONAR_BRANCH_TARGET=
SONAR_HOST_URL=
SONAR_ORGANIZATION=
SONAR_PROJECT_DESCRIPTION=
SONAR_PROJECT_KEY=
SONAR_PROJECT_NAME=
SONAR_PROJECT_VERSION=
SONAR_TOKEN=
12 changes: 12 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
.gitlab/rc/
**/__fixtures__/**
**/__mocks__/**
**/*.test.js
babel.config.js
coverage
dist/
docs/
jest.config.js
lib/env-config.js
rollup.config.js
scripts/
Loading

0 comments on commit 5e1a146

Please sign in to comment.