Commit Graph

308 Commits (49f0207b94f2545ba28aa97f60e791166d61f58a)

Author SHA1 Message Date
Brett Zamir 5710a2a885 - npm: Add `pre-commit` for `lint-staged` 2020-08-05 19:04:48 +08:00
Brett Zamir f390983dc1 - npm: Apply linting to `lint-staged` and remove from `run-if-changed`
- npm: Create `prep-no-eslint` script
2020-08-05 18:58:22 +08:00
Brett Zamir 4c14de143b - Build: Fix build input for xdomain; update external files per latest
- Docs: Update dev. license badge per latest
- Linting (LGTM): Fix paths
- Linting (ESLint): Fix ignore path
- npm: Fix copy file paths
2020-08-05 18:38:52 +08:00
Brett Zamir 0255938873 - Try avoiding npm error 2020-08-05 18:04:07 +08:00
Brett Zamir 7910794f90 - npm: Update devDeps 2020-08-05 17:59:33 +08:00
Brett Zamir ccb192bea6 - npm: More `run-if-chaanged` triggers 2020-08-05 17:36:33 +08:00
Brett Zamir 5bcf6821e6 - npm: Add hkdobrev/run-if-changed and tie to prepublishOnly script (if packages changed, may need to rebuild license docs, local copies, and/or builds) 2020-08-05 17:27:31 +08:00
JFH 90a4d721b8 npm update 2020-08-03 17:39:27 +02:00
Brett Zamir 4f882a947a - Fix: Ensure cypress process will continue on errors (so coverage badge should be created once executing properly)
- npm: Use cross-platform `cp-cli` for copying directories
2020-08-03 16:38:47 +08:00
JFH 92635ba721 restore all eslint rules 2020-08-01 01:23:28 +02:00
JFH 137516caba refresh tests after move of svgedit-config 2020-07-30 15:02:35 +02:00
Brett Zamir ec32f5bc68 - Drop extra space (running `npm install` will reformat this way anyways) 2020-07-29 15:26:27 +08:00
JFH 1f499f78d1 set a minimum for the coverage 2020-07-26 22:27:40 +02:00
JFH 89e20d49e6 eslint/browser list/accessibility test 2020-07-26 20:11:18 +02:00
JFH bb5cb2c955 npm update 2020-07-25 19:40:40 +02:00
JFH f6f4b3f340 test script use the new cy:instrument after folder refactoring 2020-07-25 19:35:12 +02:00
JFH b7fccd59d5 adapt to new folder structure 2020-07-25 15:32:59 +02:00
Brett Zamir 2b42870e22 - npm: Update paths 2020-07-24 22:18:43 +08:00
Brett Zamir 54fd0975d7 - Linting: As per latest ash-nazg (unicorn updates)
- npm: Update devDeps.
2020-07-19 22:32:40 +08:00
Brett Zamir 7100111d62 - Fix more paths (Rollup, build, eslint) paths
- Restore checking of a few modified "external" packages
2020-07-18 19:21:41 +08:00
Brett Zamir e560784961 Merge branch 'master' into refactor-folders
* master:
  - Build: Update - Linting: Update to-do - Linting: Disable console inline for now to get CI passing - npm: Update devDeps.

