@mkappelhof/ts-config 1.0.3

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/CHANGELOG.md ADDED
@@ -0,0 +1,20 @@
1
+ # @mkappelhof/ts-config
2
+
3
+ ## 1.0.3
4
+
5
+ ### Patch Changes
6
+
7
+ - 4bb1446: update repository url
8
+
9
+ ## 1.0.2
10
+
11
+ ### Patch Changes
12
+
13
+ - 0088404: update release pipeline
14
+ - 7885039: change to external packages
15
+
16
+ ## 1.0.1
17
+
18
+ ### Patch Changes
19
+
20
+ - 9f6c9a4: add changeset
package/base.json ADDED
@@ -0,0 +1,23 @@
1
+ {
2
+ "$schema": "https://json.schemastore.org/tsconfig",
3
+ "display": "Default",
4
+ "compilerOptions": {
5
+ "allowJs": true,
6
+ "composite": false,
7
+ "declaration": true,
8
+ "declarationMap": true,
9
+ "esModuleInterop": true,
10
+ "forceConsistentCasingInFileNames": true,
11
+ "inlineSources": false,
12
+ "isolatedModules": true,
13
+ "moduleResolution": "node",
14
+ "noEmit": true,
15
+ "noUnusedLocals": false,
16
+ "noUnusedParameters": false,
17
+ "preserveWatchOutput": true,
18
+ "resolveJsonModule": true,
19
+ "skipLibCheck": true,
20
+ "strict": true
21
+ },
22
+ "exclude": ["node_modules"]
23
+ }
package/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/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
+ }
package/package.json ADDED
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@mkappelhof/ts-config",
3
+ "version": "1.0.3",
4
+ "main": "base.json",
5
+ "license": "MIT",
6
+ "repository": "git@github.com:mkappelhof/frontend-tools.git",
7
+ "scripts": {
8
+ "build": "rollup -c",
9
+ "test": "echo 'No test step'"
10
+ },
11
+ "peerDependencies": {
12
+ "typescript": "5.1.6"
13
+ },
14
+ "devDependencies": {
15
+ "@rollup/plugin-json": "6.0.0"
16
+ }
17
+ }
package/react.json ADDED
@@ -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
+ }
@@ -0,0 +1,22 @@
1
+ const copy = require("rollup-plugin-copy");
2
+ const json = require("@rollup/plugin-json");
3
+
4
+ module.exports = {
5
+ input: "./base.json",
6
+ output: {
7
+ file: "./dist/base.json",
8
+ format: "cjs",
9
+ },
10
+ plugins: [
11
+ json(),
12
+ copy({
13
+ targets: [
14
+ { src: "./next.json", dest: "./dist/" },
15
+ { src: "./node.json", dest: "./dist/" },
16
+ { src: "./react.json", dest: "./dist/" },
17
+ { src: "./CHANGELOG.md", dest: "./dist/" },
18
+ { src: "./package.json", dest: "./dist/" },
19
+ ],
20
+ }),
21
+ ],
22
+ };