@devkong/cli-nx 0.0.12 → 0.0.14

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devkong/cli-nx",
3
- "version": "0.0.12",
3
+ "version": "0.0.14",
4
4
  "type": "commonjs",
5
5
  "main": "./src/index.js",
6
6
  "typings": "./src/index.d.ts",
@@ -12,7 +12,7 @@
12
12
  "json.schemas": [
13
13
  {
14
14
  "fileMatch": ["**/kong.json"],
15
- "url": "http://kong.dev.re.app-dfi.net/kong-cli-schema.json"
15
+ "url": "https://kong.dev.app-dts.net/kong-cli-schema.json"
16
16
  }
17
17
  ],
18
18
  "cSpell.words": [
@@ -1,6 +1,6 @@
1
1
  # syntax=docker/dockerfile:1
2
2
 
3
- FROM python:3.11-slim-bullseye
3
+ FROM --platform=linux/amd64 python:3.13.1-slim-bullseye
4
4
 
5
5
  ENV APP_DIR=/deployments/app
6
6
 
@@ -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.9
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
+ ```