@mkappelhof/ts-config 1.0.3 → 1.0.4

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.
@@ -0,0 +1,10 @@
1
+ $ rollup -c
2
+ 
3
+ ./base.json → ./dist/base.json...
4
+ (!) Mixing named and default exports
5
+ https://rollupjs.org/configuration-options/#output-exports
6
+ The following entry modules are using named and default exports together:
7
+ base.json
8
+
9
+ Consumers of your bundle will have to use chunk.default to access their default export, which may not be what you want. Use `output.exports: "named"` to disable this warning.
10
+ created ./dist/base.json in 24ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @mkappelhof/ts-config
2
2
 
3
+ ## 1.0.4
4
+
5
+ ### Patch Changes
6
+
7
+ - 3561b82: Add readme's
8
+
3
9
  ## 1.0.3
4
10
 
5
11
  ### Patch Changes
package/README.md ADDED
@@ -0,0 +1,15 @@
1
+ # Shared Typescript configurations
2
+
3
+ ## Installation
4
+
5
+ Add the package as a local dev dependency
6
+
7
+ `yarn add @mkappelhof/ts-config`
8
+
9
+ Then create a `.tsconfig.json` config file with the following content:
10
+
11
+ ```JSON
12
+ {
13
+ "extends": "@mkappelhof/ts-config/next.json",
14
+ }
15
+ ```
@@ -0,0 +1,7 @@
1
+ # @mkappelhof/ts-config
2
+
3
+ ## 1.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 9f6c9a4: add changeset
package/dist/base.json ADDED
@@ -0,0 +1,39 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var $schema = "https://json.schemastore.org/tsconfig";
6
+ var display = "Default";
7
+ var compilerOptions = {
8
+ allowJs: true,
9
+ composite: false,
10
+ declaration: true,
11
+ declarationMap: true,
12
+ esModuleInterop: true,
13
+ forceConsistentCasingInFileNames: true,
14
+ inlineSources: false,
15
+ isolatedModules: true,
16
+ moduleResolution: "node",
17
+ noEmit: true,
18
+ noUnusedLocals: false,
19
+ noUnusedParameters: false,
20
+ preserveWatchOutput: true,
21
+ resolveJsonModule: true,
22
+ skipLibCheck: true,
23
+ strict: true
24
+ };
25
+ var exclude = [
26
+ "node_modules"
27
+ ];
28
+ var base = {
29
+ $schema: $schema,
30
+ display: display,
31
+ compilerOptions: compilerOptions,
32
+ exclude: exclude
33
+ };
34
+
35
+ exports.$schema = $schema;
36
+ exports.compilerOptions = compilerOptions;
37
+ exports.default = base;
38
+ exports.display = display;
39
+ exports.exclude = exclude;
package/dist/next.json ADDED
@@ -0,0 +1,17 @@
1
+ {
2
+ "$schema": "https://json.schemastore.org/tsconfig",
3
+ "display": "React Library",
4
+ "extends": "./base.json",
5
+ "compilerOptions": {
6
+ "incremental": true,
7
+ "jsx": "preserve",
8
+ "lib": ["dom", "ES2015"],
9
+ "module": "ESNext",
10
+ "target": "es6"
11
+ },
12
+ "plugins": [
13
+ {
14
+ "name": "next"
15
+ }
16
+ ]
17
+ }
package/dist/node.json ADDED
@@ -0,0 +1,10 @@
1
+ {
2
+ "$schema": "https://json.schemastore.org/tsconfig",
3
+ "display": "Node 18",
4
+ "extends": "./base.json",
5
+ "compilerOptions": {
6
+ "lib": ["ES2020"],
7
+ "module": "commonjs",
8
+ "target": "ES2020"
9
+ }
10
+ }
@@ -0,0 +1,16 @@
1
+ {
2
+ "name": "@mkappelhof/ts-config",
3
+ "version": "1.0.1",
4
+ "main": "base.json",
5
+ "license": "MIT",
6
+ "scripts": {
7
+ "build": "rollup -c",
8
+ "test": "echo 'No test step'"
9
+ },
10
+ "peerDependencies": {
11
+ "typescript": "5.1.6"
12
+ },
13
+ "devDependencies": {
14
+ "@rollup/plugin-json": "6.0.0"
15
+ }
16
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "$schema": "https://json.schemastore.org/tsconfig",
3
+ "display": "React Library",
4
+ "extends": "./base.json",
5
+ "compilerOptions": {
6
+ "jsx": "react-jsx",
7
+ "lib": ["dom", "ES2015"],
8
+ "module": "ESNext",
9
+ "target": "es6"
10
+ }
11
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mkappelhof/ts-config",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "main": "base.json",
5
5
  "license": "MIT",
6
6
  "repository": "git@github.com:mkappelhof/frontend-tools.git",