# Conflicts:
#	src/common/units.js
2020-07-18 18:30:50 +08:00
Brett Zamir 5c237535d5 - Build: Update
- Linting: Update to-do
- Linting: Disable console inline for now to get CI passing
- npm: Update devDeps.
2020-07-15 09:06:16 +08:00
JFH b1e4429741 update dependencies 2020-07-14 17:55:02 +02:00
JFH 01418b44f3 move files to adequate folders and fix imports 2020-07-14 01:47:46 +02:00
Brett Zamir f5e64371e4 - npm: Add max-warnings of 0 for lint script 2020-07-13 16:49:53 +08:00
Brett Zamir 859d09c1be - docs: Update release instructions
- npm: work on release scripts
- submodules: Add old versions as submodules for availability on Github Pages
2020-07-13 10:20:14 +08:00
Brett Zamir 8b7d549c79 - npm: Work on `submodules-update` script 2020-07-12 23:38:47 +08:00
Brett Zamir 47e901ca3c - npm: Work on fixing `add-release` scripts; make platform-independent with `cross-var`
- npm: Update package-lock to reduce vulnerabilities
2020-07-12 22:39:30 +08:00
Brett Zamir 20617d1d13 - npm: Update devDeps and `package-lock.json` 2020-07-06 18:52:54 +08:00
Brett Zamir 4c638d4820 - Linting: As per latest ash-nazg
- Docs: Update license badge
- Docs(CHANGES): Update
- npm: Update devDeps. and package-lock.json
2020-07-01 13:34:47 +08:00
Brett Zamir ce2a8fb1e8 - Linting: As per latest ash-nazg
- Docs: Add feature and PR templates
- npm: Update devDeps.
2020-06-20 15:55:23 +08:00
Brett Zamir b7e11f1bf8 - Linting: As per latest ash-nazg
- npm: Update devDeps (and Jamilih copy)
2020-05-26 20:44:54 +08:00
Brett Zamir 070e08a4f9 - npm/Linting: Add `--cache` to speed up subsequent linting 2020-05-18 10:25:49 +08:00
Brett Zamir 850bf97fc1 - Build: Update copies of core-js-bundle and stackblur and other files per latest Rollup/Babel
- Build: Use new rollup/plugin-babel in other Rollup file
- npm: Update devDeps.
2020-05-10 20:16:21 +08:00
Brett Zamir 863b41bfcc - npm: Update from deprecated `rollup-plugin-babel` to `@rollup/plugin-babel`
(and make `babelHelpers` explicit)
2020-05-10 11:14:36 +08:00
Brett Zamir 354bdc476d - Docs: Update badges per latest badge devDeps.
- npm: Update badge devDeps.
2020-05-10 10:42:05 +08:00
Brett Zamir c1e5bc70f7 - Build: Update
- npm: Update devDeps
2020-05-09 21:59:46 +08:00
Brett Zamir f46f5fc889 - Build: Update with recent jsdoc changes
- npm: Update devDeps
2020-05-07 10:14:01 +08:00
Brett Zamir 381a0d9460 - Build: Update per latest Babel/Rollup
- npm: Update devDeps (no resulting license changes)
2020-05-04 09:26:21 +08:00
Brett Zamir 1a9b00a1f8 - License: Remove "CC-BY-SA-2.0" as explicit license type, but make note about unclear provenance of some images
- Docs: Update license badges to reflect lack of (known) CC-BY-SA-2.0 usage
- Replace CC-BY-SA-2.0 polygon image (thanks, @mowijo !)
2020-05-04 09:19:16 +08:00
Brett Zamir e43d128a2f - Docs: Mention lack of relative repo maintenance in issue template
- Linting (ESLint): As per latest ash-nazg
- npm: Update devDeps.
2020-04-29 13:07:22 +08:00
Brett Zamir 3a494dfee9 - npm: Remove `gh-badges` 2020-04-24 07:36:36 +08:00
Brett Zamir 4b92acc790 - Update: Cypress code coverage plugin
- Linting: Update as per latest ash-nazg
- npm: Update devDeps.
2020-04-12 10:45:03 +08:00
Brett Zamir a850fdb34b - npm: Avoid deprecated `prepublish` 2020-04-03 08:20:54 +08:00
Brett Zamir fccd584ab8 - Linting: Add notes on some
- npm: Switch `prepare`->`prepublish` as causing problems for Git installs
2020-04-03 08:15:53 +08:00
Brett Zamir e4f36a3c5b - Build: Update
- npm: Add `prepare` script to update license-badges, copy, and prep (leaving prepublishOnly to handle build-docs)
- npm: Make license badge prep. in series as getting too many files open error running in parallel
- npm: Update devDeps
2020-04-01 15:32:51 +08:00
Brett Zamir ea58adbab1 - Build: Update with namespaced `parseFloat`, etc. changes
- npm: Update devDeps. (remove axe-core now that bundled with cypress-axe)
2020-03-31 00:25:54 +08:00
Brett Zamir 1f1452f4fa - npm: Update devDeps 2020-03-27 20:11:47 +08:00
Brett Zamir 8fe42204ce - Docs: Update coverage badge per latest coveradge
- npm: Update devDeps
2020-03-27 15:23:45 +08:00
Brett Zamir 2b07946b6b - Build: Update per latest Rollup
- npm: Update devDeps
2020-03-24 10:04:15 +08:00
Brett Zamir 0d48e317a7 - npm: Fix duplicate properties
- npm: Update devDeps and `package-lock.json`
2020-03-18 08:39:23 +08:00
Brett Zamir f3a83dcb1d - Linting (ESLint): As per latest ash-nazg (unicorn)
- npm: Update devDeps; use stable eslint-plugin-mocha-cleanup now that updated
- npm: Add scripts for reporting with test summaries (free of full noise during tests);
    auto-run at end of tests
