@tsed/cli-plugin-oidc-provider 5.3.1 → 6.0.0-alpha.1

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 (29) hide show
  1. package/lib/esm/CliPluginOidcProviderModule.js +0 -1
  2. package/lib/esm/CliPluginOidcProviderModule.js.map +1 -1
  3. package/lib/esm/hooks/OidcProviderInitHook.js +0 -4
  4. package/lib/esm/hooks/OidcProviderInitHook.js.map +1 -1
  5. package/lib/esm/index.js.map +1 -1
  6. package/lib/esm/utils/templateDir.js +3 -5
  7. package/lib/esm/utils/templateDir.js.map +1 -1
  8. package/lib/tsconfig.esm.tsbuildinfo +1 -1
  9. package/lib/types/index.d.ts +3 -3
  10. package/package.json +22 -20
  11. package/templates/init/src/config/oidc/index.ts.hbs +2 -2
  12. package/templates/init/src/controllers/oidc/InteractionsController.spec.ts +2 -2
  13. package/templates/init/src/controllers/oidc/InteractionsController.ts +1 -1
  14. package/templates/init/src/interactions/ConsentInteraction.spec.ts +6 -6
  15. package/templates/init/src/interactions/LoginInteraction.spec.ts +6 -6
  16. package/templates/init/src/interactions/LoginInteraction.ts +1 -1
  17. package/templates/init/src/interactions/__mock__/oidcContext.fixture.ts +13 -13
  18. package/templates/init/src/services/Accounts.ts +1 -1
  19. package/lib/cjs/CliPluginOidcProviderModule.js +0 -39
  20. package/lib/cjs/CliPluginOidcProviderModule.js.map +0 -1
  21. package/lib/cjs/hooks/OidcProviderInitHook.js +0 -72
  22. package/lib/cjs/hooks/OidcProviderInitHook.js.map +0 -1
  23. package/lib/cjs/index.js +0 -8
  24. package/lib/cjs/index.js.map +0 -1
  25. package/lib/cjs/package.json +0 -3
  26. package/lib/cjs/utils/templateDir.js +0 -6
  27. package/lib/cjs/utils/templateDir.js.map +0 -1
  28. package/lib/esm/package.json +0 -3
  29. package/lib/tsconfig.tsbuildinfo +0 -1
@@ -1,4 +1,4 @@
1
- import { CliPluginOidcProviderModule } from "./CliPluginOidcProviderModule";
2
- export * from "./hooks/OidcProviderInitHook";
3
- export * from "./utils/templateDir";
1
+ import { CliPluginOidcProviderModule } from "./CliPluginOidcProviderModule.js";
2
+ export * from "./hooks/OidcProviderInitHook.js";
3
+ export * from "./utils/templateDir.js";
4
4
  export default CliPluginOidcProviderModule;
