@team-monolith/cds 0.1.0 → 0.1.2

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/package.json CHANGED
@@ -1,12 +1,11 @@
1
1
  {
2
2
  "name": "@team-monolith/cds",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "dependencies": {
7
7
  "@emotion/react": "^11.8.2",
8
8
  "@emotion/styled": "^11.8.1",
9
- "@mui/icons-material": "^5.11.16",
10
9
  "@mui/material": "^5.3.1",
11
10
  "@tanstack/react-table": "^8.9.3",
12
11
  "@types/node": "^16.11.26",
@@ -14,14 +13,9 @@
14
13
  "@types/react-dom": "^17.0.11",
15
14
  "react": "^17.0.2",
16
15
  "react-dom": "^17.0.2",
17
- "react-scripts": "5.0.0",
18
16
  "typescript": "^4.5.5"
19
17
  },
20
18
  "scripts": {
21
- "start": "react-scripts start",
22
- "build": "react-script build",
23
- "test": "react-scripts test",
24
- "eject": "react-scripts eject",
25
19
  "clean": "rimraf dist",
26
20
  "compile": "npm run clean && mkdir dist && tsc"
27
21
  },
@@ -42,11 +36,5 @@
42
36
  "last 1 firefox version",
43
37
  "last 1 safari version"
44
38
  ]
45
- },
46
- "devDependencies": {
47
- "@babel/cli": "^7.22.5",
48
- "@babel/preset-env": "^7.22.5",
49
- "@babel/preset-react": "^7.22.5",
50
- "cross-env": "^7.0.3"
51
39
  }
52
40
  }
package/src/svg.d.ts ADDED
@@ -0,0 +1,10 @@
1
+ declare module "*.svg" {
2
+ import * as React from "react";
3
+
4
+ export const ReactComponent: React.FunctionComponent<
5
+ React.SVGProps<SVGSVGElement> & { title?: string }
6
+ >;
7
+
8
+ const src: string;
9
+ export default src;
10
+ }
package/tsconfig.json CHANGED
@@ -17,6 +17,6 @@
17
17
  "isolatedModules": true,
18
18
  "jsx": "react-jsx"
19
19
  },
20
- "include": ["src/cds", "src/react-app-env.d.ts"],
20
+ "include": ["src/cds", "src/svg.d.ts"],
21
21
  "exclude": ["node_modules", "dist"]
22
22
  }
@@ -1 +0,0 @@
1
- /// <reference types="react-scripts" />