mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
chore: Use tsconfig base. (#433)
This commit is contained in:
parent
88a633a427
commit
731b44d5b9
12
package-lock.json
generated
12
package-lock.json
generated
@ -1110,6 +1110,18 @@
|
|||||||
"defer-to-connect": "^1.0.1"
|
"defer-to-connect": "^1.0.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"@tsconfig/node12": {
|
||||||
|
"version": "1.0.7",
|
||||||
|
"resolved": "https://registry.npmjs.org/@tsconfig/node12/-/node12-1.0.7.tgz",
|
||||||
|
"integrity": "sha512-dgasobK/Y0wVMswcipr3k0HpevxFJLijN03A8mYfEPvWvOs14v0ZlYTR4kIgMx8g4+fTyTFv8/jLCIfRqLDJ4A==",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
|
"@tsconfig/node14": {
|
||||||
|
"version": "1.0.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@tsconfig/node14/-/node14-1.0.0.tgz",
|
||||||
|
"integrity": "sha512-RKkL8eTdPv6t5EHgFKIVQgsDapugbuOptNd9OOunN/HAkzmmTnZELx1kNCK0rSdUYGmiFMM3rRQMAWiyp023LQ==",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
"@types/arrayify-stream": {
|
"@types/arrayify-stream": {
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/@types/arrayify-stream/-/arrayify-stream-1.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/@types/arrayify-stream/-/arrayify-stream-1.0.0.tgz",
|
||||||
|
@ -108,6 +108,7 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@microsoft/tsdoc-config": "^0.13.6",
|
"@microsoft/tsdoc-config": "^0.13.6",
|
||||||
|
"@tsconfig/node12": "^1.0.7",
|
||||||
"@types/jest": "^26.0.13",
|
"@types/jest": "^26.0.13",
|
||||||
"@types/rimraf": "^3.0.0",
|
"@types/rimraf": "^3.0.0",
|
||||||
"@types/supertest": "^2.0.10",
|
"@types/supertest": "^2.0.10",
|
||||||
|
@ -200,7 +200,8 @@ export const instantiateFromConfig = async(componentUrl: string, configFile: str
|
|||||||
* Initializes the root container of the server.
|
* Initializes the root container of the server.
|
||||||
* Useful for when the RootContainerInitializer was not instantiated.
|
* Useful for when the RootContainerInitializer was not instantiated.
|
||||||
*/
|
*/
|
||||||
export const initServerStore = async(server: Server, baseUrl: string, headers: HeadersInit = {}): Promise<void> => {
|
export const initServerStore = async(server: Server, baseUrl: string,
|
||||||
|
headers: Record<string, string> = {}): Promise<void> => {
|
||||||
const res = await fetch(baseUrl, {
|
const res = await fetch(baseUrl, {
|
||||||
method: 'PUT',
|
method: 'PUT',
|
||||||
headers: {
|
headers: {
|
||||||
|
@ -1,10 +1,6 @@
|
|||||||
{
|
{
|
||||||
"compilerOptions": {
|
"extends": "../tsconfig.json",
|
||||||
"module": "commonjs",
|
"include": [
|
||||||
"target": "es2017",
|
"."
|
||||||
"esModuleInterop": true,
|
]
|
||||||
"incremental": true,
|
|
||||||
"noUnusedLocals": true,
|
|
||||||
"strict": true
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -1,17 +1,14 @@
|
|||||||
{
|
{
|
||||||
|
"extends": "@tsconfig/node12/tsconfig.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"module": "commonjs",
|
|
||||||
"target": "es2017",
|
|
||||||
"newLine": "lf",
|
|
||||||
"declaration": true,
|
"declaration": true,
|
||||||
"esModuleInterop": true,
|
|
||||||
"incremental": true,
|
"incremental": true,
|
||||||
"inlineSources": true,
|
"inlineSources": true,
|
||||||
|
"newLine": "lf",
|
||||||
"noUnusedLocals": true,
|
"noUnusedLocals": true,
|
||||||
"preserveConstEnums": true,
|
|
||||||
"outDir": "dist",
|
"outDir": "dist",
|
||||||
|
"preserveConstEnums": true,
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
"strict": true,
|
|
||||||
"stripInternal": true
|
"stripInternal": true
|
||||||
},
|
},
|
||||||
"include": [
|
"include": [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user