diff --git a/.github/workflows/deploy-published-releases.yaml b/.github/workflows/deploy-published-releases.yaml
index aa6c79a7..3e6791a9 100644
--- a/.github/workflows/deploy-published-releases.yaml
+++ b/.github/workflows/deploy-published-releases.yaml
@@ -43,12 +43,14 @@ jobs:
run: |-
cp package.json LICENSE README.md build/
cd build
+ find . -type f -path '*/*\.js.map' -exec sed -i -e "s~../src~src~" {} +
sed -i -e "s~\"version\": \"0.0.0-dev\"~\"version\": \"${GITHUB_REF##*/}\"~" package.json
sed -i -e "s~<@cdnUrl@>~${CDN_URL}~" constants.*
sed -i -e "s~<@playgroundOrigin@>~${PLAYGROUND_ORIGIN}~" constants.*
sed -i -e "s~<@playgroundConnectUrl@>~${PLAYGROUND_CONNECT_URL}~" constants.*
sed -i -e "s~<@previewWidgetOrigin@>~${PREVIEW_WIDGET_ORIGIN}~" constants.*
sed -i -e "s~<@previewWidgetUrl@>~${PREVIEW_WIDGET_URL}~" constants.*
+ cp -r ../src src
- name: Publish pre-release to NPM
if: ${{ github.event.release.prerelease }}
diff --git a/README.md b/README.md
index 926c141d..e09205e2 100644
--- a/README.md
+++ b/README.md
@@ -9,7 +9,7 @@
-
+
📦 Releases
·
diff --git a/package-lock.json b/package-lock.json
index 070529bf..db83293c 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -10,7 +10,7 @@
"license": "MIT",
"dependencies": {
"@croct/json": "^1.1.0",
- "@croct/sdk": "^0.11.0-alpha",
+ "@croct/sdk": "^0.11.0-alpha.2",
"tslib": "^2.2.0"
},
"devDependencies": {
@@ -701,9 +701,9 @@
"integrity": "sha512-7LUPr238qgXQBGvjTvnfUYOMZCKPU4KTZv9j41w7sgUYxSNaursbIlC/58Ag8LMIy8ZBJ9YEjw35kZyyV49+MA=="
},
"node_modules/@croct/sdk": {
- "version": "0.11.0-alpha",
- "resolved": "https://registry.npmjs.org/@croct/sdk/-/sdk-0.11.0-alpha.tgz",
- "integrity": "sha512-b4ianosK8FwGiIzCD6ZW0kWzeQPhpyWnOZgBhLEQymPkdvnK1vt0eDogo+e+Im6mWV3FVsPvM77i8o+NE/ragQ==",
+ "version": "0.11.0-alpha.2",
+ "resolved": "https://registry.npmjs.org/@croct/sdk/-/sdk-0.11.0-alpha.2.tgz",
+ "integrity": "sha512-REEUb3azfHY2sR5H5QtUH/FviP4YuOz+fYY3cvVxxI5XNCqZbZhj9a01uYnmCXWVJOJe6YWVEj9Brg+iEiI/ZA==",
"dependencies": {
"@croct/json": "^1.0",
"tslib": "^2.4.1"
@@ -1680,14 +1680,14 @@
"dev": true
},
"node_modules/@typescript-eslint/eslint-plugin": {
- "version": "5.43.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.43.0.tgz",
- "integrity": "sha512-wNPzG+eDR6+hhW4yobEmpR36jrqqQv1vxBq5LJO3fBAktjkvekfr4BRl+3Fn1CM/A+s8/EiGUbOMDoYqWdbtXA==",
+ "version": "5.44.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.44.0.tgz",
+ "integrity": "sha512-j5ULd7FmmekcyWeArx+i8x7sdRHzAtXTkmDPthE4amxZOWKFK7bomoJ4r7PJ8K7PoMzD16U8MmuZFAonr1ERvw==",
"dev": true,
"dependencies": {
- "@typescript-eslint/scope-manager": "5.43.0",
- "@typescript-eslint/type-utils": "5.43.0",
- "@typescript-eslint/utils": "5.43.0",
+ "@typescript-eslint/scope-manager": "5.44.0",
+ "@typescript-eslint/type-utils": "5.44.0",
+ "@typescript-eslint/utils": "5.44.0",
"debug": "^4.3.4",
"ignore": "^5.2.0",
"natural-compare-lite": "^1.4.0",
@@ -1713,12 +1713,12 @@
}
},
"node_modules/@typescript-eslint/experimental-utils": {
- "version": "5.43.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-5.43.0.tgz",
- "integrity": "sha512-WkT637CumTJbm/hRbFfnHBMgfUYTKr08LitVsD7gQId7bi6rnkx3pu3jac67lmp5ObW4MpJ9SNFZAIOUB/Qbsw==",
+ "version": "5.44.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-5.44.0.tgz",
+ "integrity": "sha512-j8GLemAySe8oUCgILdUaT66pemdWSYcwUYG2Pb71O119hCdvkU+4q8sUTbnDg8NhlZEzSWG2N1v4IxT1kEZrGg==",
"dev": true,
"dependencies": {
- "@typescript-eslint/utils": "5.43.0"
+ "@typescript-eslint/utils": "5.44.0"
},
"engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
@@ -1732,14 +1732,14 @@
}
},
"node_modules/@typescript-eslint/parser": {
- "version": "5.43.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.43.0.tgz",
- "integrity": "sha512-2iHUK2Lh7PwNUlhFxxLI2haSDNyXvebBO9izhjhMoDC+S3XI9qt2DGFUsiJ89m2k7gGYch2aEpYqV5F/+nwZug==",
+ "version": "5.44.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.44.0.tgz",
+ "integrity": "sha512-H7LCqbZnKqkkgQHaKLGC6KUjt3pjJDx8ETDqmwncyb6PuoigYajyAwBGz08VU/l86dZWZgI4zm5k2VaKqayYyA==",
"dev": true,
"dependencies": {
- "@typescript-eslint/scope-manager": "5.43.0",
- "@typescript-eslint/types": "5.43.0",
- "@typescript-eslint/typescript-estree": "5.43.0",
+ "@typescript-eslint/scope-manager": "5.44.0",
+ "@typescript-eslint/types": "5.44.0",
+ "@typescript-eslint/typescript-estree": "5.44.0",
"debug": "^4.3.4"
},
"engines": {
@@ -1759,13 +1759,13 @@
}
},
"node_modules/@typescript-eslint/scope-manager": {
- "version": "5.43.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.43.0.tgz",
- "integrity": "sha512-XNWnGaqAtTJsUiZaoiGIrdJYHsUOd3BZ3Qj5zKp9w6km6HsrjPk/TGZv0qMTWyWj0+1QOqpHQ2gZOLXaGA9Ekw==",
+ "version": "5.44.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.44.0.tgz",
+ "integrity": "sha512-2pKml57KusI0LAhgLKae9kwWeITZ7IsZs77YxyNyIVOwQ1kToyXRaJLl+uDEXzMN5hnobKUOo2gKntK9H1YL8g==",
"dev": true,
"dependencies": {
- "@typescript-eslint/types": "5.43.0",
- "@typescript-eslint/visitor-keys": "5.43.0"
+ "@typescript-eslint/types": "5.44.0",
+ "@typescript-eslint/visitor-keys": "5.44.0"
},
"engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
@@ -1776,13 +1776,13 @@
}
},
"node_modules/@typescript-eslint/type-utils": {
- "version": "5.43.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.43.0.tgz",
- "integrity": "sha512-K21f+KY2/VvYggLf5Pk4tgBOPs2otTaIHy2zjclo7UZGLyFH86VfUOm5iq+OtDtxq/Zwu2I3ujDBykVW4Xtmtg==",
+ "version": "5.44.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.44.0.tgz",
+ "integrity": "sha512-A1u0Yo5wZxkXPQ7/noGkRhV4J9opcymcr31XQtOzcc5nO/IHN2E2TPMECKWYpM3e6olWEM63fq/BaL1wEYnt/w==",
"dev": true,
"dependencies": {
- "@typescript-eslint/typescript-estree": "5.43.0",
- "@typescript-eslint/utils": "5.43.0",
+ "@typescript-eslint/typescript-estree": "5.44.0",
+ "@typescript-eslint/utils": "5.44.0",
"debug": "^4.3.4",
"tsutils": "^3.21.0"
},
@@ -1803,9 +1803,9 @@
}
},
"node_modules/@typescript-eslint/types": {
- "version": "5.43.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.43.0.tgz",
- "integrity": "sha512-jpsbcD0x6AUvV7tyOlyvon0aUsQpF8W+7TpJntfCUWU1qaIKu2K34pMwQKSzQH8ORgUrGYY6pVIh1Pi8TNeteg==",
+ "version": "5.44.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.44.0.tgz",
+ "integrity": "sha512-Tp+zDnHmGk4qKR1l+Y1rBvpjpm5tGXX339eAlRBDg+kgZkz9Bw+pqi4dyseOZMsGuSH69fYfPJCBKBrbPCxYFQ==",
"dev": true,
"engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
@@ -1816,13 +1816,13 @@
}
},
"node_modules/@typescript-eslint/typescript-estree": {
- "version": "5.43.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.43.0.tgz",
- "integrity": "sha512-BZ1WVe+QQ+igWal2tDbNg1j2HWUkAa+CVqdU79L4HP9izQY6CNhXfkNwd1SS4+sSZAP/EthI1uiCSY/+H0pROg==",
+ "version": "5.44.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.44.0.tgz",
+ "integrity": "sha512-M6Jr+RM7M5zeRj2maSfsZK2660HKAJawv4Ud0xT+yauyvgrsHu276VtXlKDFnEmhG+nVEd0fYZNXGoAgxwDWJw==",
"dev": true,
"dependencies": {
- "@typescript-eslint/types": "5.43.0",
- "@typescript-eslint/visitor-keys": "5.43.0",
+ "@typescript-eslint/types": "5.44.0",
+ "@typescript-eslint/visitor-keys": "5.44.0",
"debug": "^4.3.4",
"globby": "^11.1.0",
"is-glob": "^4.0.3",
@@ -1843,16 +1843,16 @@
}
},
"node_modules/@typescript-eslint/utils": {
- "version": "5.43.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.43.0.tgz",
- "integrity": "sha512-8nVpA6yX0sCjf7v/NDfeaOlyaIIqL7OaIGOWSPFqUKK59Gnumd3Wa+2l8oAaYO2lk0sO+SbWFWRSvhu8gLGv4A==",
+ "version": "5.44.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.44.0.tgz",
+ "integrity": "sha512-fMzA8LLQ189gaBjS0MZszw5HBdZgVwxVFShCO3QN+ws3GlPkcy9YuS3U4wkT6su0w+Byjq3mS3uamy9HE4Yfjw==",
"dev": true,
"dependencies": {
"@types/json-schema": "^7.0.9",
"@types/semver": "^7.3.12",
- "@typescript-eslint/scope-manager": "5.43.0",
- "@typescript-eslint/types": "5.43.0",
- "@typescript-eslint/typescript-estree": "5.43.0",
+ "@typescript-eslint/scope-manager": "5.44.0",
+ "@typescript-eslint/types": "5.44.0",
+ "@typescript-eslint/typescript-estree": "5.44.0",
"eslint-scope": "^5.1.1",
"eslint-utils": "^3.0.0",
"semver": "^7.3.7"
@@ -1869,12 +1869,12 @@
}
},
"node_modules/@typescript-eslint/visitor-keys": {
- "version": "5.43.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.43.0.tgz",
- "integrity": "sha512-icl1jNH/d18OVHLfcwdL3bWUKsBeIiKYTGxMJCoGe7xFht+E4QgzOqoWYrU8XSLJWhVw8nTacbm03v23J/hFTg==",
+ "version": "5.44.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.44.0.tgz",
+ "integrity": "sha512-a48tLG8/4m62gPFbJ27FxwCOqPKxsb8KC3HkmYoq2As/4YyjQl1jDbRr1s63+g4FS/iIehjmN3L5UjmKva1HzQ==",
"dev": true,
"dependencies": {
- "@typescript-eslint/types": "5.43.0",
+ "@typescript-eslint/types": "5.44.0",
"eslint-visitor-keys": "^3.3.0"
},
"engines": {
diff --git a/package.json b/package.json
index 448e5c2d..6c14869a 100644
--- a/package.json
+++ b/package.json
@@ -34,7 +34,7 @@
},
"dependencies": {
"@croct/json": "^1.1.0",
- "@croct/sdk": "^0.11.0-alpha",
+ "@croct/sdk": "^0.11.0-alpha.2",
"tslib": "^2.2.0"
},
"devDependencies": {
@@ -58,6 +58,7 @@
],
"files": [
"**/*.js",
- "**/*.ts"
+ "**/*.ts",
+ "**/*.map"
]
}
diff --git a/tsconfig.build.json b/tsconfig.build.json
index 6e3a028b..584caa89 100644
--- a/tsconfig.build.json
+++ b/tsconfig.build.json
@@ -1,5 +1,8 @@
{
"extends": "./tsconfig.json",
+ "compilerOptions": {
+ "sourceMap": true,
+ },
"exclude": [
"test/**/*.ts"
]