1
0
Fork 0
Commit Graph

22 Commits (7583cc1a7115bb6476513abea7b2cfc4a39b5194)

Author SHA1 Message Date
Mike Gerwitz 9eb5d6c118 package.json.in: Restrict chai-as-promised and add @types
* package.json.in (devDependencies)[chai-as-promised]: Restrict version.
    [@types/chai-as-promised]: Add and restrict to same version.  Otherwise,
      there is a typescript incompatibility.
2019-10-17 11:47:14 -04:00
Mike Gerwitz 18e86ebfe7 TokenDao: Add test and further refine types
This tests the existing state of TokenDao before additional modifications
are made.  This commit also further refines the types introduced in a
previous commit.

This is also the first test written in Typescript.

* package.json.in (devDependencies): Add node, chai, and mocha types.
* src/server/token/TokenDao.ts (updateToken): `data` accepts null (as it
    should).  Do not conditionall add data to object (it doesn't matter for
    later retrieval).  Note nondeterminism with date.  More concise syntax
    for object fields.
* src/server/token/TokenQueryResult.ts: Make all fields readonly.
  (TokenStatus): Date is no longer optional (see above mention).
* src/types/mongodb.d.ts: Remove generics (erroneously added).
  (Collection)[update]: Remove 3-argument declaration (see comment).
* test/server/token/TokenDaoTest.ts: New test case.
2019-10-17 11:47:14 -04:00
Mike Gerwitz bacefb0752 Build typescript files
* .gitignore (tsconfig.tsbuildinfo): Ignore generated file (used for
    incremental builds).
* Makefile.am (tsout): New variable an recipe.
  (modindex, check): Depend on tsout.
* dummy.ts: New (temporary) file.  Will be removed once we have at least one
  ts file.
* npm-shrinkwrap.json: Update.
* package.json.in (devDependencies)[typescript]: New dependency.
* tsconfig.json: New configuration file.
2019-10-17 11:47:14 -04:00
Herbert Burzlaff c36bc5a42f
DEVOPS-151: Updating mongodb nodejs driver to 1.2.14 2019-05-07 20:03:15 +00:00
Mike Gerwitz c92cab4044 package.json (dependencies)[amqplib]: Add
This should have been in the previous commit.
2019-03-21 14:56:26 -04:00
Mark Goldsmith 04565a6559 [DEV-4452] Accordion margin applies to collapsable header only 2019-03-01 10:02:39 -05:00
Mike Gerwitz d1d2c4e5c9 Update package.json license to {=>A}GPLv3+
Server code is AGPLv3+, client/general is GPLv3+.

* package.json.in (license): Change license from GPL-3.0+ to AGPL-3.0+.
2017-09-08 14:23:34 -04:00
Mike Gerwitz 2aac23aea7 package.json: postinstall ./configure
This is needed since whatever we publish may not generate the proper
options for node.  Especially since we're on an ancient version.

* package.json.in (scripts)[postinstall]: Add `./configure' call.
2017-09-01 16:20:20 -04:00
Mike Gerwitz 9cdc1088ca package.json: Add missing bin record for server
Gah.  I modified package.json instead of package.json.in and never
noticed!

* package.json (bin): Add `liza-server' binary.
2017-09-01 15:34:11 -04:00
Mike Gerwitz f8a3c4e9fc Add missing mongodb dependency
* package.json.in (dependencies) [mongodb]: Add dependency (ancient version!)
* yarn.lock: Update.
2017-06-20 14:17:03 -04:00
Mike Gerwitz 83fa4f717c package.json.in (chai): Restrict version to satisfy chai-as-promised 2017-06-08 14:57:16 -04:00
Mike Gerwitz 1bb5191e3e LoVullo Associates => R-T Specialty
Copyright notices updated.  More casual references to "LoVullo
Associates" replaced with "RT Specialty / Lovullo", which will be "RT
Specialty Buffalo" in the future.  Or "RT Specialty", depending on how
this is rolled out.  Or "Ryan Specialty Group".  Who knows.

"R-T Specialty, LLC." is the legal name, which includes the dash.  Not
to be confused with a certain television network.
2017-06-08 14:48:43 -04:00
Mike Gerwitz acc75cc3a9 Add chai-as-promised
* src/package.json.in (devDependencies): Add chai-as-promised.
2017-01-03 09:11:18 -05:00
Mike Gerwitz 6dd5b83a27 Add missing license to package.json
* package.json.in (license): Add key.
2016-12-21 11:29:25 -05:00
Mike Gerwitz f5549795d5 GeneralStepUi vformat styling
* package.json (devDependencies): Add sinon

* src/ui/step/GeneralStepUi.js (answerDataUpdate): Attempt formatting with
  formatter prior to "old" answer styling.

* test/ui/step/GeneralStepUiTest.js: Added
2016-06-21 16:46:05 -04:00
Mike Gerwitz 78c3cc63e1 add es6-promise shim
It is expected that support for promises will be available in whatever
environment liza is run.  Here, we're adding a shim for the sake of testing
in ancient environments.

It's almost as if I'm stuck using an ancient environment somewhere...*cough*
2016-03-01 00:48:37 -05:00
Arthur Domino e947eeccd7 Update easejs to version 0.2.6 (0.2.x) 2015-08-28 12:37:34 -04:00
Mike Gerwitz 0c56d43c13 tags=>keywords in package.json
Was it "tags" years ago?  I'm not sure; that's what I used in GNU ease.js,
and that would explain why it is not working.
2015-05-01 15:51:35 -04:00
Mike Gerwitz bf6f3a7ca8 GNU ease.js upgrade to 0.2.4 2015-04-09 01:13:33 -04:00
Mike Gerwitz e44d6453d0 Added Mocha and Chai dev dependencies
When the project that would eventually become Liza was initially developed,
Node.js was still very young and there were no well established testing
frameworks. That has since changed.
2014-04-18 10:02:09 -04:00
Mike Gerwitz d2c22d1691 Added GNU ease.js dependency 2014-04-18 10:02:07 -04:00
Mike Gerwitz 7fe66235f9 Added package.json for npm
It will be a while yet before this appears in npm.

The build no longer fails on `make' by default.
2014-01-17 00:51:53 -05:00