joplin-plugin-math-mode 0.6.1 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -13,7 +13,7 @@ Another `total` example that demonstrates the explicit addition and summation sy
13
13
 
14
14
  ## Euro Trip
15
15
  Example that demonstrates the use of currency conversion. Also uses the `total` variable to sum up the daily cost of a trip.
16
- ![example of foreign trip planning]('./euro_trip.png)
16
+ ![example of foreign trip planning](./euro_trip.png)
17
17
 
18
18
 
19
19
  # Advanced
package/icons/128.png ADDED
Binary file
package/icons/16.png ADDED
Binary file
package/icons/32.png ADDED
Binary file
package/icons/64.png ADDED
Binary file
package/icons/icon.svg ADDED
@@ -0,0 +1,63 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <svg
3
+ width="256"
4
+ height="256"
5
+ style="vector-effect: non-scaling-stroke;"
6
+ version="1.1"
7
+ id="svg1"
8
+ sodipodi:docname="icon.svg"
9
+ inkscape:export-filename="16.png"
10
+ inkscape:export-xdpi="6"
11
+ inkscape:export-ydpi="6"
12
+ inkscape:version="1.3.2 (091e20ef0f, 2023-11-25)"
13
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
14
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
15
+ xmlns="http://www.w3.org/2000/svg"
16
+ xmlns:svg="http://www.w3.org/2000/svg">
17
+ <defs
18
+ id="defs1" />
19
+ <sodipodi:namedview
20
+ id="namedview1"
21
+ pagecolor="#ffffff"
22
+ bordercolor="#000000"
23
+ borderopacity="0.25"
24
+ inkscape:showpageshadow="2"
25
+ inkscape:pageopacity="0.0"
26
+ inkscape:pagecheckerboard="0"
27
+ inkscape:deskcolor="#d1d1d1"
28
+ inkscape:zoom="3.4492188"
29
+ inkscape:cx="128"
30
+ inkscape:cy="54.360136"
31
+ inkscape:window-width="1920"
32
+ inkscape:window-height="1131"
33
+ inkscape:window-x="0"
34
+ inkscape:window-y="0"
35
+ inkscape:window-maximized="1"
36
+ inkscape:current-layer="svg1" />
37
+ <g
38
+ id="g1">
39
+ <title
40
+ id="title1">Layer 1</title>
41
+ <rect
42
+ rx="71.533409"
43
+ id="svg_4"
44
+ height="256"
45
+ width="256"
46
+ y="0.1665"
47
+ x="0"
48
+ stroke-width="0"
49
+ stroke="#000000"
50
+ fill="#ffffff" />
51
+ <text
52
+ xml:space="preserve"
53
+ text-anchor="start"
54
+ font-family="Noto Sans JP"
55
+ font-size="250"
56
+ id="svg_3"
57
+ y="214.77083"
58
+ x="23.26042"
59
+ stroke-width="0"
60
+ stroke="#000"
61
+ fill="#000000">=</text>
62
+ </g>
63
+ </svg>
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "joplin-plugin-math-mode",
3
- "version": "0.6.1",
3
+ "version": "0.7.0",
4
4
  "homepage": "https://github.com/CalebJohn/joplin-math-mode",
5
5
  "description": "",
6
6
  "scripts": {
7
- "dist": "webpack --joplin-plugin-config buildMain && webpack --joplin-plugin-config buildExtraScripts && webpack --joplin-plugin-config createArchive",
7
+ "dist": "webpack --env joplin-plugin-config=buildMain && webpack --env joplin-plugin-config=buildExtraScripts && webpack --env joplin-plugin-config=createArchive",
8
8
  "prepare": "npm run dist",
9
- "update": "npm install -g generator-joplin && yo joplin --update"
9
+ "updateVersion": "webpack --env joplin-plugin-config=updateVersion",
10
+ "update": "npm install -g generator-joplin && yo joplin --node-package-manager npm --update --force"
10
11
  },
11
12
  "keywords": [
12
13
  "joplin-plugin",
@@ -15,18 +16,18 @@
15
16
  ],
16
17
  "license": "MIT",
17
18
  "devDependencies": {
18
- "@types/node": "^14.0.14",
19
+ "@codemirror/view": "^6.26.3",
20
+ "@codemirror/language": "^6.10.2",
21
+ "@types/node": "^18.7.13",
19
22
  "chalk": "^4.1.0",
20
- "copy-webpack-plugin": "^6.1.0",
21
- "fs-extra": "^9.0.1",
22
- "glob": "^7.1.6",
23
- "on-build-webpack": "^0.1.0",
24
- "tar": "^6.0.5",
25
- "ts-loader": "^7.0.5",
26
- "typescript": "^3.9.3",
27
- "webpack": "^4.43.0",
28
- "webpack-cli": "^3.3.11",
29
- "yargs": "^16.2.0"
23
+ "copy-webpack-plugin": "^11.0.0",
24
+ "fs-extra": "^10.1.0",
25
+ "glob": "^8.0.3",
26
+ "tar": "^6.1.11",
27
+ "ts-loader": "^9.3.1",
28
+ "typescript": "^4.8.2",
29
+ "webpack": "^5.74.0",
30
+ "webpack-cli": "^4.10.0"
30
31
  },
31
32
  "dependencies": {
32
33
  "mathjs": "^8.1.1"
@@ -1,6 +1,5 @@
1
1
  {
2
2
  "extraScripts": [
3
- "mathMode.ts",
4
- "exchangeRate.ts"
3
+ "codeMirror/mathMode.ts"
5
4
  ]
6
5
  }
@@ -2,7 +2,7 @@
2
2
  "manifest_version": 1,
3
3
  "id": "plugin.calebjohn.MathMode",
4
4
  "app_min_version": "1.8",
5
- "version": "0.5.3",
5
+ "version": "0.6.2",
6
6
  "name": "Math Mode",
7
7
  "description": "Turn your notes into a powerful calculator with inline math.",
8
8
  "author": "Caleb John",
@@ -13,6 +13,30 @@
13
13
  "math",
14
14
  "mathjs"
15
15
  ],
16
- "_publish_hash": "sha256:aca564861bc920c8e25397251b9bd8c9b0fc84fe2c4cd8a1d8b28ff9f4beb1af",
17
- "_publish_commit": "main:1f7958826913badfd660326a80c2dfb277049593"
16
+ "categories": [
17
+ "editor",
18
+ "productivity"
19
+ ],
20
+ "platforms": [
21
+ "desktop",
22
+ "mobile"
23
+ ],
24
+ "screenshots": [
25
+ {
26
+ "src": "examples/road_trip.png",
27
+ "label": "An example demonstrating how the plugin can be used to to track multiple simple calculations."
28
+ },
29
+ {
30
+ "src": "examples/euro_trip.png",
31
+ "label": "An example demonstrating the ability to do currency conversion."
32
+ }
33
+ ],
34
+ "icons": {
35
+ "16": "icons/16.png",
36
+ "32": "icons/32.png",
37
+ "48": "icons/48.png",
38
+ "128": "icons/128.png"
39
+ },
40
+ "_publish_hash": "sha256:85a46de96109d43a6ec798a7cedf46353c0a538e39c40e7e342b52952bdb2e1a",
41
+ "_publish_commit": "main:1ab09c0916e05db31666e31fc21fbff85bb4347e"
18
42
  }
package/shell.nix CHANGED
@@ -2,6 +2,8 @@
2
2
  pkgs.mkShell rec {
3
3
  name = "nodejs";
4
4
 
5
+ NODE_OPTIONS="--openssl-legacy-provider";
6
+
5
7
  buildInputs = with pkgs; [
6
8
  nodejs nodePackages.webpack nodePackages.webpack-cli
7
9
  ];