Project scaffolding

This commit is contained in:
Andrew Branch
2020-03-03 15:02:57 -08:00
parent 21fb5dfae6
commit 5594e7b3c5
13 changed files with 1670 additions and 25 deletions

1
.gitignore vendored
View File

@@ -1,3 +1,4 @@
node_modules
.DS_Store
*.log
dist

View File

@@ -0,0 +1,5 @@
{
"name": "@definitelytyped/definitions-parser",
"version": "1.0.0",
"lockfileVersion": 1
}

View File

@@ -1,18 +1,11 @@
{
"private": true,
"name": "@definitelytyped/definitions-parser",
"version": "1.0.0",
"description": "Reads the DefinitelyTyped repository and provides an API for querying its metadata",
"author": "Andrew Branch <andrew@wheream.io>",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped-tools#readme",
"license": "MIT",
"main": "dist/index.js",
"directories": {
"lib": "lib",
"test": "__tests__"
},
"files": [
"lib"
],
"publishConfig": {
"access": "public"
},
@@ -25,5 +18,8 @@
},
"bugs": {
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped-tools/issues"
},
"dependencies": {
"@definitelytyped/utils": "^1.0.0"
}
}

View File

View File

@@ -0,0 +1,10 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"outDir": "dist"
},
"include": ["src"],
"references": [
{ "path": "../utils" }
]
}

5
packages/publisher/package-lock.json generated Normal file
View File

@@ -0,0 +1,5 @@
{
"name": "@definitelytyped/publisher",
"version": "1.0.0",
"lockfileVersion": 1
}

View File

@@ -1,18 +1,11 @@
{
"private": true,
"name": "@definitelytyped/publisher",
"version": "1.0.0",
"description": "Publish DefinitelyTyped definitions to NPM",
"author": "Andrew Branch <andrew@wheream.io>",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped-tools#readme",
"license": "MIT",
"main": "dist/index.js",
"directories": {
"lib": "lib",
"test": "__tests__"
},
"files": [
"lib"
],
"publishConfig": {
"access": "public"
},
@@ -25,5 +18,6 @@
},
"bugs": {
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped-tools/issues"
}
},
"dependencies": {}
}

36
packages/utils/package-lock.json generated Normal file
View File

@@ -0,0 +1,36 @@
{
"name": "@definitelytyped/utils",
"version": "1.0.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
"fs-extra": {
"version": "8.1.0",
"resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz",
"integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==",
"requires": {
"graceful-fs": "^4.2.0",
"jsonfile": "^4.0.0",
"universalify": "^0.1.0"
}
},
"graceful-fs": {
"version": "4.2.3",
"resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.3.tgz",
"integrity": "sha512-a30VEBm4PEdx1dRB7MFK7BejejvCvBronbLjht+sHuGYj8PHs7M/5Z+rt5lw551vZ7yfTCj4Vuyy3mSJytDWRQ=="
},
"jsonfile": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz",
"integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=",
"requires": {
"graceful-fs": "^4.1.6"
}
},
"universalify": {
"version": "0.1.2",
"resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz",
"integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg=="
}
}
}

View File

@@ -1,18 +1,11 @@
{
"private": true,
"name": "@definitelytyped/utils",
"version": "1.0.0",
"description": "> TODO: description",
"author": "Andrew Branch <andrew@wheream.io>",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped-tools#readme",
"license": "MIT",
"main": "dist/index.js",
"directories": {
"lib": "lib",
"test": "__tests__"
},
"files": [
"lib"
],
"publishConfig": {
"access": "public"
},
@@ -25,5 +18,8 @@
},
"bugs": {
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped-tools/issues"
},
"dependencies": {
"fs-extra": "^8.1.0"
}
}

View File

View File

@@ -0,0 +1,7 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"rootDir": "src",
"outDir": "dist"
}
}

File diff suppressed because it is too large Load Diff

12
tsconfig.base.json Normal file
View File

@@ -0,0 +1,12 @@
{
"compilerOptions": {
"target": "es2018",
"module": "commonjs",
"strict": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"composite": true
}
}