Compare commits

...
4 Commits
Author SHA1 Message Date
fyears b36675dc23 bump to 0.5.10
Release A New Version / build (16.x) (push) Failing after 52s
2024-06-23 00:36:34 +08:00
fyears 2515464977 add process back 2024-06-23 00:35:35 +08:00
fyears 1cf4da3a0d revert back 0.5.8 2024-06-22 23:49:21 +08:00
fyears ed46b34376 fix readme for pro 2024-06-22 23:45:50 +08:00
7 changed files with 21 additions and 11 deletions
+4 -1
View File
@@ -85,7 +85,10 @@ esbuild
// "process.version": `"v20.10.0"`, // who's using this?
// "process":`undefined`,
// "global.process":`undefined`,
"globalThis.process": `undefined`, // make azure blob storage happy
// make azure blob storage happy
// https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-util/src/checkEnvironment.ts
"globalThis.process.versions": `undefined`,
},
plugins: [inlineWorkerPlugin()],
})
+1 -1
View File
@@ -1,2 +1,2 @@
export const Buffer = require("buffer").Buffer;
// export const process = require("process/browser");
export const process = require("process/browser");
+1 -1
View File
@@ -1,7 +1,7 @@
{
"id": "remotely-save",
"name": "Remotely Save",
"version": "0.5.9",
"version": "0.5.10",
"minAppVersion": "0.13.21",
"description": "Yet another unofficial plugin allowing users to synchronize notes between local device and the cloud service.",
"author": "fyears",
+1 -1
View File
@@ -1,7 +1,7 @@
{
"id": "remotely-save",
"name": "Remotely Save",
"version": "0.5.9",
"version": "0.5.10",
"minAppVersion": "0.13.21",
"description": "Yet another unofficial plugin allowing users to synchronize notes between local device and the cloud service.",
"author": "fyears",
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "remotely-save",
"version": "0.5.9",
"version": "0.5.10",
"description": "This is yet another sync plugin for Obsidian app.",
"scripts": {
"dev2": "node esbuild.config.mjs --watch",
@@ -13,7 +13,7 @@
},
"browser": {
"path": "path-browserify",
"process": false,
"process": "process/browser",
"stream": "stream-browserify",
"crypto": "crypto-browserify",
"url": "url/",
+4
View File
@@ -34,6 +34,10 @@ PRO (paid) feature "sync with Yandex Disk" allows users to to sync with Yandex D
PRO (paid) feature "sync with Koofr" allows users to to sync with Koofr (using its native API instead of webdav). Tutorials and limitations are documented [here](../docs/remote_services/koofr/README.md).
### Azure Blob Storage (PRO feature)
PRO (paid) feature "sync with Azure Blob Storage" allows users to to sync with Azure Blob Storage. Tutorials and limitations are documented [here](../docs/remote_services/azureblobstorage/README.md).
## License
The codes or files or subfolders inside the current folder (`pro` in the repo), are released under "source available" license: "PolyForm Strict License 1.0.0".
+8 -5
View File
@@ -52,16 +52,19 @@ module.exports = {
// "process.version": `"v20.10.0"`, // who's using this?
// "process":`undefined`,
// "global.process":`undefined`,
"globalThis.process": `undefined`, // make azure blob storage happy
// make azure blob storage happy
// https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-util/src/checkEnvironment.ts
"globalThis.process.versions": `undefined`,
}),
// Work around for Buffer is undefined:
// https://github.com/webpack/changelog-v5/issues/10
new webpack.ProvidePlugin({
Buffer: ["buffer", "Buffer"],
}),
// new webpack.ProvidePlugin({
// process: "process/browser",
// }),
new webpack.ProvidePlugin({
process: "process/browser",
}),
],
module: {
rules: [
@@ -110,7 +113,7 @@ module.exports = {
// os: require.resolve("os-browserify/browser"),
path: require.resolve("path-browserify"),
// punycode: require.resolve("punycode"),
process: false, // require.resolve("process/browser"),
process: require.resolve("process/browser"),
// querystring: require.resolve("querystring-es3"),
stream: require.resolve("stream-browserify"),
// string_decoder: require.resolve("string_decoder"),