@knapsack/typescript-config-starter 4.72.0--canary.4986.9e14d73.0 → 4.72.0--canary.5313.31d559e.0
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +127 -0
- package/dist/typescript-creator.d.ts.map +1 -1
- package/dist/typescript-creator.js +28 -17
- package/dist/typescript-creator.js.map +1 -1
- package/package.json +5 -5
- package/tsconfig.base.json +3 -1
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,130 @@
|
|
1
|
+
# v4.71.16 (Thu Dec 05 2024)
|
2
|
+
|
3
|
+
#### 🐛 Bug Fix
|
4
|
+
|
5
|
+
- refactor React Renderer to use `tsc` for build [#5224](https://github.com/knapsack-labs/app-monorepo/pull/5224) ([@EvanLovely](https://github.com/EvanLovely) [@mabry1985](https://github.com/mabry1985))
|
6
|
+
|
7
|
+
#### Authors: 2
|
8
|
+
|
9
|
+
- Evan Lovely ([@EvanLovely](https://github.com/EvanLovely))
|
10
|
+
- Josh Mabry ([@mabry1985](https://github.com/mabry1985))
|
11
|
+
|
12
|
+
---
|
13
|
+
|
14
|
+
# v4.71.13 (Wed Dec 04 2024)
|
15
|
+
|
16
|
+
#### 🐛 Bug Fix
|
17
|
+
|
18
|
+
- Bump version to: v4.71.12 \[skip ci\] ([@KnapsackBot](https://github.com/KnapsackBot))
|
19
|
+
- Update CHANGELOG.md \[skip ci\] ([@KnapsackBot](https://github.com/KnapsackBot))
|
20
|
+
- Bump version to: v4.71.11 \[skip ci\] ([@KnapsackBot](https://github.com/KnapsackBot))
|
21
|
+
- Merge branch 'latest' into feature/ksp-5777-gsk-sso-issues ([@illepic](https://github.com/illepic))
|
22
|
+
|
23
|
+
#### 🏠 Internal
|
24
|
+
|
25
|
+
- adds evt handlers for design src logs [#5194](https://github.com/knapsack-labs/app-monorepo/pull/5194) ([@mabry1985](https://github.com/mabry1985))
|
26
|
+
- setup login w popup [#5209](https://github.com/knapsack-labs/app-monorepo/pull/5209) ([@GormanDesign](https://github.com/GormanDesign) [@mabry1985](https://github.com/mabry1985) [@EvanLovely](https://github.com/EvanLovely) [@KnapsackBot](https://github.com/KnapsackBot) [@illepic](https://github.com/illepic))
|
27
|
+
- migrate to new Figma oAuth endpoints and configuration [#5206](https://github.com/knapsack-labs/app-monorepo/pull/5206) ([@mabry1985](https://github.com/mabry1985))
|
28
|
+
|
29
|
+
#### Authors: 5
|
30
|
+
|
31
|
+
- Christopher Bloom ([@illepic](https://github.com/illepic))
|
32
|
+
- Evan Lovely ([@EvanLovely](https://github.com/EvanLovely))
|
33
|
+
- Josh Mabry ([@mabry1985](https://github.com/mabry1985))
|
34
|
+
- KnapsackBot ([@KnapsackBot](https://github.com/KnapsackBot))
|
35
|
+
- Matt Gorman ([@GormanDesign](https://github.com/GormanDesign))
|
36
|
+
|
37
|
+
---
|
38
|
+
|
39
|
+
# v4.71.12 (Thu Nov 21 2024)
|
40
|
+
|
41
|
+
#### 🐛 Bug Fix
|
42
|
+
|
43
|
+
- Fix component alignment in pattern stage and embeds [#5138](https://github.com/knapsack-labs/app-monorepo/pull/5138) ([@GormanDesign](https://github.com/GormanDesign))
|
44
|
+
- Merge branch 'latest' into feature/ksp-5732-fix-component-alignment-in-pattern-stage-and-embeds ([@GormanDesign](https://github.com/GormanDesign))
|
45
|
+
|
46
|
+
#### Authors: 1
|
47
|
+
|
48
|
+
- Matt Gorman ([@GormanDesign](https://github.com/GormanDesign))
|
49
|
+
|
50
|
+
---
|
51
|
+
|
52
|
+
# v4.71.10 (Thu Nov 21 2024)
|
53
|
+
|
54
|
+
#### 🐛 Bug Fix
|
55
|
+
|
56
|
+
- fix prop reordering doesnt stick [#5196](https://github.com/knapsack-labs/app-monorepo/pull/5196) ([@mabry1985](https://github.com/mabry1985))
|
57
|
+
|
58
|
+
#### Authors: 1
|
59
|
+
|
60
|
+
- Josh Mabry ([@mabry1985](https://github.com/mabry1985))
|
61
|
+
|
62
|
+
---
|
63
|
+
|
64
|
+
# v4.71.9 (Wed Nov 20 2024)
|
65
|
+
|
66
|
+
#### 🏠 Internal
|
67
|
+
|
68
|
+
- setup TS strict mode KSP-5492 [#5183](https://github.com/knapsack-labs/app-monorepo/pull/5183) ([@EvanLovely](https://github.com/EvanLovely))
|
69
|
+
|
70
|
+
#### Authors: 1
|
71
|
+
|
72
|
+
- Evan Lovely ([@EvanLovely](https://github.com/EvanLovely))
|
73
|
+
|
74
|
+
---
|
75
|
+
|
76
|
+
# v4.71.8 (Fri Nov 15 2024)
|
77
|
+
|
78
|
+
#### 🐛 Bug Fix
|
79
|
+
|
80
|
+
- Merge branch 'latest' into feature/KSP-5764-add-button-modes ([@brittanysmart](https://github.com/brittanysmart))
|
81
|
+
- Merge branch 'latest' into GormanDesign-patch-2 ([@GormanDesign](https://github.com/GormanDesign))
|
82
|
+
|
83
|
+
#### 🏠 Internal
|
84
|
+
|
85
|
+
- update gsk-digital-channels sso page content [#5178](https://github.com/knapsack-labs/app-monorepo/pull/5178) ([@GormanDesign](https://github.com/GormanDesign))
|
86
|
+
- fix figma tiles show processing message indefinitely [#5179](https://github.com/knapsack-labs/app-monorepo/pull/5179) ([@mabry1985](https://github.com/mabry1985))
|
87
|
+
|
88
|
+
#### Authors: 3
|
89
|
+
|
90
|
+
- Brittany Smart ([@brittanysmart](https://github.com/brittanysmart))
|
91
|
+
- Josh Mabry ([@mabry1985](https://github.com/mabry1985))
|
92
|
+
- Matt Gorman ([@GormanDesign](https://github.com/GormanDesign))
|
93
|
+
|
94
|
+
---
|
95
|
+
|
96
|
+
# v4.71.6 (Thu Nov 14 2024)
|
97
|
+
|
98
|
+
#### 🐛 Bug Fix
|
99
|
+
|
100
|
+
- Merge branch 'latest' into feature/ksp-5437-update-auth0-node-sdk ([@freneticpixel](https://github.com/freneticpixel))
|
101
|
+
- Merge branch 'latest' into feature/ksp-5710-collections-block-filters ([@GormanDesign](https://github.com/GormanDesign))
|
102
|
+
- Merge remote-tracking branch 'origin/latest' into feature/ksp-5437-update-auth0-node-sdk ([@freneticpixel](https://github.com/freneticpixel))
|
103
|
+
|
104
|
+
#### Authors: 2
|
105
|
+
|
106
|
+
- Jim Frenette ([@freneticpixel](https://github.com/freneticpixel))
|
107
|
+
- Matt Gorman ([@GormanDesign](https://github.com/GormanDesign))
|
108
|
+
|
109
|
+
---
|
110
|
+
|
111
|
+
# v4.71.5 (Tue Nov 05 2024)
|
112
|
+
|
113
|
+
#### 🐛 Bug Fix
|
114
|
+
|
115
|
+
- Merge branch 'latest' into feature/ksp-5668-handle-figma-blocks-when-updating-design-source-file ([@GormanDesign](https://github.com/GormanDesign))
|
116
|
+
|
117
|
+
#### 🏠 Internal
|
118
|
+
|
119
|
+
- Update Typescript [#5051](https://github.com/knapsack-labs/app-monorepo/pull/5051) ([@renovate[bot]](https://github.com/renovate[bot]))
|
120
|
+
|
121
|
+
#### Authors: 2
|
122
|
+
|
123
|
+
- [@renovate[bot]](https://github.com/renovate[bot])
|
124
|
+
- Matt Gorman ([@GormanDesign](https://github.com/GormanDesign))
|
125
|
+
|
126
|
+
---
|
127
|
+
|
1
128
|
# v4.71.1 (Wed Oct 23 2024)
|
2
129
|
|
3
130
|
#### 🐛 Bug Fix
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"typescript-creator.d.ts","sourceRoot":"","sources":["../src/typescript-creator.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"typescript-creator.d.ts","sourceRoot":"","sources":["../src/typescript-creator.ts"],"names":[],"mappings":"AAwCA,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgIlC,CAAC;AAEH,eAAe,uBAAuB,CAAC"}
|
@@ -9,6 +9,10 @@ const assert_1 = __importDefault(require("assert"));
|
|
9
9
|
const path_1 = require("path");
|
10
10
|
const fs_1 = require("fs");
|
11
11
|
const { pkg } = (0, creator_utils_1.findUpPkgJson)(__dirname);
|
12
|
+
const pkgName = pkg.name;
|
13
|
+
if (typeof pkgName !== 'string') {
|
14
|
+
throw new Error('pkg.name is not a string');
|
15
|
+
}
|
12
16
|
const choices = [
|
13
17
|
{
|
14
18
|
value: 'build',
|
@@ -53,8 +57,12 @@ exports.typescriptConfigCreator = (0, creator_utils_1.createCreator)({
|
|
53
57
|
configFile = exportType === 'universal' ? 'build' : configFile;
|
54
58
|
const isCjs = exportType === 'cjs';
|
55
59
|
const { tsConfigJson, scriptName } = (() => {
|
60
|
+
const configFilePath = files.get(configFile);
|
61
|
+
if (typeof configFilePath !== 'string') {
|
62
|
+
throw new Error('configFilePath is not a string');
|
63
|
+
}
|
56
64
|
const tsconfig = {
|
57
|
-
extends: (0, path_1.join)(
|
65
|
+
extends: (0, path_1.join)(pkgName, configFilePath),
|
58
66
|
compilerOptions: {
|
59
67
|
// @ts-expect-error just need to update `TsConfigJson` types to allow this
|
60
68
|
module: 'NodeNext',
|
@@ -107,23 +115,26 @@ exports.typescriptConfigCreator = (0, creator_utils_1.createCreator)({
|
|
107
115
|
},
|
108
116
|
{
|
109
117
|
title: 'Updating package.json',
|
110
|
-
task: async () =>
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
?
|
121
|
-
|
122
|
-
|
123
|
-
|
118
|
+
task: async () => {
|
119
|
+
var _a, _b;
|
120
|
+
return creator_utils_1.tasks.updatePkgJson({
|
121
|
+
dir: (0, creator_utils_1.findUpPkgJson)(dest).pkgPath,
|
122
|
+
pkg: {
|
123
|
+
scripts: {
|
124
|
+
[`${scriptName}build`]: exportType === 'universal' ? 'tsup' : 'tsc',
|
125
|
+
},
|
126
|
+
devDependencies: {
|
127
|
+
[pkgName]: pkg.version,
|
128
|
+
typescript: (_a = pkg.dependencies) === null || _a === void 0 ? void 0 : _a.typescript,
|
129
|
+
...(exportType === 'universal'
|
130
|
+
? {
|
131
|
+
tsup: (_b = pkg.devDependencies) === null || _b === void 0 ? void 0 : _b.tsup,
|
132
|
+
}
|
133
|
+
: {}),
|
134
|
+
},
|
124
135
|
},
|
125
|
-
}
|
126
|
-
}
|
136
|
+
});
|
137
|
+
},
|
127
138
|
},
|
128
139
|
{
|
129
140
|
title: 'Writing tsup config',
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"typescript-creator.js","sourceRoot":"","sources":["../src/typescript-creator.ts"],"names":[],"mappings":";;;;;;AAAA,2DAKiC;AACjC,oDAA4B;AAC5B,+BAA4B;AAC5B,2BAAgC;AAEhC,MAAM,EAAE,GAAG,EAAE,GAAG,IAAA,6BAAa,EAAC,SAAS,CAAC,CAAC;
|
1
|
+
{"version":3,"file":"typescript-creator.js","sourceRoot":"","sources":["../src/typescript-creator.ts"],"names":[],"mappings":";;;;;;AAAA,2DAKiC;AACjC,oDAA4B;AAC5B,+BAA4B;AAC5B,2BAAgC;AAEhC,MAAM,EAAE,GAAG,EAAE,GAAG,IAAA,6BAAa,EAAC,SAAS,CAAC,CAAC;AACzC,MAAM,OAAO,GAAG,GAAG,CAAC,IAAI,CAAC;AACzB,IAAI,OAAO,OAAO,KAAK,QAAQ,EAAE,CAAC;IAChC,MAAM,IAAI,KAAK,CAAC,0BAA0B,CAAC,CAAC;AAC9C,CAAC;AAED,MAAM,OAAO,GAAG;IACd;QACE,KAAK,EAAE,OAAO;KACf;IACD;QACE,KAAK,EAAE,mBAAmB;KAC3B;IACD;QACE,KAAK,EAAE,WAAW;KACnB;IACD;QACE,KAAK,EAAE,MAAM;KACd;CACO,CAAC;AAEX,MAAM,KAAK,GAAG,IAAI,GAAG,CACnB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE;IACxB,MAAM,IAAI,GAAG,YAAY,KAAK,OAAO,CAAC;IACtC,MAAM,QAAQ,GAAG,IAAA,WAAI,EAAC,SAAS,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IAC7C,gBAAM,CAAC,EAAE,CAAC,IAAA,eAAU,EAAC,QAAQ,CAAC,EAAE,wBAAwB,QAAQ,EAAE,CA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EAAE,IAAA,6BAAa,EAAC,IAAI,CAAC,CAAC,OAAO;wBAChC,GAAG,EAAE;4BACH,OAAO,EAAE;gCACP,CAAC,GAAG,UAAU,OAAO,CAAC,EACpB,UAAU,KAAK,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK;6BAC9C;4BACD,eAAe,EAAE;gCACf,CAAC,OAAO,CAAC,EAAE,GAAG,CAAC,OAAO;gCACtB,UAAU,EAAE,MAAA,GAAG,CAAC,YAAY,0CAAE,UAAU;gCACxC,GAAG,CAAC,UAAU,KAAK,WAAW;oCAC5B,CAAC,CAAC;wCACE,IAAI,EAAE,MAAA,GAAG,CAAC,eAAe,0CAAE,IAAI;qCAChC;oCACH,CAAC,CAAC,EAAE,CAAC;6BACR;yBACF;qBACF,CAAC,CAAA;iBAAA;aACL;YACD;gBACE,KAAK,EAAE,qBAAqB;gBAC5B,IAAI,EAAE,UAAU,KAAK,WAAW;gBAChC,IAAI,EAAE,KAAK,IAAI,EAAE,CACf,qBAAK,CAAC,kBAAkB,CAAC;oBACvB,IAAI,EAAE,IAAA,WAAI,EAAC,IAAI,EAAE,mBAAmB,CAAC;oBACrC,QAAQ,EAAE;;;;;;WAMX;iBACA,CAAC;aACL;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEH,kBAAe,+BAAuB,CAAC"}
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@knapsack/typescript-config-starter",
|
3
3
|
"description": "",
|
4
|
-
"version": "4.72.0--canary.
|
4
|
+
"version": "4.72.0--canary.5313.31d559e.0",
|
5
5
|
"bin": "./bin.js",
|
6
6
|
"main": "./tsconfig.base.json",
|
7
7
|
"exports": {
|
@@ -29,13 +29,13 @@
|
|
29
29
|
"test": "tsc --project ./tsconfig.self-pkg-test.json"
|
30
30
|
},
|
31
31
|
"dependencies": {
|
32
|
-
"@knapsack/creator-utils": "4.72.0--canary.
|
32
|
+
"@knapsack/creator-utils": "4.72.0--canary.5313.31d559e.0",
|
33
33
|
"typescript": "^5.6.3"
|
34
34
|
},
|
35
35
|
"devDependencies": {
|
36
|
-
"@knapsack/eslint-config-starter": "4.72.0--canary.
|
36
|
+
"@knapsack/eslint-config-starter": "4.72.0--canary.5313.31d559e.0",
|
37
37
|
"eslint": "^8.57.0",
|
38
|
-
"tsup": "^8.3.
|
38
|
+
"tsup": "^8.3.5"
|
39
39
|
},
|
40
40
|
"license": "GPL-2.0-or-later",
|
41
41
|
"publishConfig": {
|
@@ -46,5 +46,5 @@
|
|
46
46
|
"directory": "tools/typescript-config-starter",
|
47
47
|
"type": "git"
|
48
48
|
},
|
49
|
-
"gitHead": "
|
49
|
+
"gitHead": "31d559ecb396c0d66f822f42bd0256c931ad6d4c"
|
50
50
|
}
|
package/tsconfig.base.json
CHANGED
@@ -21,7 +21,9 @@
|
|
21
21
|
"noImplicitOverride": true,
|
22
22
|
"strict": false,
|
23
23
|
"noImplicitAny": true,
|
24
|
-
"strictNullChecks":
|
24
|
+
"strictNullChecks": true,
|
25
|
+
"useUnknownInCatchVariables": false,
|
26
|
+
"strictPropertyInitialization": false,
|
25
27
|
"preserveWatchOutput": false,
|
26
28
|
"pretty": true
|
27
29
|
},
|