structured-fw 0.7.5 → 0.7.6

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/Config.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { StructuredConfig } from 'structured-fw/system/Types.js';
1
+ import { StructuredConfig } from 'structured-fw/Types';
2
2
 
3
3
  export const config: StructuredConfig = {
4
4
  // Application.importEnv will load all env variables starting with [envPrefix]_
package/bin/structured CHANGED
@@ -78,7 +78,7 @@ function createTsconfig() {
78
78
  "strictNullChecks": true,
79
79
  "strictPropertyInitialization": true,
80
80
  "strictBindCallApply": true,
81
- "moduleResolution" : "Node",
81
+ "moduleResolution" : "bundler",
82
82
  "outDir": "./build",
83
83
  "module": "ES2020",
84
84
  "target": "ES2021",
package/build/Config.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { StructuredConfig } from 'structured-fw/system/Types.js';
1
+ import { StructuredConfig } from 'structured-fw/Types';
2
2
  export declare const config: StructuredConfig;
package/build/index.js CHANGED
@@ -1,3 +1,3 @@
1
- import { Application } from "structured-fw/system/server/Application.js";
1
+ import { Application } from "structured-fw/Application";
2
2
  import { config } from './Config.js';
3
3
  new Application(config);
package/index.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { Application } from "structured-fw/system/server/Application.js";
1
+ import { Application } from "structured-fw/Application";
2
2
  import { config } from './Config.js';
3
3
 
4
4
  new Application(config);
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  },
9
9
  "type": "module",
10
10
  "main": "build/index",
11
- "version": "0.7.5",
11
+ "version": "0.7.6",
12
12
  "scripts": {
13
13
  "develop": "tsc --watch",
14
14
  "startDev": "cd build && nodemon --watch '../app/**/*' --watch '../build/**/*' -e js,html,css index.js",
@@ -30,6 +30,12 @@
30
30
  "ts-md5": "^1.3.1"
31
31
  },
32
32
  "exports" : {
33
- "./Application": "./build/system/server/Application.js"
33
+ "./Types": "./build/system/Types.js",
34
+ "./Symbols": "./build/system/Symbols.js",
35
+ "./Util": "./build/system/Util.js",
36
+ "./Application": "./build/system/server/Application.js",
37
+ "./Document": "./build/system/server/Document.js",
38
+ "./FormValidation": "./build/system/server/FormValidation.js",
39
+ "./ClientComponent": "./build/system/client/ClientComponent.js"
34
40
  }
35
41
  }
package/tsconfig.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "strictPropertyInitialization": true,
6
6
  "strictBindCallApply": true,
7
7
  "noUnusedLocals": true,
8
- "moduleResolution" : "Node",
8
+ "moduleResolution" : "bundler",
9
9
  "outDir": "./build",
10
10
  "module": "ES2020",
11
11
  "target": "ES2021",