Skip to content

Commit 6370aaa

Browse files
committed
fix: remove exports map from package
1 parent 95a7de4 commit 6370aaa

File tree

8 files changed

+18
-38
lines changed

8 files changed

+18
-38
lines changed

Diff for: .github/workflows/CI.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ concurrency:
1212

1313
env:
1414
NODE_OPTIONS: --enable-source-maps
15-
version: "1.5.2"
15+
version: "1.5.3"
1616

1717
jobs:
1818
Build:

Diff for: CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.21...3.28)
22

33
project(
44
setup_cpp_tests
5-
VERSION 1.5.2
5+
VERSION 1.5.3
66
DESCRIPTION "Tests for setup-cpp"
77
HOMEPAGE_URL "https://github.com/aminya/setup-cpp"
88
LANGUAGES CXX C)

Diff for: README.md

+10-10
Original file line numberDiff line numberDiff line change
@@ -70,19 +70,19 @@ NOTE: setup-cpp requires Nodejs 12 or higher. If Nodejs shipped with your distri
7070

7171
#### With executable
7272

73-
Download the executable for your platform from [here](https://github.com/aminya/setup-cpp/releases/tag/v1.5.2), and run it with the available options. You can also automate downloading using `curl`, or other similar tools.
73+
Download the executable for your platform from [here](https://github.com/aminya/setup-cpp/releases/tag/v1.5.3), and run it with the available options. You can also automate downloading using `curl`, or other similar tools.
7474

7575
```shell
7676
# windows x64
77-
curl -o ./setup-cpp.exe -LJ "https://github.com/aminya/setup-cpp/releases/download/v1.5.2/setup-cpp-x64-windows.exe"
77+
curl -o ./setup-cpp.exe -LJ "https://github.com/aminya/setup-cpp/releases/download/v1.5.3/setup-cpp-x64-windows.exe"
7878
# linux x64
79-
curl -o ./setup-cpp -LJ "https://github.com/aminya/setup-cpp/releases/download/v1.5.2/setup-cpp-x64-linux"
79+
curl -o ./setup-cpp -LJ "https://github.com/aminya/setup-cpp/releases/download/v1.5.3/setup-cpp-x64-linux"
8080
# linux arm64
81-
curl -o ./setup-cpp -LJ "https://github.com/aminya/setup-cpp/releases/download/v1.5.2/setup-cpp-arm64-linux"
81+
curl -o ./setup-cpp -LJ "https://github.com/aminya/setup-cpp/releases/download/v1.5.3/setup-cpp-arm64-linux"
8282
# macos arm64
83-
curl -o ./setup-cpp -LJ "https://github.com/aminya/setup-cpp/releases/download/v1.5.2/setup-cpp-arm64-macos"
83+
curl -o ./setup-cpp -LJ "https://github.com/aminya/setup-cpp/releases/download/v1.5.3/setup-cpp-arm64-macos"
8484
# macos x64
85-
curl -o ./setup-cpp -LJ "https://github.com/aminya/setup-cpp/releases/download/v1.5.2/setup-cpp-x64-macos"
85+
curl -o ./setup-cpp -LJ "https://github.com/aminya/setup-cpp/releases/download/v1.5.3/setup-cpp-x64-macos"
8686
```
8787

8888
An example that installs llvm, cmake, ninja, ccache, and vcpkg:
@@ -213,8 +213,8 @@ The tags are in the following template:
213213

214214
- Base image: `aminya/setup-cpp-ubuntu:24.04`
215215
- Compiler image: `aminya/setup-cpp-ubuntu-llvm:24.04`
216-
- Base image with pinned setup-cpp version: `aminya/setup-cpp-ubuntu:24.04-v1.5.2`
217-
- Compiler image with pinned setup-cpp version: `aminya/setup-cpp-ubuntu-llvm:24.04-v1.5.2`
216+
- Base image with pinned setup-cpp version: `aminya/setup-cpp-ubuntu:24.04-v1.5.3`
217+
- Compiler image with pinned setup-cpp version: `aminya/setup-cpp-ubuntu-llvm:24.04-v1.5.3`
218218

219219
The supported platforms are `ubuntu`, `alpine`, `fedora`, and `arch`. The supported compilers are `llvm`, `gcc`, and `mingw`.
220220

@@ -366,7 +366,7 @@ RUN apt-get update -qq && \
366366
# install nodejs
367367
apt-get install -y --no-install-recommends nodejs npm && \
368368
# install setup-cpp
369-
npm install -g setup-cpp@v1.5.2 && \
369+
npm install -g setup-cpp@v1.5.3 && \
370370
# install the compiler and tools
371371
NODE_OPTIONS="--enable-source-maps" \
372372
setup-cpp \
@@ -476,7 +476,7 @@ stages:
476476
apt-get install -y --no-install-recommends nodejs npm
477477
478478
# install setup-cpp
479-
npm install -g setup-cpp@v1.5.2
479+
npm install -g setup-cpp@v1.5.3
480480
481481
# install the compiler and tools
482482
./setup-cpp-x64-linux --compiler $compiler --cmake true --ninja true --ccache true --vcpkg true

Diff for: README_DOCKER.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ The tags are in the following template:
2020

2121
- Base image: `aminya/setup-cpp-ubuntu:24.04`
2222
- Compiler image: `aminya/setup-cpp-ubuntu-llvm:24.04`
23-
- Base image with pinned setup-cpp version: `aminya/setup-cpp-ubuntu:24.04-v1.5.2`
24-
- Compiler image with pinned setup-cpp version: `aminya/setup-cpp-ubuntu-llvm:24.04-v1.5.2`
23+
- Base image with pinned setup-cpp version: `aminya/setup-cpp-ubuntu:24.04-v1.5.3`
24+
- Compiler image with pinned setup-cpp version: `aminya/setup-cpp-ubuntu-llvm:24.04-v1.5.3`
2525

2626
The supported platforms are `ubuntu`, `alpine`, `fedora`, and `arch`. The supported compilers are `llvm`, `gcc`, and `mingw`.
2727

Diff for: dist/legacy/setup-cpp.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: dist/modern/setup-cpp.mjs

+1-1
Large diffs are not rendered by default.

Diff for: package-version.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"name": "setup-cpp",
3-
"version": "1.5.2"
3+
"version": "1.5.3"
44
}

Diff for: package.json

+1-21
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "setup-cpp",
3-
"version": "1.5.2",
3+
"version": "1.5.3",
44
"description": "Install all the tools required for building and testing C++/C projects.",
55
"repository": "https://github.com/aminya/setup-cpp",
66
"license": "Apache-2.0",
@@ -11,26 +11,6 @@
1111
"bin": {
1212
"setup-cpp": "dist/legacy/setup-cpp.js"
1313
},
14-
"exports": {
15-
".": {
16-
"types": "./dist/modern/lib.d.ts",
17-
"require": "./dist/legacy/lib.js",
18-
"import": "./dist/modern/lib.mjs"
19-
},
20-
"./bin": {
21-
"types": "./dist/modern/setup-cpp.d.ts",
22-
"require": "./dist/legacy/setup-cpp.js",
23-
"import": "./dist/modern/setup-cpp.mjs"
24-
},
25-
"./lib": {
26-
"types": "./dist/modern/lib.d.ts",
27-
"require": "./dist/legacy/lib.js",
28-
"import": "./dist/modern/lib.mjs"
29-
},
30-
"./src/*": {
31-
"import": "./src/*/*.ts"
32-
}
33-
},
3414
"files": [
3515
"action.yml",
3616
".dockerignore",

0 commit comments

Comments
 (0)