From a156a02f9498f08010119aeac010e00179492038 Mon Sep 17 00:00:00 2001 From: Matei Adriel Date: Mon, 25 Nov 2019 17:34:29 +0200 Subject: [PATCH] typescript(loopover): chore: removed the testing stuff (for now) Signed-off-by: prescientmoon --- typescript/loopover/package.json | 5 -- typescript/loopover/pnpm-lock.yaml | 59 ----------------------- typescript/loopover/src/helpers/chunkX.ts | 6 --- 3 files changed, 70 deletions(-) delete mode 100644 typescript/loopover/src/helpers/chunkX.ts diff --git a/typescript/loopover/package.json b/typescript/loopover/package.json index 77d7287..fdc0ec6 100644 --- a/typescript/loopover/package.json +++ b/typescript/loopover/package.json @@ -6,7 +6,6 @@ "module": "dist/bundle.esm.js", "typings": "dist/index.d.ts", "scripts": { - "test": "mocha", "prebuild": "rimraf dist", "build": "rollup -c rollup.config.ts" }, @@ -27,10 +26,6 @@ }, "sideEffects": false, "devDependencies": { - "@types/chai": "^4.2.5", - "@types/mocha": "^5.2.7", - "@types/node": "^12.12.12", - "chai": "^4.2.0", "rimraf": "^3.0.0", "rollup": "^1.27.5", "rollup-plugin-commonjs": "^10.1.0", diff --git a/typescript/loopover/pnpm-lock.yaml b/typescript/loopover/pnpm-lock.yaml index 061f817..c83fd52 100644 --- a/typescript/loopover/pnpm-lock.yaml +++ b/typescript/loopover/pnpm-lock.yaml @@ -2,10 +2,6 @@ dependencies: '@thi.ng/api': 6.5.0 immutable: 4.0.0-rc.12 devDependencies: - '@types/chai': 4.2.5 - '@types/mocha': 5.2.7 - '@types/node': 12.12.12 - chai: 4.2.0 rimraf: 3.0.0 rollup: 1.27.5 rollup-plugin-commonjs: 10.1.0_rollup@1.27.5 @@ -40,18 +36,10 @@ packages: dev: false resolution: integrity: sha512-vDt8zEN1L2fuL1HQUKS+fbZnKLLLSx/qAL9GEMsZzCg2IFoqNqxhFVQ491nQkKEMTIP5hRox8LUsXNZDxCsuwQ== - /@types/chai/4.2.5: - dev: true - resolution: - integrity: sha512-YvbLiIc0DbbhiANrfVObdkLEHJksQZVq0Uvfg550SRAKVYaEJy+V70j65BVe2WNp6E3HtKsUczeijHFCjba3og== /@types/estree/0.0.39: dev: true resolution: integrity: sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw== - /@types/mocha/5.2.7: - dev: true - resolution: - integrity: sha512-NYrtPht0wGzhwe9+/idPaBB+TqkY9AhTvOLMkThm0IoEfLaiVQZwBwyJ5puCkO3AUCWrmcoePjp2mbFocKy4SQ== /@types/node/12.12.12: dev: true resolution: @@ -77,10 +65,6 @@ packages: node: '>=4' resolution: integrity: sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA== - /assertion-error/1.1.0: - dev: true - resolution: - integrity: sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw== /balanced-match/1.0.0: dev: true resolution: @@ -102,19 +86,6 @@ packages: node: '>=6' resolution: integrity: sha512-k0KL0aWZuBt2lrxrcASWDfwOLMnodeQjodT/1SxEQAXsHANgo6ZC/VEaSEHCXt7aSTZ4/4H5LKa+tBXmW7Vtvw== - /chai/4.2.0: - dependencies: - assertion-error: 1.1.0 - check-error: 1.0.2 - deep-eql: 3.0.1 - get-func-name: 2.0.0 - pathval: 1.1.0 - type-detect: 4.0.8 - dev: true - engines: - node: '>=4' - resolution: - integrity: sha512-XQU3bhBukrOsQCuwZndwGcCVQHyZi53fQ6Ys1Fym7E4olpIqqZZhhoFJoaKVvV17lWQoXYwgWN2nF5crA8J2jw== /chalk/2.4.2: dependencies: ansi-styles: 3.2.1 @@ -125,10 +96,6 @@ packages: node: '>=4' resolution: integrity: sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== - /check-error/1.0.2: - dev: true - resolution: - integrity: sha1-V00xLt2Iu13YkS6Sht1sCu1KrII= /color-convert/1.9.3: dependencies: color-name: 1.1.3 @@ -151,14 +118,6 @@ packages: dev: true resolution: integrity: sha1-2Klr13/Wjfd5OnMDajug1UBdR3s= - /deep-eql/3.0.1: - dependencies: - type-detect: 4.0.8 - dev: true - engines: - node: '>=0.12' - resolution: - integrity: sha512-+QeIQyN5ZuO+3Uk5DYh6/1eKO0m0YmJFGNmFHGACpf1ClL1nmlV/p4gNgbl2pJGxgXb4faqo6UE+M5ACEMyVcw== /escape-string-regexp/1.0.5: dev: true engines: @@ -208,10 +167,6 @@ packages: dev: true resolution: integrity: sha1-FQStJSMVjKpA20onh8sBQRmU6k8= - /get-func-name/2.0.0: - dev: true - resolution: - integrity: sha1-6td0q+5y4gQJQzoGY2YCPdaIekE= /glob/7.1.6: dependencies: fs.realpath: 1.0.0 @@ -353,10 +308,6 @@ packages: dev: true resolution: integrity: sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw== - /pathval/1.1.0: - dev: true - resolution: - integrity: sha1-uULm1L3mUwBe9rcTYd74cn0GReA= /pkg-dir/4.2.0: dependencies: find-up: 4.1.0 @@ -528,12 +479,6 @@ packages: dev: true resolution: integrity: sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ== - /type-detect/4.0.8: - dev: true - engines: - node: '>=4' - resolution: - integrity: sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g== /typescript/3.7.2: dev: true engines: @@ -553,10 +498,6 @@ packages: integrity: sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8= specifiers: '@thi.ng/api': ^6.5.0 - '@types/chai': ^4.2.5 - '@types/mocha': ^5.2.7 - '@types/node': ^12.12.12 - chai: ^4.2.0 immutable: ^4.0.0-rc.12 rimraf: ^3.0.0 rollup: ^1.27.5 diff --git a/typescript/loopover/src/helpers/chunkX.ts b/typescript/loopover/src/helpers/chunkX.ts deleted file mode 100644 index d9e9bea..0000000 --- a/typescript/loopover/src/helpers/chunkX.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { rangeArray } from './rangeArray' - -export const chunkX = (arr: T[], width: number, height: number): T[][] => - rangeArray(0, this.height).map(index => - arr.slice(index * height, (index + 1) * width) - )