@knapsack/renderer-webpack-base 4.68.1--canary.4527.1d3041b.0 → 4.68.1

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/package.json +11 -11
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-webpack-base",
3
3
  "description": "",
4
- "version": "4.68.1--canary.4527.1d3041b.0",
4
+ "version": "4.68.1",
5
5
  "type": "commonjs",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
@@ -21,20 +21,20 @@
21
21
  "test": "time ava"
22
22
  },
23
23
  "dependencies": {
24
- "@knapsack/app": "4.68.1--canary.4527.1d3041b.0",
25
- "@knapsack/babel-config-starter": "4.68.1--canary.4527.1d3041b.0",
26
- "@knapsack/file-utils": "4.68.1--canary.4527.1d3041b.0",
27
- "@knapsack/types": "4.68.1--canary.4527.1d3041b.0",
28
- "@knapsack/utils": "4.68.1--canary.4527.1d3041b.0",
24
+ "@knapsack/app": "4.68.1",
25
+ "@knapsack/babel-config-starter": "4.68.1",
26
+ "@knapsack/file-utils": "4.68.1",
27
+ "@knapsack/types": "4.68.1",
28
+ "@knapsack/utils": "4.68.1",
29
29
  "babel-loader": "^9.1.3",
30
30
  "webpack": "^5.91.0",
31
31
  "webpack-manifest-plugin": "^4.0.2"
32
32
  },
33
33
  "devDependencies": {
34
- "@knapsack/eslint-config-starter": "4.68.1--canary.4527.1d3041b.0",
35
- "@knapsack/prettier-config": "4.68.1--canary.4527.1d3041b.0",
36
- "@knapsack/test-ava": "4.68.1--canary.4527.1d3041b.0",
37
- "@knapsack/typescript-config-starter": "4.68.1--canary.4527.1d3041b.0",
34
+ "@knapsack/eslint-config-starter": "4.68.1",
35
+ "@knapsack/prettier-config": "4.68.1",
36
+ "@knapsack/test-ava": "4.68.1",
37
+ "@knapsack/typescript-config-starter": "4.68.1",
38
38
  "@types/estree": "^1.0.5",
39
39
  "@types/node": "^20.14.14",
40
40
  "@types/webpack": "^5.28.5",
@@ -53,5 +53,5 @@
53
53
  "directory": "apps/client/libs/renderer-webpack-base",
54
54
  "type": "git"
55
55
  },
56
- "gitHead": "1d3041b4854efbae8c051751ec21b1b4a2b752f8"
56
+ "gitHead": "1e064309e2a5e929eecbb0e51360fcc3f1723022"
57
57
  }