oc 0.50.61 → 0.50.63
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/.turbo/turbo-build.log +5 -5
- package/.turbo/turbo-lint.log +2 -2
- package/.turbo/turbo-test-silent.log +12 -11
- package/.turbo/turbo-test.log +1806 -1750
- package/CHANGELOG.md +13 -0
- package/README.md +16 -0
- package/dist/cli/domain/local.js +7 -4
- package/dist/components/oc-client/_package/package.json +4 -4
- package/dist/components/oc-client/_package/server.js +1 -1
- package/dist/components/oc-client/package.json +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/registry/domain/events-handler.d.ts +2 -5
- package/dist/registry/domain/http-server/express-adapter.d.ts +2 -2
- package/dist/registry/domain/http-server/express-adapter.js +47 -2
- package/dist/registry/domain/http-server/types.d.ts +21 -7
- package/dist/registry/domain/metadata-migration.js +8 -1
- package/dist/registry/domain/options-sanitiser.d.ts +8 -2
- package/dist/registry/domain/options-sanitiser.js +2 -0
- package/dist/registry/domain/plugins-initialiser.js +41 -5
- package/dist/registry/domain/repository.js +100 -19
- package/dist/registry/domain/validators/registry-configuration.d.ts +5 -2
- package/dist/registry/domain/validators/registry-configuration.js +5 -0
- package/dist/registry/index.js +50 -29
- package/dist/registry/middleware/cors.d.ts +4 -0
- package/dist/registry/middleware/cors.js +62 -4
- package/dist/registry/router.js +4 -2
- package/dist/registry/routes/component-info.js +3 -2
- package/dist/registry/routes/component-preview.js +3 -2
- package/dist/registry/routes/component.d.ts +2 -1
- package/dist/registry/routes/component.js +1 -2
- package/dist/registry/routes/components.d.ts +2 -1
- package/dist/registry/routes/components.js +1 -2
- package/dist/registry/routes/helpers/get-component.d.ts +2 -1
- package/dist/registry/routes/helpers/get-component.js +7 -8
- package/dist/registry/routes/index.js +11 -7
- package/dist/resources/index.d.ts +5 -1
- package/dist/resources/index.js +5 -1
- package/dist/types.d.ts +31 -3
- package/dist/utils/bounded-cache.d.ts +10 -0
- package/dist/utils/bounded-cache.js +31 -0
- package/js-library-optimization-playbook.md +1379 -0
- package/package.json +4 -3
- package/tsconfig.types.json +10 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oc",
|
|
3
|
-
"version": "0.50.
|
|
3
|
+
"version": "0.50.63",
|
|
4
4
|
"description": "A framework for developing and distributing html components",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -10,10 +10,11 @@
|
|
|
10
10
|
"lint:apply": "npx @biomejs/biome check --write preview src test tasks",
|
|
11
11
|
"preview": "bun run preview/uiPreview.ts",
|
|
12
12
|
"prebuild": "rimraf dist",
|
|
13
|
-
"build": "npm run lint && tsc && node tasks/build.js",
|
|
13
|
+
"build": "npm run lint && tsc && tsc --project tsconfig.types.json && node tasks/build.js",
|
|
14
14
|
"test": "node tasks/mochaTest.js",
|
|
15
15
|
"test-silent": "node tasks/mochaTest.js --silent",
|
|
16
16
|
"bench": "node tasks/benchmarks/server-benchmark.js --repetitions=5",
|
|
17
|
+
"bench:burst": "node tasks/benchmarks/single-flight-burst.js",
|
|
17
18
|
"bench:quick": "node tasks/benchmarks/server-benchmark.js --repetitions=3",
|
|
18
19
|
"bench:update-baseline": "node tasks/benchmarks/server-benchmark.js --repetitions=5 --update-baseline=true",
|
|
19
20
|
"bench:high-load": "node tasks/benchmarks/server-benchmark.js --scenarios=high-load-local,high-load-storage --high-load-repetitions=3"
|
|
@@ -88,9 +89,9 @@
|
|
|
88
89
|
"getport": "^0.1.0",
|
|
89
90
|
"livereload": "^0.10.3",
|
|
90
91
|
"lodash.isequal": "^4.5.0",
|
|
92
|
+
"lru-cache": "^10.4.3",
|
|
91
93
|
"morgan": "^1.11.0",
|
|
92
94
|
"multer": "^2.2.0",
|
|
93
|
-
"nice-cache": "^0.0.5",
|
|
94
95
|
"oc-client": "^4.0.3",
|
|
95
96
|
"oc-client-browser": "^2.1.12",
|
|
96
97
|
"oc-empty-response-handler": "^1.0.2",
|