fix: lint and fix cache service
Signed-off-by: Innei <tukon479@gmail.com>
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
// const fs = require('fs')
|
||||
// const path = require('path')
|
||||
import fs from 'fs'
|
||||
import path from 'path'
|
||||
import { fileURLToPath } from 'url'
|
||||
import fs from 'node:fs'
|
||||
import path from 'node:path'
|
||||
import { fileURLToPath } from 'node:url'
|
||||
import prettier from 'prettier'
|
||||
import ts from 'typescript'
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
const fs = require('fs')
|
||||
const path = require('path')
|
||||
const fs = require('node:fs')
|
||||
const path = require('node:path')
|
||||
|
||||
// Function to replace content in a file
|
||||
function replaceContent(filePath, searchValue, replaceValue) {
|
||||
|
||||
@@ -1,23 +1,16 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"baseUrl": ".",
|
||||
"target": "es2020",
|
||||
"lib": [
|
||||
"ESNext",
|
||||
"DOM",
|
||||
"DOM.Iterable"
|
||||
],
|
||||
"emitDecoratorMetadata": true,
|
||||
"experimentalDecorators": true,
|
||||
"baseUrl": ".",
|
||||
"module": "ESNext",
|
||||
"moduleResolution": "node",
|
||||
"strict": false,
|
||||
"experimentalDecorators": true,
|
||||
"emitDecoratorMetadata": true,
|
||||
"resolveJsonModule": true,
|
||||
"esModuleInterop": true,
|
||||
"skipLibCheck": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"sourceMap": true,
|
||||
"paths": {
|
||||
"~/*": [
|
||||
"../../apps/core/src/*"
|
||||
@@ -25,6 +18,13 @@
|
||||
"@core/*": [
|
||||
"../../apps/core/src/*"
|
||||
],
|
||||
}
|
||||
},
|
||||
"resolveJsonModule": true,
|
||||
"strict": false,
|
||||
"declaration": true,
|
||||
"sourceMap": true,
|
||||
"esModuleInterop": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"skipLibCheck": true
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user