Skip to content

Commit 9727373

Browse files
committed
refactor: move mathjs logic to a new package
1 parent 7390d1b commit 9727373

File tree

10 files changed

+394
-2
lines changed

10 files changed

+394
-2
lines changed

package-lock.json

Lines changed: 121 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/math-utils/CHANGELOG.md

Whitespace-only changes.

packages/math-utils/package.json

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
{
2+
"name": "@apify/math-utils",
3+
"version": "0.0.1",
4+
"description": "Mathematical and numerical utility functions.",
5+
"main": "./dist/cjs/index.cjs",
6+
"module": "./dist/esm/index.mjs",
7+
"typings": "./dist/cjs/index.d.ts",
8+
"exports": {
9+
".": {
10+
"import": {
11+
"types": "./dist/esm/index.d.mts",
12+
"default": "./dist/esm/index.mjs"
13+
},
14+
"require": {
15+
"types": "./dist/cjs/index.d.ts",
16+
"default": "./dist/cjs/index.cjs"
17+
}
18+
}
19+
},
20+
"keywords": [
21+
"apify"
22+
],
23+
"author": {
24+
"name": "Apify",
25+
"email": "[email protected]",
26+
"url": "https://apify.com"
27+
},
28+
"contributors": [
29+
"Jan Curn <[email protected]>",
30+
"Marek Trunkát <[email protected]>"
31+
],
32+
"license": "Apache-2.0",
33+
"repository": {
34+
"type": "git",
35+
"url": "git+https://github.com/apify/apify-shared-js"
36+
},
37+
"bugs": {
38+
"url": "https://github.com/apify/apify-shared-js/issues"
39+
},
40+
"homepage": "https://apify.com",
41+
"scripts": {
42+
"build": "npm run clean && npm run compile && npm run copy",
43+
"clean": "rimraf ./dist",
44+
"compile": "tsup",
45+
"copy": "ts-node -T ../../scripts/copy.ts"
46+
},
47+
"publishConfig": {
48+
"access": "public"
49+
},
50+
"dependencies": {
51+
"@apify/consts": "^2.47.0",
52+
"@apify/log": "^2.5.26"
53+
}
54+
}

packages/math-utils/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export * from './memory_calculator';

0 commit comments

Comments
 (0)