package/package.json CHANGED
@@ -1,23 +1,24 @@
1
1
  {
2
2
  "name": "@tsed/cli-plugin-oidc-provider",
3
- "version": "5.3.1",
4
3
  "description": "Ts.ED CLI plugin. Add OIDC Provider",
4
+ "version": "6.0.0-alpha.1",
5
+ "type": "module",
6
+ "main": "./lib/esm/index.js",
5
7
  "source": "./src/index.ts",
6
- "main": "./lib/cjs/index.js",
7
8
  "module": "./lib/esm/index.js",
8
9
  "typings": "./lib/types/index.d.ts",
9
10
  "exports": {
10
- "types": "./lib/types/index.d.ts",
11
- "import": "./lib/esm/index.js",
12
- "require": "./lib/cjs/index.js",
13
- "default": "./lib/esm/index.js"
11
+ ".": {
12
+ "types": "./lib/types/index.d.ts",
13
+ "import": "./lib/esm/index.js",
14
+ "default": "./lib/esm/index.js"
15
+ }
14
16
  },
15
17
  "scripts": {
16
18
  "build": "yarn build:ts",
17
- "build:ts": "tsc --build tsconfig.json && tsc --build tsconfig.esm.json && cp scripts/templateDir.esm.js lib/esm/utils/templateDir.js",
18
- "lint": "eslint '**/*.{ts,js}'",
19
- "lint:fix": "eslint '**/*.{ts,js}' --fix",
20
- "test": "cross-env NODE_ENV=test yarn jest --max-workers=2 --passWithNoTests && jest-coverage-thresholds-bumper"
19
+ "build:ts": "tsc --build tsconfig.json",
20
+ "test": "vitest run",
21
+ "test:ci": "vitest run --coverage.thresholds.autoUpdate=true"
21
22
  },
22
23
  "files": [
23
24
  "lib",
@@ -27,18 +28,16 @@
27
28
  "tslib": "2.3.1"
28
29
  },
29
30
  "devDependencies": {
30
- "@tsed/cli": "5.3.1",
31
- "@tsed/cli-core": "5.3.1",
32
- "@tsed/eslint": "5.3.1",
33
- "@tsed/jest-config": "5.3.1",
34
- "@tsed/typescript": "5.3.1",
31
+ "@tsed/cli": "6.0.0-alpha.1",
32
+ "@tsed/cli-core": "6.0.0-alpha.1",
33
+ "@tsed/typescript": "6.0.0-alpha.1",
35
34
  "cross-env": "7.0.3",
36
- "eslint": "8.22.0",
37
- "jest": "29.5.0"
35
+ "typescript": "4.9.5",
36
+ "vitest": "2.1.1"
38
37
  },
39
38
  "peerDependencies": {
40
- "@tsed/cli": "5.3.1",
41
- "@tsed/cli-core": "5.3.1"
39
+ "@tsed/cli": "workspace:*",
40
+ "@tsed/cli-core": "workspace:*"
42
41
  },
43
42
  "repository": "https://github.com/tsedio/tsed-cli",
44
43
  "bugs": {
@@ -46,5 +45,8 @@
46
45
  },
47
46
  "homepage": "https://github.com/tsedio/tsed-cli/tree/master/packages/cli-plugin-oidc-provider",
48
47
  "author": "Romain Lenzotti",
49
- "license": "MIT"
48
+ "license": "MIT",
49
+ "publishConfig": {
50
+ "tag": "alpha"
51
+ }
50
52
  }
@@ -1,5 +1,5 @@
1
1
  import {OidcSettings} from "@tsed/oidc-provider";
2
- import {Accounts} from "../../services/Accounts";
2
+ import {Accounts} from "../../services/Accounts.js";
3
3
 
4
4
  const settings: OidcSettings = {
5
5
  path: "{{oidcBasePath}}",
@@ -30,4 +30,4 @@ const settings: OidcSettings = {
30
30
  }
31
31
  }
32
32
 
33
- export default settings
33
+ export default settings
@@ -1,7 +1,7 @@
1
1
  import { PlatformTest } from "@tsed/common";
2
2
 
3
- import { getOidcContextFixture } from "../../interactions/__mock__/oidcContext.fixture";
4
- import { InteractionsController } from "./InteractionsController";
3
+ import { getOidcContextFixture } from "../../interactions/__mock__/oidcContext.fixture.js";
4
+ import { InteractionsController } from "./InteractionsController.js";
5
5
 
