Skip to content

Commit 1fb7371

Browse files
committed
feat/project recomposition, using lerna to place all sdks in the future inside single repository
1 parent 62af8a9 commit 1fb7371

44 files changed

Lines changed: 441 additions & 335 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

lerna.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
3+
"npmClient": "yarn",
4+
"version": "0.31.5",
5+
"useWorkspaces": true
6+
}

lib/core/index.ts

Lines changed: 0 additions & 3 deletions
This file was deleted.

lib/core/interfaces/IMetrics.ts

Lines changed: 0 additions & 3 deletions
This file was deleted.

lib/core/types/global.d.ts

Lines changed: 0 additions & 6 deletions
This file was deleted.

lib/node/metrics.ts

Lines changed: 0 additions & 76 deletions
This file was deleted.

lib/node/metrics/event-loop.ts

Lines changed: 0 additions & 35 deletions
This file was deleted.

lib/node/metrics/heap.ts

Lines changed: 0 additions & 55 deletions
This file was deleted.

lib/transport/metrics.ts

Lines changed: 0 additions & 27 deletions
This file was deleted.

lib/transport/types.ts

Lines changed: 0 additions & 3 deletions
This file was deleted.

package.json

Lines changed: 16 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,22 @@
11
{
2+
"version": "0.0.0",
23
"name": "traceo-sdk",
3-
"version": "0.3.31",
4-
"license": "MIT",
5-
"main": "dist/index.js",
6-
"types": "dist/index.d.ts",
7-
"keywords": [
8-
"stacktrace",
9-
"error",
10-
"trace",
11-
"stack",
12-
"node",
13-
"traceo",
14-
"metrics",
15-
"logger"
16-
],
17-
"files": [
18-
"dist"
19-
],
20-
"homepage": "https://github.com/traceo-dev/traceo-node",
21-
"repository": {
22-
"type": "git",
23-
"url": "git://github.com/traceo-dev/traceo-node.git"
24-
},
4+
"private": true,
255
"scripts": {
26-
"build": "tsc -p ./tsconfig.json --outDir dist",
27-
"prebuild": "rimraf ./dist",
28-
"lint": "run-s lint:prettier",
29-
"lint:prettier": "prettier */**/*.{js,ts} --write",
30-
"prepack": "yarn lint",
31-
"package": "yarn build && npm pack",
32-
"test": "jest",
33-
"test:watch": "jest --watch --notify"
34-
},
35-
"dependencies": {
36-
"stacktrace-parser-node": "^1.1.3",
37-
"tslib": "^2.3.1"
6+
"build": "lerna run build",
7+
"build:tarball": "lerna run build:tarball"
388
},
9+
"workspaces": [
10+
"packages/node"
11+
],
3912
"devDependencies": {
40-
"@rollup/plugin-commonjs": "^21.0.1",
41-
"@rollup/plugin-node-resolve": "^13.1.3",
42-
"@rollup/plugin-typescript": "^8.3.0",
13+
"@types/node": "10.17.0",
14+
"@types/rimraf": "^3.0.2",
15+
"jsdom": "^19.0.0",
16+
"lerna": "6.5.0-alpha.2",
17+
"tslib": "^2.3.1",
18+
"ts-loader": "^9.4.2",
19+
"typescript": "^4.5.5",
4320
"@types/jest": "^29.2.0",
4421
"eslint": "^8.8.0",
4522
"jest": "^26.5.5",
@@ -50,13 +27,10 @@
5027
"rimraf": "^3.0.2",
5128
"rollup": "^2.66.1",
5229
"ts-node": "^10.4.0",
53-
"tslint": "^5.11.0",
54-
"typedoc": "^0.22.11",
55-
"typescript": "^4.5.5"
30+
"tslint": "^5.11.0"
5631
},
5732
"jest": {
5833
"verbose": false,
59-
"testURL": "http://localhost/",
6034
"transform": {
6135
"^.+\\.ts$": "ts-jest"
6236
},
@@ -68,4 +42,4 @@
6842
"**/*.test.ts"
6943
]
7044
}
71-
}
45+
}

0 commit comments

Comments
 (0)