@devkong/cli-nx 0.0.11 → 0.0.13
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
|
@@ -7,8 +7,9 @@ Welcome to the Kong extension development workspace!
|
|
|
7
7
|
Before you start, make sure you have the following installed:
|
|
8
8
|
|
|
9
9
|
- [Node.js](https://nodejs.org/en/download/prebuilt-installer), version >= 20.0
|
|
10
|
-
- [Python](https://www.python.org/downloads/), version >= 3.
|
|
10
|
+
- [Python](https://www.python.org/downloads/), version >= 3.10
|
|
11
11
|
- [Docker](https://docs.docker.com/desktop/)
|
|
12
|
+
- Mac M2 users, see [Troubleshooting](#Troubleshooting)
|
|
12
13
|
|
|
13
14
|
To verify the installation and check the versions, run the following commands:
|
|
14
15
|
|
|
@@ -94,3 +95,21 @@ To install the latest version of the CLI, run:
|
|
|
94
95
|
```shell script
|
|
95
96
|
npm i -g @devkong/cli@latest
|
|
96
97
|
```
|
|
98
|
+
|
|
99
|
+
### Troubleshooting
|
|
100
|
+
|
|
101
|
+
#### Mac M2 Users
|
|
102
|
+
|
|
103
|
+
To emulate a Linux platform, you need to install Rosetta:
|
|
104
|
+
|
|
105
|
+
```shell script
|
|
106
|
+
softwareupdate --install-rosetta
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
#### Using a Different Python Version
|
|
110
|
+
|
|
111
|
+
To change the Python version, update the `FROM` statement in the `Dockerfile` to the desired version from [Docker Hub](https://hub.docker.com/_/python/):
|
|
112
|
+
|
|
113
|
+
```docker
|
|
114
|
+
FROM --platform=linux/amd64 python:3.13.1-slim-bullseye
|
|
115
|
+
```
|