6
6
  describe("InteractionsController", () => {
7
7
  beforeEach(() => PlatformTest.create());
@@ -1,7 +1,7 @@
1
1
  import {Get, PathParams} from "@tsed/common";
2
2
  import {Interactions, OidcCtx} from "@tsed/oidc-provider";
3
3
  import {Name} from "@tsed/schema";
4
- import * as interactions from "../../interactions/index";
4
+ import * as interactions from "../../interactions/index.js";
5
5
 
6
6
  @Name("Oidc")
7
7
  @Interactions({
@@ -1,7 +1,7 @@
1
1
  import { PlatformTest } from "@tsed/common";
2
2
 
3
- import { getOidcContextFixture } from "./__mock__/oidcContext.fixture";
4
- import { ConsentInteraction } from "./ConsentInteraction";
3
+ import { getOidcContextFixture } from "./__mock__/oidcContext.fixture.js";
4
+ import { ConsentInteraction } from "./ConsentInteraction.js";
5
5
 
6
6
  async function createInteractionFixture() {
7
7
  const interaction = await PlatformTest.invoke<ConsentInteraction>(ConsentInteraction, []);
@@ -41,10 +41,10 @@ describe("ConsentInteraction", () => {
41
41
  oidcContext.prompt.name = "consent";
42
42
 
43
43
  const grant = {
44
- save: jest.fn().mockResolvedValue("grantId"),
45
- addOIDCScope: jest.fn(),
46
- addOIDCClaims: jest.fn(),
47
- addResourceScope: jest.fn()
44
+ save: vi.fn().mockResolvedValue("grantId"),
45
+ addOIDCScope: vi.fn(),
46
+ addOIDCClaims: vi.fn(),
47
+ addResourceScope: vi.fn()
48
48
  };
49
49
 
50
50
  oidcContext.getGrant.mockResolvedValue(grant);
@@ -2,13 +2,13 @@ import { PlatformTest } from "@tsed/common";
2
2
  import { catchAsyncError } from "@tsed/core";
3
3
  import { BadRequest } from "@tsed/exceptions";
4
4
 
5
- import { Accounts } from "../services/Accounts";
6
- import { getOidcContextFixture } from "./__mock__/oidcContext.fixture";
7
- import { LoginInteraction } from "./LoginInteraction";
5
+ import { Accounts } from "../services/Accounts.js";
6
+ import { getOidcContextFixture } from "./__mock__/oidcContext.fixture.js";
7
+ import { LoginInteraction } from "./LoginInteraction.js";
8
8
 
9
9
  async function createInteractionFixture() {
10
10
  const accounts = {
11
- authenticate: jest.fn()
11
+ authenticate: vi.fn()
12
12
  };
13
13
 
14
14
  const interaction = await PlatformTest.invoke<LoginInteraction>(LoginInteraction, [
@@ -23,7 +23,7 @@ async function createInteractionFixture() {
23
23
 
24
24
  describe("LoginInteraction", () => {
25
25
  beforeEach(() => {
26
- jest.resetAllMocks();
26
+ vi.resetAllMocks();
27
27
  return PlatformTest.create();
28
28
  });
29
29
  afterEach(() => PlatformTest.reset());
@@ -54,7 +54,7 @@ describe("LoginInteraction", () => {
54
54
  const { interaction } = await createInteractionFixture();
55
55
  const oidcContext = getOidcContextFixture();
56
56
 
57
- (oidcContext.checkClientId as jest.Mock).mockRejectedValue(new Error("Unknown given client_id: client_id"));
57
+ (oidcContext.checkClientId as vi.Mock).mockRejectedValue(new Error("Unknown given client_id: client_id"));
58
58
 
59
59
  const result = await catchAsyncError(() => interaction.$prompt(oidcContext));
60
60
 
@@ -3,7 +3,7 @@ import {Env} from "@tsed/core";
3
3
  import {Constant} from "@tsed/di";
4
4
  import {Interaction, OidcCtx} from "@tsed/oidc-provider";
5
5
  import {Name} from "@tsed/schema";
6
- import {Accounts} from "../services/Accounts";
6
+ import {Accounts} from "../services/Accounts.js";
7
7
 
8
8
  @Interaction({
9
9
  name: "login",
@@ -17,17 +17,17 @@ export function getOidcContextFixture(opts: Partial<OidcInteractionContext> = {}
17
17
  oidcInteractions: undefined,
18
18
  oidcProvider: undefined,
19
19
  raw: undefined,
20
- debug: jest.fn(),
21
- findAccount: jest.fn(),
22
- findClient: jest.fn(),
23
- getGrant: jest.fn(),
20
+ debug: vi.fn(),
21
+ findAccount: vi.fn(),
22
+ findClient: vi.fn(),
23
+ getGrant: vi.fn(),
24
24
  grantId: undefined,
25
- checkInteractionName: jest.fn(),
26
- checkClientId: jest.fn(),
27
- interactionDetails: jest.fn().mockResolvedValue({}),
28
- interactionFinished: jest.fn().mockResolvedValue(undefined),
29
- interactionResult: jest.fn().mockResolvedValue(""),
30
- interactionPrompt: jest.fn().mockImplementation((obj) => {
25
+ checkInteractionName: vi.fn(),
26
+ checkClientId: vi.fn(),
27
+ interactionDetails: vi.fn().mockResolvedValue({}),
28
+ interactionFinished: vi.fn().mockResolvedValue(undefined),
29
+ interactionResult: vi.fn().mockResolvedValue(""),
30
+ interactionPrompt: vi.fn().mockImplementation((obj) => {
31
31
  return {
32
32
  client: {
33
33
  client_id: "client_id"
@@ -41,9 +41,9 @@ export function getOidcContextFixture(opts: Partial<OidcInteractionContext> = {}
41
41
  }
42
42
  };
43
43
  }),
44
- render: jest.fn(),
45
- runInteraction: jest.fn(),
46
- save: jest.fn(),
44
+ render: vi.fn(),
45
+ runInteraction: vi.fn(),
46
+ save: vi.fn(),
47
47
  session: {},
48
48
  params: {
49
49
  client_id: "client_id"
@@ -2,7 +2,7 @@ import {Adapter, InjectAdapter} from "@tsed/adapters";
2
2
  import {Injectable} from "@tsed/di";
3
3
  import {deserialize} from "@tsed/json-mapper";
4
4
  import {OidcAccountsMethods} from "@tsed/oidc-provider";
5
- import {Account} from "../models/Account";
5
+ import {Account} from "../models/Account.js";
6
6
 
7
7
  @Injectable()
8
8
  export class Accounts implements OidcAccountsMethods {
@@ -1,39 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CliPluginOidcProviderModule = void 0;
4
- const tslib_1 = require("tslib");
5
- const cli_core_1 = require("@tsed/cli-core");
6
- const di_1 = require("@tsed/di");
7
- const OidcProviderInitHook_1 = require("./hooks/OidcProviderInitHook");
8
- let CliPluginOidcProviderModule = class CliPluginOidcProviderModule {
9
- packageJson;
10
- install() {
11
- this.packageJson.addDependencies({
12
- "oidc-provider": "latest",
13
- "@tsed/oidc-provider": "latest",
14
- "@tsed/jwks": "latest",
15
- "@tsed/adapters": "latest",
16
- bcrypt: "latest"
17
- });
18
- this.packageJson.addDevDependencies({
19
- "@types/oidc-provider": "latest"
20
- });
21
- }
22
- };
23
- tslib_1.__decorate([
24
- (0, di_1.Inject)(),
25
- tslib_1.__metadata("design:type", cli_core_1.ProjectPackageJson)
26
- ], CliPluginOidcProviderModule.prototype, "packageJson", void 0);
27
- tslib_1.__decorate([
28
- (0, cli_core_1.OnAdd)("@tsed/cli-plugin-oidc-provider"),
29
- tslib_1.__metadata("design:type", Function),
30
- tslib_1.__metadata("design:paramtypes", []),
31
- tslib_1.__metadata("design:returntype", void 0)
32
- ], CliPluginOidcProviderModule.prototype, "install", null);
33
- CliPluginOidcProviderModule = tslib_1.__decorate([
34
- (0, cli_core_1.Module)({
35
- imports: [OidcProviderInitHook_1.OidcProviderInitHook]
36
- })
37
- ], CliPluginOidcProviderModule);
38
- exports.CliPluginOidcProviderModule = CliPluginOidcProviderModule;
39
- //# sourceMappingURL=CliPluginOidcProviderModule.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CliPluginOidcProviderModule.js","sourceRoot":"","sources":["../../src/CliPluginOidcProviderModule.ts"],"names":[],"mappings":";;;;AAAA,6CAAiE;AACjE,iCAAgC;AAChC,uEAAkE;AAK3D,IAAM,2BAA2B,GAAjC,MAAM,2BAA2B;IAEtC,WAAW,CAAqB;IAGhC,OAAO;QACL,IAAI,CAAC,WAAW,CAAC,eAAe,CAAC;YAC/B,eAAe,EAAE,QAAQ;YACzB,qBAAqB,EAAE,QAAQ;YAC/B,YAAY,EAAE,QAAQ;YACtB,gBAAgB,EAAE,QAAQ;YAC1B,MAAM,EAAE,QAAQ;SACjB,CAAC,CAAC;QACH,IAAI,CAAC,WAAW,CAAC,kBAAkB,CAAC;YAClC,sBAAsB,EAAE,QAAQ;SACjC,CAAC,CAAC;IACL,CAAC;CACF,CAAA;AAhBC;IAAC,IAAA,WAAM,GAAE;sCACI,6BAAkB;gEAAC;AAEhC;IAAC,IAAA,gBAAK,EAAC,gCAAgC,CAAC;;;;0DAYvC;AAhBU,2BAA2B;IAHvC,IAAA,iBAAM,EAAC;QACN,OAAO,EAAE,CAAC,2CAAoB,CAAC;KAChC,CAAC;GACW,2BAA2B,CAiBvC;AAjBY,kEAA2B"}
@@ -1,72 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.OidcProviderInitHook = void 0;
4
- const tslib_1 = require("tslib");
5
- const cli_core_1 = require("@tsed/cli-core");
6
- const di_1 = require("@tsed/di");
7
- const templateDir_1 = require("../utils/templateDir");
8
- let OidcProviderInitHook = class OidcProviderInitHook {
9
- packageJson;
10
- rootRenderer;
11
- srcRenderer;
12
- cliDockerComposeYaml;
13
- onExec(ctx) {
14
- return [
15
- {
16
- title: "Generate OIDC files",
17
- task: () => this.rootRenderer.renderAll([
18
- "/src/config/oidc/index.ts.hbs",
19
- "/src/controllers/oidc/InteractionsController.ts",
20
- ctx.jest && "/src/controllers/oidc/InteractionsController.spec.ts",
21
- "/src/interactions/ConsentInteraction.ts",
22
- ctx.jest && "/src/interactions/ConsentInteraction.spec.ts",
23
- "/src/interactions/CustomInteraction.ts",
24
- "/src/interactions/LoginInteraction.ts",
25
- ctx.jest && "/src/interactions/LoginInteraction.spec.ts",
26
- ctx.jest && "/src/interactions/__mock__/oidcContext.fixture.ts",
27
- "/src/models/Account.ts",
28
- "/src/services/Accounts.ts",
29
- "/views/forms/consent-form.ejs",
30
- "/views/forms/login-form.ejs",
31
- "/views/forms/select-account-form.ejs",
32
- "/views/partials/footer.ejs",
33
- "/views/partials/header.ejs",
34
- "/views/partials/login-help.ejs",
35
- "/views/consent.ejs",
36
- "/views/login.ejs",
37
- "/views/repost.ejs",
38
- "/views/select_account.ejs"
39
- ], ctx, {
40
- templateDir: `${templateDir_1.TEMPLATE_DIR}/init`
41
- })
42
- }
43
- ];
44
- }
45
- };
46
- tslib_1.__decorate([
47
- (0, cli_core_1.Inject)(),
48
- tslib_1.__metadata("design:type", cli_core_1.ProjectPackageJson)
49
- ], OidcProviderInitHook.prototype, "packageJson", void 0);
50
- tslib_1.__decorate([
51
- (0, cli_core_1.Inject)(),
52
- tslib_1.__metadata("design:type", cli_core_1.RootRendererService)
53
- ], OidcProviderInitHook.prototype, "rootRenderer", void 0);
54
- tslib_1.__decorate([
55
- (0, cli_core_1.Inject)(),
56
- tslib_1.__metadata("design:type", cli_core_1.SrcRendererService)
57
- ], OidcProviderInitHook.prototype, "srcRenderer", void 0);
58
- tslib_1.__decorate([
59
- (0, cli_core_1.Inject)(),
60
- tslib_1.__metadata("design:type", cli_core_1.CliDockerComposeYaml)
61
- ], OidcProviderInitHook.prototype, "cliDockerComposeYaml", void 0);
62
- tslib_1.__decorate([
63
- (0, cli_core_1.OnExec)("init"),
64
- tslib_1.__metadata("design:type", Function),
65
- tslib_1.__metadata("design:paramtypes", [Object]),
66
- tslib_1.__metadata("design:returntype", void 0)
67
- ], OidcProviderInitHook.prototype, "onExec", null);
68
- OidcProviderInitHook = tslib_1.__decorate([
69
- (0, di_1.Injectable)()
70
- ], OidcProviderInitHook);
71
- exports.OidcProviderInitHook = OidcProviderInitHook;
72
- //# sourceMappingURL=OidcProviderInitHook.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"OidcProviderInitHook.js","sourceRoot":"","sources":["../../../src/hooks/OidcProviderInitHook.ts"],"names":[],"mappings":";;;;AACA,6CAAiI;AACjI,iCAAoC;AACpC,sDAAkD;AAG3C,IAAM,oBAAoB,GAA1B,MAAM,oBAAoB;IAErB,WAAW,CAAqB;IAGhC,YAAY,CAAsB;IAGlC,WAAW,CAAqB;IAGhC,oBAAoB,CAAuB;IAGrD,MAAM,CAAC,GAAmB;QACxB,OAAO;YACL;gBACE,KAAK,EAAE,qBAAqB;gBAC5B,IAAI,EAAE,GAAG,EAAE,CACT,IAAI,CAAC,YAAY,CAAC,SAAS,CACzB;oBACE,+BAA+B;oBAC/B,iDAAiD;oBACjD,GAAG,CAAC,IAAI,IAAI,sDAAsD;oBAClE,yCAAyC;oBACzC,GAAG,CAAC,IAAI,IAAI,8CAA8C;oBAC1D,wCAAwC;oBACxC,uCAAuC;oBACvC,GAAG,CAAC,IAAI,IAAI,4CAA4C;oBACxD,GAAG,CAAC,IAAI,IAAI,mDAAmD;oBAC/D,wBAAwB;oBACxB,2BAA2B;oBAC3B,+BAA+B;oBAC/B,6BAA6B;oBAC7B,sCAAsC;oBACtC,4BAA4B;oBAC5B,4BAA4B;oBAC5B,gCAAgC;oBAChC,oBAAoB;oBACpB,kBAAkB;oBAClB,mBAAmB;oBACnB,2BAA2B;iBAC5B,EACD,GAAG,EACH;oBACE,WAAW,EAAE,GAAG,0BAAY,OAAO;iBACpC,CACF;aACJ;SACF,CAAC;IACJ,CAAC;CACF,CAAA;AAlDC;IAAC,IAAA,iBAAM,GAAE;sCACc,6BAAkB;yDAAC;AAE1C;IAAC,IAAA,iBAAM,GAAE;sCACe,8BAAmB;0DAAC;AAE5C;IAAC,IAAA,iBAAM,GAAE;sCACc,6BAAkB;yDAAC;AAE1C;IAAC,IAAA,iBAAM,GAAE;sCACuB,+BAAoB;kEAAC;AAErD;IAAC,IAAA,iBAAM,EAAC,MAAM,CAAC;;;;kDAqCd;AAlDU,oBAAoB;IADhC,IAAA,eAAU,GAAE;GACA,oBAAoB,CAmDhC;AAnDY,oDAAoB"}
package/lib/cjs/index.js DELETED
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- const CliPluginOidcProviderModule_1 = require("./CliPluginOidcProviderModule");
5
- tslib_1.__exportStar(require("./hooks/OidcProviderInitHook"), exports);
6
- tslib_1.__exportStar(require("./utils/templateDir"), exports);
7
- exports.default = CliPluginOidcProviderModule_1.CliPluginOidcProviderModule;
8
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;AAAA,+EAA0E;AAE1E,uEAA6C;AAC7C,8DAAoC;AAEpC,kBAAe,yDAA2B,CAAC"}
@@ -1,3 +0,0 @@
1
- {
2
- "type": "commonjs"
3
- }
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TEMPLATE_DIR = void 0;
4
- const cli_core_1 = require("@tsed/cli-core");
5
- exports.TEMPLATE_DIR = (0, cli_core_1.getTemplateDirectory)(__dirname);
6
- //# sourceMappingURL=templateDir.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"templateDir.js","sourceRoot":"","sources":["../../../src/utils/templateDir.ts"],"names":[],"mappings":";;;AAAA,6CAAoD;AAEvC,QAAA,YAAY,GAAG,IAAA,+BAAoB,EAAC,SAAS,CAAC,CAAC"}
@@ -1,3 +0,0 @@
1
- {
2
- "type": "module"
3
- }