@jcoreio/toolchain-typescript 5.10.6 → 5.10.8

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jcoreio/toolchain-typescript",
3
- "version": "5.10.6",
3
+ "version": "5.10.8",
4
4
  "description": "TypeScript JS build toolchain",
5
5
  "repository": {
6
6
  "type": "git",
@@ -14,23 +14,23 @@
14
14
  },
15
15
  "homepage": "https://github.com/jcoreio/toolchains/tree/main/packages/typescript",
16
16
  "dependencies": {
17
+ "@arethetypeswrong/cli": "0.18.2",
17
18
  "@babel/core": "^7.26.0",
18
19
  "@babel/preset-typescript": "^7.26.0",
19
20
  "@typescript-eslint/eslint-plugin": "^8.19.1",
20
21
  "@typescript-eslint/parser": "^8.19.1",
21
22
  "eslint": "^9.18.0",
23
+ "fflate": "0.8.2",
22
24
  "json5": "^2.2.1",
23
25
  "typescript-eslint": "^8.29.0",
24
- "@jcoreio/toolchain": "5.10.6",
25
- "@jcoreio/toolchain-esnext": "5.10.6"
26
+ "@jcoreio/toolchain-esnext": "5.10.8",
27
+ "@jcoreio/toolchain": "5.10.8"
26
28
  },
27
29
  "peerDependencies": {
28
30
  "typescript": "^5.1.0"
29
31
  },
30
32
  "devDependencies": {
31
- "typescript": "^5.1.0",
32
- "@arethetypeswrong/cli": "0.18.2",
33
- "fflate": "0.8.2"
33
+ "typescript": "^5.1.0"
34
34
  },
35
35
  "toolchainManaged": {
36
36
  "devDependencies": {
@@ -1,5 +1,9 @@
1
1
  const execa = require('@jcoreio/toolchain/util/execa.cjs')
2
- const { toolchainConfig } = require('@jcoreio/toolchain/util/findUps.cjs')
2
+ const path = require('path')
3
+ const {
4
+ projectDir,
5
+ toolchainConfig,
6
+ } = require('@jcoreio/toolchain/util/findUps.cjs')
3
7
 
4
8
  module.exports = [
5
9
  async function smokeTestBuild() {
@@ -7,16 +11,14 @@ module.exports = [
7
11
  'pnpm',
8
12
  [
9
13
  'exec',
10
- // used to just dlx the package but we need to pin transitive deps to work
11
- // around bugs
12
14
  'attw',
13
15
  '--pack',
14
- '.',
16
+ path.join(projectDir, 'dist'),
15
17
  ...(toolchainConfig.outputCjs === false ?
16
18
  ['--profile', 'esm-only']
17
19
  : []),
18
20
  ],
19
- { cwd: 'dist' }
21
+ { cwd: __dirname }
20
22
  )
21
23
  },
22
24
  ]