@atlaspack/types-internal 2.18.0 → 2.19.0
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 +11 -0
- package/lib/{index.d.ts → types/index.d.ts} +3 -1
- package/package.json +6 -5
- package/src/index.ts +4 -1
- /package/lib/{Cache.d.ts → types/Cache.d.ts} +0 -0
- /package/lib/{DependencySpecifier.d.ts → types/DependencySpecifier.d.ts} +0 -0
- /package/lib/{FileCreateInvalidation.d.ts → types/FileCreateInvalidation.d.ts} +0 -0
- /package/lib/{FilePath.d.ts → types/FilePath.d.ts} +0 -0
- /package/lib/{FileSystem.d.ts → types/FileSystem.d.ts} +0 -0
- /package/lib/{Glob.d.ts → types/Glob.d.ts} +0 -0
- /package/lib/{NapiWorkerPool.d.ts → types/NapiWorkerPool.d.ts} +0 -0
- /package/lib/{PackageManager.d.ts → types/PackageManager.d.ts} +0 -0
- /package/lib/{PackageName.d.ts → types/PackageName.d.ts} +0 -0
- /package/lib/{SemverRange.d.ts → types/SemverRange.d.ts} +0 -0
- /package/lib/{unsafe.d.ts → types/unsafe.d.ts} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @atlaspack/types-internal
|
|
2
2
|
|
|
3
|
+
## 2.19.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#732](https://github.com/atlassian-labs/atlaspack/pull/732) [`7f5841c`](https://github.com/atlassian-labs/atlaspack/commit/7f5841c39df049f9546cccbeea2a7337e0337b45) Thanks [@vykimnguyen](https://github.com/vykimnguyen)! - add tesseract context
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [[`73dd7ba`](https://github.com/atlassian-labs/atlaspack/commit/73dd7baab69456ef2f6e4a0cc7dbb04f407eb148)]:
|
|
12
|
+
- @atlaspack/feature-flags@2.22.0
|
|
13
|
+
|
|
3
14
|
## 2.18.0
|
|
4
15
|
|
|
5
16
|
### Minor Changes
|
|
@@ -92,7 +92,7 @@ export interface Target {
|
|
|
92
92
|
readonly loc: SourceLocation | null | undefined;
|
|
93
93
|
}
|
|
94
94
|
/** In which environment the output should run (influces e.g. bundle loaders) */
|
|
95
|
-
export type EnvironmentContext = 'browser' | 'web-worker' | 'service-worker' | 'worklet' | 'node' | 'electron-main' | 'electron-renderer';
|
|
95
|
+
export type EnvironmentContext = 'browser' | 'web-worker' | 'service-worker' | 'worklet' | 'node' | 'electron-main' | 'electron-renderer' | 'tesseract';
|
|
96
96
|
/** The JS module format for the bundle output */
|
|
97
97
|
export type OutputFormat = 'esmodule' | 'commonjs' | 'global';
|
|
98
98
|
/**
|
|
@@ -189,6 +189,8 @@ export interface Environment {
|
|
|
189
189
|
isWorker(): boolean;
|
|
190
190
|
/** Whether <code>context</code> specifies a worklet context. */
|
|
191
191
|
isWorklet(): boolean;
|
|
192
|
+
/** Whether <code>context</code> specifies a tesseract context. */
|
|
193
|
+
isTesseract(): boolean;
|
|
192
194
|
/** Whether <code>context</code> specifies an isolated context (can't access other loaded ancestor bundles). */
|
|
193
195
|
isIsolated(): boolean;
|
|
194
196
|
matchesEngines(minVersions: VersionMap, defaultValue?: boolean): boolean;
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaspack/types-internal",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.19.0",
|
|
4
4
|
"license": "(MIT OR Apache-2.0)",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"source": "./src/index.ts",
|
|
7
|
-
"types": "./lib/index.d.ts",
|
|
7
|
+
"types": "./lib/types/index.d.ts",
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|
|
10
10
|
"url": "https://github.com/atlassian-labs/atlaspack.git"
|
|
@@ -13,13 +13,14 @@
|
|
|
13
13
|
"access": "public"
|
|
14
14
|
},
|
|
15
15
|
"scripts": {
|
|
16
|
-
"check-ts": "tsc --emitDeclarationOnly --rootDir src"
|
|
16
|
+
"check-ts": "tsc --emitDeclarationOnly --rootDir src",
|
|
17
|
+
"build:lib": "gulp build --gulpfile ../../../gulpfile.js --cwd ."
|
|
17
18
|
},
|
|
18
19
|
"dependencies": {
|
|
19
20
|
"@atlaspack/diagnostic": "2.14.2",
|
|
20
|
-
"@atlaspack/feature-flags": "2.
|
|
21
|
+
"@atlaspack/feature-flags": "2.22.0",
|
|
21
22
|
"@parcel/source-map": "^2.1.1",
|
|
22
23
|
"utility-types": "^3.10.0"
|
|
23
24
|
},
|
|
24
25
|
"type": "commonjs"
|
|
25
|
-
}
|
|
26
|
+
}
|
package/src/index.ts
CHANGED
|
@@ -170,7 +170,8 @@ export type EnvironmentContext =
|
|
|
170
170
|
| 'worklet'
|
|
171
171
|
| 'node'
|
|
172
172
|
| 'electron-main'
|
|
173
|
-
| 'electron-renderer'
|
|
173
|
+
| 'electron-renderer'
|
|
174
|
+
| 'tesseract';
|
|
174
175
|
|
|
175
176
|
/** The JS module format for the bundle output */
|
|
176
177
|
export type OutputFormat = 'esmodule' | 'commonjs' | 'global';
|
|
@@ -291,6 +292,8 @@ export interface Environment {
|
|
|
291
292
|
isWorker(): boolean;
|
|
292
293
|
/** Whether <code>context</code> specifies a worklet context. */
|
|
293
294
|
isWorklet(): boolean;
|
|
295
|
+
/** Whether <code>context</code> specifies a tesseract context. */
|
|
296
|
+
isTesseract(): boolean;
|
|
294
297
|
/** Whether <code>context</code> specifies an isolated context (can't access other loaded ancestor bundles). */
|
|
295
298
|
isIsolated(): boolean;
|
|
296
299
|
matchesEngines(minVersions: VersionMap, defaultValue?: boolean): boolean;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|