@feasibleone/blong-test 1.0.4 → 1.0.6
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 +18 -0
- package/README.md +12 -0
- package/dist/package.json +41 -0
- package/package.json +7 -1
- package/adapter/backend.ts +0 -5
- package/adapter/testDispatch.ts +0 -5
- package/browser.ts +0 -32
- package/config/heft.json +0 -29
- package/server.ts +0 -24
- package/tsconfig.json +0 -23
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.0.6](https://github.com/feasibleone/blong/compare/blong-test-v1.0.5...blong-test-v1.0.6) (2026-01-25)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* add exports for package.json in login and test modules ([5041cb7](https://github.com/feasibleone/blong/commit/5041cb7c8d63cb631f5c7ba27cc8c840deade2c9))
|
|
9
|
+
* add include field for package.json and TypeScript files in tsconfig.json ([9086f1d](https://github.com/feasibleone/blong/commit/9086f1d49cfe30c730bb9e473f6a1c6484917d76))
|
|
10
|
+
* add package.json export to login and test modules ([59a9a60](https://github.com/feasibleone/blong/commit/59a9a608177bed306b47d9969d66e89ba12ecf50))
|
|
11
|
+
* correct exports field in package.json and add .npmignore for test module ([1cf8edc](https://github.com/feasibleone/blong/commit/1cf8edc22acfb00437f84c7fcb13591d918544ff))
|
|
12
|
+
* filter out falsy values in loaded modules and update tsconfig includes ([cb00bb4](https://github.com/feasibleone/blong/commit/cb00bb4afce43ad58281bc290d8f94e1cd8f887e))
|
|
13
|
+
|
|
14
|
+
## [1.0.5](https://github.com/feasibleone/blong/compare/blong-test-v1.0.4...blong-test-v1.0.5) (2026-01-25)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* update tagline in Docusaurus config and add README files for login and test modules ([0dd37a4](https://github.com/feasibleone/blong/commit/0dd37a48a34d622e16544917a3f6ca89acbae43f))
|
|
20
|
+
|
|
3
21
|
## [1.0.4](https://github.com/feasibleone/blong/compare/blong-test-v1.0.3...blong-test-v1.0.4) (2026-01-25)
|
|
4
22
|
|
|
5
23
|
|
package/README.md
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<!-- markdownlint-disable MD033 MD041 -->
|
|
2
|
+
<div align="center">
|
|
3
|
+
|
|
4
|
+

|
|
5
|
+
|
|
6
|
+
# Blong
|
|
7
|
+
|
|
8
|
+
API and DRY focused RAD framework
|
|
9
|
+
|
|
10
|
+
[](https://feasibleone.github.io/blong-docs/)
|
|
11
|
+
|
|
12
|
+
</div>
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{
|
|
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
|
+
},
|
|
12
|
+
"scripts": {
|
|
13
|
+
"build": "heft build --clean",
|
|
14
|
+
"ci-unit": "true",
|
|
15
|
+
"ci-publish": "npm publish --access public --provenance"
|
|
16
|
+
},
|
|
17
|
+
"exports": {
|
|
18
|
+
"./server.js": "./dist/server.js",
|
|
19
|
+
"./browser.js": "./dist/browser.js",
|
|
20
|
+
"./dist/package.json": "./package.json",
|
|
21
|
+
"./package.json": "./package.json"
|
|
22
|
+
},
|
|
23
|
+
"type": "module",
|
|
24
|
+
"version": "1.0.6",
|
|
25
|
+
"dependencies": {},
|
|
26
|
+
"peerDependencies": {
|
|
27
|
+
"@feasibleone/blong": "^1.0.0"
|
|
28
|
+
},
|
|
29
|
+
"devDependencies": {
|
|
30
|
+
"@feasibleone/blong": "workspace:^1.0.0",
|
|
31
|
+
"@rushstack/eslint-config": "^4.0.1",
|
|
32
|
+
"@rushstack/heft-lint-plugin": "^1.1.10",
|
|
33
|
+
"@rushstack/heft-typescript-plugin": "^1.1.7",
|
|
34
|
+
"@rushstack/heft": "^1.1.7",
|
|
35
|
+
"eslint": "~9.39.2",
|
|
36
|
+
"react-dom": "^18.3.1",
|
|
37
|
+
"react": "^18.3.1",
|
|
38
|
+
"tap": "^21.5.0",
|
|
39
|
+
"typescript": "^5.5.4"
|
|
40
|
+
}
|
|
41
|
+
}
|
package/package.json
CHANGED
|
@@ -14,8 +14,14 @@
|
|
|
14
14
|
"ci-unit": "true",
|
|
15
15
|
"ci-publish": "npm publish --access public --provenance"
|
|
16
16
|
},
|
|
17
|
+
"exports": {
|
|
18
|
+
"./server.js": "./dist/server.js",
|
|
19
|
+
"./browser.js": "./dist/browser.js",
|
|
20
|
+
"./dist/package.json": "./package.json",
|
|
21
|
+
"./package.json": "./package.json"
|
|
22
|
+
},
|
|
17
23
|
"type": "module",
|
|
18
|
-
"version": "1.0.
|
|
24
|
+
"version": "1.0.6",
|
|
19
25
|
"dependencies": {},
|
|
20
26
|
"peerDependencies": {
|
|
21
27
|
"@feasibleone/blong": "^1.0.0"
|
package/adapter/backend.ts
DELETED
package/adapter/testDispatch.ts
DELETED
package/browser.ts
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
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
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
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
|
-
}
|
package/server.ts
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
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
|
-
}));
|
package/tsconfig.json
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"rootDir": ".",
|
|
4
|
-
"allowJs": true,
|
|
5
|
-
"checkJs": false,
|
|
6
|
-
"moduleResolution": "NodeNext",
|
|
7
|
-
"esModuleInterop": true,
|
|
8
|
-
"module": "NodeNext",
|
|
9
|
-
"sourceMap": true,
|
|
10
|
-
"jsx": "react",
|
|
11
|
-
"outDir": "dist",
|
|
12
|
-
"target": "ES2022",
|
|
13
|
-
"resolveJsonModule": true
|
|
14
|
-
},
|
|
15
|
-
"ts-node": {
|
|
16
|
-
"esm": true,
|
|
17
|
-
"swc": true,
|
|
18
|
-
"transpileOnly": true,
|
|
19
|
-
"files": true,
|
|
20
|
-
"experimentalResolver": true
|
|
21
|
-
},
|
|
22
|
-
"exclude": ["node_modules", ".lint", ".docusaurus", "dist"]
|
|
23
|
-
}
|