2023-07-16 00:56:21 +03:00
|
|
|
distributable:
|
|
|
|
url: https://registry.npmjs.org/aws-cdk/-/aws-cdk-{{version}}.tgz
|
|
|
|
strip-components: 1
|
2023-07-24 23:14:53 +03:00
|
|
|
display-name: aws/cdk
|
2023-07-16 00:56:21 +03:00
|
|
|
versions:
|
|
|
|
url: https://www.npmjs.com/package/aws-cdk?activeTab=versions
|
|
|
|
match: /v\/\d+\.\d+\.\d+/
|
|
|
|
strip:
|
|
|
|
- /^v\//
|
|
|
|
dependencies:
|
|
|
|
nodejs.org: '*'
|
|
|
|
build:
|
|
|
|
dependencies:
|
|
|
|
npmjs.com: '*'
|
|
|
|
script:
|
|
|
|
- npm install $ARGS
|
|
|
|
- rm {{prefix}}/lib/node_modules/aws-cdk
|
|
|
|
- mkdir -p {{prefix}}/lib/node_modules/aws-cdk
|
|
|
|
- mv ./bin {{prefix}}/lib/node_modules/aws-cdk/
|
|
|
|
- mv ./lib {{prefix}}/lib/node_modules/aws-cdk/
|
|
|
|
- mv ./test {{prefix}}/lib/node_modules/aws-cdk/
|
|
|
|
- mv ./package.json {{prefix}}/lib/node_modules/aws-cdk/
|
|
|
|
- mv ./build-info.json {{prefix}}/lib/node_modules/aws-cdk/
|
|
|
|
env:
|
|
|
|
ARGS:
|
|
|
|
- -ddd
|
|
|
|
- --global
|
|
|
|
- --build-from-source
|
|
|
|
- --prefix={{prefix}}
|
|
|
|
provides:
|
|
|
|
- bin/cdk
|
|
|
|
test:
|
|
|
|
script:
|
2023-07-24 23:14:53 +03:00
|
|
|
- cdk --version | grep {{version}}
|