@knapsack/renderer-react 4.68.1--canary.4527.1d3041b.0 → 4.68.1
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +44 -0
- package/package.json +13 -13
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,47 @@
|
|
1
|
+
# v4.68.1 (Sun Aug 18 2024)
|
2
|
+
|
3
|
+
### Release Notes
|
4
|
+
|
5
|
+
#### handle custom pkg path aliases ([#4527](https://github.com/knapsack-labs/app-monorepo/pull/4527))
|
6
|
+
|
7
|
+
Angular Renderer can now do this setting if they have [custom tsconfig paths set](https://www.typescriptlang.org/tsconfig/#paths) for alternative import locations:
|
8
|
+
|
9
|
+
```diff
|
10
|
+
new KnapsackAngularRenderer({
|
11
|
+
customNgModulePath: './ks.module.ts',
|
12
|
+
+ pkgPathAliases: {
|
13
|
+
+ '@my-org/my-pkg': './packages/my-pkg',
|
14
|
+
+ },
|
15
|
+
}),
|
16
|
+
```
|
17
|
+
|
18
|
+
React and Vue Renderers that set a custom `webpackConfig.resolve.alias` setting will now have those same package path arises used in other parts of Knaspack:
|
19
|
+
|
20
|
+
```diff
|
21
|
+
new KnapsackReactRenderer({
|
22
|
+
demoWrapperPath: join(__dirname, './demo-wrapper.tsx'),
|
23
|
+
webpackConfig: {
|
24
|
+
resolve: {
|
25
|
+
+ alias: {
|
26
|
+
+ '@my-org/my-pkg': './packages/my-pkg',
|
27
|
+
+ },
|
28
|
+
},
|
29
|
+
},
|
30
|
+
}),
|
31
|
+
```
|
32
|
+
|
33
|
+
---
|
34
|
+
|
35
|
+
#### 🐛 Bug Fix
|
36
|
+
|
37
|
+
- handle custom pkg path aliases [#4527](https://github.com/knapsack-labs/app-monorepo/pull/4527) ([@EvanLovely](https://github.com/EvanLovely))
|
38
|
+
|
39
|
+
#### Authors: 1
|
40
|
+
|
41
|
+
- Evan Lovely ([@EvanLovely](https://github.com/EvanLovely))
|
42
|
+
|
43
|
+
---
|
44
|
+
|
1
45
|
# v4.68.0 (Fri Aug 16 2024)
|
2
46
|
|
3
47
|
#### 🐛 Bug Fix
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@knapsack/renderer-react",
|
3
3
|
"description": "Render React",
|
4
|
-
"version": "4.68.1
|
4
|
+
"version": "4.68.1",
|
5
5
|
"type": "commonjs",
|
6
6
|
"main": "dist/index.js",
|
7
7
|
"types": "dist/index.d.ts",
|
@@ -31,13 +31,13 @@
|
|
31
31
|
"author": "Knapsack",
|
32
32
|
"dependencies": {
|
33
33
|
"@babel/preset-react": "^7.24.7",
|
34
|
-
"@knapsack/app": "4.68.1
|
35
|
-
"@knapsack/creator-utils": "4.68.1
|
36
|
-
"@knapsack/file-utils": "4.68.1
|
37
|
-
"@knapsack/ks-file-utils": "4.68.1
|
38
|
-
"@knapsack/renderer-webpack-base": "4.68.1
|
39
|
-
"@knapsack/types": "4.68.1
|
40
|
-
"@knapsack/utils": "4.68.1
|
34
|
+
"@knapsack/app": "4.68.1",
|
35
|
+
"@knapsack/creator-utils": "4.68.1",
|
36
|
+
"@knapsack/file-utils": "4.68.1",
|
37
|
+
"@knapsack/ks-file-utils": "4.68.1",
|
38
|
+
"@knapsack/renderer-webpack-base": "4.68.1",
|
39
|
+
"@knapsack/types": "4.68.1",
|
40
|
+
"@knapsack/utils": "4.68.1",
|
41
41
|
"react": "^18.3.1",
|
42
42
|
"react-docgen": "^6.0.4",
|
43
43
|
"react-docgen-typescript": "^2.2.2",
|
@@ -46,10 +46,10 @@
|
|
46
46
|
"typescript": "^5.5.3"
|
47
47
|
},
|
48
48
|
"devDependencies": {
|
49
|
-
"@knapsack/eslint-config-starter": "4.68.1
|
50
|
-
"@knapsack/sandbox-components": "4.68.1
|
51
|
-
"@knapsack/test-ava": "4.68.1
|
52
|
-
"@knapsack/typescript-config-starter": "4.68.1
|
49
|
+
"@knapsack/eslint-config-starter": "4.68.1",
|
50
|
+
"@knapsack/sandbox-components": "4.68.1",
|
51
|
+
"@knapsack/test-ava": "4.68.1",
|
52
|
+
"@knapsack/typescript-config-starter": "4.68.1",
|
53
53
|
"@mui/material": "^5.15.18",
|
54
54
|
"@mui/x-data-grid": "^6.19.11",
|
55
55
|
"@types/node": "^20.14.14",
|
@@ -68,5 +68,5 @@
|
|
68
68
|
"directory": "apps/client/renderers/renderer-react",
|
69
69
|
"type": "git"
|
70
70
|
},
|
71
|
-
"gitHead": "
|
71
|
+
"gitHead": "1e064309e2a5e929eecbb0e51360fcc3f1723022"
|
72
72
|
}
|