@knapsack/test-ava 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 CHANGED
@@ -1,3 +1,152 @@
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
+ - disable workerThreads in CI ([@EvanLovely](https://github.com/EvanLovely))
7
+
8
+ #### Authors: 2
9
+
10
+ - Evan Lovely ([@EvanLovely](https://github.com/EvanLovely))
11
+ - Josh Mabry ([@mabry1985](https://github.com/mabry1985))
12
+
13
+ ---
14
+
15
+ # v4.71.13 (Wed Dec 04 2024)
16
+
17
+ #### 🐛 Bug Fix
18
+
19
+ - Bump version to: v4.71.12 \[skip ci\] ([@KnapsackBot](https://github.com/KnapsackBot))
20
+ - Update CHANGELOG.md \[skip ci\] ([@KnapsackBot](https://github.com/KnapsackBot))
21
+ - Bump version to: v4.71.11 \[skip ci\] ([@KnapsackBot](https://github.com/KnapsackBot))
22
+ - Merge branch 'latest' into feature/ksp-5777-gsk-sso-issues ([@illepic](https://github.com/illepic))
23
+
24
+ #### 🏠 Internal
25
+
26
+ - adds evt handlers for design src logs [#5194](https://github.com/knapsack-labs/app-monorepo/pull/5194) ([@mabry1985](https://github.com/mabry1985))
27
+ - 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))
28
+ - migrate to new Figma oAuth endpoints and configuration [#5206](https://github.com/knapsack-labs/app-monorepo/pull/5206) ([@mabry1985](https://github.com/mabry1985))
29
+
30
+ #### Authors: 5
31
+
32
+ - Christopher Bloom ([@illepic](https://github.com/illepic))
33
+ - Evan Lovely ([@EvanLovely](https://github.com/EvanLovely))
34
+ - Josh Mabry ([@mabry1985](https://github.com/mabry1985))
35
+ - KnapsackBot ([@KnapsackBot](https://github.com/KnapsackBot))
36
+ - Matt Gorman ([@GormanDesign](https://github.com/GormanDesign))
37
+
38
+ ---
39
+
40
+ # v4.71.12 (Thu Nov 21 2024)
41
+
42
+ #### 🐛 Bug Fix
43
+
44
+ - Fix component alignment in pattern stage and embeds [#5138](https://github.com/knapsack-labs/app-monorepo/pull/5138) ([@GormanDesign](https://github.com/GormanDesign))
45
+ - Merge branch 'latest' into feature/ksp-5732-fix-component-alignment-in-pattern-stage-and-embeds ([@GormanDesign](https://github.com/GormanDesign))
46
+
47
+ #### Authors: 1
48
+
49
+ - Matt Gorman ([@GormanDesign](https://github.com/GormanDesign))
50
+
51
+ ---
52
+
53
+ # v4.71.10 (Thu Nov 21 2024)
54
+
55
+ #### 🐛 Bug Fix
56
+
57
+ - fix prop reordering doesnt stick [#5196](https://github.com/knapsack-labs/app-monorepo/pull/5196) ([@mabry1985](https://github.com/mabry1985))
58
+
59
+ #### Authors: 1
60
+
61
+ - Josh Mabry ([@mabry1985](https://github.com/mabry1985))
62
+
63
+ ---
64
+
65
+ # v4.71.9 (Wed Nov 20 2024)
66
+
67
+ #### 🏠 Internal
68
+
69
+ - setup TS strict mode KSP-5492 [#5183](https://github.com/knapsack-labs/app-monorepo/pull/5183) ([@EvanLovely](https://github.com/EvanLovely))
70
+
71
+ #### Authors: 1
72
+
73
+ - Evan Lovely ([@EvanLovely](https://github.com/EvanLovely))
74
+
75
+ ---
76
+
77
+ # v4.71.8 (Fri Nov 15 2024)
78
+
79
+ #### 🐛 Bug Fix
80
+
81
+ - Merge branch 'latest' into feature/KSP-5764-add-button-modes ([@brittanysmart](https://github.com/brittanysmart))
82
+ - Merge branch 'latest' into GormanDesign-patch-2 ([@GormanDesign](https://github.com/GormanDesign))
83
+
84
+ #### 🏠 Internal
85
+
86
+ - update gsk-digital-channels sso page content [#5178](https://github.com/knapsack-labs/app-monorepo/pull/5178) ([@GormanDesign](https://github.com/GormanDesign))
87
+ - fix figma tiles show processing message indefinitely [#5179](https://github.com/knapsack-labs/app-monorepo/pull/5179) ([@mabry1985](https://github.com/mabry1985))
88
+
89
+ #### Authors: 3
90
+
91
+ - Brittany Smart ([@brittanysmart](https://github.com/brittanysmart))
92
+ - Josh Mabry ([@mabry1985](https://github.com/mabry1985))
93
+ - Matt Gorman ([@GormanDesign](https://github.com/GormanDesign))
94
+
95
+ ---
96
+
97
+ # v4.71.6 (Thu Nov 14 2024)
98
+
99
+ #### 🐛 Bug Fix
100
+
101
+ - Merge branch 'latest' into feature/ksp-5738-text-editor-block-has-stale-state ([@mabry1985](https://github.com/mabry1985))
102
+ - Merge branch 'latest' into feature/nuke-old-claims ([@illepic](https://github.com/illepic))
103
+ - Merge branch 'latest' into feature/ksp-5437-update-auth0-node-sdk ([@freneticpixel](https://github.com/freneticpixel))
104
+ - Merge branch 'latest' into feature/ksp-5710-collections-block-filters ([@GormanDesign](https://github.com/GormanDesign))
105
+ - Merge remote-tracking branch 'origin/latest' into feature/ksp-5437-update-auth0-node-sdk ([@freneticpixel](https://github.com/freneticpixel))
106
+
107
+ #### 🏠 Internal
108
+
109
+ - Update babel [#5074](https://github.com/knapsack-labs/app-monorepo/pull/5074) ([@renovate[bot]](https://github.com/renovate[bot]))
110
+
111
+ #### Authors: 5
112
+
113
+ - [@renovate[bot]](https://github.com/renovate[bot])
114
+ - Christopher Bloom ([@illepic](https://github.com/illepic))
115
+ - Jim Frenette ([@freneticpixel](https://github.com/freneticpixel))
116
+ - Josh Mabry ([@mabry1985](https://github.com/mabry1985))
117
+ - Matt Gorman ([@GormanDesign](https://github.com/GormanDesign))
118
+
119
+ ---
120
+
121
+ # v4.71.5 (Tue Nov 05 2024)
122
+
123
+ #### 🐛 Bug Fix
124
+
125
+ - Merge branch 'latest' into feature/ksp-5668-handle-figma-blocks-when-updating-design-source-file ([@GormanDesign](https://github.com/GormanDesign))
126
+
127
+ #### 🏠 Internal
128
+
129
+ - Update Typescript [#5051](https://github.com/knapsack-labs/app-monorepo/pull/5051) ([@renovate[bot]](https://github.com/renovate[bot]))
130
+
131
+ #### Authors: 2
132
+
133
+ - [@renovate[bot]](https://github.com/renovate[bot])
134
+ - Matt Gorman ([@GormanDesign](https://github.com/GormanDesign))
135
+
136
+ ---
137
+
138
+ # v4.71.4 (Tue Oct 29 2024)
139
+
140
+ #### 🏠 Internal
141
+
142
+ - Update dependency ava to ^6.2.0 [#5022](https://github.com/knapsack-labs/app-monorepo/pull/5022) ([@renovate[bot]](https://github.com/renovate[bot]))
143
+
144
+ #### Authors: 1
145
+
146
+ - [@renovate[bot]](https://github.com/renovate[bot])
147
+
148
+ ---
149
+
1
150
  # v4.71.1 (Wed Oct 23 2024)
2
151
 
3
152
  #### 🐛 Bug Fix
package/ava.config.cjs CHANGED
@@ -1,15 +1,10 @@
1
1
  const { join } = require('path');
2
-
3
- // all CI systems have this env var set
4
- const isCi = !!process.env.CI;
2
+ const base = require('./base.cjs');
5
3
 
6
4
  module.exports = {
5
+ ...base,
7
6
  files: ['tests/**/*.test.*', 'src/**/*.test.*', '!dist', '!node_modules'],
8
7
  extensions: ['ts', 'cjs', 'mjs', 'js'],
9
8
  // 'dotenv/config' here laods .env files if found within project
10
9
  require: [join(__dirname, './prep.js'), require.resolve('dotenv/config')],
11
- failWithoutAssertions: true,
12
- timeout: '30s',
13
- // can result in timeout errors using some task runners, like turborepo
14
- workerThreads: !isCi,
15
10
  };
@@ -1,4 +1,7 @@
1
+ const base = require('./base.cjs');
2
+
1
3
  module.exports = {
4
+ ...base,
2
5
  files: ['tests/**/*.test.*', 'src/**/*.test.*', '!dist', '!node_modules'],
3
6
  require: [require.resolve('dotenv/config')],
4
7
  typescript: {
package/base.cjs ADDED
@@ -0,0 +1,9 @@
1
+ // all CI systems have this env var set
2
+ const isCi = !!process.env.CI;
3
+
4
+ module.exports = {
5
+ failWithoutAssertions: true,
6
+ timeout: '30s',
7
+ // can result in timeout errors using some task runners, like turborepo
8
+ workerThreads: !isCi,
9
+ };
@@ -1 +1 @@
1
- {"version":3,"file":"test-ava-creator.d.ts","sourceRoot":"","sources":["../src/test-ava-creator.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,cAAc,gGAsDzB,CAAC"}
1
+ {"version":3,"file":"test-ava-creator.d.ts","sourceRoot":"","sources":["../src/test-ava-creator.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,cAAc,gGAyDzB,CAAC"}
@@ -3,11 +3,18 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.testAvaCreator = void 0;
4
4
  const creator_utils_1 = require("@knapsack/creator-utils");
5
5
  const { pkg } = (0, creator_utils_1.findUpPkgJson)(__dirname);
6
+ const pkgName = pkg.name;
7
+ if (typeof pkgName !== 'string') {
8
+ throw new Error('pkg.name is not a string');
9
+ }
6
10
  exports.testAvaCreator = (0, creator_utils_1.createCreator)({
7
11
  id: 'test-ava',
8
12
  getQuestions: async () => ({}),
9
- getTasks: async ({ answers }) => {
13
+ getTasks: async () => {
10
14
  const { pkg: { name, scripts, type }, pkgPath, } = (0, creator_utils_1.findUpPkgJson)(process.cwd());
15
+ if (typeof name !== 'string') {
16
+ throw new Error('pkg.name is not a string');
17
+ }
11
18
  const baseName = (0, creator_utils_1.removeNpmScope)(name);
12
19
  const isMjs = type === 'module';
13
20
  return [
@@ -35,18 +42,21 @@ exports.testAvaCreator = (0, creator_utils_1.createCreator)({
35
42
  },
36
43
  {
37
44
  title: 'Update package.json',
38
- task: async () => creator_utils_1.tasks.updatePkgJson({
39
- dir: pkgPath,
40
- pkg: {
41
- scripts: {
42
- [scripts.test ? 'test:ava' : 'test']: 'ava',
45
+ task: async () => {
46
+ var _a;
47
+ return creator_utils_1.tasks.updatePkgJson({
48
+ dir: pkgPath,
49
+ pkg: {
50
+ scripts: {
51
+ [(scripts === null || scripts === void 0 ? void 0 : scripts.test) ? 'test:ava' : 'test']: 'ava',
52
+ },
53
+ devDependencies: {
54
+ [pkgName]: pkg.version,
55
+ ava: ((_a = pkg.dependencies) === null || _a === void 0 ? void 0 : _a.ava) || 'latest',
56
+ },
43
57
  },
44
- devDependencies: {
45
- [pkg.name]: pkg.version,
46
- ava: pkg.dependencies.ava || 'latest',
47
- },
48
- },
49
- }),
58
+ });
59
+ },
50
60
  },
51
61
  ];
52
62
  },
@@ -1 +1 @@
1
- {"version":3,"file":"test-ava-creator.js","sourceRoot":"","sources":["../src/test-ava-creator.ts"],"names":[],"mappings":";;;AAAA,2DAKiC;AAEjC,MAAM,EAAE,GAAG,EAAE,GAAG,IAAA,6BAAa,EAAC,SAAS,CAAC,CAAC;AAE5B,QAAA,cAAc,GAAG,IAAA,6BAAa,EAAC;IAC1C,EAAE,EAAE,UAAU;IACd,YAAY,EAAE,KAAK,IAAI,EAAE,CAAC,CAAC,EAAE,CAAC;IAC9B,QAAQ,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE;QAC9B,MAAM,EACJ,GAAG,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,EAC5B,OAAO,GACR,GAAG,IAAA,6BAAa,EAAC,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC;QACjC,MAAM,QAAQ,GAAG,IAAA,8BAAc,EAAC,IAAI,CAAC,CAAC;QACtC,MAAM,KAAK,GAAG,IAAI,KAAK,QAAQ,CAAC;QAChC,OAAO;YACL;gBACE,KAAK,EAAE,aAAa;gBACpB,IAAI,EAAE,KAAK,IAAI,EAAE,CACf,qBAAK,CAAC,kBAAkB,CAAC;oBACvB,eAAe,EAAE,YAAY;oBAC7B,KAAK,EAAE;wBACL,gBAAgB,EAAE;4BAChB,6CACE,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EACnB,KAAK;4BACL,EAAE;4BACF,0BAA0B;yBAC3B;wBACD,GAAG,EAAE;4BACH,CAAC,GAAG,QAAQ,U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test-ava",
3
3
  "description": "",
4
- "version": "4.72.0--canary.4986.9e14d73.0",
4
+ "version": "4.72.0--canary.5313.31d559e.0",
5
5
  "bin": "./bin.js",
6
6
  "main": "ava.config.cjs",
7
7
  "exports": {
@@ -25,17 +25,17 @@
25
25
  },
26
26
  "dependencies": {
27
27
  "@ava/typescript": "^4.1.0",
28
- "@babel/plugin-transform-runtime": "^7.25.7",
29
- "@babel/preset-env": "^7.25.7",
30
- "@babel/preset-typescript": "^7.25.7",
31
- "@babel/register": "^7.25.7",
32
- "@knapsack/creator-utils": "4.72.0--canary.4986.9e14d73.0",
33
- "ava": "^6.1.3",
28
+ "@babel/plugin-transform-runtime": "^7.25.9",
29
+ "@babel/preset-env": "^7.26.0",
30
+ "@babel/preset-typescript": "^7.26.0",
31
+ "@babel/register": "^7.25.9",
32
+ "@knapsack/creator-utils": "4.72.0--canary.5313.31d559e.0",
33
+ "ava": "^6.2.0",
34
34
  "dotenv": "^16.4.5"
35
35
  },
36
36
  "devDependencies": {
37
- "@knapsack/eslint-config-starter": "4.72.0--canary.4986.9e14d73.0",
38
- "@knapsack/typescript-config-starter": "4.72.0--canary.4986.9e14d73.0",
37
+ "@knapsack/eslint-config-starter": "4.72.0--canary.5313.31d559e.0",
38
+ "@knapsack/typescript-config-starter": "4.72.0--canary.5313.31d559e.0",
39
39
  "eslint": "^8.57.0",
40
40
  "typescript": "^5.6.3"
41
41
  },
@@ -48,5 +48,5 @@
48
48
  "directory": "tools/test-ava",
49
49
  "type": "git"
50
50
  },
51
- "gitHead": "9e14d734e81479f68f0d66e79b95dbb4f6d20503"
51
+ "gitHead": "31d559ecb396c0d66f822f42bd0256c931ad6d4c"
52
52
  }