Skip to content

Commit

Permalink
ref(craft): Modernize Craft config (#3638)
Browse files Browse the repository at this point in the history
  • Loading branch information
BYK authored Jun 10, 2021
1 parent 1e8fdd1 commit 20f3bcb
Showing 1 changed file with 22 additions and 46 deletions.
68 changes: 22 additions & 46 deletions .craft.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
minVersion: '0.14.0'
github:
owner: getsentry
repo: sentry-javascript
minVersion: '0.23.1'
changelogPolicy: simple
statusProvider:
name: github
artifactProvider:
name: github
preReleaseCommand: bash scripts/craft-pre-release.sh
targets:
- name: npm
Expand All @@ -20,44 +13,27 @@ targets:
metadata:
cacheControl: 'public, max-age=31536000'
- name: registry
type: sdk
onlyIfPresent: /^sentry-browser-.*\.tgz$/
includeNames: /\.js$/
checksums:
- algorithm: sha384
format: base64
config:
canonical: 'npm:@sentry/browser'
- name: registry
type: sdk
onlyIfPresent: /^sentry-node-.*\.tgz$/
config:
canonical: 'npm:@sentry/node'
- name: registry
type: sdk
onlyIfPresent: /^sentry-react-.*\.tgz$/
config:
canonical: 'npm:@sentry/react'
- name: registry
type: sdk
onlyIfPresent: /^sentry-vue-.*\.tgz$/
config:
canonical: 'npm:@sentry/vue'
- name: registry
type: sdk
onlyIfPresent: /^sentry-gatsby-.*\.tgz$/
config:
canonical: 'npm:@sentry/gatsby'
- name: registry
type: sdk
onlyIfPresent: /^sentry-angular-.*\.tgz$/
config:
canonical: 'npm:@sentry/angular'
- name: registry
type: sdk
onlyIfPresent: /^sentry-wasm-.*\.tgz$/
config:
canonical: 'npm:@sentry/wasm'
sdks:
'npm:@sentry/browser':
onlyIfPresent: /^sentry-browser-.*\.tgz$/
includeNames: /\.js$/
checksums:
- algorithm: sha384
format: base64
'npm:@sentry/node':
onlyIfPresent: /^sentry-node-.*\.tgz$/
'npm:@sentry/react':
onlyIfPresent: /^sentry-react-.*\.tgz$/
'npm:@sentry/vue':
onlyIfPresent: /^sentry-vue-.*\.tgz$/
'npm:@sentry/gatsby':
onlyIfPresent: /^sentry-gatsby-.*\.tgz$/
'npm:@sentry/angular':
onlyIfPresent: /^sentry-angular-.*\.tgz$/
'npm:@sentry/wasm':
onlyIfPresent: /^sentry-wasm-.*\.tgz$/
'npm:@sentry/nextjs':
onlyIfPresent: /^sentry-nextjs-.*\.tgz$/
- name: aws-lambda-layer
includeNames: /^sentry-node-serverless-\d+(\.\d+)*\.zip$/
layerName: SentryNodeServerlessSDK
Expand Down

0 comments on commit 20f3bcb

Please sign in to comment.