create-minimal-package 1.5.0 → 1.5.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.
@@ -0,0 +1,9 @@
1
+ /**
2
+ @module
3
+ */
4
+ import { mySubmodule } from './submodule';
5
+ /**
6
+ * Lorem ipsum.
7
+ */
8
+ export declare const myPackage: (taco?: string) => string;
9
+ export { mySubmodule };
@@ -0,0 +1,4 @@
1
+ /**
2
+ * Lorem ipsum.
3
+ */
4
+ export declare const mySubmodule: (taco?: string) => string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "create-minimal-package",
3
3
  "type": "commonjs",
4
- "version": "1.5.0",
4
+ "version": "1.5.1",
5
5
  "description": "Minimalistic npm package template with 📦🚀semantic-release + Commitizen, CodeCov, Renovate, pre-commit + EsLint (✗🐶Husky + Lint Staged), ⚡️Vitest (✗👢Jest), 📖TypeDoc + Github Pages support. Note that this is a generated sample package.",
6
6
  "author": {
7
7
  "name": "34j"
@@ -24,9 +24,10 @@
24
24
  "semantic-release",
25
25
  "typedoc"
26
26
  ],
27
- "main": "./dist/index.js",
27
+ "main": "dist/src/index.js",
28
+ "types": "dist/src/index.d.ts",
28
29
  "files": [
29
- "dist/**/*"
30
+ "dist/src/**/*"
30
31
  ],
31
32
  "scripts": {
32
33
  "build:watch": "tsc --watch --project tsconfig.json",
@@ -59,9 +60,10 @@
59
60
  },
60
61
  "typedocOptions": {
61
62
  "entryPoints": [
62
- "./src"
63
+ "src"
63
64
  ],
64
- "tsconfig": "./tsconfig.json"
65
+ "tsconfig": "tsconfig.json",
66
+ "headings": false
65
67
  },
66
68
  "release": {
67
69
  "plugins": [
@@ -1,20 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const vitest_1 = require("vitest");
4
- const src_1 = require("../src");
5
- (0, vitest_1.describe)('index', () => {
6
- (0, vitest_1.describe)('myPackage', () => {
7
- (0, vitest_1.it)('should return a string containing the message', () => {
8
- const message = 'Hello';
9
- const result = (0, src_1.myPackage)(message);
10
- (0, vitest_1.expect)(result).toMatch(message);
11
- });
12
- });
13
- (0, vitest_1.describe)('mySubmodule', () => {
14
- (0, vitest_1.it)('should return a string containing the message', () => {
15
- const message = 'Hello';
16
- const result = (0, src_1.mySubmodule)(message);
17
- (0, vitest_1.expect)(result).toMatch(message);
18
- });
19
- });
20
- });