@atlaspack/ts-utils 2.14.2 → 2.14.3

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/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @atlaspack/ts-utils
2
2
 
3
+ ## 2.14.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`7f5841c`](https://github.com/atlassian-labs/atlaspack/commit/7f5841c39df049f9546cccbeea2a7337e0337b45)]:
8
+ - @atlaspack/types-internal@2.19.0
9
+
3
10
  ## 2.14.2
4
11
 
5
12
  ### Patch Changes
@@ -1,5 +1,4 @@
1
- import type { FileSystem } from '@atlaspack/fs';
2
- import type { FilePath, PluginLogger } from '@atlaspack/types';
1
+ import type { FilePath, FileSystem, PluginLogger } from '@atlaspack/types-internal';
3
2
  import type { CompilerOptions, SourceFile } from 'typescript';
4
3
  import { ScriptTarget } from 'typescript';
5
4
  import { FSHost } from './FSHost';
@@ -1,5 +1,4 @@
1
- import type { FileSystem } from '@atlaspack/fs';
2
- import type { FilePath } from '@atlaspack/types';
1
+ import type { FileSystem, FilePath } from '@atlaspack/types-internal';
3
2
  export declare class FSHost {
4
3
  fs: FileSystem;
5
4
  ts: TypeScriptModule;
@@ -1,5 +1,4 @@
1
- import type { FileSystem } from '@atlaspack/fs';
2
- import type { FilePath } from '@atlaspack/types';
1
+ import type { FileSystem, FilePath } from '@atlaspack/types-internal';
3
2
  import type { CompilerOptions, LanguageServiceHost as ILanguageServiceHost, IScriptSnapshot, ParsedCommandLine } from 'typescript';
4
3
  import { FSHost } from './FSHost';
5
4
  export declare class LanguageServiceHost extends FSHost implements ILanguageServiceHost {
@@ -1,5 +1,4 @@
1
- import type { FileSystem } from '@atlaspack/fs';
2
- import type { FilePath } from '@atlaspack/types';
1
+ import type { FileSystem, FilePath } from '@atlaspack/types-internal';
3
2
  import type { ParseConfigHost as IParseConfigHost } from 'typescript';
4
3
  import { FSHost } from './FSHost';
5
4
  export declare class ParseConfigHost extends FSHost implements IParseConfigHost {
@@ -1,2 +1,2 @@
1
- import type { Config, PluginOptions } from '@atlaspack/types';
1
+ import type { Config, PluginOptions } from '@atlaspack/types-internal';
2
2
  export declare function loadTSConfig(config: Config, options: PluginOptions): Promise<any>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaspack/ts-utils",
3
- "version": "2.14.2",
3
+ "version": "2.14.3",
4
4
  "license": "(MIT OR Apache-2.0)",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -11,11 +11,12 @@
11
11
  },
12
12
  "main": "./lib/index.js",
13
13
  "source": "./src/index.ts",
14
- "types": "./lib/index.d.ts",
14
+ "types": "./lib/types/index.d.ts",
15
15
  "engines": {
16
16
  "node": ">= 16.0.0"
17
17
  },
18
18
  "dependencies": {
19
+ "@atlaspack/types-internal": "2.19.0",
19
20
  "nullthrows": "^1.1.1"
20
21
  },
21
22
  "devDependencies": {
@@ -26,6 +27,7 @@
26
27
  },
27
28
  "type": "commonjs",
28
29
  "scripts": {
29
- "check-ts": "tsc --emitDeclarationOnly --rootDir src"
30
+ "check-ts": "tsc --emitDeclarationOnly --rootDir src",
31
+ "build:lib": "gulp build --gulpfile ../../../gulpfile.js --cwd ."
30
32
  }
31
- }
33
+ }
@@ -1,5 +1,9 @@
1
- import type {FileSystem} from '@atlaspack/fs';
2
- import type {FilePath, PackageJSON, PluginLogger} from '@atlaspack/types';
1
+ import type {
2
+ FilePath,
3
+ FileSystem,
4
+ PackageJSON,
5
+ PluginLogger,
6
+ } from '@atlaspack/types-internal';
3
7
  import TypeScriptModule from 'typescript'; // eslint-disable-line import/no-extraneous-dependencies
4
8
  import type {CompilerOptions, SourceFile} from 'typescript';
5
9
  import {ScriptTarget} from 'typescript'; // eslint-disable-line import/no-extraneous-dependencies
package/src/FSHost.ts CHANGED
@@ -1,5 +1,4 @@
1
- import type {FileSystem} from '@atlaspack/fs';
2
- import type {FilePath} from '@atlaspack/types';
1
+ import type {FileSystem, FilePath} from '@atlaspack/types-internal';
3
2
  import TypeScriptModule from 'typescript'; // eslint-disable-line import/no-extraneous-dependencies
4
3
  import path from 'path';
5
4
 
@@ -1,5 +1,4 @@
1
- import type {FileSystem} from '@atlaspack/fs';
2
- import type {FilePath} from '@atlaspack/types';
1
+ import type {FileSystem, FilePath} from '@atlaspack/types-internal';
3
2
  import TypeScriptModule from 'typescript'; // eslint-disable-line import/no-extraneous-dependencies
4
3
  import type {
5
4
  CompilerOptions,
@@ -1,5 +1,4 @@
1
- import type {FileSystem} from '@atlaspack/fs';
2
- import type {FilePath} from '@atlaspack/types';
1
+ import type {FileSystem, FilePath} from '@atlaspack/types-internal';
3
2
  import TypeScriptModule from 'typescript'; // eslint-disable-line import/no-extraneous-dependencies
4
3
  import type {ParseConfigHost as IParseConfigHost} from 'typescript'; // eslint-disable-line import/no-extraneous-dependencies
5
4
  import {FSHost} from './FSHost';
@@ -1,4 +1,4 @@
1
- import type {Config, PluginOptions} from '@atlaspack/types';
1
+ import type {Config, PluginOptions} from '@atlaspack/types-internal';
2
2
  import {ParseConfigHost} from './ParseConfigHost';
3
3
  import path from 'path';
4
4
  import nullthrows from 'nullthrows';
File without changes