roamjs-components 0.76.2 → 0.76.3

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.
Files changed (1) hide show
  1. package/package.json +32 -5
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "roamjs-components",
3
3
  "description": "Expansive toolset, utilities, & components for developing RoamJS extensions.",
4
- "version": "0.76.2",
4
+ "version": "0.76.3",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
7
7
  "scripts": {
@@ -11,9 +11,7 @@
11
11
  "preversion": "npm run lint",
12
12
  "version": "npm run format && git add -A src",
13
13
  "test": "playwright test",
14
- "prestart:new": "node scripts/build.js",
15
- "start:new": "http-server -p 8000 build",
16
- "start": "roamjs-scripts dev --depot"
14
+ "start": "samepage dev"
17
15
  },
18
16
  "sideEffects": false,
19
17
  "license": "MIT",
@@ -45,7 +43,7 @@
45
43
  "tslib": "2.2.0"
46
44
  },
47
45
  "dependencies": {
48
- "@samepage/scripts": "^0.56.7",
46
+ "@samepage/scripts": "^0.62.3",
49
47
  "@testing-library/react": "^12.1.5",
50
48
  "aws-sdk-plus": "^0.5.3",
51
49
  "color": "^4.0.1",
@@ -76,5 +74,34 @@
76
74
  },
77
75
  "bin": {
78
76
  "roamjs": "./scripts/index.js"
77
+ },
78
+ "samepage": {
79
+ "external": [
80
+ "react-dom/client",
81
+ "@blueprintjs/core=window.Blueprint.Core",
82
+ "@blueprintjs/datetime=window.Blueprint.DateTime",
83
+ "@blueprintjs/select=window.Blueprint.Select",
84
+ "chrono-node=window.ChronoNode",
85
+ "crypto-js=window.CryptoJS",
86
+ "cytoscape=window.RoamLazy.Cytoscape",
87
+ "file-saver=window.FileSaver",
88
+ "jszip=window.RoamLazy.JSZip",
89
+ "idb=window.idb",
90
+ "insect=window.RoamLazy.Insect",
91
+ "marked=window.RoamLazy.Marked",
92
+ "marked-react=window.RoamLazy.MarkedReact",
93
+ "nanoid=window.Nanoid",
94
+ "react=window.React",
95
+ "react-dom=window.ReactDOM",
96
+ "react-youtube=window.ReactYoutube",
97
+ "tslib=window.TSLib"
98
+ ],
99
+ "include": [
100
+ "package.json",
101
+ "README.md"
102
+ ],
103
+ "out": "extension",
104
+ "mirror": ".",
105
+ "format": "esm"
79
106
  }
80
107
  }