pear-electron 1.7.21 → 1.7.22
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.
- package/package.json +2 -2
- package/bootstrap.js +0 -15
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pear-electron",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.22",
|
|
4
4
|
"description": "Pear User-Interface Library for Electron",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"pear": {
|
|
29
29
|
"assets": {
|
|
30
30
|
"ui": {
|
|
31
|
-
"link": "pear://0.940.
|
|
31
|
+
"link": "pear://0.940.cktxzetiwt6un3ado5kgqedge6ya4nfazjckzq76zcapefwxakdy",
|
|
32
32
|
"name": "Pear Runtime",
|
|
33
33
|
"only": [
|
|
34
34
|
"/boot.bundle",
|
package/bootstrap.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
'use strict'
|
|
2
|
-
const pack = require('pear-pack')
|
|
3
|
-
const Module = require('bare-module')
|
|
4
|
-
const AppDrive = require('pear-appdrive')
|
|
5
|
-
|
|
6
|
-
const drive = new AppDrive()
|
|
7
|
-
const target = ['darwin-arm64', 'darwin-x64', 'linux-arm64', 'linux-x64', 'win32-x64']
|
|
8
|
-
const builtins = [
|
|
9
|
-
'electron', 'net', 'assert', 'console', 'events', 'fs', 'fs/promises', 'http', 'https', 'os',
|
|
10
|
-
'path', 'child_process', 'repl', 'url', 'tty', 'module', 'process', 'timers', 'inspector'
|
|
11
|
-
]
|
|
12
|
-
const entry = '/node_modules/pear-electron/bootstrap.js'
|
|
13
|
-
const { bundle, prebuilds } = await pack(drive, { entry, target, builtins })
|
|
14
|
-
|
|
15
|
-
// TODO: setup module to consume bundle
|