Skip to content

Commit 84fe775

Browse files
committed
Upload src/ to fix source maps
1 parent 1ffbb7f commit 84fe775

File tree

13 files changed

+25
-13
lines changed

13 files changed

+25
-13
lines changed

packages/adapter-sql-js/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
"license": "Apache-2.0",
1515
"files": [
1616
"lib",
17-
"dist"
17+
"dist",
18+
"src"
1819
],
1920
"repository": {
2021
"type": "git",

packages/attachments/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,12 @@
3434
},
3535
"files": [
3636
"lib",
37-
"dist"
37+
"dist",
38+
"src"
3839
],
3940
"scripts": {
4041
"build": "tsc -b && rollup --config",
41-
"build:prod": "tsc -b --sourceMap false && rollup --config --sourceMap=false",
42+
"build:prod": "tsc -b --sourceMap false && rollup",
4243
"clean": "rm -rf lib dist tsconfig.tsbuildinfo",
4344
"watch": "tsc -b -w",
4445
"test": "pnpm build && vitest",

packages/attachments/rollup.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import typescript from '@rollup/plugin-typescript';
44
import { dts } from 'rollup-plugin-dts';
55

66
/** @type {import('rollup').RollupOptions} */
7-
export default (commandLineArgs) => {
7+
export default () => {
88
return [
99
{
1010
input: 'src/index.ts',

packages/capacitor/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"android/src/main/",
1515
"android/build.gradle",
1616
"dist/",
17+
"src",
1718
"ios/Sources",
1819
"ios/Tests",
1920
"Package.swift",

packages/common/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@
3636
"license": "Apache-2.0",
3737
"files": [
3838
"lib",
39-
"dist"
39+
"dist",
40+
"src"
4041
],
4142
"repository": {
4243
"type": "git",

packages/drizzle-driver/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222
"license": "Apache-2.0",
2323
"files": [
2424
"lib",
25-
"dist"
25+
"dist",
26+
"src"
2627
],
2728
"repository": "https://github.com/powersync-ja/powersync-js",
2829
"bugs": {

packages/kysely-driver/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222
"license": "Apache-2.0",
2323
"files": [
2424
"lib",
25-
"dist"
25+
"dist",
26+
"src"
2627
],
2728
"repository": "https://github.com/powersync-ja/powersync-js",
2829
"bugs": {

packages/node/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
"files": [
1111
"lib",
1212
"dist",
13-
"download_core.js"
13+
"download_core.js",
14+
"src"
1415
],
1516
"scripts": {
1617
"prepare:core": "node download_core.js",

packages/react-native/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
"types": "./lib/index.d.ts",
1212
"files": [
1313
"lib",
14-
"dist"
14+
"dist",
15+
"src"
1516
],
1617
"scripts": {
1718
"build": "tsc -b && rollup -c rollup.config.mjs",

packages/react/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
"module": "./lib/index.js",
1212
"types": "./lib/index.d.ts",
1313
"files": [
14-
"lib"
14+
"lib",
15+
"src"
1516
],
1617
"scripts": {
1718
"build": "tsc -b",

0 commit comments

Comments
 (0)