@cycle-robot-drivers/action
Advanced tools
Comparing version 0.0.8 to 0.0.10
{ | ||
"name": "@cycle-robot-drivers/action", | ||
"version": "0.0.8", | ||
"description": "", | ||
"repository": "", | ||
"version": "0.0.10", | ||
"description": "Type definitions and utility functions for cycle-robot-drivers", | ||
"author": "Michael Jae-Yoon Chung", | ||
"license": "MIT", | ||
"bugs": "https://github.com/mjyc/cycle-robot-drivers/issues", | ||
"repository": "https://github.com/mjyc/cycle-robot-drivers/tree/master/action", | ||
"main": "lib/cjs/index.js", | ||
@@ -14,4 +15,5 @@ "module": "lib/es6/index.js", | ||
"build:es6": "../node_modules/.bin/tsc --project tsconfig.json --module es6 --outDir lib/es6", | ||
"build:doc": "../node_modules/.bin/markdox ./src/* -o api.md && cat ../docs/readmes/${PWD##*/}.md api.md > README.md && rm api.md", | ||
"test": "../node_modules/.bin/jest --config ../jest.config.common.js --rootDir ./" | ||
} | ||
} |
@@ -0,3 +1,19 @@ | ||
<!-- This README.md is automatically generated. Edit the JSDoc comments in source code or the md files in docs/readmes/. --> | ||
# @cycle-robot-drivers/action | ||
[Type definitions](./src/types.ts) and [utility functions](./src/utils.ts) for [cycle-robot-drivers](../). | ||
<!-- Start src/index.ts --> | ||
<!-- End src/index.ts --> | ||
<!-- Start src/types.ts --> | ||
<!-- End src/types.ts --> | ||
<!-- Start src/utils.ts --> | ||
<!-- End src/utils.ts --> | ||
import {Goal, GoalID} from './types' | ||
export function generateGoalID(): GoalID { | ||
@@ -5,0 +4,0 @@ const now = new Date(); |
import {generateGoalID, isEqual} from '../src/utils' | ||
describe('isEqual', () => { | ||
test('returns true for two GoalIDs with the same property values', () => { | ||
it('returns true for two GoalIDs with the same property values', () => { | ||
const goalId1 = generateGoalID(); | ||
@@ -6,0 +6,0 @@ const goalId2 = {...goalId1}; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
12710
20