@edraj/tsdmart 5.1.0 → 5.3.0

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.ts CHANGED
@@ -1,5 +1,3 @@
1
- // can and needs to be redone
2
-
3
1
  export * from "./dmart.model";
4
2
  export * from "./dmart.service";
5
3
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@edraj/tsdmart",
3
- "version": "5.1.0",
3
+ "version": "5.3.0",
4
4
  "description": "A TypeScript implementation of the Dmart that depends on axios.",
5
5
  "author": "Kefah T. Issa",
6
6
  "email": "kefah.issa@gmail.com",
package/tsconfig.json CHANGED
@@ -1,48 +1,45 @@
1
1
  {
2
- "compilerOptions": {
3
- "module": "ESNext",
4
- "moduleResolution": "node",
5
- "target": "ESNext",
6
- "esModuleInterop": true,
7
- "allowSyntheticDefaultImports": true,
8
- // Strict Checks
9
- "alwaysStrict": true,
10
- "noImplicitAny": true,
11
- "strictNullChecks": true,
12
- "useUnknownInCatchVariables": true,
13
- "strictPropertyInitialization": true,
14
- "strictFunctionTypes": true,
15
- "noImplicitThis": true,
16
- "strictBindCallApply": true,
17
- "noPropertyAccessFromIndexSignature": true,
18
- "noUncheckedIndexedAccess": true,
19
- "exactOptionalPropertyTypes": true,
20
- // Linter Checks
21
- "noImplicitReturns": true,
22
- "noImplicitOverride": true,
23
- "forceConsistentCasingInFileNames": true,
24
- // https://eslint.org/docs/rules/consistent-return ?
25
- "noFallthroughCasesInSwitch": true,
26
- // https://eslint.org/docs/rules/no-fallthrough
27
- "noUnusedLocals": true,
28
- // https://eslint.org/docs/rules/no-unused-vars
29
- "noUnusedParameters": true,
30
- // https://eslint.org/docs/rules/no-unused-vars#args
31
- "allowUnreachableCode": false,
32
- // https://eslint.org/docs/rules/no-unreachable ?
33
- "allowUnusedLabels": false,
34
- // https://eslint.org/docs/rules/no-unused-labels
35
- // Base Strict Checks
36
- "noImplicitUseStrict": false,
37
- "suppressExcessPropertyErrors": false,
38
- "suppressImplicitAnyIndexErrors": false,
39
- "noStrictGenericChecks": false,
2
+ "compilerOptions": {
3
+ "module": "es2022",
4
+ "moduleResolution": "bundler",
5
+ "target": "es2022",
6
+ "strict": true,
7
+ "isolatedModules": true,
8
+ "allowJs": true,
9
+ "checkJs": true,
10
+ "forceConsistentCasingInFileNames": true,
11
+ "verbatimModuleSyntax": true,
12
+ "resolveJsonModule": true,
13
+ "skipLibCheck": true,
14
+ "sourceMap": true,
15
+ "paths": {
16
+ "@": [
17
+ "./src"
18
+ ],
19
+ "@/*": [
20
+ "./src/*"
21
+ ]
40
22
  },
41
- "ts-node": {
42
- "esm": true
43
- },
44
- "parser": "@typescript-eslint/parser",
45
- "plugins": [
46
- "@typescript-eslint"
23
+ "types": [
24
+ "vitest/globals"
47
25
  ]
48
- }
26
+
27
+ },
28
+ "include": [
29
+ "vite-env.d.ts",
30
+ "src/**/*.d.ts",
31
+ "*.ts",
32
+ "src/**/*.ts",
33
+ "src/**/*.js",
34
+ "src/**/*.svelte",
35
+ ".routify/**.js",
36
+ "test/**/*.ts",
37
+ "test/**/*.js"
38
+ ],
39
+ "exclude": [
40
+ ".routify/**/*.svelte",
41
+ ".routify/**/*.js",
42
+ "node_modules/**/*.svelte",
43
+ "node_modules/**/*.ts"
44
+ ]
45
+ }
package/config.ts DELETED
@@ -1,9 +0,0 @@
1
-
2
- export const Config = {
3
- baseURL: "http://localhost:8282",
4
- headers: {
5
- "Content-type": "application/json",
6
- "Authorization": "",
7
- },
8
- };
9
-