@akanjs/cli 0.0.41 → 0.0.43
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/index.d.ts +1 -0
- package/index.js +34 -7
- package/package.json +1 -1
- package/src/templates/__scalar/__model__/__model__.constant.js +36 -0
- package/src/templates/__scalar/__model__/__model__.dictionary.js +47 -0
- package/src/templates/__scalar/__model__/__model__.document.js +34 -0
- package/src/templates/app/akan.config.ts.template +5 -0
- package/src/templates/app/app/[lang]/(__appName__)/(public)/forgotpassword/page.js +45 -0
- package/src/templates/app/app/[lang]/(__appName__)/(public)/page.js +46 -0
- package/src/templates/app/app/[lang]/(__appName__)/(public)/privacy/page.js +40 -0
- package/src/templates/app/app/[lang]/(__appName__)/(public)/signin/page.js +48 -0
- package/src/templates/app/app/[lang]/(__appName__)/(public)/termsofservice/page.js +39 -0
- package/src/templates/app/app/[lang]/(__appName__)/(user)/layout.js +41 -0
- package/src/templates/app/app/[lang]/(__appName__)/(user)/self/page.js +58 -0
- package/src/templates/app/app/[lang]/(__appName__)/layout.js +50 -0
- package/src/templates/app/app/[lang]/admin/layout.js +51 -0
- package/src/templates/app/app/[lang]/admin/page.js +61 -0
- package/src/templates/app/app/csr.js +32 -0
- package/src/templates/app/app/index.html.template +13 -0
- package/src/templates/app/app/layout.js +36 -0
- package/src/templates/app/app/robots.js +41 -0
- package/src/templates/app/app/sitemap.js +37 -0
- package/src/templates/app/base/baseLogic.js +36 -0
- package/src/templates/app/base/index.js +30 -0
- package/src/templates/app/capacitor.config.ts.template +8 -0
- package/src/templates/app/common/commonLogic.js +36 -0
- package/src/templates/app/common/index.js +30 -0
- package/src/templates/app/env/env.client.js +39 -0
- package/src/templates/app/env/env.client.type.js +36 -0
- package/src/templates/app/env/env.server.js +39 -0
- package/src/templates/app/jest.config.js +37 -0
- package/src/templates/app/lib/___appName__/__appName__.dictionary.js +32 -0
- package/src/templates/app/lib/___appName__/__appName__.service.js +43 -0
- package/src/templates/app/lib/___appName__/__appName__.store.js +37 -0
- package/src/templates/app/lib/___appName__/_server.js +35 -0
- package/src/templates/app/lib/option.js +43 -0
- package/src/templates/app/lib/setting/Setting.Template.js +55 -0
- package/src/templates/app/lib/setting/Setting.Unit.js +36 -0
- package/src/templates/app/lib/setting/Setting.Util.js +32 -0
- package/src/templates/app/lib/setting/Setting.View.js +49 -0
- package/src/templates/app/lib/setting/Setting.Zone.js +78 -0
- package/src/templates/app/lib/setting/_server.js +49 -0
- package/src/templates/app/lib/setting/index.js +59 -0
- package/src/templates/app/lib/setting/setting.constant.js +47 -0
- package/src/templates/app/lib/setting/setting.dictionary.js +47 -0
- package/src/templates/app/lib/setting/setting.document.js +49 -0
- package/src/templates/app/lib/setting/setting.service.js +38 -0
- package/src/templates/app/lib/setting/setting.signal.js +35 -0
- package/src/templates/app/lib/setting/setting.store.js +42 -0
- package/src/templates/app/lib/summary/Summary.Template.js +41 -0
- package/src/templates/app/lib/summary/Summary.Unit.js +36 -0
- package/src/templates/app/lib/summary/Summary.Util.js +31 -0
- package/src/templates/app/lib/summary/Summary.View.js +49 -0
- package/src/templates/app/lib/summary/Summary.Zone.js +60 -0
- package/src/templates/app/lib/summary/_server.js +49 -0
- package/src/templates/app/lib/summary/index.js +65 -0
- package/src/templates/app/lib/summary/summary.constant.js +45 -0
- package/src/templates/app/lib/summary/summary.dictionary.js +50 -0
- package/src/templates/app/lib/summary/summary.document.js +49 -0
- package/src/templates/app/lib/summary/summary.service.js +35 -0
- package/src/templates/app/lib/summary/summary.signal.js +35 -0
- package/src/templates/app/lib/summary/summary.store.js +42 -0
- package/src/templates/app/lib/user/User.Template.js +63 -0
- package/src/templates/app/lib/user/User.Unit.js +36 -0
- package/src/templates/app/lib/user/User.Util.js +92 -0
- package/src/templates/app/lib/user/User.View.js +64 -0
- package/src/templates/app/lib/user/User.Zone.js +72 -0
- package/src/templates/app/lib/user/_server.js +49 -0
- package/src/templates/app/lib/user/index.js +59 -0
- package/src/templates/app/lib/user/user.constant.js +68 -0
- package/src/templates/app/lib/user/user.dictionary.js +53 -0
- package/src/templates/app/lib/user/user.document.js +55 -0
- package/src/templates/app/lib/user/user.service.js +43 -0
- package/src/templates/app/lib/user/user.signal.js +35 -0
- package/src/templates/app/lib/user/user.signal.spec.js +38 -0
- package/src/templates/app/lib/user/user.signal.test.js +40 -0
- package/src/templates/app/lib/user/user.store.js +40 -0
- package/src/templates/app/main.js +41 -0
- package/src/templates/app/middleware.js +36 -0
- package/src/templates/app/nest/backendLogic.js +35 -0
- package/src/templates/app/nest/index.js +30 -0
- package/src/templates/app/next/frontendLogic.js +35 -0
- package/src/templates/app/next/index.js +30 -0
- package/src/templates/app/page.test.ts.template +10 -0
- package/src/templates/app/playwright.config.ts.template +6 -0
- package/src/templates/app/postcss.config.js.template +10 -0
- package/src/templates/app/public/favicon.ico +0 -0
- package/src/templates/app/public/icons/icon-128x128.png +0 -0
- package/src/templates/app/public/icons/icon-144x144.png +0 -0
- package/src/templates/app/public/icons/icon-152x152.png +0 -0
- package/src/templates/app/public/icons/icon-192x192.png +0 -0
- package/src/templates/app/public/icons/icon-256x256.png +0 -0
- package/src/templates/app/public/icons/icon-384x384.png +0 -0
- package/src/templates/app/public/icons/icon-48x48.png +0 -0
- package/src/templates/app/public/icons/icon-512x512.png +0 -0
- package/src/templates/app/public/icons/icon-72x72.png +0 -0
- package/src/templates/app/public/icons/icon-96x96.png +0 -0
- package/src/templates/app/public/logo.svg +70 -0
- package/src/templates/app/public/manifest.json.template +67 -0
- package/src/templates/app/tsconfig.json.template +22 -0
- package/src/templates/app/tsconfig.spec.json.template +7 -0
- package/src/templates/app/ui/Footer.js +65 -0
- package/src/templates/app/ui/MainHeader.js +129 -0
- package/src/templates/app/ui/index.js +31 -0
- package/src/templates/client.js +43 -0
- package/src/templates/crudPages/[__model__Id]/edit/page.js +71 -0
- package/src/templates/crudPages/[__model__Id]/page.js +81 -0
- package/src/templates/crudPages/new/page.js +68 -0
- package/src/templates/crudPages/page.js +69 -0
- package/src/templates/index.js +32 -0
- package/src/templates/lib/__lib/extends/summary.constant.js +44 -0
- package/src/templates/lib/__lib/lib.constant.js +54 -0
- package/src/templates/lib/__lib/lib.dictionary.js +43 -0
- package/src/templates/lib/__lib/lib.document.js +42 -0
- package/src/templates/lib/__lib/lib.service.js +84 -0
- package/src/templates/lib/__lib/lib.signal.js +37 -0
- package/src/templates/lib/__lib/lib.store.js +35 -0
- package/src/templates/lib/__scalar/_server.js +40 -0
- package/src/templates/lib/cnst.js +33 -0
- package/src/templates/lib/cnst_.js +52 -0
- package/src/templates/lib/db.js +54 -0
- package/src/templates/lib/dict.js +46 -0
- package/src/templates/lib/fetch.js +49 -0
- package/src/templates/lib/sig.js +38 -0
- package/src/templates/lib/srv.js +53 -0
- package/src/templates/lib/st.js +37 -0
- package/src/templates/lib/store.js +53 -0
- package/src/templates/lib/usePage.js +34 -0
- package/src/templates/libRoot/.gitignore.template +15 -0
- package/src/templates/libRoot/jest.config.js +37 -0
- package/src/templates/libRoot/package.json.template +5 -0
- package/src/templates/libRoot/tsconfig.json.template +11 -0
- package/src/templates/libRoot/tsconfig.spec.json.template +7 -0
- package/src/templates/module/__Model__.Template.js +52 -0
- package/src/templates/module/__Model__.Unit.js +40 -0
- package/src/templates/module/__Model__.Util.js +68 -0
- package/src/templates/module/__Model__.View.js +46 -0
- package/src/templates/module/__Model__.Zone.js +81 -0
- package/src/templates/module/__model__.constant.js +70 -0
- package/src/templates/module/__model__.dictionary.js +99 -0
- package/src/templates/module/__model__.document.js +54 -0
- package/src/templates/module/__model__.service.js +42 -0
- package/src/templates/module/__model__.signal.js +61 -0
- package/src/templates/module/__model__.signal.spec.js +40 -0
- package/src/templates/module/__model__.signal.test.js +49 -0
- package/src/templates/module/__model__.store.js +40 -0
- package/src/templates/module/_server.js +48 -0
- package/src/templates/module/index.js +59 -0
- package/src/templates/pkgRoot/tsconfig.json.template +12 -0
- package/src/templates/server.js +60 -0
- package/src/templates/workplaceRoot/.env.template +20 -0
- package/src/templates/workplaceRoot/.gitignore.template +195 -0
- package/src/templates/workplaceRoot/.prettierignore.template +10 -0
- package/src/templates/workplaceRoot/.prettierrc.json.template +5 -0
- package/src/templates/workplaceRoot/.swcrc.template +9 -0
- package/src/templates/workplaceRoot/README.md.template +37 -0
- package/src/templates/workplaceRoot/eslint.config.js.template +141 -0
- package/src/templates/workplaceRoot/tsconfig.json.template +29 -0
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
|
|
19
|
+
// pkgs/@akanjs/cli/src/templates/app/lib/user/user.signal.ts
|
|
20
|
+
var user_signal_exports = {};
|
|
21
|
+
__export(user_signal_exports, {
|
|
22
|
+
default: () => getContent
|
|
23
|
+
});
|
|
24
|
+
module.exports = __toCommonJS(user_signal_exports);
|
|
25
|
+
function getContent(scanResult, dict = {}) {
|
|
26
|
+
return `
|
|
27
|
+
import { LogSignal, Signal } from "@akanjs/signal";
|
|
28
|
+
|
|
29
|
+
import { cnst, Srvs } from "../cnst";
|
|
30
|
+
|
|
31
|
+
@Signal(() => cnst.User)
|
|
32
|
+
export class UserSignal extends LogSignal(Srvs) {}
|
|
33
|
+
`;
|
|
34
|
+
}
|
|
35
|
+
module.exports = module.exports.default;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
|
|
19
|
+
// pkgs/@akanjs/cli/src/templates/app/lib/user/user.signal.spec.ts
|
|
20
|
+
var user_signal_spec_exports = {};
|
|
21
|
+
__export(user_signal_spec_exports, {
|
|
22
|
+
default: () => getContent
|
|
23
|
+
});
|
|
24
|
+
module.exports = __toCommonJS(user_signal_spec_exports);
|
|
25
|
+
function getContent(scanResult, dict = {}) {
|
|
26
|
+
return `
|
|
27
|
+
import * as adminSpec from "@shared/lib/admin/admin.signal.spec";
|
|
28
|
+
import * as userSpec from "@shared/lib/user/user.signal.spec";
|
|
29
|
+
|
|
30
|
+
import { cnst } from "../cnst";
|
|
31
|
+
import { fetch } from "../fetch";
|
|
32
|
+
|
|
33
|
+
export * from "@shared/lib/user/user.signal.spec";
|
|
34
|
+
export type UserAgent = userSpec.UserAgent<typeof fetch, cnst.User, cnst.UserInput>;
|
|
35
|
+
export type AdminAgent = adminSpec.AdminAgent<typeof fetch>;
|
|
36
|
+
`;
|
|
37
|
+
}
|
|
38
|
+
module.exports = module.exports.default;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
|
|
19
|
+
// pkgs/@akanjs/cli/src/templates/app/lib/user/user.signal.test.ts
|
|
20
|
+
var user_signal_test_exports = {};
|
|
21
|
+
__export(user_signal_test_exports, {
|
|
22
|
+
default: () => getContent
|
|
23
|
+
});
|
|
24
|
+
module.exports = __toCommonJS(user_signal_test_exports);
|
|
25
|
+
function getContent(scanResult, dict) {
|
|
26
|
+
return `
|
|
27
|
+
import * as userSpec from "@${dict.appName}/lib/user/user.signal.spec";
|
|
28
|
+
|
|
29
|
+
describe("User Signal", () => {
|
|
30
|
+
describe("Sign", () => {
|
|
31
|
+
let adminAgent: userSpec.AdminAgent;
|
|
32
|
+
let userAgent: userSpec.UserAgent;
|
|
33
|
+
it("can signup", async () => {
|
|
34
|
+
//
|
|
35
|
+
});
|
|
36
|
+
});
|
|
37
|
+
});
|
|
38
|
+
`;
|
|
39
|
+
}
|
|
40
|
+
module.exports = module.exports.default;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
|
|
19
|
+
// pkgs/@akanjs/cli/src/templates/app/lib/user/user.store.ts
|
|
20
|
+
var user_store_exports = {};
|
|
21
|
+
__export(user_store_exports, {
|
|
22
|
+
default: () => getContent
|
|
23
|
+
});
|
|
24
|
+
module.exports = __toCommonJS(user_store_exports);
|
|
25
|
+
function getContent(scanResult, dict = {}) {
|
|
26
|
+
return `
|
|
27
|
+
import { stateOf, Store } from "@akanjs/store";
|
|
28
|
+
|
|
29
|
+
import { cnst } from "../cnst";
|
|
30
|
+
import { fetch, userGql } from "../fetch";
|
|
31
|
+
|
|
32
|
+
@Store(() => cnst.User)
|
|
33
|
+
export class UserStore extends stateOf(userGql, {
|
|
34
|
+
self: fetch.defaultUser as cnst.User,
|
|
35
|
+
}) {
|
|
36
|
+
//
|
|
37
|
+
}
|
|
38
|
+
`;
|
|
39
|
+
}
|
|
40
|
+
module.exports = module.exports.default;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
|
|
19
|
+
// pkgs/@akanjs/cli/src/templates/app/main.ts
|
|
20
|
+
var main_exports = {};
|
|
21
|
+
__export(main_exports, {
|
|
22
|
+
default: () => getContent
|
|
23
|
+
});
|
|
24
|
+
module.exports = __toCommonJS(main_exports);
|
|
25
|
+
function getContent(scanResult, dict) {
|
|
26
|
+
return `
|
|
27
|
+
import { createNestApp } from "@akanjs/server";
|
|
28
|
+
|
|
29
|
+
import { env } from "./env/env.server";
|
|
30
|
+
import { registerModules } from "./server";
|
|
31
|
+
|
|
32
|
+
const bootstrap = async () => {
|
|
33
|
+
const serverMode = process.env.SERVER_MODE as "federation" | "batch" | "all" | null;
|
|
34
|
+
if (!serverMode) throw new Error("SERVER_MODE environment variable is not defined");
|
|
35
|
+
const app = await createNestApp({ registerModules, serverMode, env });
|
|
36
|
+
return () => app.close();
|
|
37
|
+
};
|
|
38
|
+
void bootstrap();
|
|
39
|
+
`;
|
|
40
|
+
}
|
|
41
|
+
module.exports = module.exports.default;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
|
|
19
|
+
// pkgs/@akanjs/cli/src/templates/app/middleware.ts
|
|
20
|
+
var middleware_exports = {};
|
|
21
|
+
__export(middleware_exports, {
|
|
22
|
+
default: () => getContent
|
|
23
|
+
});
|
|
24
|
+
module.exports = __toCommonJS(middleware_exports);
|
|
25
|
+
function getContent(scanResult, dict) {
|
|
26
|
+
return `
|
|
27
|
+
import { createNextMiddleware } from "@akanjs/next";
|
|
28
|
+
|
|
29
|
+
export const config = {
|
|
30
|
+
unstable_allowDynamic: ["/node_modules/reflect-metadata/**"],
|
|
31
|
+
matcher: ["/((?!api|_next|.*\\..*).*)"],
|
|
32
|
+
};
|
|
33
|
+
export const middleware = createNextMiddleware();
|
|
34
|
+
`;
|
|
35
|
+
}
|
|
36
|
+
module.exports = module.exports.default;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
|
|
19
|
+
// pkgs/@akanjs/cli/src/templates/app/nest/backendLogic.ts
|
|
20
|
+
var backendLogic_exports = {};
|
|
21
|
+
__export(backendLogic_exports, {
|
|
22
|
+
default: () => getContent
|
|
23
|
+
});
|
|
24
|
+
module.exports = __toCommonJS(backendLogic_exports);
|
|
25
|
+
function getContent(scanResult, dict) {
|
|
26
|
+
return `
|
|
27
|
+
// \uD604 \uB514\uB809\uD1A0\uB9AC\uC5D0\uC11C\uB294 \uBC31\uC5D4\uB4DC\uC5D0\uC11C \uC0AC\uC6A9\uD558\uB294 \uB85C\uC9C1\uC744 \uCD94\uAC00\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.
|
|
28
|
+
// @${dict.appName}/nest\uC5D0\uC11C\uB294 \uD074\uB77C\uC774\uC5B8\uD2B8 \uAD00\uB828 \uB77C\uC774\uBE0C\uB7EC\uB9AC(@*/client, @*/next)\uB97C import\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.
|
|
29
|
+
|
|
30
|
+
export const someBackendLogic = () => {
|
|
31
|
+
//
|
|
32
|
+
};
|
|
33
|
+
`;
|
|
34
|
+
}
|
|
35
|
+
module.exports = module.exports.default;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
|
|
19
|
+
// pkgs/@akanjs/cli/src/templates/app/nest/index.ts
|
|
20
|
+
var nest_exports = {};
|
|
21
|
+
__export(nest_exports, {
|
|
22
|
+
default: () => getContent
|
|
23
|
+
});
|
|
24
|
+
module.exports = __toCommonJS(nest_exports);
|
|
25
|
+
function getContent(scanResult, dict = {}) {
|
|
26
|
+
return `
|
|
27
|
+
export * from "./backendLogic";
|
|
28
|
+
`;
|
|
29
|
+
}
|
|
30
|
+
module.exports = module.exports.default;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
|
|
19
|
+
// pkgs/@akanjs/cli/src/templates/app/next/frontendLogic.ts
|
|
20
|
+
var frontendLogic_exports = {};
|
|
21
|
+
__export(frontendLogic_exports, {
|
|
22
|
+
default: () => getContent
|
|
23
|
+
});
|
|
24
|
+
module.exports = __toCommonJS(frontendLogic_exports);
|
|
25
|
+
function getContent(scanResult, dict) {
|
|
26
|
+
return `
|
|
27
|
+
// \uD604 \uB514\uB809\uD1A0\uB9AC\uC5D0\uC11C\uB294 \uD504\uB860\uD2B8\uC5D4\uB4DC\uC5D0\uC11C \uC0AC\uC6A9\uD558\uB294 \uB85C\uC9C1\uC744 \uCD94\uAC00\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.
|
|
28
|
+
// @${dict.appName}/next\uC5D0\uC11C\uB294 \uD074\uB77C\uC774\uC5B8\uD2B8 \uAD00\uB828 \uB77C\uC774\uBE0C\uB7EC\uB9AC(@*/server, @*/nest)\uB97C import\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.
|
|
29
|
+
|
|
30
|
+
export const someFrontendLogic = () => {
|
|
31
|
+
//
|
|
32
|
+
};
|
|
33
|
+
`;
|
|
34
|
+
}
|
|
35
|
+
module.exports = module.exports.default;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
|
|
19
|
+
// pkgs/@akanjs/cli/src/templates/app/next/index.ts
|
|
20
|
+
var next_exports = {};
|
|
21
|
+
__export(next_exports, {
|
|
22
|
+
default: () => getContent
|
|
23
|
+
});
|
|
24
|
+
module.exports = __toCommonJS(next_exports);
|
|
25
|
+
function getContent(scanResult, dict = {}) {
|
|
26
|
+
return `
|
|
27
|
+
export * from "./frontendLogic";
|
|
28
|
+
`;
|
|
29
|
+
}
|
|
30
|
+
module.exports = module.exports.default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// import { PageAgent } from "@akanjs/next";
|
|
2
|
+
// import { expect, test } from "@playwright/test";
|
|
3
|
+
|
|
4
|
+
// test.describe("index page", () => {
|
|
5
|
+
// test("has title", async ({ page }) => {
|
|
6
|
+
// const agent = new PageAgent(page);
|
|
7
|
+
// await agent.goto("/");
|
|
8
|
+
// expect(agent.page).toBeTruthy();
|
|
9
|
+
// });
|
|
10
|
+
// });
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
//! will be replaced with akan.config.ts
|
|
2
|
+
const akanjsPrefix = process.env.USE_AKANJS_PKGS === "true" ? "../../pkgs/" : "";
|
|
3
|
+
const { withBase } = require(`${akanjsPrefix}@akanjs/config/src/postcss.config.base`);
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* @type {import('postcss-load-config').Config}
|
|
7
|
+
*/
|
|
8
|
+
const config = {};
|
|
9
|
+
|
|
10
|
+
module.exports = withBase(config);
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<!-- Generator: Adobe Illustrator 24.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
3
|
+
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
|
4
|
+
viewBox="0 0 1882 268" style="enable-background:new 0 0 1882 268;" xml:space="preserve">
|
|
5
|
+
<style type="text/css">
|
|
6
|
+
.st0{fill:#FFFFFF00;}
|
|
7
|
+
.st1{fill:#ED9027;}
|
|
8
|
+
.st2{fill:#67B5E6;}
|
|
9
|
+
.st3{fill:#2A85AD;}
|
|
10
|
+
.st4{fill:#EAB128;}
|
|
11
|
+
.st5{fill:#377395;}
|
|
12
|
+
.st6{fill:#3A6274;}
|
|
13
|
+
.st7{fill:#4D4C4C;}
|
|
14
|
+
.st8{fill:#010100;}
|
|
15
|
+
</style>
|
|
16
|
+
<title>Asset 1</title>
|
|
17
|
+
<g>
|
|
18
|
+
<rect class="st0" width="1882" height="268"/>
|
|
19
|
+
<g>
|
|
20
|
+
<g>
|
|
21
|
+
<path class="st1" d="M313.2,116.6h-94.7l42.7-43.9l-42.7-43.9l0,0c23.9-0.1,47.1,8.4,65.2,24.1
|
|
22
|
+
C302.3,68.9,313.1,92.1,313.2,116.6z"/>
|
|
23
|
+
<path class="st2" d="M313.2,233.1h-39.1c-1.1-16.4-3.7-56.5-55.6-68.4C282.6,164.7,313.2,188.3,313.2,233.1z"/>
|
|
24
|
+
<path class="st3" d="M274.1,233.1h-55.6c-10,0-20.1-1.5-29.7-4.4c19,5.2,38.7-5.9,44-25c4-14.7-1.7-30.4-14.3-39
|
|
25
|
+
C270.4,176.5,273,216.7,274.1,233.1z"/>
|
|
26
|
+
<polygon class="st4" points="218.5,28.7 261.2,72.7 218.5,116.6 "/>
|
|
27
|
+
<path class="st5" d="M218.5,164.7c16.3,11.2,20.5,33.4,9.3,49.7c-8.6,12.6-24.3,18.3-39,14.3l-2.1-0.7c-0.2-0.1-0.4-0.1-0.7-0.2
|
|
28
|
+
c-23.9-8-44.1-24.6-56.5-46.5c13.6,14.6,33.3,21.6,53,19l0.9-0.1c9.5-1.4,18.3-6.2,24.7-13.4
|
|
29
|
+
C213.6,180.6,217.3,172.9,218.5,164.7z"/>
|
|
30
|
+
<path class="st6" d="M218.5,164.7c-1.3,8.2-4.9,15.9-10.3,22.1c-6.4,7.2-15.2,11.9-24.7,13.4l-0.9,0.1c-19.7,2.6-39.5-4.5-53-19
|
|
31
|
+
c-15.3-27-17.5-59.5-5.9-88.4c-7.9,35.2,14.2,70.2,49.4,78.1C188.5,174.5,204.7,172.3,218.5,164.7z"/>
|
|
32
|
+
<path class="st7" d="M199.7,59.4c4.3,3.3,5.1,9.5,1.7,13.9c-3.3,4.3-9.5,5.1-13.9,1.7c-4.3-3.3-5.1-9.5-1.7-13.9c0,0,0,0,0-0.1
|
|
33
|
+
C189.3,56.8,195.5,56.1,199.7,59.4z"/>
|
|
34
|
+
<path class="st7" d="M218.5,164.7c-31.7,17.2-71.3,5.5-88.6-26.2c-7.6-13.9-9.8-30.1-6.3-45.5c15.2-38,51.5-63.3,92.5-64.2
|
|
35
|
+
c-37.6,0.7-67.5,31.7-66.8,69.3c0.7,37.6,31.6,67.5,69.2,66.8V164.7z"/>
|
|
36
|
+
</g>
|
|
37
|
+
<path class="st8" d="M451,202.9h-16.9V64h38.6c5.3,0,10.6,0.2,15.9,1c4.6,0.7,9.2,1.7,13.5,3.1c7.5,2.4,14,7,18.8,13.3
|
|
38
|
+
c4.3,6.5,6.8,14,6.5,21.9c0.2,6.5-1.2,12.8-4.1,18.6c-2.9,5.5-7,10.1-12.3,13.5c-6,3.9-12.5,6.5-19.5,8
|
|
39
|
+
c-8.4,1.9-17.1,2.9-25.8,2.7c-4.6,0-9.4,0-14.5-0.5L451,202.9z M451,130.3c2.2,0,4.6,0.5,7.2,0.7h7c6.8,0,13.7-0.5,20.5-1.9
|
|
40
|
+
c4.8-0.7,9.4-2.7,13.7-5.3c3.4-2.2,6.3-5.1,8-8.7c1.7-3.6,2.4-7.7,2.4-11.6c0.2-4.8-1.2-9.4-3.9-13.3c-2.9-3.6-6.8-6.5-11.1-8
|
|
41
|
+
c-3.4-1.2-6.8-1.9-10.1-2.4c-4.6-0.5-8.9-0.7-13.5-0.7H451V130.3z"/>
|
|
42
|
+
<path class="st8" d="M609,190.6c4.6,0,9.2-0.5,13.5-1.7c3.6-1,7.2-2.9,10.1-5.1s5.3-4.8,7.2-8s3.4-6.5,4.6-10.1
|
|
43
|
+
c0.7-2.4,1.2-5.1,1.4-7.7c0-2.9,0.5-5.5,0.5-8V64h16.9v85.9c0,3.4,0,6.8-0.5,10.1c-0.2,3.4-1,6.5-1.7,9.9c-1.2,5.1-3.1,9.9-6,14.2
|
|
44
|
+
c-2.7,4.3-6,8.2-10.1,11.3c-4.6,3.4-9.6,5.8-15.2,7.5c-6.8,1.9-13.7,2.9-21,2.7c-6.8,0-13.5-0.7-20-2.4c-5.3-1.4-10.4-3.9-14.7-7
|
|
45
|
+
c-4.1-2.9-7.5-6.3-10.1-10.4c-2.7-4.1-4.6-8.4-6-13.3c-1-3.6-1.9-7.2-2.2-11.1c-0.5-3.9-0.7-7.7-0.7-11.6V64h16.9v86.1
|
|
46
|
+
c0,3.1,0.2,6.5,0.7,9.6c0.5,3.1,1.2,6,2.2,8.9c2.2,6.5,6.5,12.1,12.1,15.9C593.3,188.9,601.3,190.9,609,190.6z"/>
|
|
47
|
+
<path class="st8" d="M715.1,202.9h-16.9V64h82.7v15.2h-65.8v44.6h58.4V139h-58.4V202.9z"/>
|
|
48
|
+
<path class="st8" d="M822.2,202.9h-16.9V64h83v15.2h-65.8v44.6h58.4V139h-58.4v63.9H822.2z"/>
|
|
49
|
+
<path class="st8" d="M912.6,202.9V64h16.9v138.9H912.6z"/>
|
|
50
|
+
<path class="st8" d="M1036.1,141.4c8.4,12.3,16.9,24.8,25.3,37.9h0.7c-1-13.5-1.4-27.3-1.4-41.2V64.2h17.1v138.7h-16.9l-54.5-77.4
|
|
51
|
+
c-9.4-13.5-17.8-26-25.3-37.9h-0.7c1,12.5,1.4,27.5,1.4,44.4v70.9H965V64h16.9L1036.1,141.4z"/>
|
|
52
|
+
<path class="st8" d="M1214.8,202.9h-16.9V64h38.6c5.3,0,10.6,0.2,15.9,1c4.6,0.7,9.2,1.7,13.5,3.1c7.5,2.4,14,7,18.8,13.3
|
|
53
|
+
c4.3,6.5,6.8,14,6.5,21.9c0.2,6.5-1.2,12.8-4.1,18.6c-2.9,5.5-7,10.1-12.3,13.5c-6,3.9-12.5,6.5-19.5,8
|
|
54
|
+
c-8.4,1.9-17.1,2.9-25.8,2.7c-4.6,0-9.4,0-14.5-0.5L1214.8,202.9z M1214.8,130.3c2.4,0,4.8,0.5,7.2,0.7h7c6.8,0,13.7-0.5,20.5-1.9
|
|
55
|
+
c4.8-1,9.4-2.7,13.7-5.5c3.4-2.2,6.3-5.1,8-8.7s2.4-7.7,2.4-11.6c0.2-4.8-1.2-9.4-3.9-13.3c-2.9-3.6-6.8-6.5-11.1-8
|
|
56
|
+
c-3.4-1.2-6.8-1.9-10.1-2.4c-4.6-0.5-8.9-0.7-13.5-0.7h-20v51.4H1214.8z"/>
|
|
57
|
+
<path class="st8" d="M1336.1,64v123.7h67.8v15.2h-84.7V63.8h16.9V64z"/>
|
|
58
|
+
<path class="st8" d="M1415.9,202.9L1472.6,64h14.7l56.4,138.9h-18.3l-16.6-42h-58.1l-16.6,42H1415.9z M1479.9,85.7
|
|
59
|
+
c-6,17.4-12.1,33-17.8,47l-5.3,13h46.1l-5.3-13c-5.5-14.5-11.6-30.1-17.4-47H1479.9z"/>
|
|
60
|
+
<path class="st8" d="M1630.1,76.5c-7.5,0-14.7,1.2-21.7,3.6c-6.5,2.4-12.5,6-17.6,10.9c-5.3,5.1-9.2,11.3-11.8,18.1
|
|
61
|
+
c-3.1,8.2-4.6,16.6-4.3,25.3c-0.2,8.4,1.2,16.9,4.1,24.8c2.4,6.5,6.3,12.5,11.3,17.4s11.1,8.2,17.8,10.1
|
|
62
|
+
c7.5,2.4,15.2,3.4,23.2,3.4c2.4,0,4.8,0,7.5-0.5c2.7-0.5,5.3-0.5,8-1c2.9-0.5,5.3-1,8-1.4c2.9-0.5,4.8-1.2,6.8-1.9v15
|
|
63
|
+
c-4.6,1.7-9.4,2.9-14.2,3.6c-5.5,1-11.1,1.2-16.6,1.2c-10.4,0.2-20.7-1.4-30.6-4.8c-8.4-2.9-16.2-7.7-22.4-14
|
|
64
|
+
c-6.3-6.3-10.9-13.7-13.7-21.9c-6.5-19.3-6.5-40,0-59.3c3.1-8.7,8-16.6,14.2-23.4c6.3-6.8,14-11.8,22.4-15.2
|
|
65
|
+
c9.4-3.9,19.5-5.5,29.7-5.5c2.9,0,5.8,0,8.7,0s5.5,0.5,8,1c2.4,0.5,5.1,1,7.2,1.7c1.9,0.5,3.9,1.2,5.8,1.9v15
|
|
66
|
+
c-4.6-1.4-9.2-2.7-13.7-3.6C1640.2,76.8,1635.2,76.3,1630.1,76.5z"/>
|
|
67
|
+
<path class="st8" d="M1705.1,188h71.4v15.2h-88V64h84.4v15.2h-67.5v44.6h59.8V139h-59.8L1705.1,188z"/>
|
|
68
|
+
</g>
|
|
69
|
+
</g>
|
|
70
|
+
</svg>
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "<%= AppName %>",
|
|
3
|
+
"short_name": "<%= AppName %>",
|
|
4
|
+
"orientation": "portrait",
|
|
5
|
+
"theme_color": "#1976d2",
|
|
6
|
+
"background_color": "#fafafa",
|
|
7
|
+
"display": "standalone",
|
|
8
|
+
"scope": "/",
|
|
9
|
+
"description": "<%= appName %>",
|
|
10
|
+
"start_url": "/",
|
|
11
|
+
"icons": [
|
|
12
|
+
{
|
|
13
|
+
"src": "icons/icon-72x72.png",
|
|
14
|
+
"sizes": "72x72",
|
|
15
|
+
"type": "image/png",
|
|
16
|
+
"purpose": "any"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"src": "icons/icon-96x96.png",
|
|
20
|
+
"sizes": "96x96",
|
|
21
|
+
"type": "image/png",
|
|
22
|
+
"purpose": "any"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"src": "icons/icon-128x128.png",
|
|
26
|
+
"sizes": "128x128",
|
|
27
|
+
"type": "image/png",
|
|
28
|
+
"purpose": "any"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"src": "icons/icon-144x144.png",
|
|
32
|
+
"sizes": "144x144",
|
|
33
|
+
"type": "image/png",
|
|
34
|
+
"purpose": "any"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"src": "icons/icon-152x152.png",
|
|
38
|
+
"sizes": "152x152",
|
|
39
|
+
"type": "image/png",
|
|
40
|
+
"purpose": "any"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"src": "icons/icon-192x192.png",
|
|
44
|
+
"sizes": "192x192",
|
|
45
|
+
"type": "image/png",
|
|
46
|
+
"purpose": "any"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"src": "icons/icon-256x256.png",
|
|
50
|
+
"sizes": "256x256",
|
|
51
|
+
"type": "image/png",
|
|
52
|
+
"purpose": "any"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"src": "icons/icon-384x384.png",
|
|
56
|
+
"sizes": "384x384",
|
|
57
|
+
"type": "image/png",
|
|
58
|
+
"purpose": "any"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"src": "icons/icon-512x512.png",
|
|
62
|
+
"sizes": "512x512",
|
|
63
|
+
"type": "image/png",
|
|
64
|
+
"purpose": "any"
|
|
65
|
+
}
|
|
66
|
+
]
|
|
67
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "../../tsconfig.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"allowJs": true,
|
|
5
|
+
"strict": false,
|
|
6
|
+
"noEmit": true,
|
|
7
|
+
"incremental": true,
|
|
8
|
+
"resolveJsonModule": true,
|
|
9
|
+
"jsx": "preserve",
|
|
10
|
+
"plugins": [
|
|
11
|
+
{
|
|
12
|
+
"name": "next",
|
|
13
|
+
},
|
|
14
|
+
],
|
|
15
|
+
},
|
|
16
|
+
"include": ["./**/*.ts", "./**/*.tsx", ".next/types/**/*.ts"],
|
|
17
|
+
"references": [
|
|
18
|
+
{
|
|
19
|
+
"path": "./tsconfig.spec.json",
|
|
20
|
+
},
|
|
21
|
+
],
|
|
22
|
+
}
|