Skip to content

Commit 84769cb

Browse files
committed
fix: dependency flow
1 parent bbc05e1 commit 84769cb

File tree

11 files changed

+318
-314
lines changed

11 files changed

+318
-314
lines changed

.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
VERSION=0.0.8
1+
VERSION=0.0.9

typescript/package.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "tempojs",
3-
"version": "0.0.5",
3+
"version": "0.0.9",
44
"description": "something",
55
"private": true,
66
"workspaces": [
@@ -26,9 +26,8 @@
2626
"vitest": "^0.30.1"
2727
},
2828
"dependencies": {
29-
"@tempojs/client": "^0.0.5",
30-
"@tempojs/common": "^0.0.5",
31-
"@tempojs/server": "^0.0.5",
32-
"bebop": "^2.8.3"
29+
"@tempojs/client": "^0.0.9",
30+
"@tempojs/common": "^0.0.9",
31+
"@tempojs/server": "^0.0.9"
3332
}
3433
}

typescript/packages/cf-router/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tempojs/cloudflare-worker-router",
3-
"version": "0.0.5",
3+
"version": "0.0.9",
44
"description": "",
55
"main": "./dist/index.js",
66
"module": "./dist/index.mjs",
@@ -19,7 +19,7 @@
1919
"author": "andrew",
2020
"license": "",
2121
"dependencies": {
22-
"@tempojs/server": "^0.0.5"
22+
"@tempojs/server": "^0.0.9"
2323
},
2424
"devDependencies": {
2525
"@cloudflare/workers-types": "^4.20221111.1"

typescript/packages/client/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tempojs/client",
3-
"version": "0.0.5",
3+
"version": "0.0.9",
44
"description": "xrpc client",
55
"main": "./dist/index.js",
66
"module": "./dist/index.mjs",
@@ -16,6 +16,6 @@
1616
"test": "vitest"
1717
},
1818
"dependencies": {
19-
"@tempojs/common": "^0.0.5"
19+
"@tempojs/common": "^0.0.9"
2020
}
2121
}

typescript/packages/common/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tempojs/common",
3-
"version": "0.0.5",
3+
"version": "0.0.9",
44
"description": "tempo common",
55
"main": "./dist/index.js",
66
"module": "./dist/index.mjs",
@@ -12,6 +12,9 @@
1212
"types": "./dist/index.d.ts"
1313
}
1414
},
15+
"dependencies": {
16+
"bebop": "^2.8.4"
17+
},
1518
"scripts": {
1619
"test": "vitest"
1720
}

typescript/packages/common/src/credential.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
import { describe, expect, it } from 'vitest';
22
import { Credential, parseCredential, stringifyCredential } from './credential';
3+
import { Guid } from 'bebop';
34

45
describe('Credential', () => {
6+
const id = Guid.newGuid();
57
const testCredential: Credential = {
68
token: 'abc123',
79
claims: new Map<string, string>([
810
['id😄😄😄', 'user_123'],
911
['email', 'jane.doe@example.com'],
1012
['username', 'jane_doe'],
1113
]),
12-
roles: ['admin', 'editor', 42, BigInt(7), true, false],
14+
roles: ['admin', 'editor', 42, BigInt(7), true, false, id],
1315
signature: 'xyz789',
1416
};
1517

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const TempoVersion = '0.0.5';
1+
export const TempoVersion = '0.0.9';

typescript/packages/node-http/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tempojs/node-http-router",
3-
"version": "0.0.5",
3+
"version": "0.0.9",
44
"description": "tempo node http",
55
"main": "./dist/index.js",
66
"module": "./dist/index.mjs",
@@ -19,6 +19,6 @@
1919
"@types/node": "^14.14.31"
2020
},
2121
"dependencies": {
22-
"@tempojs/server": "^0.0.5"
22+
"@tempojs/server": "^0.0.9"
2323
}
2424
}

typescript/packages/server/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tempojs/server",
3-
"version": "0.0.5",
3+
"version": "0.0.9",
44
"description": "tempo server",
55
"main": "./dist/index.js",
66
"module": "./dist/index.mjs",
@@ -16,6 +16,6 @@
1616
"test": "vitest"
1717
},
1818
"dependencies": {
19-
"@tempojs/common": "^0.0.5"
19+
"@tempojs/common": "^0.0.9"
2020
}
2121
}

typescript/tsup.config.json

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
{
2-
"clean": true,
3-
"dts": false,
4-
"entry": ["src/index.ts"],
5-
"format": ["cjs", "esm"],
6-
"minify": false,
7-
"sourcemap": true,
8-
"splitting": false,
9-
"outDir": "./dist"
10-
}
2+
"clean": true,
3+
"dts": false,
4+
"entry": ["src/index.ts"],
5+
"format": ["cjs", "esm"],
6+
"minify": false,
7+
"sourcemap": true,
8+
"splitting": false,
9+
"outDir": "./dist",
10+
"external": ["bebop", "@tempojs/common", "@tempojs/server", "@tempojs/client"]
11+
}

0 commit comments

Comments
 (0)