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/**", "public/**",
"static/assets/**", "static/assets/**",
"*.d.ts", "*.d.ts",
"api/**/*.js*", "api/**/*.js",
"gulpfile.js", "gulpfile.js",
"webpack.config.js" "webpack.config.js"
] ]

View File

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

2
.gitignore vendored
View File

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

View File

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

View File

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

View File

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