@feasibleone/blong-test 1.0.0 → 1.0.4
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 +44 -0
- package/adapter/backend.ts +5 -0
- package/adapter/testDispatch.ts +5 -0
- package/browser.ts +32 -0
- package/config/heft.json +29 -0
- package/dist/adapter/backend.js +5 -0
- package/dist/adapter/backend.js.map +1 -0
- package/dist/adapter/testDispatch.js +5 -0
- package/dist/adapter/testDispatch.js.map +1 -0
- package/dist/browser.js +32 -0
- package/dist/browser.js.map +1 -0
- package/dist/server.js +24 -0
- package/dist/server.js.map +1 -0
- package/package.json +16 -4
- package/server.ts +24 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## [1.0.4](https://github.com/feasibleone/blong/compare/blong-test-v1.0.3...blong-test-v1.0.4) (2026-01-25)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* update keywords in package.json files for consistency ([3a391a7](https://github.com/feasibleone/blong/commit/3a391a740e4e9d33a0f0c23aa9be9d8f59013bf8))
|
|
9
|
+
|
|
10
|
+
## [1.0.3](https://github.com/feasibleone/blong/compare/blong-test-v1.0.2...blong-test-v1.0.3) (2026-01-25)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* update repository URLs in package.json files for consistency ([a1856ea](https://github.com/feasibleone/blong/commit/a1856ea8d9ef44495a8776e72b18b81a7e692e7f))
|
|
16
|
+
|
|
17
|
+
## [1.0.2](https://github.com/feasibleone/blong/compare/blong-test-v1.0.1...blong-test-v1.0.2) (2026-01-25)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* add repository field to package.json files for consistency ([0d881d5](https://github.com/feasibleone/blong/commit/0d881d58fbaf52a03c6a4e89e50901c3440c56f6))
|
|
23
|
+
|
|
24
|
+
## [1.0.1](https://github.com/feasibleone/blong/compare/blong-test-v1.0.0...blong-test-v1.0.1) (2026-01-25)
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
### Bug Fixes
|
|
28
|
+
|
|
29
|
+
* add descriptions to package.json files for clarity ([36dd517](https://github.com/feasibleone/blong/commit/36dd517dd2caee4e25ecbb4ef2a3be5e126d125b))
|
|
30
|
+
|
|
31
|
+
## 1.0.0 (2026-01-25)
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
### Features
|
|
35
|
+
|
|
36
|
+
* update dependencies across multiple packages ([03269a5](https://github.com/feasibleone/blong/commit/03269a57405c53a3d6f16f7531f82cde2a31c5cc))
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
### Bug Fixes
|
|
40
|
+
|
|
41
|
+
* add ci-publish script to package.json and include blong-test in release-please config ([b982769](https://github.com/feasibleone/blong/commit/b9827690fce7844fcf45d1287fbd87baea0723cd))
|
|
42
|
+
* add ESLint configuration files and update Watch class to use FSWatcher type ([3f358aa](https://github.com/feasibleone/blong/commit/3f358aae8c00cd223a612225f4663a054678d198))
|
|
43
|
+
* prepare for publishing ([6c4e8b1](https://github.com/feasibleone/blong/commit/6c4e8b1da59f5c79ddda19708276d746af6a64ca))
|
|
44
|
+
* update package.json to correctly define peerDependencies and remove unnecessary dependencies ([eb55a88](https://github.com/feasibleone/blong/commit/eb55a88b4883f4d4feef014dfe0537c8e6b4a90e))
|
package/browser.ts
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import {realm} from '@feasibleone/blong';
|
|
2
|
+
|
|
3
|
+
export default realm(blong => ({
|
|
4
|
+
url: import.meta.url,
|
|
5
|
+
validation: blong.type.Object({
|
|
6
|
+
error: blong.type.Boolean(),
|
|
7
|
+
adapter: blong.type.Boolean(),
|
|
8
|
+
backend: blong.type.Object({
|
|
9
|
+
logLevel: blong.type.String(),
|
|
10
|
+
imports: blong.type.Array(blong.type.Unknown()),
|
|
11
|
+
url: blong.type.String(),
|
|
12
|
+
}),
|
|
13
|
+
test: blong.type.Object({}),
|
|
14
|
+
}),
|
|
15
|
+
children: ['./adapter'],
|
|
16
|
+
config: {
|
|
17
|
+
default: {
|
|
18
|
+
error: true,
|
|
19
|
+
adapter: true,
|
|
20
|
+
backend: {
|
|
21
|
+
logLevel: 'fatal',
|
|
22
|
+
imports: [/\.backend$/, 'codec.jsonrpc', 'codec.mle'],
|
|
23
|
+
url: 'http://localhost:8080',
|
|
24
|
+
},
|
|
25
|
+
testDispatch: {
|
|
26
|
+
namespace: ['test'],
|
|
27
|
+
imports: [/\.test$/],
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
dev: {},
|
|
31
|
+
},
|
|
32
|
+
}));
|
package/config/heft.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://developer.microsoft.com/json-schemas/heft/v0/heft.schema.json",
|
|
3
|
+
|
|
4
|
+
"phasesByName": {
|
|
5
|
+
// Define a phase whose name is "build"
|
|
6
|
+
"build": {
|
|
7
|
+
"phaseDescription": "This phase compiles the project source code.",
|
|
8
|
+
|
|
9
|
+
// Before invoking the compiler, delete the "dist" and "lib" folders
|
|
10
|
+
"cleanFiles": [{"sourcePath": "dist"}, {"sourcePath": "lib"}],
|
|
11
|
+
|
|
12
|
+
"tasksByName": {
|
|
13
|
+
// Define a task whose name is "typescript"
|
|
14
|
+
"typescript": {
|
|
15
|
+
"taskPlugin": {
|
|
16
|
+
// This task will invoke the TypeScript plugin
|
|
17
|
+
"pluginPackage": "@rushstack/heft-typescript-plugin"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"lint": {
|
|
21
|
+
"taskDependencies": ["typescript"],
|
|
22
|
+
"taskPlugin": {
|
|
23
|
+
"pluginPackage": "@rushstack/heft-lint-plugin"
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"backend.js","sourceRoot":"","sources":["../../adapter/backend.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAE7C,eAAe,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC;IAC1B,OAAO,EAAE,cAAc;CAC1B,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"testDispatch.js","sourceRoot":"","sources":["../../adapter/testDispatch.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAAC,MAAM,oBAAoB,CAAC;AAEhD,eAAe,YAAY,CAAC,GAAG,EAAE,CAAC,CAAC;IAC/B,OAAO,EAAE,uBAAuB;CACnC,CAAC,CAAC,CAAC"}
|
package/dist/browser.js
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { realm } from '@feasibleone/blong';
|
|
2
|
+
export default realm(blong => ({
|
|
3
|
+
url: import.meta.url,
|
|
4
|
+
validation: blong.type.Object({
|
|
5
|
+
error: blong.type.Boolean(),
|
|
6
|
+
adapter: blong.type.Boolean(),
|
|
7
|
+
backend: blong.type.Object({
|
|
8
|
+
logLevel: blong.type.String(),
|
|
9
|
+
imports: blong.type.Array(blong.type.Unknown()),
|
|
10
|
+
url: blong.type.String(),
|
|
11
|
+
}),
|
|
12
|
+
test: blong.type.Object({}),
|
|
13
|
+
}),
|
|
14
|
+
children: ['./adapter'],
|
|
15
|
+
config: {
|
|
16
|
+
default: {
|
|
17
|
+
error: true,
|
|
18
|
+
adapter: true,
|
|
19
|
+
backend: {
|
|
20
|
+
logLevel: 'fatal',
|
|
21
|
+
imports: [/\.backend$/, 'codec.jsonrpc', 'codec.mle'],
|
|
22
|
+
url: 'http://localhost:8080',
|
|
23
|
+
},
|
|
24
|
+
testDispatch: {
|
|
25
|
+
namespace: ['test'],
|
|
26
|
+
imports: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AAC;aACvB;SACJ;QACD,GAAG,EAAE,EAAE;KACV;CACJ,CAAC,CAAC,CAAC"}
|
package/dist/server.js
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { realm } from '@feasibleone/blong';
|
|
2
|
+
export default realm(blong => ({
|
|
3
|
+
url: import.meta.url,
|
|
4
|
+
validation: blong.type.Object({
|
|
5
|
+
error: blong.type.Boolean(),
|
|
6
|
+
adapter: blong.type.Boolean(),
|
|
7
|
+
backend: blong.type.Boolean(),
|
|
8
|
+
test: blong.type.Object({}),
|
|
9
|
+
}),
|
|
10
|
+
children: ['./adapter'],
|
|
11
|
+
config: {
|
|
12
|
+
default: {
|
|
13
|
+
error: true,
|
|
14
|
+
adapter: true,
|
|
15
|
+
backend: false,
|
|
16
|
+
testDispatch: {
|
|
17
|
+
namespace: ['test'],
|
|
18
|
+
imports: [/\.test$/],
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
dev: {},
|
|
22
|
+
},
|
|
23
|
+
}));
|
|
24
|
+
//# sourceMappingURL=server.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"server.js","sourceRoot":"","sources":["../server.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,EAAC,MAAM,oBAAoB,CAAC;AAEzC,eAAe,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;IAC3B,GAAG,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG;IACpB,UAAU,EAAE,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC;QAC1B,KAAK,EAAE,KAAK,CAAC,IAAI,CAAC,OAAO,EAAE;QAC3B,OAAO,EAAE,KAAK,CAAC,IAAI,CAAC,OAAO,EAAE;QAC7B,OAAO,EAAE,KAAK,CAAC,IAAI,CAAC,OAAO,EAAE;QAC7B,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;KAC9B,CAAC;IACF,QAAQ,EAAE,CAAC,WAAW,CAAC;IACvB,MAAM,EAAE;QACJ,OAAO,EAAE;YACL,KAAK,EAAE,IAAI;YACX,OAAO,EAAE,IAAI;YACb,OAAO,EAAE,KAAK;YACd,YAAY,EAAE;gBACV,SAAS,EAAE,CAAC,MAAM,CAAC;gBACnB,OAAO,EAAE,CAAC,SAAS,CAAC;aACvB;SACJ;QACD,GAAG,EAAE,EAAE;KACV;CACJ,CAAC,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,15 +1,27 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@feasibleone/blong-test",
|
|
3
|
+
"description": "Development and unit testing utilities for the Blong framework",
|
|
4
|
+
"keywords": [
|
|
5
|
+
"blong",
|
|
6
|
+
"rad",
|
|
7
|
+
"framework"
|
|
8
|
+
],
|
|
9
|
+
"repository": {
|
|
10
|
+
"url": "git+https://github.com/feasibleone/blong.git"
|
|
11
|
+
},
|
|
3
12
|
"scripts": {
|
|
4
13
|
"build": "heft build --clean",
|
|
5
|
-
"ci-unit": "true"
|
|
14
|
+
"ci-unit": "true",
|
|
15
|
+
"ci-publish": "npm publish --access public --provenance"
|
|
6
16
|
},
|
|
7
17
|
"type": "module",
|
|
8
|
-
"version": "1.0.
|
|
9
|
-
"dependencies": {
|
|
10
|
-
|
|
18
|
+
"version": "1.0.4",
|
|
19
|
+
"dependencies": {},
|
|
20
|
+
"peerDependencies": {
|
|
21
|
+
"@feasibleone/blong": "^1.0.0"
|
|
11
22
|
},
|
|
12
23
|
"devDependencies": {
|
|
24
|
+
"@feasibleone/blong": "workspace:^1.0.0",
|
|
13
25
|
"@rushstack/eslint-config": "^4.0.1",
|
|
14
26
|
"@rushstack/heft-lint-plugin": "^1.1.10",
|
|
15
27
|
"@rushstack/heft-typescript-plugin": "^1.1.7",
|
package/server.ts
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import {realm} from '@feasibleone/blong';
|
|
2
|
+
|
|
3
|
+
export default realm(blong => ({
|
|
4
|
+
url: import.meta.url,
|
|
5
|
+
validation: blong.type.Object({
|
|
6
|
+
error: blong.type.Boolean(),
|
|
7
|
+
adapter: blong.type.Boolean(),
|
|
8
|
+
backend: blong.type.Boolean(),
|
|
9
|
+
test: blong.type.Object({}),
|
|
10
|
+
}),
|
|
11
|
+
children: ['./adapter'],
|
|
12
|
+
config: {
|
|
13
|
+
default: {
|
|
14
|
+
error: true,
|
|
15
|
+
adapter: true,
|
|
16
|
+
backend: false,
|
|
17
|
+
testDispatch: {
|
|
18
|
+
namespace: ['test'],
|
|
19
|
+
imports: [/\.test$/],
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
dev: {},
|
|
23
|
+
},
|
|
24
|
+
}));
|