@tsmodule/tsmodule 43.3.1 → 44.1.0

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/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@tsmodule/tsmodule",
3
3
  "platform": "node",
4
4
  "type": "module",
5
- "version": "43.3.1",
5
+ "version": "44.1.0",
6
6
  "repository": "tsmodule/tsmodule",
7
7
  "description": "Create standardized TypeScript ESM packages for Node or browser.",
8
8
  "license": "MIT",
@@ -24,42 +24,41 @@
24
24
  "node": ">=14"
25
25
  },
26
26
  "scripts": {
27
- "prebootload": "node scripts/bootstrap.js",
27
+ "bootstrap": "node scripts/bootstrap.js",
28
28
  "bootload": "node --no-warnings --loader ./dist/loader/index.js src/index.ts build -r",
29
- "prebuild": "yarn bootload && npm link -f",
30
- "build": "node dist/bin.js build --standalone \"src/{index.ts,bin.ts,loader/index.ts}\"",
29
+ "boot": "pnpm bootstrap && pnpm bootload && pnpm link --global",
30
+ "build": "pnpm boot && node dist/bin.js build --standalone \"src/{index.ts,bin.ts,loader/index.ts}\"",
31
31
  "dev": "node dist/bin.js dev",
32
- "test-bundle": "yarn build && ava",
33
- "test": "yarn test-bundle",
34
- "retest": "SKIP_TEST_SETUP=1 yarn test-bundle",
35
- "retest-bundle": "SKIP_TEST_SETUP=1 yarn test-bundle",
32
+ "test-bundle": "pnpm build && ava",
33
+ "test": "pnpm test-bundle",
34
+ "retest": "SKIP_TEST_SETUP=1 pnpm test-bundle",
36
35
  "lint": "eslint --fix src",
37
36
  "prepublishOnly": "node scripts/prepublish.js"
38
37
  },
39
38
  "dependencies": {
40
- "esbuild": "^0.17.8",
39
+ "esbuild": "^0.17.18",
41
40
  "pkg": "^5.8.1",
42
- "typescript": "^4.9.3"
41
+ "typescript": "^5.0.4"
43
42
  },
44
43
  "devDependencies": {
45
44
  "@tsmodule/log": "^2.2.1",
46
- "@types/node": "^18.11.9",
47
- "@typescript-eslint/eslint-plugin": "^5.44.0",
48
- "@typescript-eslint/parser": "^5.44.0",
45
+ "@types/node": "^18.16.3",
46
+ "@typescript-eslint/eslint-plugin": "^5.59.1",
47
+ "@typescript-eslint/parser": "^5.59.1",
49
48
  "assert": "^2.0.0",
50
49
  "ava": "^5.2.0",
51
50
  "chalk": "^5.1.2",
52
- "commander": "^10.0.0",
51
+ "commander": "^10.0.1",
53
52
  "debug-logging": "^4.1.2",
54
- "es-module-lexer": "^1.1.0",
55
- "eslint": "^8.28.0",
56
- "eslint-config-next": "^13.0.5",
53
+ "es-module-lexer": "^1.2.1",
54
+ "eslint": "^8.39.0",
55
+ "eslint-config-next": "^13.3.2",
57
56
  "fast-glob": "^3.2.12",
58
- "get-tsconfig": "^4.4.0",
57
+ "get-tsconfig": "^4.5.0",
59
58
  "node-watch": "^0.7.3",
60
- "ora": "^6.1.2",
59
+ "ora": "^6.3.0",
61
60
  "path": "^0.12.7",
62
- "release-it": "^15.5.0",
61
+ "release-it": "^15.10.2",
63
62
  "universal-shell": "^35.0.11"
64
63
  },
65
64
  "release-it": {
@@ -6,27 +6,27 @@ default, it is assumed to be a Node program, but this can be adjusted via the
6
6
 
7
7
  ### Develop
8
8
 
9
- Rebuild on changes with `tsmodule dev` or the `yarn dev` script:
9
+ Rebuild on changes with `tsmodule dev` or the `pnpm dev` script:
10
10
 
11
11
  ```bash
12
- yarn dev
12
+ pnpm dev
13
13
  # calls `tsmodule dev`
14
14
  ```
15
15
 
16
16
  ### Export and publish
17
17
 
18
- To export your component library, use `tsmodule build` or the `yarn build`
18
+ To export your component library, use `tsmodule build` or the `pnpm build`
19
19
  script:
20
20
 
21
21
  ```bash
22
- yarn build
22
+ pnpm build
23
23
  # calls `tsmodule build`
24
24
  ```
25
25
 
26
26
  You can then publish to NPM:
27
27
 
28
28
  ```bash
29
- yarn publish
29
+ pnpm publish
30
30
  ```
31
31
 
32
32
  #### Importing from your library
@@ -6,27 +6,27 @@ developed and previewed with Next.js.
6
6
  ### Develop
7
7
 
8
8
  To start the Next server and develop your components, use `next dev` or the
9
- `yarn dev` script:
9
+ `pnpm dev` script:
10
10
 
11
11
  ```bash
12
- yarn dev
12
+ pnpm dev
13
13
  # calls `next dev`
14
14
  ```
15
15
 
16
16
  ### Export and publish
17
17
 
18
- To export your component library, use `tsmodule build` or the `yarn export`
18
+ To export your component library, use `tsmodule build` or the `pnpm export`
19
19
  script:
20
20
 
21
21
  ```bash
22
- yarn export
22
+ pnpm export
23
23
  # calls `tsmodule build`
24
24
  ```
25
25
 
26
26
  You can then publish to NPM:
27
27
 
28
28
  ```bash
29
- yarn publish
29
+ pnpm publish
30
30
  ```
31
31
 
32
32
  #### Importing from your component library