Skip to content

Commit

Permalink
chore(*): add building configs
Browse files Browse the repository at this point in the history
  • Loading branch information
stepancar committed Jan 31, 2023
1 parent a00f2a0 commit 1e38a4e
Show file tree
Hide file tree
Showing 8 changed files with 15,886 additions and 8,889 deletions.
24,725 changes: 15,841 additions & 8,884 deletions package-lock.json

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@
],
"devDependencies": {
"@types/node": "^18.11.18",
"jest": "^29.4.1",
"lerna": "^6.4.1",
"npm-run-all": "^4.1.5",
"typescript": "^4.9.4"
},
"scripts": {
"clean": "lerna run --parallel clean",
"release": "lerna publish"
"release": "lerna publish",
"test": "jest"
}
}
6 changes: 4 additions & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"directories": {
"lib": "lib",
"test": "__tests__"
"lib": "lib"
},
"files": [
"lib"
Expand All @@ -27,5 +26,8 @@
},
"bugs": {
"url": "https://github.com/stepancar/httpless/issues"
},
"devDependencies": {

}
}
Empty file added packages/example/index.ts
Empty file.
11 changes: 11 additions & 0 deletions packages/example/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"name": "@httpless/example",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC"
}
12 changes: 12 additions & 0 deletions packages/example/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"rootDir": "src",
"outDir": "lib"
},
"references": [
{
"path": "../core"
}
]
}
11 changes: 11 additions & 0 deletions tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"files": [],
"references": [
{
"path": "packages/core"
},
{
"path": "packages/example"
}
]
}
6 changes: 4 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
{
"compilerOptions": {
"module": "commonjs",
"module": "ES6",
"declaration": true,
"noImplicitAny": false,
"removeComments": true,
"noLib": false,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es6",
"target": "ES2022",
"stripInternal": true,
"sourceMap": true,
"lib": [
"ESNext",
"DOM",
"ES2018.AsyncGenerator"
]
},
"exclude": [
Expand Down

0 comments on commit 1e38a4e

Please sign in to comment.