startupjs 0.62.1 → 0.63.0-alpha.1

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 (3) hide show
  1. package/index.d.ts +0 -2
  2. package/index.js +2 -5
  3. package/package.json +12 -12
package/index.d.ts CHANGED
@@ -7,6 +7,4 @@ export * from '@startupjs/hooks'
7
7
  // on the server and on the client
8
8
  export * from '@startupjs/isomorphic-helpers'
9
9
 
10
- export function serverOnly (value: any): any
11
-
12
10
  export { default as StartupjsProvider } from './StartupjsProvider.js'
package/index.js CHANGED
@@ -36,13 +36,10 @@ export function t (...args) {
36
36
  return compatT(...args)
37
37
  }
38
38
 
39
- // wrap serverOnly around the value to remove it from the client bundle
40
- // (it will be replaced with `undefined` on the client by the babel-plugin-eliminator)
41
- export function serverOnly (value) { return value }
42
-
43
39
  export { default as StartupjsProvider } from './StartupjsProvider.js'
44
40
 
45
- // loading config should be performed first
41
+ // loading config should be performed after TeamPlay is re-exported so model
42
+ // files can safely import model base classes from `startupjs` during config load.
46
43
  export { default as __dummyLoadConfig } from '@startupjs/registry/loadStartupjsConfig.auto'
47
44
 
48
45
  // COMPAT-ONLY legacy hook expected by older LMS code and packages built against
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "startupjs",
3
3
  "type": "module",
4
- "version": "0.62.1",
4
+ "version": "0.63.0-alpha.1",
5
5
  "engines": {
6
6
  "node": ">= 14"
7
7
  },
@@ -30,18 +30,18 @@
30
30
  "bin": "./cli.js",
31
31
  "license": "MIT",
32
32
  "dependencies": {
33
- "@startupjs/auth": "^0.62.0",
34
- "@startupjs/bundler": "^0.62.0",
35
- "@startupjs/cli": "^0.62.1",
36
- "@startupjs/hooks": "^0.62.0",
37
- "@startupjs/isomorphic-helpers": "^0.62.0",
38
- "@startupjs/registry": "^0.62.0",
39
- "@startupjs/server": "^0.62.0",
40
- "@startupjs/utils": "^0.62.0",
41
- "babel-preset-startupjs": "^0.62.0",
33
+ "@startupjs/auth": "^0.63.0-alpha.0",
34
+ "@startupjs/bundler": "^0.63.0-alpha.0",
35
+ "@startupjs/cli": "^0.63.0-alpha.0",
36
+ "@startupjs/hooks": "^0.63.0-alpha.0",
37
+ "@startupjs/isomorphic-helpers": "^0.63.0-alpha.0",
38
+ "@startupjs/registry": "^0.63.0-alpha.0",
39
+ "@startupjs/server": "^0.63.0-alpha.0",
40
+ "@startupjs/utils": "^0.63.0-alpha.0",
41
+ "babel-preset-startupjs": "^0.63.0-alpha.0",
42
42
  "cssxjs": "^0.3.0",
43
43
  "lodash": "^4.17.20",
44
- "teamplay": "^0.4.0"
44
+ "teamplay": "^0.5.0-alpha.2"
45
45
  },
46
46
  "peerDependencies": {
47
47
  "@startupjs/worker": "*",
@@ -59,5 +59,5 @@
59
59
  "scripts": {
60
60
  "test": "node --experimental-specifier-resolution=node --test"
61
61
  },
62
- "gitHead": "9764b3809e7eb4107baa027f8a5bff453829f23b"
62
+ "gitHead": "c2143ab9a54066d2163132eebbc2e628645ab667"
63
63
  }