@toolpath/dfm 0.4.0 → 1.0.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/README.md +42 -153
- package/dist/chunk-XHYPKN4E.js +3422 -0
- package/dist/index.d.ts +1 -373
- package/dist/index.js +97 -2593
- package/dist/model/index.d.ts +742 -15
- package/dist/model/index.js +72 -1186
- package/package.json +5 -23
- package/dfm.css +0 -10
- package/dist/chunk-5MPHT7BC.js +0 -1599
- package/dist/feature-record-DHbkVpx0.d.ts +0 -535
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@toolpath/dfm",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "Toolpath DFM rules: the
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Toolpath DFM rules: the rules, the part checker, and the rule-set file. Logic only; the views are in @toolpath/ui",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"engines": {
|
|
7
7
|
"node": ">=20"
|
|
@@ -31,44 +31,26 @@
|
|
|
31
31
|
"types": "./dist/model/index.d.ts",
|
|
32
32
|
"import": "./dist/model/index.js"
|
|
33
33
|
},
|
|
34
|
-
"./dfm.css": "./dfm.css",
|
|
35
34
|
"./package.json": "./package.json"
|
|
36
35
|
},
|
|
37
36
|
"files": [
|
|
38
37
|
"dist",
|
|
39
|
-
"dfm.css",
|
|
40
38
|
"LICENSE",
|
|
41
39
|
"README.md"
|
|
42
40
|
],
|
|
43
|
-
"sideEffects":
|
|
44
|
-
"*.css"
|
|
45
|
-
],
|
|
41
|
+
"sideEffects": false,
|
|
46
42
|
"dependencies": {
|
|
47
|
-
"@phosphor-icons/react": "2.1.10",
|
|
48
43
|
"@toolpath/tool-support": "^0.6.0"
|
|
49
44
|
},
|
|
50
|
-
"peerDependencies": {
|
|
51
|
-
"@toolpath/ui": "^1.0.0",
|
|
52
|
-
"react": "^19.0.0",
|
|
53
|
-
"react-dom": "^19.0.0"
|
|
54
|
-
},
|
|
55
45
|
"devDependencies": {
|
|
56
|
-
"@testing-library/jest-dom": "^7.0.1",
|
|
57
|
-
"@testing-library/react": "^16.3.2",
|
|
58
46
|
"@types/node": "24.10.1",
|
|
59
|
-
"@types/react": "^19.0.0",
|
|
60
|
-
"@types/react-dom": "^19.0.0",
|
|
61
|
-
"jsdom": "^30.0.1",
|
|
62
|
-
"react": "19.2.8",
|
|
63
|
-
"react-dom": "19.2.8",
|
|
64
47
|
"tsup": "8.5.1",
|
|
65
48
|
"typescript": "5.9.3",
|
|
66
49
|
"vitest": "4.1.10",
|
|
67
|
-
"@toolpath/
|
|
68
|
-
"@toolpath/api": "^0.7.0"
|
|
50
|
+
"@toolpath/api": "^0.9.0"
|
|
69
51
|
},
|
|
70
52
|
"scripts": {
|
|
71
|
-
"build": "tsup src/index.ts src/model/index.ts --format esm --dts --clean
|
|
53
|
+
"build": "tsup src/index.ts src/model/index.ts --format esm --dts --clean",
|
|
72
54
|
"check-types": "tsc --noEmit",
|
|
73
55
|
"test": "vitest run"
|
|
74
56
|
}
|
package/dfm.css
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Lets the app's Tailwind see the classes the rule list and the feature panel
|
|
3
|
-
* use. Import it after Tailwind and `@toolpath/ui/theme.css`, whose colours
|
|
4
|
-
* they are drawn in:
|
|
5
|
-
*
|
|
6
|
-
* @import 'tailwindcss';
|
|
7
|
-
* @import '@toolpath/ui/theme.css';
|
|
8
|
-
* @import '@toolpath/dfm/dfm.css';
|
|
9
|
-
*/
|
|
10
|
-
@source './dist';
|