mirror of https://github.com/aminya/setup-cpp
fix: do not use __dirname
This commit is contained in:
parent
050615f245
commit
8302e555d2
|
@ -13,6 +13,9 @@ concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.head_ref }}
|
group: ${{ github.workflow }}-${{ github.head_ref }}
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
|
env:
|
||||||
|
NODE_OPTIONS: --enable-source-maps
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Build:
|
Build:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -103,7 +103,6 @@
|
||||||
"jest": "^29.7.0",
|
"jest": "^29.7.0",
|
||||||
"lefthook": "^1.7.15",
|
"lefthook": "^1.7.15",
|
||||||
"macos-release": "^3.3.0",
|
"macos-release": "^3.3.0",
|
||||||
"magic-string": "^0.30.11",
|
|
||||||
"memoizee": "^0.4.17",
|
"memoizee": "^0.4.17",
|
||||||
"mkdirp": "^3.0.1",
|
"mkdirp": "^3.0.1",
|
||||||
"mri": "^1.2.0",
|
"mri": "^1.2.0",
|
||||||
|
|
251
pnpm-lock.yaml
251
pnpm-lock.yaml
|
@ -157,9 +157,6 @@ importers:
|
||||||
macos-release:
|
macos-release:
|
||||||
specifier: ^3.3.0
|
specifier: ^3.3.0
|
||||||
version: 3.3.0
|
version: 3.3.0
|
||||||
magic-string:
|
|
||||||
specifier: ^0.30.11
|
|
||||||
version: 0.30.11
|
|
||||||
memoizee:
|
memoizee:
|
||||||
specifier: ^0.4.17
|
specifier: ^0.4.17
|
||||||
version: 0.4.17
|
version: 0.4.17
|
||||||
|
@ -7364,17 +7361,16 @@ snapshots:
|
||||||
dependencies:
|
dependencies:
|
||||||
'@octokit/openapi-types': 22.2.0
|
'@octokit/openapi-types': 22.2.0
|
||||||
|
|
||||||
'@parcel/bundler-default@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)':
|
'@parcel/bundler-default@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@parcel/diagnostic': 2.12.0
|
'@parcel/diagnostic': 2.12.0
|
||||||
'@parcel/graph': 3.2.0
|
'@parcel/graph': 3.2.0
|
||||||
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
'@parcel/rust': 2.12.0
|
'@parcel/rust': 2.12.0
|
||||||
'@parcel/utils': 2.12.0
|
'@parcel/utils': 2.12.0
|
||||||
nullthrows: 1.1.1
|
nullthrows: 1.1.1
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@parcel/core'
|
- '@parcel/core'
|
||||||
- '@swc/helpers'
|
|
||||||
|
|
||||||
'@parcel/cache@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)':
|
'@parcel/cache@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)':
|
||||||
dependencies:
|
dependencies:
|
||||||
|
@ -7390,47 +7386,46 @@ snapshots:
|
||||||
dependencies:
|
dependencies:
|
||||||
chalk: 4.1.2
|
chalk: 4.1.2
|
||||||
|
|
||||||
'@parcel/compressor-raw@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)':
|
'@parcel/compressor-raw@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@parcel/core'
|
- '@parcel/core'
|
||||||
- '@swc/helpers'
|
|
||||||
|
|
||||||
'@parcel/config-default@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)(postcss@8.4.44)(terser@5.31.6)(typescript@5.5.4)':
|
'@parcel/config-default@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)(postcss@8.4.44)(terser@5.31.6)(typescript@5.5.4)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@parcel/bundler-default': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/bundler-default': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
'@parcel/compressor-raw': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/compressor-raw': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
'@parcel/core': 2.12.0(@swc/helpers@0.5.13)
|
'@parcel/core': 2.12.0(@swc/helpers@0.5.13)
|
||||||
'@parcel/namer-default': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/namer-default': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
'@parcel/optimizer-css': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/optimizer-css': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
'@parcel/optimizer-htmlnano': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)(postcss@8.4.44)(terser@5.31.6)(typescript@5.5.4)
|
'@parcel/optimizer-htmlnano': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(postcss@8.4.44)(terser@5.31.6)(typescript@5.5.4)
|
||||||
'@parcel/optimizer-image': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/optimizer-image': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
'@parcel/optimizer-svgo': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/optimizer-svgo': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
'@parcel/optimizer-swc': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/optimizer-swc': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
||||||
'@parcel/packager-css': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/packager-css': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
'@parcel/packager-html': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/packager-html': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
'@parcel/packager-js': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/packager-js': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
'@parcel/packager-raw': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/packager-raw': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
'@parcel/packager-svg': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/packager-svg': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
'@parcel/packager-wasm': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/packager-wasm': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
'@parcel/reporter-dev-server': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/reporter-dev-server': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
'@parcel/resolver-default': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/resolver-default': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
'@parcel/runtime-browser-hmr': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/runtime-browser-hmr': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
'@parcel/runtime-js': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/runtime-js': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
'@parcel/runtime-react-refresh': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/runtime-react-refresh': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
'@parcel/runtime-service-worker': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/runtime-service-worker': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
'@parcel/transformer-babel': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/transformer-babel': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
'@parcel/transformer-css': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/transformer-css': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
'@parcel/transformer-html': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/transformer-html': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
'@parcel/transformer-image': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/transformer-image': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
'@parcel/transformer-js': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
'@parcel/transformer-js': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
'@parcel/transformer-json': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/transformer-json': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
'@parcel/transformer-postcss': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/transformer-postcss': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
'@parcel/transformer-posthtml': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/transformer-posthtml': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
'@parcel/transformer-raw': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/transformer-raw': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
'@parcel/transformer-react-refresh-wrap': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/transformer-react-refresh-wrap': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
'@parcel/transformer-svg': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/transformer-svg': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@swc/helpers'
|
- '@swc/helpers'
|
||||||
- cssnano
|
- cssnano
|
||||||
|
@ -7452,13 +7447,13 @@ snapshots:
|
||||||
'@parcel/graph': 3.2.0
|
'@parcel/graph': 3.2.0
|
||||||
'@parcel/logger': 2.12.0
|
'@parcel/logger': 2.12.0
|
||||||
'@parcel/package-manager': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/package-manager': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
||||||
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
'@parcel/profiler': 2.12.0
|
'@parcel/profiler': 2.12.0
|
||||||
'@parcel/rust': 2.12.0
|
'@parcel/rust': 2.12.0
|
||||||
'@parcel/source-map': 2.1.1
|
'@parcel/source-map': 2.1.1
|
||||||
'@parcel/types': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/types': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
||||||
'@parcel/utils': 2.12.0
|
'@parcel/utils': 2.12.0
|
||||||
'@parcel/workers': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/workers': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
abortcontroller-polyfill: 1.7.5
|
abortcontroller-polyfill: 1.7.5
|
||||||
base-x: 3.0.10
|
base-x: 3.0.10
|
||||||
browserslist: 4.23.3
|
browserslist: 4.23.3
|
||||||
|
@ -7486,7 +7481,7 @@ snapshots:
|
||||||
'@parcel/types': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/types': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
||||||
'@parcel/utils': 2.12.0
|
'@parcel/utils': 2.12.0
|
||||||
'@parcel/watcher': 2.4.1
|
'@parcel/watcher': 2.4.1
|
||||||
'@parcel/workers': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/workers': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@swc/helpers'
|
- '@swc/helpers'
|
||||||
|
|
||||||
|
@ -7503,14 +7498,13 @@ snapshots:
|
||||||
dependencies:
|
dependencies:
|
||||||
chalk: 4.1.2
|
chalk: 4.1.2
|
||||||
|
|
||||||
'@parcel/namer-default@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)':
|
'@parcel/namer-default@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@parcel/diagnostic': 2.12.0
|
'@parcel/diagnostic': 2.12.0
|
||||||
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
nullthrows: 1.1.1
|
nullthrows: 1.1.1
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@parcel/core'
|
- '@parcel/core'
|
||||||
- '@swc/helpers'
|
|
||||||
|
|
||||||
'@parcel/node-resolver-core@3.3.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))':
|
'@parcel/node-resolver-core@3.3.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))':
|
||||||
dependencies:
|
dependencies:
|
||||||
|
@ -7524,10 +7518,10 @@ snapshots:
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@parcel/core'
|
- '@parcel/core'
|
||||||
|
|
||||||
'@parcel/optimizer-css@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)':
|
'@parcel/optimizer-css@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@parcel/diagnostic': 2.12.0
|
'@parcel/diagnostic': 2.12.0
|
||||||
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
'@parcel/source-map': 2.1.1
|
'@parcel/source-map': 2.1.1
|
||||||
'@parcel/utils': 2.12.0
|
'@parcel/utils': 2.12.0
|
||||||
browserslist: 4.23.3
|
browserslist: 4.23.3
|
||||||
|
@ -7535,18 +7529,16 @@ snapshots:
|
||||||
nullthrows: 1.1.1
|
nullthrows: 1.1.1
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@parcel/core'
|
- '@parcel/core'
|
||||||
- '@swc/helpers'
|
|
||||||
|
|
||||||
'@parcel/optimizer-htmlnano@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)(postcss@8.4.44)(terser@5.31.6)(typescript@5.5.4)':
|
'@parcel/optimizer-htmlnano@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(postcss@8.4.44)(terser@5.31.6)(typescript@5.5.4)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
htmlnano: 2.1.1(postcss@8.4.44)(svgo@2.8.0)(terser@5.31.6)(typescript@5.5.4)
|
htmlnano: 2.1.1(postcss@8.4.44)(svgo@2.8.0)(terser@5.31.6)(typescript@5.5.4)
|
||||||
nullthrows: 1.1.1
|
nullthrows: 1.1.1
|
||||||
posthtml: 0.16.6
|
posthtml: 0.16.6
|
||||||
svgo: 2.8.0
|
svgo: 2.8.0
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@parcel/core'
|
- '@parcel/core'
|
||||||
- '@swc/helpers'
|
|
||||||
- cssnano
|
- cssnano
|
||||||
- postcss
|
- postcss
|
||||||
- purgecss
|
- purgecss
|
||||||
|
@ -7556,31 +7548,28 @@ snapshots:
|
||||||
- typescript
|
- typescript
|
||||||
- uncss
|
- uncss
|
||||||
|
|
||||||
'@parcel/optimizer-image@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)':
|
'@parcel/optimizer-image@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@parcel/core': 2.12.0(@swc/helpers@0.5.13)
|
'@parcel/core': 2.12.0(@swc/helpers@0.5.13)
|
||||||
'@parcel/diagnostic': 2.12.0
|
'@parcel/diagnostic': 2.12.0
|
||||||
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
'@parcel/rust': 2.12.0
|
'@parcel/rust': 2.12.0
|
||||||
'@parcel/utils': 2.12.0
|
'@parcel/utils': 2.12.0
|
||||||
'@parcel/workers': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/workers': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
transitivePeerDependencies:
|
|
||||||
- '@swc/helpers'
|
|
||||||
|
|
||||||
'@parcel/optimizer-svgo@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)':
|
'@parcel/optimizer-svgo@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@parcel/diagnostic': 2.12.0
|
'@parcel/diagnostic': 2.12.0
|
||||||
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
'@parcel/utils': 2.12.0
|
'@parcel/utils': 2.12.0
|
||||||
svgo: 2.8.0
|
svgo: 2.8.0
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@parcel/core'
|
- '@parcel/core'
|
||||||
- '@swc/helpers'
|
|
||||||
|
|
||||||
'@parcel/optimizer-swc@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)':
|
'@parcel/optimizer-swc@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@parcel/diagnostic': 2.12.0
|
'@parcel/diagnostic': 2.12.0
|
||||||
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
'@parcel/source-map': 2.1.1
|
'@parcel/source-map': 2.1.1
|
||||||
'@parcel/utils': 2.12.0
|
'@parcel/utils': 2.12.0
|
||||||
'@swc/core': 1.7.23(@swc/helpers@0.5.13)
|
'@swc/core': 1.7.23(@swc/helpers@0.5.13)
|
||||||
|
@ -7598,39 +7587,37 @@ snapshots:
|
||||||
'@parcel/node-resolver-core': 3.3.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
'@parcel/node-resolver-core': 3.3.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
'@parcel/types': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/types': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
||||||
'@parcel/utils': 2.12.0
|
'@parcel/utils': 2.12.0
|
||||||
'@parcel/workers': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/workers': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
'@swc/core': 1.7.23(@swc/helpers@0.5.13)
|
'@swc/core': 1.7.23(@swc/helpers@0.5.13)
|
||||||
semver: 7.6.3
|
semver: 7.6.3
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@swc/helpers'
|
- '@swc/helpers'
|
||||||
|
|
||||||
'@parcel/packager-css@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)':
|
'@parcel/packager-css@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@parcel/diagnostic': 2.12.0
|
'@parcel/diagnostic': 2.12.0
|
||||||
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
'@parcel/source-map': 2.1.1
|
'@parcel/source-map': 2.1.1
|
||||||
'@parcel/utils': 2.12.0
|
'@parcel/utils': 2.12.0
|
||||||
lightningcss: 1.26.0
|
lightningcss: 1.26.0
|
||||||
nullthrows: 1.1.1
|
nullthrows: 1.1.1
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@parcel/core'
|
- '@parcel/core'
|
||||||
- '@swc/helpers'
|
|
||||||
|
|
||||||
'@parcel/packager-html@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)':
|
'@parcel/packager-html@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
'@parcel/types': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/types': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
||||||
'@parcel/utils': 2.12.0
|
'@parcel/utils': 2.12.0
|
||||||
nullthrows: 1.1.1
|
nullthrows: 1.1.1
|
||||||
posthtml: 0.16.6
|
posthtml: 0.16.6
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@parcel/core'
|
- '@parcel/core'
|
||||||
- '@swc/helpers'
|
|
||||||
|
|
||||||
'@parcel/packager-js@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)':
|
'@parcel/packager-js@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@parcel/diagnostic': 2.12.0
|
'@parcel/diagnostic': 2.12.0
|
||||||
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
'@parcel/rust': 2.12.0
|
'@parcel/rust': 2.12.0
|
||||||
'@parcel/source-map': 2.1.1
|
'@parcel/source-map': 2.1.1
|
||||||
'@parcel/types': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/types': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
||||||
|
@ -7639,38 +7626,33 @@ snapshots:
|
||||||
nullthrows: 1.1.1
|
nullthrows: 1.1.1
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@parcel/core'
|
- '@parcel/core'
|
||||||
- '@swc/helpers'
|
|
||||||
|
|
||||||
'@parcel/packager-raw@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)':
|
'@parcel/packager-raw@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@parcel/core'
|
- '@parcel/core'
|
||||||
- '@swc/helpers'
|
|
||||||
|
|
||||||
'@parcel/packager-svg@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)':
|
'@parcel/packager-svg@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
'@parcel/types': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/types': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
||||||
'@parcel/utils': 2.12.0
|
'@parcel/utils': 2.12.0
|
||||||
posthtml: 0.16.6
|
posthtml: 0.16.6
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@parcel/core'
|
- '@parcel/core'
|
||||||
- '@swc/helpers'
|
|
||||||
|
|
||||||
'@parcel/packager-wasm@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)':
|
'@parcel/packager-wasm@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@parcel/core'
|
- '@parcel/core'
|
||||||
- '@swc/helpers'
|
|
||||||
|
|
||||||
'@parcel/plugin@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)':
|
'@parcel/plugin@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@parcel/types': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/types': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@parcel/core'
|
- '@parcel/core'
|
||||||
- '@swc/helpers'
|
|
||||||
|
|
||||||
'@parcel/profiler@2.12.0':
|
'@parcel/profiler@2.12.0':
|
||||||
dependencies:
|
dependencies:
|
||||||
|
@ -7678,79 +7660,71 @@ snapshots:
|
||||||
'@parcel/events': 2.12.0
|
'@parcel/events': 2.12.0
|
||||||
chrome-trace-event: 1.0.4
|
chrome-trace-event: 1.0.4
|
||||||
|
|
||||||
'@parcel/reporter-cli@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)':
|
'@parcel/reporter-cli@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
'@parcel/types': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/types': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
||||||
'@parcel/utils': 2.12.0
|
'@parcel/utils': 2.12.0
|
||||||
chalk: 4.1.2
|
chalk: 4.1.2
|
||||||
term-size: 2.2.1
|
term-size: 2.2.1
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@parcel/core'
|
- '@parcel/core'
|
||||||
- '@swc/helpers'
|
|
||||||
|
|
||||||
'@parcel/reporter-dev-server@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)':
|
'@parcel/reporter-dev-server@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
'@parcel/utils': 2.12.0
|
'@parcel/utils': 2.12.0
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@parcel/core'
|
- '@parcel/core'
|
||||||
- '@swc/helpers'
|
|
||||||
|
|
||||||
'@parcel/reporter-tracer@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)':
|
'@parcel/reporter-tracer@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
'@parcel/utils': 2.12.0
|
'@parcel/utils': 2.12.0
|
||||||
chrome-trace-event: 1.0.4
|
chrome-trace-event: 1.0.4
|
||||||
nullthrows: 1.1.1
|
nullthrows: 1.1.1
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@parcel/core'
|
- '@parcel/core'
|
||||||
- '@swc/helpers'
|
|
||||||
|
|
||||||
'@parcel/resolver-default@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)':
|
'@parcel/resolver-default@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@parcel/node-resolver-core': 3.3.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
'@parcel/node-resolver-core': 3.3.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@parcel/core'
|
- '@parcel/core'
|
||||||
- '@swc/helpers'
|
|
||||||
|
|
||||||
'@parcel/runtime-browser-hmr@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)':
|
'@parcel/runtime-browser-hmr@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
'@parcel/utils': 2.12.0
|
'@parcel/utils': 2.12.0
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@parcel/core'
|
- '@parcel/core'
|
||||||
- '@swc/helpers'
|
|
||||||
|
|
||||||
'@parcel/runtime-js@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)':
|
'@parcel/runtime-js@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@parcel/diagnostic': 2.12.0
|
'@parcel/diagnostic': 2.12.0
|
||||||
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
'@parcel/utils': 2.12.0
|
'@parcel/utils': 2.12.0
|
||||||
nullthrows: 1.1.1
|
nullthrows: 1.1.1
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@parcel/core'
|
- '@parcel/core'
|
||||||
- '@swc/helpers'
|
|
||||||
|
|
||||||
'@parcel/runtime-react-refresh@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)':
|
'@parcel/runtime-react-refresh@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
'@parcel/utils': 2.12.0
|
'@parcel/utils': 2.12.0
|
||||||
react-error-overlay: 6.0.9
|
react-error-overlay: 6.0.9
|
||||||
react-refresh: 0.9.0
|
react-refresh: 0.9.0
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@parcel/core'
|
- '@parcel/core'
|
||||||
- '@swc/helpers'
|
|
||||||
|
|
||||||
'@parcel/runtime-service-worker@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)':
|
'@parcel/runtime-service-worker@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
'@parcel/utils': 2.12.0
|
'@parcel/utils': 2.12.0
|
||||||
nullthrows: 1.1.1
|
nullthrows: 1.1.1
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@parcel/core'
|
- '@parcel/core'
|
||||||
- '@swc/helpers'
|
|
||||||
|
|
||||||
'@parcel/rust@2.12.0': {}
|
'@parcel/rust@2.12.0': {}
|
||||||
|
|
||||||
|
@ -7758,10 +7732,10 @@ snapshots:
|
||||||
dependencies:
|
dependencies:
|
||||||
detect-libc: 1.0.3
|
detect-libc: 1.0.3
|
||||||
|
|
||||||
'@parcel/transformer-babel@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)':
|
'@parcel/transformer-babel@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@parcel/diagnostic': 2.12.0
|
'@parcel/diagnostic': 2.12.0
|
||||||
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
'@parcel/source-map': 2.1.1
|
'@parcel/source-map': 2.1.1
|
||||||
'@parcel/utils': 2.12.0
|
'@parcel/utils': 2.12.0
|
||||||
browserslist: 4.23.3
|
browserslist: 4.23.3
|
||||||
|
@ -7770,12 +7744,11 @@ snapshots:
|
||||||
semver: 7.6.3
|
semver: 7.6.3
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@parcel/core'
|
- '@parcel/core'
|
||||||
- '@swc/helpers'
|
|
||||||
|
|
||||||
'@parcel/transformer-css@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)':
|
'@parcel/transformer-css@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@parcel/diagnostic': 2.12.0
|
'@parcel/diagnostic': 2.12.0
|
||||||
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
'@parcel/source-map': 2.1.1
|
'@parcel/source-map': 2.1.1
|
||||||
'@parcel/utils': 2.12.0
|
'@parcel/utils': 2.12.0
|
||||||
browserslist: 4.23.3
|
browserslist: 4.23.3
|
||||||
|
@ -7783,12 +7756,11 @@ snapshots:
|
||||||
nullthrows: 1.1.1
|
nullthrows: 1.1.1
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@parcel/core'
|
- '@parcel/core'
|
||||||
- '@swc/helpers'
|
|
||||||
|
|
||||||
'@parcel/transformer-html@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)':
|
'@parcel/transformer-html@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@parcel/diagnostic': 2.12.0
|
'@parcel/diagnostic': 2.12.0
|
||||||
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
'@parcel/rust': 2.12.0
|
'@parcel/rust': 2.12.0
|
||||||
nullthrows: 1.1.1
|
nullthrows: 1.1.1
|
||||||
posthtml: 0.16.6
|
posthtml: 0.16.6
|
||||||
|
@ -7798,45 +7770,41 @@ snapshots:
|
||||||
srcset: 4.0.0
|
srcset: 4.0.0
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@parcel/core'
|
- '@parcel/core'
|
||||||
- '@swc/helpers'
|
|
||||||
|
|
||||||
'@parcel/transformer-image@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)':
|
'@parcel/transformer-image@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@parcel/core': 2.12.0(@swc/helpers@0.5.13)
|
'@parcel/core': 2.12.0(@swc/helpers@0.5.13)
|
||||||
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
'@parcel/utils': 2.12.0
|
'@parcel/utils': 2.12.0
|
||||||
'@parcel/workers': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/workers': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
nullthrows: 1.1.1
|
nullthrows: 1.1.1
|
||||||
transitivePeerDependencies:
|
|
||||||
- '@swc/helpers'
|
|
||||||
|
|
||||||
'@parcel/transformer-js@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))':
|
'@parcel/transformer-js@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@parcel/core': 2.12.0(@swc/helpers@0.5.13)
|
'@parcel/core': 2.12.0(@swc/helpers@0.5.13)
|
||||||
'@parcel/diagnostic': 2.12.0
|
'@parcel/diagnostic': 2.12.0
|
||||||
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
'@parcel/rust': 2.12.0
|
'@parcel/rust': 2.12.0
|
||||||
'@parcel/source-map': 2.1.1
|
'@parcel/source-map': 2.1.1
|
||||||
'@parcel/utils': 2.12.0
|
'@parcel/utils': 2.12.0
|
||||||
'@parcel/workers': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/workers': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
'@swc/helpers': 0.5.13
|
'@swc/helpers': 0.5.13
|
||||||
browserslist: 4.23.3
|
browserslist: 4.23.3
|
||||||
nullthrows: 1.1.1
|
nullthrows: 1.1.1
|
||||||
regenerator-runtime: 0.13.11
|
regenerator-runtime: 0.13.11
|
||||||
semver: 7.6.3
|
semver: 7.6.3
|
||||||
|
|
||||||
'@parcel/transformer-json@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)':
|
'@parcel/transformer-json@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
json5: 2.2.3
|
json5: 2.2.3
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@parcel/core'
|
- '@parcel/core'
|
||||||
- '@swc/helpers'
|
|
||||||
|
|
||||||
'@parcel/transformer-postcss@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)':
|
'@parcel/transformer-postcss@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@parcel/diagnostic': 2.12.0
|
'@parcel/diagnostic': 2.12.0
|
||||||
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
'@parcel/rust': 2.12.0
|
'@parcel/rust': 2.12.0
|
||||||
'@parcel/utils': 2.12.0
|
'@parcel/utils': 2.12.0
|
||||||
clone: 2.1.2
|
clone: 2.1.2
|
||||||
|
@ -7845,11 +7813,10 @@ snapshots:
|
||||||
semver: 7.6.3
|
semver: 7.6.3
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@parcel/core'
|
- '@parcel/core'
|
||||||
- '@swc/helpers'
|
|
||||||
|
|
||||||
'@parcel/transformer-posthtml@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)':
|
'@parcel/transformer-posthtml@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
'@parcel/utils': 2.12.0
|
'@parcel/utils': 2.12.0
|
||||||
nullthrows: 1.1.1
|
nullthrows: 1.1.1
|
||||||
posthtml: 0.16.6
|
posthtml: 0.16.6
|
||||||
|
@ -7858,28 +7825,25 @@ snapshots:
|
||||||
semver: 7.6.3
|
semver: 7.6.3
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@parcel/core'
|
- '@parcel/core'
|
||||||
- '@swc/helpers'
|
|
||||||
|
|
||||||
'@parcel/transformer-raw@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)':
|
'@parcel/transformer-raw@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@parcel/core'
|
- '@parcel/core'
|
||||||
- '@swc/helpers'
|
|
||||||
|
|
||||||
'@parcel/transformer-react-refresh-wrap@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)':
|
'@parcel/transformer-react-refresh-wrap@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
'@parcel/utils': 2.12.0
|
'@parcel/utils': 2.12.0
|
||||||
react-refresh: 0.9.0
|
react-refresh: 0.9.0
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@parcel/core'
|
- '@parcel/core'
|
||||||
- '@swc/helpers'
|
|
||||||
|
|
||||||
'@parcel/transformer-svg@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)':
|
'@parcel/transformer-svg@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@parcel/diagnostic': 2.12.0
|
'@parcel/diagnostic': 2.12.0
|
||||||
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/plugin': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
'@parcel/rust': 2.12.0
|
'@parcel/rust': 2.12.0
|
||||||
nullthrows: 1.1.1
|
nullthrows: 1.1.1
|
||||||
posthtml: 0.16.6
|
posthtml: 0.16.6
|
||||||
|
@ -7888,7 +7852,6 @@ snapshots:
|
||||||
semver: 7.6.3
|
semver: 7.6.3
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@parcel/core'
|
- '@parcel/core'
|
||||||
- '@swc/helpers'
|
|
||||||
|
|
||||||
'@parcel/types@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)':
|
'@parcel/types@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)':
|
||||||
dependencies:
|
dependencies:
|
||||||
|
@ -7897,7 +7860,7 @@ snapshots:
|
||||||
'@parcel/fs': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/fs': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
||||||
'@parcel/package-manager': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/package-manager': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
||||||
'@parcel/source-map': 2.1.1
|
'@parcel/source-map': 2.1.1
|
||||||
'@parcel/workers': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/workers': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
utility-types: 3.11.0
|
utility-types: 3.11.0
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@parcel/core'
|
- '@parcel/core'
|
||||||
|
@ -7970,7 +7933,7 @@ snapshots:
|
||||||
'@parcel/watcher-win32-ia32': 2.4.1
|
'@parcel/watcher-win32-ia32': 2.4.1
|
||||||
'@parcel/watcher-win32-x64': 2.4.1
|
'@parcel/watcher-win32-x64': 2.4.1
|
||||||
|
|
||||||
'@parcel/workers@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)':
|
'@parcel/workers@2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@parcel/core': 2.12.0(@swc/helpers@0.5.13)
|
'@parcel/core': 2.12.0(@swc/helpers@0.5.13)
|
||||||
'@parcel/diagnostic': 2.12.0
|
'@parcel/diagnostic': 2.12.0
|
||||||
|
@ -7979,8 +7942,6 @@ snapshots:
|
||||||
'@parcel/types': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/types': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
||||||
'@parcel/utils': 2.12.0
|
'@parcel/utils': 2.12.0
|
||||||
nullthrows: 1.1.1
|
nullthrows: 1.1.1
|
||||||
transitivePeerDependencies:
|
|
||||||
- '@swc/helpers'
|
|
||||||
|
|
||||||
'@pkgr/core@0.1.1': {}
|
'@pkgr/core@0.1.1': {}
|
||||||
|
|
||||||
|
@ -11874,9 +11835,9 @@ snapshots:
|
||||||
'@parcel/fs': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/fs': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
||||||
'@parcel/logger': 2.12.0
|
'@parcel/logger': 2.12.0
|
||||||
'@parcel/package-manager': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/package-manager': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
||||||
'@parcel/reporter-cli': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/reporter-cli': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
'@parcel/reporter-dev-server': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/reporter-dev-server': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
'@parcel/reporter-tracer': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)
|
'@parcel/reporter-tracer': 2.12.0(@parcel/core@2.12.0(@swc/helpers@0.5.13))
|
||||||
'@parcel/utils': 2.12.0
|
'@parcel/utils': 2.12.0
|
||||||
chalk: 4.1.2
|
chalk: 4.1.2
|
||||||
commander: 7.2.0
|
commander: 7.2.0
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
import path from "path"
|
||||||
|
import { fileURLToPath } from "url"
|
||||||
import { execaSync } from "execa"
|
import { execaSync } from "execa"
|
||||||
import { chmod } from "fs/promises"
|
import { chmod } from "fs/promises"
|
||||||
import { addExeExt, join } from "patha"
|
import { addExeExt, join } from "patha"
|
||||||
|
@ -7,6 +9,8 @@ import { cleanupTmpDir, setupTmpDir, testBin } from "../../utils/tests/test-help
|
||||||
import { getVersion } from "../../versions/versions.js"
|
import { getVersion } from "../../versions/versions.js"
|
||||||
import { setupGcc } from "../gcc.js"
|
import { setupGcc } from "../gcc.js"
|
||||||
|
|
||||||
|
const dirname = typeof __dirname === "string" ? __dirname : path.dirname(fileURLToPath(import.meta.url))
|
||||||
|
|
||||||
jest.setTimeout(3000000)
|
jest.setTimeout(3000000)
|
||||||
describe("setup-gcc", () => {
|
describe("setup-gcc", () => {
|
||||||
let directory: string
|
let directory: string
|
||||||
|
@ -55,13 +59,13 @@ describe("setup-gcc", () => {
|
||||||
expect(process.env.CXX?.includes("g++")).toBeTruthy()
|
expect(process.env.CXX?.includes("g++")).toBeTruthy()
|
||||||
|
|
||||||
// test compilation
|
// test compilation
|
||||||
const file = join(__dirname, "main.cpp")
|
const file = join(dirname, "main.cpp")
|
||||||
const main_exe = join(__dirname, addExeExt("main"))
|
const main_exe = join(dirname, addExeExt("main"))
|
||||||
execaSync("g++", [file, "-o", main_exe], { cwd: __dirname })
|
execaSync("g++", [file, "-o", main_exe], { cwd: dirname })
|
||||||
if (process.platform !== "win32") {
|
if (process.platform !== "win32") {
|
||||||
await chmod(main_exe, "755")
|
await chmod(main_exe, "755")
|
||||||
}
|
}
|
||||||
execaSync(main_exe, { cwd: __dirname, stdio: "inherit" })
|
execaSync(main_exe, { cwd: dirname, stdio: "inherit" })
|
||||||
})
|
})
|
||||||
|
|
||||||
afterAll(async () => {
|
afterAll(async () => {
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
import { addEnv, addPath } from "envosman"
|
import path from "path"
|
||||||
|
import { fileURLToPath } from "url"
|
||||||
import { GITHUB_ACTIONS } from "ci-info"
|
import { GITHUB_ACTIONS } from "ci-info"
|
||||||
import { error, info, warning } from "ci-log"
|
import { error, info, warning } from "ci-log"
|
||||||
|
import { addEnv, addPath } from "envosman"
|
||||||
import { type ExecaReturnValue, execa } from "execa"
|
import { type ExecaReturnValue, execa } from "execa"
|
||||||
import { readdir } from "fs/promises"
|
import { readdir } from "fs/promises"
|
||||||
import { pathExists } from "path-exists"
|
import { pathExists } from "path-exists"
|
||||||
|
@ -23,11 +24,13 @@ import { setupDnfPack } from "../utils/setup/setupDnfPack.js"
|
||||||
import { setupPacmanPack } from "../utils/setup/setupPacmanPack.js"
|
import { setupPacmanPack } from "../utils/setup/setupPacmanPack.js"
|
||||||
import { compareVersion } from "../utils/setup/version.js"
|
import { compareVersion } from "../utils/setup/version.js"
|
||||||
|
|
||||||
|
const dirname = typeof __dirname === "string" ? __dirname : path.dirname(fileURLToPath(import.meta.url))
|
||||||
|
|
||||||
async function getGccPackageInfo(version: string, platform: NodeJS.Platform, arch: string): Promise<PackageInfo> {
|
async function getGccPackageInfo(version: string, platform: NodeJS.Platform, arch: string): Promise<PackageInfo> {
|
||||||
switch (platform) {
|
switch (platform) {
|
||||||
case "win32": {
|
case "win32": {
|
||||||
const mingwAssets = await loadGitHubAssetList(
|
const mingwAssets = await loadGitHubAssetList(
|
||||||
join(__dirname, "github_brechtsanders_winlibs_mingw.json"),
|
join(dirname, "github_brechtsanders_winlibs_mingw.json"),
|
||||||
)
|
)
|
||||||
const asset = matchAsset(
|
const asset = matchAsset(
|
||||||
mingwAssets,
|
mingwAssets,
|
||||||
|
@ -321,7 +324,7 @@ async function getGccCmdVersion(binDir: string, givenVersion: string) {
|
||||||
}
|
}
|
||||||
|
|
||||||
async function addGccLoggingMatcher() {
|
async function addGccLoggingMatcher() {
|
||||||
const matcherPath = join(__dirname, "gcc_matcher.json")
|
const matcherPath = join(dirname, "gcc_matcher.json")
|
||||||
if (!(await pathExists(matcherPath))) {
|
if (!(await pathExists(matcherPath))) {
|
||||||
return warning("the gcc_matcher.json file does not exist in the same folder as setup-cpp.js")
|
return warning("the gcc_matcher.json file does not exist in the same folder as setup-cpp.js")
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
import path from "path"
|
||||||
|
import { fileURLToPath } from "url"
|
||||||
import { info } from "ci-log"
|
import { info } from "ci-log"
|
||||||
import { execa } from "execa"
|
import { execa } from "execa"
|
||||||
import { addExeExt, join } from "patha"
|
import { addExeExt, join } from "patha"
|
||||||
|
@ -17,6 +19,8 @@ import { setupPacmanPack } from "../utils/setup/setupPacmanPack.js"
|
||||||
import { addVPrefix, removeVPrefix } from "../utils/setup/version.js"
|
import { addVPrefix, removeVPrefix } from "../utils/setup/version.js"
|
||||||
import { getVersion } from "../versions/versions.js"
|
import { getVersion } from "../versions/versions.js"
|
||||||
|
|
||||||
|
const dirname = typeof __dirname === "string" ? __dirname : path.dirname(fileURLToPath(import.meta.url))
|
||||||
|
|
||||||
function getDownloadKcovPackageInfo(version: string): PackageInfo {
|
function getDownloadKcovPackageInfo(version: string): PackageInfo {
|
||||||
return {
|
return {
|
||||||
url: `https://github.com/SimonKagstrom/kcov/releases/download/${version}/kcov-amd64.tar.gz`,
|
url: `https://github.com/SimonKagstrom/kcov/releases/download/${version}/kcov-amd64.tar.gz`,
|
||||||
|
@ -55,7 +59,7 @@ async function buildKcov(file: string, dest: string) {
|
||||||
// apply gcc13.patch
|
// apply gcc13.patch
|
||||||
try {
|
try {
|
||||||
if (which.sync("patch", { nothrow: true }) !== null) {
|
if (which.sync("patch", { nothrow: true }) !== null) {
|
||||||
const patch = join(__dirname, "gcc13.patch")
|
const patch = join(dirname, "gcc13.patch")
|
||||||
await execa("patch", ["-N", "-p1", "-i", patch], { cwd: out, stdio: "inherit" })
|
await execa("patch", ["-N", "-p1", "-i", patch], { cwd: out, stdio: "inherit" })
|
||||||
} else {
|
} else {
|
||||||
info("`patch` not found, skipping gcc13.patch, kcov may not build on gcc 13")
|
info("`patch` not found, skipping gcc13.patch, kcov may not build on gcc 13")
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
import path from "path"
|
||||||
|
import { fileURLToPath } from "url"
|
||||||
import * as io from "@actions/io"
|
import * as io from "@actions/io"
|
||||||
import { execaSync } from "execa"
|
import { execaSync } from "execa"
|
||||||
import { chmod } from "fs/promises"
|
import { chmod } from "fs/promises"
|
||||||
|
@ -10,6 +12,8 @@ import { getVersion } from "../../versions/versions.js"
|
||||||
import { setupClangFormat, setupClangTools, setupLLVM } from "../llvm.js"
|
import { setupClangFormat, setupClangTools, setupLLVM } from "../llvm.js"
|
||||||
import { VERSIONS, getLinuxUrl, getUrl } from "../llvm_url.js"
|
import { VERSIONS, getLinuxUrl, getUrl } from "../llvm_url.js"
|
||||||
|
|
||||||
|
const dirname = typeof __dirname === "string" ? __dirname : path.dirname(fileURLToPath(import.meta.url))
|
||||||
|
|
||||||
jest.setTimeout(400000)
|
jest.setTimeout(400000)
|
||||||
async function testUrl(version: string) {
|
async function testUrl(version: string) {
|
||||||
const [specificVersion, url] = await getSpecificVersionAndUrl(VERSIONS, process.platform, version, getUrl)
|
const [specificVersion, url] = await getSpecificVersionAndUrl(VERSIONS, process.platform, version, getUrl)
|
||||||
|
@ -98,13 +102,13 @@ describe("setup-llvm", () => {
|
||||||
expect(process.env.CXX?.includes("clang++")).toBeTruthy()
|
expect(process.env.CXX?.includes("clang++")).toBeTruthy()
|
||||||
|
|
||||||
// test compilation
|
// test compilation
|
||||||
const file = join(__dirname, "main.cpp")
|
const file = join(dirname, "main.cpp")
|
||||||
const main_exe = join(__dirname, addExeExt("main"))
|
const main_exe = join(dirname, addExeExt("main"))
|
||||||
execaSync("clang++", [file, "-o", main_exe], { cwd: __dirname })
|
execaSync("clang++", [file, "-o", main_exe], { cwd: dirname })
|
||||||
if (process.platform !== "win32") {
|
if (process.platform !== "win32") {
|
||||||
await chmod(main_exe, "755")
|
await chmod(main_exe, "755")
|
||||||
}
|
}
|
||||||
execaSync(main_exe, { cwd: __dirname, stdio: "inherit" })
|
execaSync(main_exe, { cwd: dirname, stdio: "inherit" })
|
||||||
})
|
})
|
||||||
|
|
||||||
it("should setup clang-format", async () => {
|
it("should setup clang-format", async () => {
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
import { delimiter } from "path"
|
import path, { delimiter } from "path"
|
||||||
|
import { fileURLToPath } from "url"
|
||||||
import { GITHUB_ACTIONS } from "ci-info"
|
import { GITHUB_ACTIONS } from "ci-info"
|
||||||
import { info, warning } from "ci-log"
|
import { info, warning } from "ci-log"
|
||||||
import { addEnv } from "envosman"
|
import { addEnv } from "envosman"
|
||||||
|
@ -17,6 +18,8 @@ import { getVersion } from "../versions/versions.js"
|
||||||
import { LLVMPackages, setupLLVMApt } from "./llvm_installer.js"
|
import { LLVMPackages, setupLLVMApt } from "./llvm_installer.js"
|
||||||
import { getLLVMPackageInfo } from "./llvm_url.js"
|
import { getLLVMPackageInfo } from "./llvm_url.js"
|
||||||
|
|
||||||
|
const dirname = typeof __dirname === "string" ? __dirname : path.dirname(fileURLToPath(import.meta.url))
|
||||||
|
|
||||||
export async function setupLLVM(version: string, setupDir: string, arch: string): Promise<InstallationInfo> {
|
export async function setupLLVM(version: string, setupDir: string, arch: string): Promise<InstallationInfo> {
|
||||||
const installationInfo = await setupLLVMWithoutActivation(version, setupDir, arch)
|
const installationInfo = await setupLLVMWithoutActivation(version, setupDir, arch)
|
||||||
await activateLLVM(installationInfo.installDir ?? setupDir)
|
await activateLLVM(installationInfo.installDir ?? setupDir)
|
||||||
|
@ -146,7 +149,7 @@ export async function activateLLVM(directory: string) {
|
||||||
|
|
||||||
async function addLLVMLoggingMatcher() {
|
async function addLLVMLoggingMatcher() {
|
||||||
if (GITHUB_ACTIONS) {
|
if (GITHUB_ACTIONS) {
|
||||||
const matcherPath = join(__dirname, "llvm_matcher.json")
|
const matcherPath = join(dirname, "llvm_matcher.json")
|
||||||
if (!(await pathExists(matcherPath))) {
|
if (!(await pathExists(matcherPath))) {
|
||||||
return warning("the llvm_matcher.json file does not exist in the same folder as setup-cpp.js")
|
return warning("the llvm_matcher.json file does not exist in the same folder as setup-cpp.js")
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,13 +1,16 @@
|
||||||
|
import path from "path"
|
||||||
|
import { fileURLToPath } from "url"
|
||||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
import { GITHUB_ACTIONS } from "ci-info"
|
import { GITHUB_ACTIONS } from "ci-info"
|
||||||
|
import { error, info, warning } from "ci-log"
|
||||||
import { findVcvarsall, vsversion_to_versionnumber } from "msvc-dev-cmd/lib.js"
|
import { findVcvarsall, vsversion_to_versionnumber } from "msvc-dev-cmd/lib.js"
|
||||||
|
import { pathExists } from "path-exists"
|
||||||
import { join } from "patha"
|
import { join } from "patha"
|
||||||
import { setupChocoPack } from "../utils/setup/setupChocoPack.js"
|
import { setupChocoPack } from "../utils/setup/setupChocoPack.js"
|
||||||
import { setupVCVarsall } from "../vcvarsall/vcvarsall.js"
|
import { setupVCVarsall } from "../vcvarsall/vcvarsall.js"
|
||||||
|
|
||||||
import { error, info, warning } from "ci-log"
|
const dirname = typeof __dirname === "string" ? __dirname : path.dirname(fileURLToPath(import.meta.url))
|
||||||
import { pathExists } from "path-exists"
|
|
||||||
|
|
||||||
type MSVCVersion = "2022" | "17.0" | "2019" | "16.0" | "2017" | "15.0" | "2015" | "14.0" | "2013" | "12.0" | string
|
type MSVCVersion = "2022" | "17.0" | "2019" | "16.0" | "2017" | "15.0" | "2015" | "14.0" | "2013" | "12.0" | string
|
||||||
|
|
||||||
|
@ -72,7 +75,7 @@ export async function setupMSVC(
|
||||||
}
|
}
|
||||||
|
|
||||||
async function addMSVCLoggingMatcher() {
|
async function addMSVCLoggingMatcher() {
|
||||||
const matcherPath = join(__dirname, "msvc_matcher.json")
|
const matcherPath = join(dirname, "msvc_matcher.json")
|
||||||
if (!(await pathExists(matcherPath))) {
|
if (!(await pathExists(matcherPath))) {
|
||||||
return warning("the msvc_matcher.json file does not exist in the same folder as setup-cpp.js")
|
return warning("the msvc_matcher.json file does not exist in the same folder as setup-cpp.js")
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,13 +1,16 @@
|
||||||
import { findPyPyVersion } from "setup-python/src/find-pypy.js"
|
import path from "path"
|
||||||
import { useCpythonVersion } from "setup-python/src/find-python.js"
|
import { fileURLToPath } from "url"
|
||||||
|
|
||||||
import { debug } from "@actions/core"
|
import { debug } from "@actions/core"
|
||||||
import { GITHUB_ACTIONS } from "ci-info"
|
import { GITHUB_ACTIONS } from "ci-info"
|
||||||
import { info, warning } from "ci-log"
|
import { info, warning } from "ci-log"
|
||||||
import { pathExists } from "path-exists"
|
import { pathExists } from "path-exists"
|
||||||
import { join } from "patha"
|
import { join } from "patha"
|
||||||
|
import { findPyPyVersion } from "setup-python/src/find-pypy.js"
|
||||||
|
import { useCpythonVersion } from "setup-python/src/find-python.js"
|
||||||
import { IS_MAC } from "setup-python/src/utils.js"
|
import { IS_MAC } from "setup-python/src/utils.js"
|
||||||
|
|
||||||
|
const dirname = typeof __dirname === "string" ? __dirname : path.dirname(fileURLToPath(import.meta.url))
|
||||||
|
|
||||||
function isPyPyVersion(versionSpec: string) {
|
function isPyPyVersion(versionSpec: string) {
|
||||||
return versionSpec.startsWith("pypy")
|
return versionSpec.startsWith("pypy")
|
||||||
}
|
}
|
||||||
|
@ -53,7 +56,7 @@ export async function setupActionsPython(version: string, _setupDir: string, arc
|
||||||
}
|
}
|
||||||
|
|
||||||
async function addPythonLoggingMatcher() {
|
async function addPythonLoggingMatcher() {
|
||||||
const matcherPath = join(__dirname, "python_matcher.json")
|
const matcherPath = join(dirname, "python_matcher.json")
|
||||||
if (!(await pathExists(matcherPath))) {
|
if (!(await pathExists(matcherPath))) {
|
||||||
return warning("the python_matcher.json file does not exist in the same folder as setup-cpp.js")
|
return warning("the python_matcher.json file does not exist in the same folder as setup-cpp.js")
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,38 +1,7 @@
|
||||||
import module from "module"
|
import module from "module"
|
||||||
import MagicString from "magic-string"
|
|
||||||
import { type TerserOptions, defineConfig } from "vite"
|
import { type TerserOptions, defineConfig } from "vite"
|
||||||
import type { Plugin } from "vite"
|
|
||||||
import terserRc from "./.terserrc.mjs"
|
import terserRc from "./.terserrc.mjs"
|
||||||
|
|
||||||
function shims(): Plugin {
|
|
||||||
return {
|
|
||||||
name: "node-shims",
|
|
||||||
renderChunk(code, chunk) {
|
|
||||||
if (!chunk.fileName.endsWith(".js")) {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
const s = new MagicString(code)
|
|
||||||
s.prepend(`
|
|
||||||
import __path from 'path'
|
|
||||||
import { fileURLToPath as __fileURLToPath } from 'url'
|
|
||||||
import { createRequire as __createRequire } from 'module'
|
|
||||||
|
|
||||||
const __getFilename = () => __fileURLToPath(import.meta.url)
|
|
||||||
const __getDirname = () => __path.dirname(__getFilename())
|
|
||||||
const __dirname = __getDirname()
|
|
||||||
const __filename = __getFilename()
|
|
||||||
const self = globalThis
|
|
||||||
const require = __createRequire(import.meta.url)
|
|
||||||
`)
|
|
||||||
return {
|
|
||||||
code: s.toString(),
|
|
||||||
map: s.generateMap(),
|
|
||||||
}
|
|
||||||
},
|
|
||||||
apply: "build",
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
const viteConfig = defineConfig({
|
const viteConfig = defineConfig({
|
||||||
build: {
|
build: {
|
||||||
ssr: "./src/setup-cpp.ts",
|
ssr: "./src/setup-cpp.ts",
|
||||||
|
@ -47,7 +16,6 @@ const viteConfig = defineConfig({
|
||||||
noExternal: true,
|
noExternal: true,
|
||||||
external: module.builtinModules,
|
external: module.builtinModules,
|
||||||
},
|
},
|
||||||
plugins: [shims()],
|
|
||||||
})
|
})
|
||||||
|
|
||||||
export default viteConfig
|
export default viteConfig
|
||||||
|
|
Loading…
Reference in New Issue