opacacms 0.1.0 → 0.1.2
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/dist/admin/index.js +49 -0
- package/dist/{chunk-2zm8cy1w.js → admin/webcomponent.js} +116 -168
- package/dist/{chunk-6dhs73zq.js → chunk-2yz1nsxs.js} +1 -1
- package/dist/chunk-fa5mg0hr.js +96 -0
- package/dist/{chunk-kwp83w8b.js → chunk-m09hahe2.js} +7 -7
- package/dist/{chunk-hmhcense.js → chunk-ry15hke8.js} +253 -4
- package/dist/chunk-vtvqfhgy.js +2442 -0
- package/dist/{chunk-f3nvxn63.js → chunk-y8hc6nm4.js} +1 -1
- package/dist/{src/cli → cli}/index.js +10 -10
- package/dist/{src/client.js → client.js} +2 -2
- package/dist/{src/db → db}/bun-sqlite.js +10 -10
- package/dist/{src/db → db}/d1.js +8 -8
- package/dist/db/index.d.ts +2 -0
- package/dist/db/index.js +7 -0
- package/dist/db/migration.d.ts +39 -0
- package/dist/{src/db → db}/postgres.js +10 -10
- package/dist/{src/db → db}/sqlite.js +8 -8
- package/dist/index.d.ts +0 -2
- package/dist/index.js +13 -0
- package/dist/{src/runtimes → runtimes}/bun.js +5 -6
- package/dist/{src/runtimes → runtimes}/cloudflare-workers.js +5 -6
- package/dist/{src/runtimes → runtimes}/next.js +5 -6
- package/dist/{src/runtimes → runtimes}/node.js +5 -6
- package/dist/{src/server.js → server.js} +7 -8
- package/dist/storage/index.d.ts +0 -3
- package/dist/storage/index.js +35 -0
- package/dist/types.d.ts +5 -2
- package/package.json +161 -39
- package/bun.lock +0 -34
- package/dist/api.d.ts +0 -6
- package/dist/chunk-8gkhn1d4.js +0 -309
- package/dist/chunk-dy5t83hr.js +0 -261
- package/dist/src/admin/index.js +0 -176
- package/dist/src/admin/webcomponent.js +0 -19
- package/dist/src/api.js +0 -27
- package/dist/src/index.js +0 -20
- package/dist/src/storage/index.js +0 -355
- package/global.d.ts +0 -11
- package/src/admin/api-client.ts +0 -63
- package/src/admin/auth-client.ts +0 -40
- package/src/admin/custom-field.ts +0 -179
- package/src/admin/index.ts +0 -15
- package/src/admin/react.tsx +0 -72
- package/src/admin/router.ts +0 -9
- package/src/admin/stores/admin-queries.ts +0 -121
- package/src/admin/stores/auth.ts +0 -61
- package/src/admin/stores/column-visibility.ts +0 -67
- package/src/admin/stores/config.ts +0 -15
- package/src/admin/stores/media.ts +0 -95
- package/src/admin/stores/query.ts +0 -13
- package/src/admin/stores/ui.ts +0 -29
- package/src/admin/ui/admin-client.tsx +0 -283
- package/src/admin/ui/admin-layout.tsx +0 -276
- package/src/admin/ui/components/ColumnVisibilityToggle.tsx +0 -141
- package/src/admin/ui/components/DataDetailSheet.tsx +0 -141
- package/src/admin/ui/components/DataDetailView.tsx +0 -175
- package/src/admin/ui/components/Table.tsx +0 -67
- package/src/admin/ui/components/fields/ArrayField.tsx +0 -166
- package/src/admin/ui/components/fields/BlocksField.tsx +0 -202
- package/src/admin/ui/components/fields/BooleanField.tsx +0 -50
- package/src/admin/ui/components/fields/CollapsibleField.tsx +0 -75
- package/src/admin/ui/components/fields/DateField.tsx +0 -45
- package/src/admin/ui/components/fields/FileField.tsx +0 -322
- package/src/admin/ui/components/fields/GroupField.tsx +0 -50
- package/src/admin/ui/components/fields/JoinField.tsx +0 -23
- package/src/admin/ui/components/fields/NumberField.tsx +0 -46
- package/src/admin/ui/components/fields/RadioField.tsx +0 -62
- package/src/admin/ui/components/fields/RelationshipField.tsx +0 -278
- package/src/admin/ui/components/fields/RowField.tsx +0 -40
- package/src/admin/ui/components/fields/SelectField.tsx +0 -59
- package/src/admin/ui/components/fields/TabsField.tsx +0 -101
- package/src/admin/ui/components/fields/TextAreaField.tsx +0 -54
- package/src/admin/ui/components/fields/TextField.tsx +0 -49
- package/src/admin/ui/components/fields/VirtualField.tsx +0 -53
- package/src/admin/ui/components/fields/index.tsx +0 -371
- package/src/admin/ui/components/fields/richtext-editor/index.tsx +0 -211
- package/src/admin/ui/components/fields/richtext-editor/nodes/ImageComponent.tsx +0 -142
- package/src/admin/ui/components/fields/richtext-editor/nodes/ImageNode.tsx +0 -95
- package/src/admin/ui/components/fields/richtext-editor/plugins/ComponentPickerPlugin.tsx +0 -226
- package/src/admin/ui/components/fields/richtext-editor/plugins/EditableSyncPlugin.tsx +0 -16
- package/src/admin/ui/components/fields/richtext-editor/plugins/NotionToolbarPlugin.tsx +0 -184
- package/src/admin/ui/components/fields/richtext-editor/plugins/SimpleToolbarPlugin.tsx +0 -240
- package/src/admin/ui/components/fields/richtext-editor/plugins/ValueSyncPlugin.tsx +0 -40
- package/src/admin/ui/components/fields/utils.ts +0 -1
- package/src/admin/ui/components/link.tsx +0 -41
- package/src/admin/ui/components/media/AssetManagerModal.tsx +0 -334
- package/src/admin/ui/components/toast.tsx +0 -72
- package/src/admin/ui/components/ui/accordion.tsx +0 -51
- package/src/admin/ui/components/ui/alert-dialog.tsx +0 -98
- package/src/admin/ui/components/ui/blocks.tsx +0 -32
- package/src/admin/ui/components/ui/breadcrumbs.tsx +0 -59
- package/src/admin/ui/components/ui/button.tsx +0 -26
- package/src/admin/ui/components/ui/collapsible.tsx +0 -124
- package/src/admin/ui/components/ui/dialog.tsx +0 -79
- package/src/admin/ui/components/ui/group.tsx +0 -20
- package/src/admin/ui/components/ui/index.ts +0 -17
- package/src/admin/ui/components/ui/input.tsx +0 -12
- package/src/admin/ui/components/ui/join.tsx +0 -53
- package/src/admin/ui/components/ui/label.tsx +0 -11
- package/src/admin/ui/components/ui/radio-group.tsx +0 -75
- package/src/admin/ui/components/ui/relationship-detail-sheet.tsx +0 -122
- package/src/admin/ui/components/ui/relationship.tsx +0 -58
- package/src/admin/ui/components/ui/scroll-area.tsx +0 -19
- package/src/admin/ui/components/ui/select.tsx +0 -187
- package/src/admin/ui/components/ui/separator.tsx +0 -21
- package/src/admin/ui/components/ui/sheet.tsx +0 -106
- package/src/admin/ui/components/ui/tabs.tsx +0 -116
- package/src/admin/ui/components/ui/utils.ts +0 -3
- package/src/admin/ui/hooks/use-debounce.ts +0 -15
- package/src/admin/ui/styles/_locale-switcher.scss +0 -33
- package/src/admin/ui/styles/accordion.scss +0 -60
- package/src/admin/ui/styles/animations.scss +0 -41
- package/src/admin/ui/styles/asset-manager.scss +0 -547
- package/src/admin/ui/styles/badge.scss +0 -13
- package/src/admin/ui/styles/base.scss +0 -22
- package/src/admin/ui/styles/button.scss +0 -161
- package/src/admin/ui/styles/card.scss +0 -13
- package/src/admin/ui/styles/collapsible.scss +0 -75
- package/src/admin/ui/styles/data-detail.scss +0 -92
- package/src/admin/ui/styles/dialog.scss +0 -102
- package/src/admin/ui/styles/empty-state.scss +0 -22
- package/src/admin/ui/styles/group.scss +0 -19
- package/src/admin/ui/styles/index.scss +0 -33
- package/src/admin/ui/styles/input.scss +0 -80
- package/src/admin/ui/styles/label.scss +0 -12
- package/src/admin/ui/styles/layout.scss +0 -56
- package/src/admin/ui/styles/lexical.scss +0 -469
- package/src/admin/ui/styles/loading.scss +0 -102
- package/src/admin/ui/styles/media-registry.scss +0 -597
- package/src/admin/ui/styles/pagination.scss +0 -20
- package/src/admin/ui/styles/radio-group.scss +0 -66
- package/src/admin/ui/styles/row.scss +0 -17
- package/src/admin/ui/styles/scrollbar.scss +0 -36
- package/src/admin/ui/styles/select.scss +0 -121
- package/src/admin/ui/styles/separator.scss +0 -14
- package/src/admin/ui/styles/sheet.scss +0 -152
- package/src/admin/ui/styles/sidebar.scss +0 -148
- package/src/admin/ui/styles/switch.scss +0 -59
- package/src/admin/ui/styles/table.scss +0 -207
- package/src/admin/ui/styles/tabs.scss +0 -62
- package/src/admin/ui/styles/toast.scss +0 -45
- package/src/admin/ui/styles/variables.scss +0 -24
- package/src/admin/ui/views/collection-list-view.tsx +0 -720
- package/src/admin/ui/views/dashboard-view.tsx +0 -263
- package/src/admin/ui/views/document-edit-view.tsx +0 -384
- package/src/admin/ui/views/global-edit-view.tsx +0 -226
- package/src/admin/ui/views/init-view.tsx +0 -182
- package/src/admin/ui/views/login-view.tsx +0 -123
- package/src/admin/ui/views/media-registry-view.tsx +0 -1104
- package/src/admin/ui/views/settings-view.tsx +0 -729
- package/src/admin/webcomponent.tsx +0 -15
- package/src/api.ts +0 -9
- package/src/auth/index.ts +0 -194
- package/src/auth/migrations.ts +0 -87
- package/src/auth/premissions.ts +0 -46
- package/src/cli/commands/generate-types.ts +0 -116
- package/src/cli/commands/init.ts +0 -95
- package/src/cli/commands/migrate-commands.ts +0 -160
- package/src/cli/commands/seed-command.ts +0 -11
- package/src/cli/d1-mock.ts +0 -101
- package/src/cli/index.test.ts +0 -84
- package/src/cli/index.ts +0 -183
- package/src/cli/r2-mock.ts +0 -217
- package/src/cli/seeding.ts +0 -405
- package/src/client.ts +0 -181
- package/src/config-utils.ts +0 -102
- package/src/config.ts +0 -49
- package/src/db/adapter.ts +0 -53
- package/src/db/better-sqlite.ts +0 -630
- package/src/db/bun-sqlite.ts +0 -646
- package/src/db/d1.ts +0 -711
- package/src/db/kysely/data-mapper.ts +0 -142
- package/src/db/kysely/field-mapper.ts +0 -148
- package/src/db/kysely/migration-generator.ts +0 -223
- package/src/db/kysely/query-builder.ts +0 -92
- package/src/db/kysely/schema-builder.ts +0 -439
- package/src/db/kysely/sql-utils.ts +0 -13
- package/src/db/postgres.ts +0 -621
- package/src/db/sqlite.ts +0 -658
- package/src/db/system-schema.ts +0 -121
- package/src/index.ts +0 -13
- package/src/runtimes/README.md +0 -59
- package/src/runtimes/bun.ts +0 -49
- package/src/runtimes/cloudflare-workers.ts +0 -38
- package/src/runtimes/next.ts +0 -26
- package/src/runtimes/node.ts +0 -52
- package/src/schema/collection.ts +0 -184
- package/src/schema/fields/base.ts +0 -164
- package/src/schema/fields/index.ts +0 -427
- package/src/schema/global.ts +0 -145
- package/src/schema/index.ts +0 -4
- package/src/schema/infer.ts +0 -72
- package/src/server/admin-router.ts +0 -20
- package/src/server/admin.ts +0 -142
- package/src/server/assets.ts +0 -306
- package/src/server/collection-router.ts +0 -55
- package/src/server/handlers.ts +0 -722
- package/src/server/middlewares/admin.ts +0 -27
- package/src/server/middlewares/auth.ts +0 -89
- package/src/server/middlewares/context.ts +0 -17
- package/src/server/middlewares/cors.ts +0 -24
- package/src/server/middlewares/database-init.ts +0 -74
- package/src/server/middlewares/rate-limit.ts +0 -71
- package/src/server/router.ts +0 -47
- package/src/server/setup-middlewares.ts +0 -58
- package/src/server/system-router.ts +0 -35
- package/src/server.ts +0 -9
- package/src/storage/adapters/cloudflare-r2.ts +0 -136
- package/src/storage/adapters/local.ts +0 -146
- package/src/storage/adapters/s3.ts +0 -186
- package/src/storage/errors.ts +0 -46
- package/src/storage/index.ts +0 -5
- package/src/storage/types.ts +0 -39
- package/src/types.ts +0 -577
- package/src/utils/lexical.ts +0 -37
- package/src/utils/logger.ts +0 -73
- package/src/validation.ts +0 -429
- package/src/validator.ts +0 -179
- package/test/admin-custom-field.test.ts +0 -162
- package/test/admin-react-field.test.tsx +0 -134
- package/test/api-features.test.ts +0 -78
- package/test/api.test.ts +0 -178
- package/test/auth.test.ts +0 -62
- package/test/cli-integration.test.ts +0 -146
- package/test/cli.test.ts +0 -25
- package/test/db/postgres.test.ts +0 -95
- package/test/db/sqlite-filter.test.ts +0 -53
- package/test/db/sqlite.test.ts +0 -82
- package/test/engine-features.test.ts +0 -79
- package/test/globals.test.ts +0 -74
- package/test/integration-tmp/db-app/opacacms.config.ts +0 -15
- package/test/integration-tmp/my-sqlite-app/opacacms.config.ts +0 -25
- package/test/integration-tmp/my-test-app/index.ts +0 -8
- package/test/integration-tmp/my-test-app/opacacms.config.ts +0 -16
- package/test/integration-tmp/my-test-app/package.json +0 -12
- package/test/populate.test.ts +0 -79
- package/test/runtimes.test.ts +0 -43
- package/test/schema-builder.test.ts +0 -107
- package/test/schema-features.test.ts +0 -63
- package/test/seeding.test.ts +0 -68
- package/test/storage/local.test.ts +0 -72
- package/test/storage/s3.test.ts +0 -60
- package/test/structural-data.test.ts +0 -100
- package/test/test-setup.ts +0 -11
- package/test/validation.test.ts +0 -162
- package/tsconfig.json +0 -42
- /package/dist/{src/admin/index.css → admin/webcomponent.css} +0 -0
package/test/validation.test.ts
DELETED
|
@@ -1,162 +0,0 @@
|
|
|
1
|
-
import { afterAll, beforeAll, expect, test } from "bun:test";
|
|
2
|
-
import { Hono } from "hono";
|
|
3
|
-
import { defineConfig } from "../src/config";
|
|
4
|
-
import { createBunSQLiteAdapter } from "../src/db/bun-sqlite";
|
|
5
|
-
import { createAPIRouter } from "../src/server/router";
|
|
6
|
-
|
|
7
|
-
let app: Hono;
|
|
8
|
-
const dbPath = ":memory:";
|
|
9
|
-
const db = createBunSQLiteAdapter(dbPath, { push: true });
|
|
10
|
-
|
|
11
|
-
beforeAll(async () => {
|
|
12
|
-
const config = defineConfig({
|
|
13
|
-
db,
|
|
14
|
-
collections: [
|
|
15
|
-
{
|
|
16
|
-
slug: "posts",
|
|
17
|
-
fields: [
|
|
18
|
-
{
|
|
19
|
-
name: "title",
|
|
20
|
-
type: "text",
|
|
21
|
-
required: true,
|
|
22
|
-
validate: (val: any) => val.length >= 3 || "Title must be at least 3 characters",
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
name: "age",
|
|
26
|
-
type: "number",
|
|
27
|
-
validate: (val: any) => val >= 18 || false,
|
|
28
|
-
},
|
|
29
|
-
],
|
|
30
|
-
},
|
|
31
|
-
],
|
|
32
|
-
});
|
|
33
|
-
|
|
34
|
-
process.env.BETTER_AUTH_URL = "http://localhost:3000";
|
|
35
|
-
process.env.BETTER_AUTH_SECRET = "secret_for_test";
|
|
36
|
-
|
|
37
|
-
app = new Hono();
|
|
38
|
-
app.route("/", createAPIRouter(config));
|
|
39
|
-
|
|
40
|
-
await db.connect();
|
|
41
|
-
});
|
|
42
|
-
|
|
43
|
-
afterAll(async () => {
|
|
44
|
-
await db.disconnect();
|
|
45
|
-
});
|
|
46
|
-
|
|
47
|
-
test("POST /api/posts - fails custom validation (string message)", async () => {
|
|
48
|
-
const res = await app.request("/api/posts", {
|
|
49
|
-
method: "POST",
|
|
50
|
-
headers: { "Content-Type": "application/json" },
|
|
51
|
-
body: JSON.stringify({ title: "ab" }), // less than 3
|
|
52
|
-
});
|
|
53
|
-
expect(res.status).toBe(400);
|
|
54
|
-
const data = (await res.json()) as Record<string, any>;
|
|
55
|
-
console.log("Validation Data (string):", JSON.stringify(data, null, 2));
|
|
56
|
-
expect(data.message).toBe("Validation Error");
|
|
57
|
-
expect(data.errors.title._errors[0]).toBe("Title must be at least 3 characters");
|
|
58
|
-
});
|
|
59
|
-
|
|
60
|
-
test("POST /api/posts - fails custom validation (boolean false)", async () => {
|
|
61
|
-
const res = await app.request("/api/posts", {
|
|
62
|
-
method: "POST",
|
|
63
|
-
headers: { "Content-Type": "application/json" },
|
|
64
|
-
body: JSON.stringify({ title: "Valid Title", age: 15 }), // under 18
|
|
65
|
-
});
|
|
66
|
-
expect(res.status).toBe(400);
|
|
67
|
-
const data = (await res.json()) as Record<string, any>;
|
|
68
|
-
console.log("Validation Data (boolean):", JSON.stringify(data, null, 2));
|
|
69
|
-
expect(data.errors.age._errors[0]).toBe("Invalid field");
|
|
70
|
-
});
|
|
71
|
-
|
|
72
|
-
test("POST /api/posts - passes custom validation", async () => {
|
|
73
|
-
const res = await app.request("/api/posts", {
|
|
74
|
-
method: "POST",
|
|
75
|
-
headers: { "Content-Type": "application/json" },
|
|
76
|
-
body: JSON.stringify({ title: "Valid Title", age: 20 }),
|
|
77
|
-
});
|
|
78
|
-
expect(res.status).toBe(201);
|
|
79
|
-
const data = (await res.json()) as { title: string; age: number };
|
|
80
|
-
expect(data.title).toBe("Valid Title");
|
|
81
|
-
expect(data.age).toBe(20);
|
|
82
|
-
});
|
|
83
|
-
|
|
84
|
-
import { CollectionSchema } from "../src/validation";
|
|
85
|
-
|
|
86
|
-
test("CollectionSchema correctly parses complex and layout fields", () => {
|
|
87
|
-
const mockCollection = {
|
|
88
|
-
slug: "complex_coll",
|
|
89
|
-
fields: [
|
|
90
|
-
{ name: "title", type: "text" },
|
|
91
|
-
{
|
|
92
|
-
type: "collapsible",
|
|
93
|
-
label: "SEO Settings",
|
|
94
|
-
fields: [{ name: "meta", type: "text" }],
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
type: "tabs",
|
|
98
|
-
tabs: [{ label: "Main", fields: [{ name: "content", type: "richtext" }] }],
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
name: "status",
|
|
102
|
-
type: "radio",
|
|
103
|
-
options: { choices: ["draft", "published"] },
|
|
104
|
-
},
|
|
105
|
-
{
|
|
106
|
-
name: "settings",
|
|
107
|
-
type: "group",
|
|
108
|
-
fields: [{ name: "theme", type: "text" }],
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
name: "blocks",
|
|
112
|
-
type: "blocks",
|
|
113
|
-
blocks: [{ slug: "hero", fields: [{ name: "headline", type: "text" }] }],
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
type: "join",
|
|
117
|
-
collection: "comments",
|
|
118
|
-
on: "post_id",
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
name: "authors",
|
|
122
|
-
type: "relationship",
|
|
123
|
-
relationTo: "users",
|
|
124
|
-
hasMany: true,
|
|
125
|
-
},
|
|
126
|
-
],
|
|
127
|
-
};
|
|
128
|
-
|
|
129
|
-
const parsed = CollectionSchema.safeParse(mockCollection);
|
|
130
|
-
expect(parsed.success).toBe(true);
|
|
131
|
-
});
|
|
132
|
-
|
|
133
|
-
test("CollectionSchema rejects layout fields with a 'name' property", () => {
|
|
134
|
-
const invalidCollapsible = {
|
|
135
|
-
slug: "invalid_coll",
|
|
136
|
-
fields: [
|
|
137
|
-
{
|
|
138
|
-
name: "seoConfig", // Should NOT have a name
|
|
139
|
-
type: "collapsible",
|
|
140
|
-
fields: [{ name: "meta", type: "text" }],
|
|
141
|
-
},
|
|
142
|
-
],
|
|
143
|
-
};
|
|
144
|
-
|
|
145
|
-
const parsedCollapsible = CollectionSchema.safeParse(invalidCollapsible);
|
|
146
|
-
expect(parsedCollapsible.success).toBe(false);
|
|
147
|
-
|
|
148
|
-
const invalidJoin = {
|
|
149
|
-
slug: "invalid_join",
|
|
150
|
-
fields: [
|
|
151
|
-
{
|
|
152
|
-
name: "comments", // Join fields are virtual, optionally no name or name string allowed but usually it maps the API response key
|
|
153
|
-
type: "join",
|
|
154
|
-
collection: "comments",
|
|
155
|
-
on: "post_id",
|
|
156
|
-
},
|
|
157
|
-
],
|
|
158
|
-
};
|
|
159
|
-
|
|
160
|
-
const parsedJoin = CollectionSchema.safeParse(invalidJoin);
|
|
161
|
-
expect(parsedJoin.success).toBe(true); // Join CAN have a name, as it needs a key in the JSON response
|
|
162
|
-
});
|
package/tsconfig.json
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
// Environment setup & latest features
|
|
4
|
-
"lib": ["ESNext", "DOM", "DOM.Iterable"],
|
|
5
|
-
"target": "ESNext",
|
|
6
|
-
"module": "ESNext",
|
|
7
|
-
"moduleDetection": "force",
|
|
8
|
-
"jsx": "react-jsx",
|
|
9
|
-
"allowJs": true,
|
|
10
|
-
"esModuleInterop": true,
|
|
11
|
-
"experimentalDecorators": true,
|
|
12
|
-
"useDefineForClassFields": false,
|
|
13
|
-
|
|
14
|
-
// Bundler mode
|
|
15
|
-
"moduleResolution": "bundler",
|
|
16
|
-
"allowImportingTsExtensions": true,
|
|
17
|
-
"verbatimModuleSyntax": false,
|
|
18
|
-
"declaration": true,
|
|
19
|
-
"emitDeclarationOnly": true,
|
|
20
|
-
"outDir": "./dist",
|
|
21
|
-
|
|
22
|
-
// Best practices
|
|
23
|
-
"strict": true,
|
|
24
|
-
"skipLibCheck": true,
|
|
25
|
-
"noFallthroughCasesInSwitch": true,
|
|
26
|
-
"noUncheckedIndexedAccess": true,
|
|
27
|
-
"noImplicitOverride": true,
|
|
28
|
-
|
|
29
|
-
// Some stricter flags (disabled by default)
|
|
30
|
-
"noUnusedLocals": false,
|
|
31
|
-
"noUnusedParameters": false,
|
|
32
|
-
"noPropertyAccessFromIndexSignature": false,
|
|
33
|
-
|
|
34
|
-
// Path
|
|
35
|
-
"baseUrl": ".",
|
|
36
|
-
"paths": {
|
|
37
|
-
"@/*": ["./src/*"]
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
"include": ["src/**/*"],
|
|
41
|
-
"exclude": ["node_modules", "dist", "test"]
|
|
42
|
-
}
|
|
File without changes
|