@xoong/server 0.0.39 → 0.0.42

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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/src/node.js +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xoong/server",
3
- "version": "0.0.39",
3
+ "version": "0.0.42",
4
4
  "description": "xoong server: one (Request) => Response handler for static files, an API proxy and TypeScript type stripping, plus a Node adapter. Dev and optional production use; never shipped to the browser.",
5
5
  "type": "module",
6
6
  "exports": {
@@ -32,7 +32,7 @@
32
32
  "bugs": {
33
33
  "url": "https://github.com/fpt-duongtx/xoong/issues"
34
34
  },
35
- "homepage": "https://github.com/fpt-duongtx/xoong#readme",
35
+ "homepage": "https://fpt-duongtx.github.io/xoong/",
36
36
  "publishConfig": {
37
37
  "access": "public"
38
38
  }
package/src/node.js CHANGED
@@ -44,11 +44,11 @@ async function packageDirOf(entry, name) {
44
44
 
45
45
  /**
46
46
  * Find installed @xoong/* packages from `from` and describe how to serve them to the browser.
47
- * URL prefixes: @xoong/core -> /@xoong/core; the unscoped umbrella `xoong` -> /vendor/xoong.
47
+ * URL prefixes: @xoong/core -> /@xoong/core; the umbrella @xoong/xoong -> /@xoong/xoong, like every scoped package.
48
48
  * @param {string} from a folder inside the project
49
49
  * @param {string[]} names
50
50
  */
51
- export async function findPackages(from, names = ['@xoong/core', '@xoong/data', '@xoong/forms', '@xoong/i18n', '@xoong/controls', '@xoong/richtext', '@xoong/ui', 'xoong'], extra = []) {
51
+ export async function findPackages(from, names = ['@xoong/core', '@xoong/data', '@xoong/forms', '@xoong/i18n', '@xoong/controls', '@xoong/richtext', '@xoong/ui', '@xoong/xoong'], extra = []) {
52
52
  const require = createRequire(join(resolve(from), 'noop.js'));
53
53
  const xoong = new Set(names);
54
54
  names = [...names, ...extra.filter((n) => !xoong.has(n))];