Skip to content

Commit 5a11f33

Browse files
committed
@atlaspack/types-internal
Remove libgit dependency Uses git CLI instead of libgit since we can't use it fully due to sparse checkouts. Test Plan: yarn test:integration Reviewers: marcins, JakeLane, pancaspe87, csowden-atlassian, alshdavid, mattcompiles Reviewed By: alshdavid, pancaspe87, mattcompiles, csowden-atlassian, marcins, JakeLane Pull Request: #589 Fix: Running benchmarks from temp directory (#590)
1 parent 52fbd74 commit 5a11f33

34 files changed

+104
-83
lines changed

.changeset/olive-deers-jump.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
'@atlaspack/types-internal': patch
3+
'@atlaspack/feature-flags': patch
4+
'@atlaspack/unified': patch
5+
---
6+
7+
Added @atlaspack/types-internal and @atlaspack/feature-flags to @atlaspack/unified

packages/core/core/test/RequestTracker.test.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@ import {DEFAULT_OPTIONS} from './test-utils';
1616
import {FILE_CREATE, FILE_UPDATE, INITIAL_BUILD} from '../src/constants';
1717
import {makeDeferredWithPromise} from '@atlaspack/utils';
1818
import {toProjectPath} from '../src/projectPath';
19-
import {DEFAULT_FEATURE_FLAGS, setFeatureFlags} from '../../../unified/src/feature-flags/index.js';
19+
import {
20+
DEFAULT_FEATURE_FLAGS,
21+
setFeatureFlags,
22+
} from '../../../unified/src/feature-flags/index.js';
2023
import sinon from 'sinon';
2124
import type {AtlaspackOptions} from '../src/types';
2225

packages/core/types-internal/package.json

Lines changed: 0 additions & 25 deletions
This file was deleted.

packages/core/types-internal/scripts/build-ts.js

Lines changed: 0 additions & 16 deletions
This file was deleted.

packages/core/types-internal/scripts/build-ts.sh

Lines changed: 0 additions & 11 deletions
This file was deleted.

packages/dev/eslint-plugin-internal/test/rules/no-relative-import.test.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,15 @@ new RuleTester({
2323
output: "import Logger from '@atlaspack/logger/src/Logger';",
2424
},
2525
{
26-
code: `import type { PluginOptions } from '../../../../core/types-internal/src';`,
26+
code: `import type { PluginOptions } from '../../../../unified/src/types-internal';`,
2727
errors: [
2828
{
29-
message: `Import for monorepo package '@atlaspack/types-internal' should be absolute.`,
29+
message: `Import for monorepo package '@atlaspack/unified' should be absolute.`,
3030
},
3131
],
3232
filename,
33-
output: "import type { PluginOptions } from '@atlaspack/types-internal';",
33+
output:
34+
"import type { PluginOptions } from '@atlaspack/unified/types-internal';",
3435
},
3536
],
3637
});
File renamed without changes.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export * from '@atlaspack/unified/types-internal';
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports = require('@atlaspack/unified/types-internal');
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// @flow
2+
3+
export * from '@atlaspack/unified/src/types-internal/index.js';

0 commit comments

Comments
 (0)