Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: gajus/slonik
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v33.1.0
Choose a base ref
...
head repository: gajus/slonik
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v33.1.1
Choose a head ref
  • 4 commits
  • 3 files changed
  • 1 contributor

Commits on Mar 16, 2023

  1. Copy the full SHA
    b00dd8a View commit details
  2. Copy the full SHA
    9a1764a View commit details

Commits on Mar 17, 2023

  1. fix: add declarationMap

    gajus committed Mar 17, 2023
    Copy the full SHA
    93bd194 View commit details
  2. fix: add source map

    gajus committed Mar 17, 2023
    Copy the full SHA
    f73d660 View commit details
Showing with 15 additions and 7 deletions.
  1. +7 −3 package.json
  2. +6 −0 tsconfig.build.json
  3. +2 −4 tsconfig.json
10 changes: 7 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -68,8 +68,12 @@
"promise",
"types"
],
"files": [
"./src",
"./dist"
],
"license": "BSD-3-Clause",
"main": "./dist/src/index.js",
"main": "./dist/index.js",
"name": "slonik",
"nyc": {
"all": true,
@@ -96,11 +100,11 @@
"url": "https://github.com/gajus/slonik"
},
"scripts": {
"build": "rm -fr ./dist && tsc",
"build": "rm -fr ./dist && tsc --project ./tsconfig.build.json",
"create-readme": "gitdown ./.README/README.md --output-file ./README.md",
"lint": "eslint --cache ./src ./test && tsc --noEmit",
"test": "nyc ava --verbose --serial"
},
"types": "./dist/src/index.d.ts",
"types": "./dist/index.d.ts",
"version": "0.0.0-development"
}
6 changes: 6 additions & 0 deletions tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"extends": "./tsconfig.json",
"include": [
"src"
]
}
6 changes: 2 additions & 4 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -2,6 +2,8 @@
"compilerOptions": {
"allowSyntheticDefaultImports": true,
"declaration": true,
"declarationMap": true,
"sourceMap": true,
"esModuleInterop": true,
"module": "commonjs",
"lib": [
@@ -16,10 +18,6 @@
"strict": true,
"target": "es2018"
},
"exclude": [
"dist",
"node_modules"
],
"include": [
"src",
"test",