@knapsack/test-ava 4.71.16 → 4.71.17--canary.5251.cc77be8.0

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,17 +1,3 @@
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
1
  # v4.71.13 (Wed Dec 04 2024)
16
2
 
17
3
  #### 🐛 Bug Fix
package/ava.config.cjs CHANGED
@@ -1,10 +1,15 @@
1
1
  const { join } = require('path');
2
- const base = require('./base.cjs');
2
+
3
+ // all CI systems have this env var set
4
+ const isCi = !!process.env.CI;
3
5
 
4
6
  module.exports = {
5
- ...base,
6
7
  files: ['tests/**/*.test.*', 'src/**/*.test.*', '!dist', '!node_modules'],
7
8
  extensions: ['ts', 'cjs', 'mjs', 'js'],
8
9
  // 'dotenv/config' here laods .env files if found within project
9
10
  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,
10
15
  };
@@ -1,7 +1,4 @@
1
- const base = require('./base.cjs');
2
-
3
1
  module.exports = {
4
- ...base,
5
2
  files: ['tests/**/*.test.*', 'src/**/*.test.*', '!dist', '!node_modules'],
6
3
  require: [require.resolve('dotenv/config')],
7
4
  typescript: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@knapsack/test-ava",
3
3
  "description": "",
4
- "version": "4.71.16",
4
+ "version": "4.71.17--canary.5251.cc77be8.0",
5
5
  "bin": "./bin.js",
6
6
  "main": "ava.config.cjs",
7
7
  "exports": {
@@ -29,13 +29,13 @@
29
29
  "@babel/preset-env": "^7.26.0",
30
30
  "@babel/preset-typescript": "^7.26.0",
31
31
  "@babel/register": "^7.25.9",
32
- "@knapsack/creator-utils": "4.71.16",
32
+ "@knapsack/creator-utils": "4.71.17--canary.5251.cc77be8.0",
33
33
  "ava": "^6.2.0",
34
34
  "dotenv": "^16.4.5"
35
35
  },
36
36
  "devDependencies": {
37
- "@knapsack/eslint-config-starter": "4.71.16",
38
- "@knapsack/typescript-config-starter": "4.71.16",
37
+ "@knapsack/eslint-config-starter": "4.71.17--canary.5251.cc77be8.0",
38
+ "@knapsack/typescript-config-starter": "4.71.17--canary.5251.cc77be8.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": "9807af7e7efc7b6190b4184dc508e37b17bcf359"
51
+ "gitHead": "cc77be82a604261c193f9d4a69c6acb57cd3e5e0"
52
52
  }
package/base.cjs DELETED
@@ -1,9 +0,0 @@
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
- };