- npm: Update devDeps. and use stable version of eslint-plugin-mocha-cleanup
2020-03-11 00:23:54 +08:00
Brett Zamir 231fdb2189 - Update: Underscore copy; build files per Rollup/Babel updates
- npm: Update devDeps (babel, cypress, linting, mocha, rollup related)
2020-03-07 17:45:59 +08:00
Brett Zamir f8ed5018f5 - Linting: Reenable `mocha-cleanup/no-expressions-in-assertions` with new `replacementsOnly` rule
- npm: Point to `master` of `eslint-plugin-mocha-cleanup` fork (until release)
2020-02-28 19:08:16 +08:00
Brett Zamir 9fac8ecc58 - Linting (ESLint): Add `fintechstudieos/eslint-plugin-chai-as-promised`,
`eslint-plugin-chai-expect-keywords`, and `eslint-plugin-mocha-cleanup`
    plugins
2020-02-26 14:34:42 +08:00
Brett Zamir 221c243017 - npm: Update devDep (license-badger)
- npm: Update `package-lock.json`
2020-02-23 18:08:52 +08:00
Brett Zamir 6d81322f26 - npm: Update devDeps (cypress/fiddle) 2020-02-23 09:59:06 +08:00
Brett Zamir 3fb1298dff - Releases: Make separate script for adding a new release (vs. an old one) 2020-02-22 21:33:44 +08:00
Brett Zamir 79e191537e - Temporariy remove submodules 2020-02-22 16:02:55 +08:00
Brett Zamir 7c6f512512 - Linting: Lint hidden `ncurc.js` file
- Docs: Add 6.0.0.md migration file
- Docs: Update Contributing, Testing (renamed to Development), Linting and ReleaseInstructions
- Docs: Info on submodules
- npm: Add scripts for updating submodules
- npm: Add `license-badges`, `build-docs`, and `copy` scripts to `prepublishOnly` script
- npm: Bump to 6.0.0
2020-02-22 14:16:12 +08:00
Brett Zamir 105037ef79 - npm: Add `add-release` script (Newer versions of Git might be able to use `set-branch`, but the Git version with Mac does not so using another approach)
- Docs: Fix `ReleaseInstructions.md`
2020-02-22 10:32:53 +08:00
Brett Zamir ec881e2362 - npm: Update devDeps (cypress-related, mochawesome-merge, linting-related, rollup)
- Build: Update
2020-02-21 18:24:20 +08:00
Brett Zamir e60812e196 - Linting (ESLint): Check eslintrc file itself
- Linting: Add linting plugins (mocha, chai-expect, chai-friendly, cypress)
- Testing: Change cypress plugins file to ESM (so can set up any needed unit testing tasks)
2020-02-21 16:34:55 +08:00
Brett Zamir 9ce26bafc8 - Docs: Update `ReleaseInstructions` per new procedures 2020-02-21 11:07:23 +08:00
Brett Zamir 178374afdf - Linting (ESLint): Ignore `releases` (Fixes #387)
- npm: Ignore `releases`, `gh-disabled-workflows`, `.travis.yml`
- npm: Change `open-tests` script to run `instrument`
- Docs: Clarifications on testing
2020-02-21 08:43:58 +08:00
Brett Zamir 08bf6f63b8 - Docs: Update testing info; update CHANGES
- `editorconfig`: Use 4 spaces for Markdown
- npm: Rename and group various development scripts
2020-02-20 12:31:06 +08:00
Brett Zamir 58c0370b04 - npm: Update devDeps 2020-02-12 10:48:10 +08:00
Brett Zamir 8a544f85c3 - npm/Build: Move out badge building to external devDep. 2020-02-11 13:20:24 +08:00
Brett Zamir 36ec1a109a - npm: Clean-up and fix new timing issues with cypress test scripts
- npm: Update devDeps (testing)
2020-02-07 12:46:45 +08:00
Brett Zamir 4b14d1efec - npm: Update devDeps (ash-nazg, coveradge) 2020-02-06 01:41:39 +08:00
Brett Zamir b7f8a63158 - Build: Update
- npm: Update devDeps.
2020-02-05 23:42:38 +08:00
Brett Zamir 33c84d89b8 - Linting (ESLint): As per latest ash-nazg
- npm: Update devDeps
2020-02-01 20:44:13 +08:00
Brett Zamir f9f359b98f - Linting (ESLint): As per latest ash-nazg (jsdoc for classes/methods)
- npm: Update devDeps
2020-01-29 12:09:42 +08:00
Brett Zamir cf80e31de7 - Build: Update
- npm: Update devDeps
2020-01-25 10:32:24 +08:00
Brett Zamir 6acca0cf6a - npm: Use stable mocha-badge-generator now that updated 2020-01-21 12:17:06 +08:00
Brett Zamir 1624b64264 - npm: Remove redundant script 2020-01-21 11:53:12 +08:00
Brett Zamir cb5f2b5b4f - Update: core-js-bundle copy
- npm: Bump devDeps (Babel-related, eslint-related, core-js-bundle, cypress)
2020-01-13 21:30:22 +08:00
Brett Zamir e50dfe77e0 - npm: Rmv ws in comparison check 2020-01-09 10:14:48 +08:00
Brett Zamir effa4829d0 - npm: Update devDep (`license-badger`) 2020-01-09 09:47:01 +08:00
Brett Zamir 1be01bc89a - Build: Updae
- npm: Update devDeps
2020-01-09 02:27:56 +08:00
Brett Zamir 9fcdebac44 - Build: Update license dev. badge (CC-BY-4.0 packages listed now as permissive)
- npm: Update devDep.
2020-01-08 17:23:29 +08:00
Brett Zamir 80b31b3776 - Build: Update license dev. badge (CC-BY-3.0 packages listed now as permissive)
- npm: Update devDep.
2020-01-08 17:10:18 +08:00
Brett Zamir cbd4c1f40a - Build: Update license badges
- npm: Update devDeps
2020-01-08 16:17:25 +08:00
Brett Zamir 310157e37e - npm: Update devDep. (no need for badge color override) 2020-01-08 11:38:35 +08:00
Brett Zamir 602dc36631 - Docs: Use darker, easier-to-read yellow color for weakly protective dev licenses 2020-01-08 11:03:49 +08:00
Brett Zamir 11a21fe93a - License: Reflect actual license of library in `package.json` based
not only on licenses of repository as a whole (i.e., "MIT") but
  individual component files; see `filesByLicense` in `licenseInfo.json`
  for a map of license to these files within the repo with their own
  licenses. See the new license badges on the README for a summary of
  the licenses including either bundled devDependencies or all
  `devDependencies` (we have no direct npm `dependencies` currently).
- Docs: Add license badges and `licenseInfo.json` (has a
  `filesByLicense` map of files to licenses (not yet used programmatically)
  and `bundledRootPackages` which is used by `license-badger` to know which
  dev. packages are being bundled (added by `npm run copy`) for determining
  summary of all licenses including bundled).
- npm: Update devDep.
2020-01-08 10:56:21 +08:00
Brett Zamir 3fe912eba8 - Linting (ESLint): As per latest eslint-plugin-jsdoc
- npm: Bump devDep.
2020-01-08 04:11:06 +08:00
Brett Zamir 3d95c9095f -npm: Update devDeps and core-js-bundle copy 2020-01-07 18:57:12 +08:00
Brett Zamir 860dca4339 - Optimization: Remove unmaintained chrome-app, firefox-extension,
opera-widget (an updated WebExtensions replacement (or such)
  would be welcome.)
2020-01-07 09:57:25 +08:00
Brett Zamir 22978edcb6 - Build: Update underscore copy
- npm: Update devDep (Jamilih)
2020-01-06 16:02:03 +08:00
Brett Zamir 2810d8e699 - Testing: Remove extra `spec`
- Testing (coverag)e: Remove `nyc_output` to avoid instrumentation building on past results
2020-01-06 14:45:53 +08:00
Brett Zamir 05fe0cc526 - Docs: Update coverage badge
- npm: Ensure badge gets updated
2020-01-06 13:51:25 +08:00
Brett Zamir 97f64d2189 - Refactoring: Move `build-html` to `build` directory
- Optimization: Remove old build/tools closure/yuicompressor code
- Testing: Produce mochawesome report
- Testing: Cypress with multiple reporters (was expecting we'd need, but doesn't hurt to add for now)
- Docs: Add testing badge
- Docs: Reprioritize `docs` in commit lists (prioritize user-facing)
- npm: Update `package-lock.json` (seems to have fixed so Cypress shows incremental results)
2020-01-06 13:42:52 +08:00
Brett Zamir 8e12910f11 - npm: Update devDep (Rollup); no effect on builds 2020-01-06 08:38:49 +08:00
Brett Zamir 4b33c73f00 - Refactoring: Remove BBQ in favor of `deparam` (with npm script to copy in)
- Fix: `initFill`/`initStroke` `color`, and `bkgd_color` problematic when using decimal-component-only hex; fixes #314
2020-01-05 17:58:50 +08:00
Brett Zamir 332a562876 - npm: Update devDeps 2020-01-02 19:52:46 +08:00
Brett Zamir a9c743ad4e - npm: Update devDeps 2020-01-02 15:17:37 +08:00
Brett Zamir cc6937ce96 - Linting (ESLint): Add rules to check for file-level tags 2020-01-01 01:15:16 +08:00
Brett Zamir 63ba8f39a1 - Linting (ESLint): Latest as per ash-nazg (disable now applicable rules not fixed during earlier testing)
- npm: Update devDeps
2019-12-31 17:55:15 +08:00
Brett Zamir d9d4d94976 - Linting (ESLint): Apply per latest ash-nazg (jsdoc: complete sentence descriptions)
- npm: Update devDeps
2019-12-31 15:27:16 +08:00