@sealcode/sealgen 0.8.49 → 0.8.51
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/lib/build.js +1 -1
- package/package.json +3 -4
- package/src/build.ts +3 -1
package/lib/build.js
CHANGED
|
@@ -33,7 +33,7 @@ const generate_collections_1 = require("./generate-collections");
|
|
|
33
33
|
const generate_routes_1 = require("./generate-routes");
|
|
34
34
|
async function build_ts() {
|
|
35
35
|
await Promise.all([generate_collections_1.generateCollections(), generate_routes_1.generateRoutes()]);
|
|
36
|
-
const entryPoints = await tiny_glob_1.default("./src/back/**/*.ts");
|
|
36
|
+
const entryPoints = (await tiny_glob_1.default("./src/back/**/*.ts")).filter((path) => !path.includes(".#"));
|
|
37
37
|
try {
|
|
38
38
|
await esbuild_1.build({
|
|
39
39
|
entryPoints,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sealcode/sealgen",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.51",
|
|
4
4
|
"description": "Module to automate adding routes and collections to a sealious application",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@istanbuljs/nyc-config-typescript": "^1.0.2",
|
|
23
23
|
"@playwright/test": "^1.30.0",
|
|
24
|
-
"@types/koa__router": "^12.0.
|
|
24
|
+
"@types/koa__router": "^12.0.4",
|
|
25
25
|
"@types/mocha": "^9.0.0",
|
|
26
26
|
"@types/node": "^18.11.4",
|
|
27
27
|
"@types/prettier": "^2.7.0",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
},
|
|
46
46
|
"types": "./@types/index.d.ts",
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@koa/router": "^
|
|
48
|
+
"@koa/router": "^12.0.1",
|
|
49
49
|
"@sealcode/ts-predicates": "^0.4.3",
|
|
50
50
|
"deepmerge": "^4.3.1",
|
|
51
51
|
"esbuild": "^0.15.5",
|
|
@@ -60,7 +60,6 @@
|
|
|
60
60
|
"yargs": "^17.6.2"
|
|
61
61
|
},
|
|
62
62
|
"peerDependencies": {
|
|
63
|
-
"@koa/router": "^10.1.1",
|
|
64
63
|
"koa": "^2.13.0",
|
|
65
64
|
"koa-responsive-image-router": "^0.2.2",
|
|
66
65
|
"sealious": "^0.17.27"
|
package/src/build.ts
CHANGED
|
@@ -9,7 +9,9 @@ import { generateRoutes } from "./generate-routes";
|
|
|
9
9
|
|
|
10
10
|
async function build_ts() {
|
|
11
11
|
await Promise.all([generateCollections(), generateRoutes()]);
|
|
12
|
-
const entryPoints = await glob("./src/back/**/*.ts")
|
|
12
|
+
const entryPoints = (await glob("./src/back/**/*.ts")).filter(
|
|
13
|
+
(path) => !path.includes(".#")
|
|
14
|
+
);
|
|
13
15
|
try {
|
|
14
16
|
await build({
|
|
15
17
|
entryPoints,
|