@poppinss/ts-exec 1.1.4 → 1.1.5
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/README.md +28 -11
- package/package.json +20 -19
package/README.md
CHANGED
|
@@ -1,32 +1,49 @@
|
|
|
1
|
-
# ts-exec
|
|
1
|
+
# @poppinss/ts-exec
|
|
2
|
+
|
|
3
|
+
TypeScript JIT compiler built for correctness and supports legacy/experimental decorators.
|
|
2
4
|
|
|
3
5
|
<br />
|
|
4
6
|
|
|
5
7
|
[![gh-workflow-image]][gh-workflow-url] [![npm-image]][npm-url] ![][typescript-image] [![license-image]][license-url]
|
|
6
8
|
|
|
7
|
-
|
|
9
|
+
> [!IMPORTANT]
|
|
10
|
+
> The `@poppinss/ts-exec` package requires `Node.js >= 24` and works with only ES modules.
|
|
11
|
+
|
|
12
|
+
## Usage
|
|
13
|
+
|
|
14
|
+
Install the package from the npm packages registry.
|
|
15
|
+
|
|
16
|
+
```sh
|
|
17
|
+
npm i -D @poppinss/ts-exec
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Once installed you can use it via the `--import` flag to execute the TypeScript source code.
|
|
21
|
+
|
|
22
|
+
```sh
|
|
23
|
+
node --import=@poppinss/ts-exec some-script.ts
|
|
24
|
+
```
|
|
8
25
|
|
|
9
|
-
##
|
|
26
|
+
## Why another package?
|
|
10
27
|
|
|
11
28
|
## Contributing
|
|
12
29
|
|
|
13
|
-
One of the primary goals of
|
|
30
|
+
One of the primary goals of Poppinss is to have a vibrant community of users and contributors who believes in the principles of the framework.
|
|
14
31
|
|
|
15
|
-
We encourage you to read the [contribution guide](https://github.com
|
|
32
|
+
We encourage you to read the [contribution guide](https://github.com/poppinss/.github/blob/main/docs/CONTRIBUTING.md) before contributing to the framework.
|
|
16
33
|
|
|
17
34
|
## Code of Conduct
|
|
18
35
|
|
|
19
|
-
In order to ensure that the
|
|
36
|
+
In order to ensure that the poppinss community is welcoming to all, please review and abide by the [Code of Conduct](https://github.com/poppinss/.github/blob/main/docs/CODE_OF_CONDUCT.md).
|
|
20
37
|
|
|
21
38
|
## License
|
|
22
39
|
|
|
23
40
|
<pkg-name> is open-sourced software licensed under the [MIT license](LICENSE.md).
|
|
24
41
|
|
|
25
|
-
[gh-workflow-image]: https://img.shields.io/github/actions/workflow/status
|
|
26
|
-
[gh-workflow-url]: https://github.com
|
|
42
|
+
[gh-workflow-image]: https://img.shields.io/github/actions/workflow/status/poppinss/ts-exec/checks.yml?style=for-the-badge
|
|
43
|
+
[gh-workflow-url]: https://github.com/poppinss/ts-exec/actions/workflows/checks.yml 'Github action'
|
|
27
44
|
[typescript-image]: https://img.shields.io/badge/Typescript-294E80.svg?style=for-the-badge&logo=typescript
|
|
28
45
|
[typescript-url]: "typescript"
|
|
29
|
-
[npm-image]: https://img.shields.io/npm/v
|
|
30
|
-
[npm-url]: https://npmjs.org/package
|
|
31
|
-
[license-image]: https://img.shields.io/npm/l
|
|
46
|
+
[npm-image]: https://img.shields.io/npm/v/@poppinss/ts-exec.svg?style=for-the-badge&logo=npm
|
|
47
|
+
[npm-url]: https://npmjs.org/package/@poppinss/ts-exec 'npm'
|
|
48
|
+
[license-image]: https://img.shields.io/npm/l/@poppinss/ts-exec?color=blueviolet&style=for-the-badge
|
|
32
49
|
[license-url]: LICENSE.md 'license'
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@poppinss/ts-exec",
|
|
3
|
-
"description": "",
|
|
4
|
-
"version": "1.1.
|
|
3
|
+
"description": "TypeScript JIT compiler built for correctness and supports legacy/experimental decorators",
|
|
4
|
+
"version": "1.1.5",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=24.0.0"
|
|
7
7
|
},
|
|
@@ -30,39 +30,39 @@
|
|
|
30
30
|
"quick:test": "node --experimental-transform-types --enable-source-maps bin/test.ts"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@adonisjs/eslint-config": "^2.0.0
|
|
34
|
-
"@adonisjs/prettier-config": "^1.4.
|
|
33
|
+
"@adonisjs/eslint-config": "^2.0.0",
|
|
34
|
+
"@adonisjs/prettier-config": "^1.4.4",
|
|
35
35
|
"@adonisjs/tsconfig": "^1.4.0",
|
|
36
|
-
"@japa/assert": "^4.0.
|
|
37
|
-
"@japa/expect": "^3.0.
|
|
38
|
-
"@japa/expect-type": "^2.0.
|
|
36
|
+
"@japa/assert": "^4.0.1",
|
|
37
|
+
"@japa/expect": "^3.0.4",
|
|
38
|
+
"@japa/expect-type": "^2.0.3",
|
|
39
39
|
"@japa/file-system": "^2.3.2",
|
|
40
|
-
"@japa/runner": "^
|
|
40
|
+
"@japa/runner": "^4.2.0",
|
|
41
41
|
"@japa/snapshot": "^2.0.8",
|
|
42
|
-
"@release-it/conventional-changelog": "^
|
|
42
|
+
"@release-it/conventional-changelog": "^10.0.1",
|
|
43
43
|
"@types/node": "^22.10.2",
|
|
44
44
|
"c8": "^10.1.3",
|
|
45
|
-
"eslint": "^9.
|
|
45
|
+
"eslint": "^9.26.0",
|
|
46
46
|
"ipaddr.js": "^2.2.0",
|
|
47
47
|
"preact": "^10.26.6",
|
|
48
48
|
"preact-render-to-string": "^6.5.13",
|
|
49
|
-
"prettier": "^3.
|
|
50
|
-
"release-it": "^
|
|
51
|
-
"tsup": "^8.
|
|
52
|
-
"typescript": "^5.
|
|
49
|
+
"prettier": "^3.5.3",
|
|
50
|
+
"release-it": "^19.0.2",
|
|
51
|
+
"tsup": "^8.4.0",
|
|
52
|
+
"typescript": "^5.8.3"
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"@swc/core": "
|
|
55
|
+
"@swc/core": "1.10.7",
|
|
56
56
|
"get-tsconfig": "^4.10.0",
|
|
57
57
|
"resolve-pkg-maps": "^1.0.0"
|
|
58
58
|
},
|
|
59
|
-
"homepage": "https://github.com/
|
|
59
|
+
"homepage": "https://github.com/poppinss/ts-exec#readme",
|
|
60
60
|
"repository": {
|
|
61
61
|
"type": "git",
|
|
62
|
-
"url": "git+https://github.com/
|
|
62
|
+
"url": "git+https://github.com/poppinss/ts-exec.git"
|
|
63
63
|
},
|
|
64
64
|
"bugs": {
|
|
65
|
-
"url": "https://github.com/
|
|
65
|
+
"url": "https://github.com/poppinss/ts-exec/issues"
|
|
66
66
|
},
|
|
67
67
|
"keywords": [
|
|
68
68
|
"typescript",
|
|
@@ -73,7 +73,8 @@
|
|
|
73
73
|
"author": "Harminder Virk <virk@adonisjs.com>",
|
|
74
74
|
"license": "MIT",
|
|
75
75
|
"publishConfig": {
|
|
76
|
-
"access": "public"
|
|
76
|
+
"access": "public",
|
|
77
|
+
"provenance": true
|
|
77
78
|
},
|
|
78
79
|
"tsup": {
|
|
79
80
|
"entry": [
|