@temir.ra/create-template 0.1.2 → 0.1.4

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/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Version 0
2
2
 
3
+ ## 0.1.4
4
+
5
+ 1. Updated `template/` files from `@temir.ra/ts-lib@0.7.2` template.
6
+ 2. Updated the description in `package.json`.
7
+
8
+ ## 0.1.3
9
+
10
+ 1. Removed `scripts/dev.ts`.
11
+
3
12
  ## 0.1.2
4
13
 
5
14
  1. Updated `package.json` from `create-ts-lib` template.
package/buildinfo.txt CHANGED
@@ -1 +1 @@
1
- 0.1.2+1e4ccca
1
+ 0.1.4+1bb9f0d
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@temir.ra/create-template",
3
- "version": "0.1.2",
4
- "description": "Template package to create new template packages",
3
+ "version": "0.1.4",
4
+ "description": "Template for a template package.",
5
5
  "author": "temir.ra",
6
6
  "license": "MIT",
7
7
  "keywords": [
@@ -1,9 +1,9 @@
1
1
  node_modules
2
2
  buildinfo.txt
3
- *.tsbuildinfo
4
3
  buildinfo-template.txt
5
4
  CHANGELOG-template.md
6
5
  README-template.md
6
+ *.tsbuildinfo
7
7
  dist
8
8
  example/
9
9
  bun.lock
@@ -1,45 +1,45 @@
1
- {
2
- "name": "",
3
- "version": "0.0.0",
4
- "description": "",
5
- "author": "",
6
- "license": "",
7
- "keywords": [
8
- "typescript"
9
- ],
10
- "repository": {
11
- "type": "git",
12
- "url": ""
13
- },
14
- "private": false,
15
- "type": "module",
16
- "imports": {
17
- "#src/*.js": "./src/*.ts"
18
- },
19
- "bin": "./dist/cli.bundle.js",
20
- "files": [
21
- "scripts/buildinfo.ts",
22
- "scripts/build-bundle.ts",
23
- "scripts/cdn-rewrite-map.json",
24
- "dist",
25
- "CHANGELOG.md",
26
- "buildinfo.txt",
27
- "template"
28
- ],
29
- "scripts": {
30
- "clean:dist": "rm -rf dist/",
31
- "clean:tsbuildinfo": "rm -f *.tsbuildinfo || true",
32
- "clean": "bun run clean:dist && bun run clean:tsbuildinfo",
33
- "buildinfo": "bun run scripts/buildinfo.ts",
34
- "tests": "bun test",
35
- "typecheck": "tsc --noEmit",
36
- "reinstall": "rm -rf node_modules && rm -f bun.lock && bun pm cache rm && bun install && bunx tsc --version",
37
- "prebuild": "bun run buildinfo",
38
- "build": "bun run build:cli-bundle",
39
- "build:cli-bundle": "bun build src/cli.ts --entry-naming \"[dir]/[name].bundle.[ext]\" --outdir dist --target node --format esm --minify --sourcemap=external"
40
- },
41
- "devDependencies": {
42
- "@types/bun": "latest",
43
- "typescript": "^6.0.2"
44
- }
1
+ {
2
+ "name": "",
3
+ "version": "0.0.0",
4
+ "description": "",
5
+ "author": "",
6
+ "license": "",
7
+ "keywords": [
8
+ "typescript"
9
+ ],
10
+ "repository": {
11
+ "type": "git",
12
+ "url": ""
13
+ },
14
+ "private": false,
15
+ "type": "module",
16
+ "imports": {
17
+ "#src/*.js": "./src/*.ts"
18
+ },
19
+ "bin": "./dist/cli.bundle.js",
20
+ "files": [
21
+ "scripts/buildinfo.ts",
22
+ "scripts/build-bundle.ts",
23
+ "scripts/cdn-rewrite-map.json",
24
+ "CHANGELOG.md",
25
+ "buildinfo.txt",
26
+ "dist",
27
+ "template"
28
+ ],
29
+ "scripts": {
30
+ "reinstall": "rm -rf node_modules && rm -f bun.lock && bun pm cache rm && bun install && bunx tsc --version",
31
+ "typecheck": "tsc --noEmit",
32
+ "buildinfo": "bun run scripts/buildinfo.ts",
33
+ "clean:dist": "rm -rf dist/",
34
+ "clean:tsbuildinfo": "rm -f *.tsbuildinfo || true",
35
+ "clean": "bun run clean:dist && bun run clean:tsbuildinfo",
36
+ "tests": "bun test",
37
+ "prebuild": "bun run buildinfo",
38
+ "build": "bun run build:cli-bundle",
39
+ "build:cli-bundle": "bun build src/cli.ts --entry-naming \"[dir]/[name].bundle.[ext]\" --outdir dist --target node --format esm --minify --sourcemap=external"
40
+ },
41
+ "devDependencies": {
42
+ "@types/bun": "latest",
43
+ "typescript": "^6.0.2"
44
+ }
45
45
  }
@@ -26,10 +26,10 @@
26
26
  "outDir": "./dist"
27
27
  },
28
28
  "include": [
29
- "tests/**/*.ts",
30
29
  "scripts/**/*.ts",
31
30
  "scripts/**/*.json",
32
- "src/**/*.ts"
31
+ "src/**/*.ts",
32
+ "tests/**/*.ts"
33
33
  ],
34
34
  "exclude": [
35
35
  "node_modules",
@@ -1,13 +0,0 @@
1
- import { fileURLToPath } from 'url';
2
-
3
-
4
- const start: number = performance.now();
5
-
6
- const packageUrl = new URL('../', import.meta.url);
7
- console.log(`'packagePath':`, fileURLToPath(packageUrl));
8
-
9
-
10
- // dev scratchpad
11
-
12
-
13
- console.log(`${(performance.now() - start).toFixed(3)}ms`);