@relayfile/adapter-linear 0.1.1 → 0.1.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/dist/index.js ADDED
@@ -0,0 +1,6 @@
1
+ // Public barrel for runtime helpers, normalizers, and exported types.
2
+ export * from './linear-adapter.js';
3
+ export * from './path-mapper.js';
4
+ export * from './webhook-normalizer.js';
5
+ export * from './types.js';
6
+ //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@relayfile/adapter-linear",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "Linear adapter bootstrap package for Relayfile",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -12,9 +12,10 @@
12
12
  "src"
13
13
  ],
14
14
  "scripts": {
15
- "typecheck": "tsc -p tsconfig.json",
15
+ "typecheck": "tsc --noEmit -p tsconfig.json",
16
16
  "test": "node --import tsx --test src/__tests__/*.test.ts",
17
- "build": "tsc"
17
+ "build": "tsc",
18
+ "prepublishOnly": "npm run build"
18
19
  },
19
20
  "keywords": [
20
21
  "relayfile",
@@ -18,7 +18,7 @@ import {
18
18
  type ProxyRequest,
19
19
  type ProxyResponse,
20
20
  type RelayFileClientLike,
21
- } from '../index.ts';
21
+ } from '../index.js';
22
22
 
23
23
  function createAdapter(config: LinearAdapterConfig = {}): LinearAdapter {
24
24
  const client: RelayFileClientLike = {
@@ -327,7 +327,7 @@ test('computeSemantics extracts issue priority, state, labels, and relations det
327
327
  });
328
328
 
329
329
  test('barrel exports import cleanly for runtime and type-checked usage', async () => {
330
- const barrel = await import('../index.ts');
330
+ const barrel = await import('../index.js');
331
331
 
332
332
  assert.equal(barrel.LinearAdapter, LinearAdapter);
333
333
  assert.equal(barrel.computeLinearPath, computeLinearPath);
@@ -5,7 +5,7 @@ import {
5
5
  LINEAR_WEBHOOK_ACTIONS,
6
6
  LINEAR_WEBHOOK_OBJECT_TYPES,
7
7
  type LinearAdapterConfig,
8
- } from '../index.ts';
8
+ } from '../index.js';
9
9
 
10
10
  test('exports supported Linear webhook object types', () => {
11
11
  assert.deepEqual(LINEAR_WEBHOOK_OBJECT_TYPES, ['comment', 'cycle', 'issue', 'project']);
@@ -9,7 +9,7 @@ import {
9
9
  normalizeLinearWebhook,
10
10
  validateLinearWebhookSignature,
11
11
  validateLinearWebhookTimestamp,
12
- } from '../index.ts';
12
+ } from '../index.js';
13
13
 
14
14
  const issuePayload = {
15
15
  action: 'create',
package/src/index.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  // Public barrel for runtime helpers, normalizers, and exported types.
2
- export * from './linear-adapter.ts';
3
- export * from './path-mapper.ts';
4
- export * from './webhook-normalizer.ts';
5
- export * from './types.ts';
2
+ export * from './linear-adapter.js';
3
+ export * from './path-mapper.js';
4
+ export * from './webhook-normalizer.js';
5
+ export * from './types.js';
@@ -7,7 +7,7 @@ import {
7
7
  linearIssuePath,
8
8
  linearProjectPath,
9
9
  normalizeLinearObjectType,
10
- } from './path-mapper.ts';
10
+ } from './path-mapper.js';
11
11
  import type {
12
12
  LinearAdapterConfig,
13
13
  LinearComment,
@@ -19,7 +19,7 @@ import type {
19
19
  LinearState,
20
20
  LinearUser,
21
21
  LinearWebhookPayload,
22
- } from './types.ts';
22
+ } from './types.js';
23
23
 
24
24
  export interface FileSemantics {
25
25
  properties?: Record<string, string>;
@@ -1,6 +1,6 @@
1
1
  import { createHmac, timingSafeEqual } from 'node:crypto';
2
2
 
3
- import type { NormalizedWebhook } from './linear-adapter.ts';
3
+ import type { NormalizedWebhook } from './linear-adapter.js';
4
4
 
5
5
  export const LINEAR_PROVIDER = 'linear';
6
6
  export const LINEAR_SIGNATURE_HEADER = 'linear-signature';