@symbiotejs/symbiote 3.3.0 → 3.3.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.
package/node/index.js ADDED
@@ -0,0 +1 @@
1
+ export { SSR } from './SSR.js';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@symbiotejs/symbiote",
4
- "version": "3.3.0",
4
+ "version": "3.3.1",
5
5
  "description": "Symbiote.js - zero-dependency close-to-platform frontend library to build super-powered web components",
6
6
  "author": "team@rnd-pro.com",
7
7
  "license": "MIT",
@@ -36,6 +36,9 @@
36
36
  "./utils": {
37
37
  "default": "./utils/index.js"
38
38
  },
39
+ "./node": {
40
+ "default": "./node/index.js"
41
+ },
39
42
  "./core/AppRouter.js": {
40
43
  "types": "./types/core/AppRouter.d.ts",
41
44
  "default": "./core/AppRouter.js"
@@ -115,6 +118,10 @@
115
118
  "./utils/setNestedProp.js": {
116
119
  "types": "./types/utils/setNestedProp.d.ts",
117
120
  "default": "./utils/setNestedProp.js"
121
+ },
122
+ "./node/SSR.js": {
123
+ "types": "./types/node/SSR.d.ts",
124
+ "default": "./node/SSR.js"
118
125
  }
119
126
  },
120
127
  "publishConfig": {
@@ -10,7 +10,7 @@ import { existsSync } from 'fs';
10
10
  import { join, extname, basename } from 'path';
11
11
 
12
12
  const ROOT = new URL('..', import.meta.url).pathname;
13
- const DIRS = ['core', 'utils'];
13
+ const DIRS = ['core', 'utils', 'node'];
14
14
 
15
15
  async function getModules(dir) {
16
16
  let fullDir = join(ROOT, dir);
@@ -29,12 +29,15 @@ async function run() {
29
29
  './utils': {
30
30
  default: './utils/index.js',
31
31
  },
32
+ './node': {
33
+ default: './node/index.js',
34
+ },
32
35
  };
33
36
 
34
37
  for (let dir of DIRS) {
35
38
  let modules = await getModules(dir);
36
39
  for (let mod of modules) {
37
- if (mod === './core/index.js' || mod === './utils/index.js') continue;
40
+ if (mod === './core/index.js' || mod === './utils/index.js' || mod === './node/index.js') continue;
38
41
  let dtsPath = `./types/${dir}/${basename(mod, '.js')}.d.ts`;
39
42
  if (!existsSync(join(ROOT, dtsPath))) continue;
40
43
  exports[mod] = {
@@ -0,0 +1,2 @@
1
+ export { SSR } from "./SSR.js";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../node/index.js"],"names":[],"mappings":""}