startupjs 0.56.0-alpha.1 → 0.56.0-alpha.2

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/index.js CHANGED
@@ -1,12 +1,7 @@
1
1
  // Make ShareDB client and Racer client work in React Native and in Webpack
2
2
  import dummyMockBrowserify from '@startupjs/utils/mockBrowserify'
3
- import dummyLoadConfig from '@startupjs/registry/loadStartupjsConfig.auto'
4
- // - init connection to ShareDB server
5
- // - setup baseUrl for axios
6
- // - add rich-text support to ShareDB
7
- import dummyInit from '@startupjs/init/client.auto'
8
3
 
9
- ;(_ => _)([dummyInit, dummyLoadConfig, dummyMockBrowserify]) // prevent dead-code elimination
4
+ ;(_ => _)([dummyMockBrowserify]) // prevent dead-code elimination
10
5
 
11
6
  export { default as axios } from '@startupjs/utils/axios'
12
7
  export * from '@startupjs/react-sharedb'
@@ -22,3 +17,6 @@ export function styl (stylString) { return stylString }
22
17
  export function pug (pugString) { return pugString }
23
18
  export { default as StartupjsProvider } from './StartupjsProvider.js'
24
19
  export { default as t } from '@startupjs/i18n/client/t.js'
20
+
21
+ // init client at the very end. This is hacky solution to handle import loops
22
+ export { default as dummyInitClient } from './initClient.auto.js'
@@ -0,0 +1,9 @@
1
+ import dummyLoadConfig from '@startupjs/registry/loadStartupjsConfig.auto'
2
+ // - init connection to ShareDB server
3
+ // - setup baseUrl for axios
4
+ // - add rich-text support to ShareDB
5
+ import dummyInit from '@startupjs/init/client.auto'
6
+
7
+ ;(_ => _)([dummyLoadConfig, dummyInit])
8
+
9
+ export default () => {}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "startupjs",
3
3
  "type": "module",
4
- "version": "0.56.0-alpha.1",
4
+ "version": "0.56.0-alpha.2",
5
5
  "engines": {
6
6
  "node": ">= 14"
7
7
  },
@@ -41,7 +41,7 @@
41
41
  "dependencies": {
42
42
  "@startupjs/app": "^0.56.0-alpha.1",
43
43
  "@startupjs/backend": "^0.56.0-alpha.1",
44
- "@startupjs/bundler": "^0.56.0-alpha.1",
44
+ "@startupjs/bundler": "^0.56.0-alpha.2",
45
45
  "@startupjs/cli": "^0.56.0-alpha.1",
46
46
  "@startupjs/hooks": "^0.56.0-alpha.1",
47
47
  "@startupjs/i18n": "^0.56.0-alpha.0",
@@ -50,10 +50,10 @@
50
50
  "@startupjs/orm": "^0.56.0-alpha.0",
51
51
  "@startupjs/patches": "^0.56.0-alpha.0",
52
52
  "@startupjs/react-sharedb": "^0.56.0-alpha.1",
53
- "@startupjs/registry": "^0.56.0-alpha.1",
54
- "@startupjs/server": "^0.56.0-alpha.1",
53
+ "@startupjs/registry": "^0.56.0-alpha.2",
54
+ "@startupjs/server": "^0.56.0-alpha.2",
55
55
  "@startupjs/utils": "^0.56.0-alpha.1",
56
- "babel-preset-startupjs": "^0.56.0-alpha.1"
56
+ "babel-preset-startupjs": "^0.56.0-alpha.2"
57
57
  },
58
- "gitHead": "30b858bb3203dc9dc064a3b16e060e2cc1777a71"
58
+ "gitHead": "97f1ce92de18e3300d02321986936890df822dc2"
59
59
  }