ogi-addon 1.1.0 → 1.1.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/tsconfig.json CHANGED
@@ -1,39 +1,39 @@
1
- {
2
- "compilerOptions": {
3
- // project options
4
- "lib": [
5
- "ESNext",
6
- "DOM"
7
- ], // specifies which default set of type definitions to use ("DOM", "ES6", etc)
8
- "removeComments": false, // Strips all comments from TypeScript files when converting into JavaScript- you rarely read compiled code so this saves space
9
- "target": "ESNext", // Target environment. Most modern browsers support ES6, but you may want to set it to newer or older. (defaults to ES3)
10
- "declaration": true,
11
-
12
- // Module resolution
13
- "baseUrl": "./", // Lets you set a base directory to resolve non-absolute module names.
14
- "esModuleInterop": true, // fixes some issues TS originally had with the ES6 spec where TypeScript treats CommonJS/AMD/UMD modules similar to ES6 module
15
- "moduleResolution": "node", // Pretty much always node for modern JS. Other option is "classic"
16
- "resolveJsonModule": true,
17
- "paths": {}, // A series of entries which re-map imports to lookup locations relative to the baseUrl
18
-
19
- // Source Map
20
- "sourceMap": true, // enables the use of source maps for debuggers and error reporting etc
21
- "sourceRoot": "/", // Specify the location where a debugger should locate TypeScript files instead of relative source locations.
22
-
23
- // Strict Checks
24
- "alwaysStrict": true, // Ensures that your files are parsed in the ECMAScript strict mode, and emit “use strict” for each source file.
25
- "allowUnreachableCode": false, // pick up dead code paths
26
- "noImplicitAny": true, // In some cases where no type annotations are present, TypeScript will fall back to a type of any for a variable when it cannot infer the type.
27
- "strictNullChecks": true, // When strictNullChecks is true, null and undefined have their own distinct types and you’ll get a type error if you try to use them where a concrete value is expected.
28
-
29
- // Linter Checks
30
- "noImplicitReturns": true,
31
- "noUnusedLocals": true, // Report errors on unused local variables.
32
- "noUnusedParameters": true, // Report errors on unused parameters in functions
33
- },
34
- "include": ["./**/*.ts"],
35
- "exclude": [
36
- "node_modules/**/*",
37
- "build/**/*"
38
- ]
1
+ {
2
+ "compilerOptions": {
3
+ // project options
4
+ "lib": [
5
+ "ESNext",
6
+ "DOM"
7
+ ], // specifies which default set of type definitions to use ("DOM", "ES6", etc)
8
+ "removeComments": false, // Strips all comments from TypeScript files when converting into JavaScript- you rarely read compiled code so this saves space
9
+ "target": "ESNext", // Target environment. Most modern browsers support ES6, but you may want to set it to newer or older. (defaults to ES3)
10
+ "declaration": true,
11
+
12
+ // Module resolution
13
+ "baseUrl": "./", // Lets you set a base directory to resolve non-absolute module names.
14
+ "esModuleInterop": true, // fixes some issues TS originally had with the ES6 spec where TypeScript treats CommonJS/AMD/UMD modules similar to ES6 module
15
+ "moduleResolution": "node", // Pretty much always node for modern JS. Other option is "classic"
16
+ "resolveJsonModule": true,
17
+ "paths": {}, // A series of entries which re-map imports to lookup locations relative to the baseUrl
18
+
19
+ // Source Map
20
+ "sourceMap": true, // enables the use of source maps for debuggers and error reporting etc
21
+ "sourceRoot": "/", // Specify the location where a debugger should locate TypeScript files instead of relative source locations.
22
+
23
+ // Strict Checks
24
+ "alwaysStrict": true, // Ensures that your files are parsed in the ECMAScript strict mode, and emit “use strict” for each source file.
25
+ "allowUnreachableCode": false, // pick up dead code paths
26
+ "noImplicitAny": true, // In some cases where no type annotations are present, TypeScript will fall back to a type of any for a variable when it cannot infer the type.
27
+ "strictNullChecks": true, // When strictNullChecks is true, null and undefined have their own distinct types and you’ll get a type error if you try to use them where a concrete value is expected.
28
+
29
+ // Linter Checks
30
+ "noImplicitReturns": true,
31
+ "noUnusedLocals": true, // Report errors on unused local variables.
32
+ "noUnusedParameters": true, // Report errors on unused parameters in functions
33
+ },
34
+ "include": ["./**/*.ts"],
35
+ "exclude": [
36
+ "node_modules/**/*",
37
+ "build/**/*"
38
+ ]
39
39
  }
package/tsup.config.js CHANGED
@@ -1,11 +1,11 @@
1
- import { defineConfig } from 'tsup'
2
-
3
- export default defineConfig({
4
- entry: ['src/**'],
5
- splitting: false,
6
- sourcemap: true,
7
- clean: true,
8
- format: ['cjs', 'esm'],
9
- dts: true,
10
- outDir: 'build',
1
+ import { defineConfig } from 'tsup'
2
+
3
+ export default defineConfig({
4
+ entry: ['src/**'],
5
+ splitting: false,
6
+ sourcemap: true,
7
+ clean: true,
8
+ format: ['cjs', 'esm'],
9
+ dts: true,
10
+ outDir: 'build',
11
11
  })