1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-10-27 02:35:50 -04:00

almost had it...

This commit is contained in:
2021-09-08 09:16:34 -04:00
parent b6c325c3b6
commit aa9f347c3d
6 changed files with 10 additions and 12 deletions

View File

@@ -64,7 +64,7 @@
"public/**",
"static/assets/**",
"*.d.ts",
"api/**/*.js*",
"api/**/*.js",
"gulpfile.js",
"webpack.config.js"
]

View File

@@ -20,10 +20,9 @@ jobs:
node-version: 14.x
- run: yarn install --frozen-lockfile
# https://docs.sentry.io/platforms/node/typescript/#configuring-typescript-compiler
- working-directory: ./api
run: |
npx -p typescript tsc --esModuleInterop --sourceMap --sourceRoot '/' --inlineSources *.ts
ls -lah
- run: |
npx -p typescript tsc
ls -lah ./api
- uses: getsentry/action-release@v1
if: github.event.deployment_status.environment == 'production'
env:

2
.gitignore vendored
View File

@@ -16,7 +16,7 @@ yarn-debug.log*
yarn-error.log*
# compiled typescript
api/**/*.js*
api/**/*.js
# Lighthouse CI
.lighthouseci/

View File

@@ -26,5 +26,5 @@ vercel.json
.lighthouseci/
.vscode/
LICENSE.md
api/**/*.js*
api/**/*.js
content/notes/dark-mode/example.html

View File

@@ -44,7 +44,7 @@ function clean() {
"builds/",
"_vendor/",
"static/assets/",
"api/**/*.js*", // compiled typescript
"api/**/*.js", // compiled typescript
]);
}

View File

@@ -11,7 +11,6 @@
"esModuleInterop": true,
"isolatedModules": true,
"strict": true,
"noEmit": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"allowJs": true,
@@ -19,9 +18,9 @@
"./types",
"./node_modules/@types"
],
"sourceMap": true,
"sourceRoot": "/",
"inlineSources": true
"sourceRoot": "./",
"inlineSources": true,
"inlineSourceMap": true
},
"include": [
"**/*.ts"