Skip to content

Commit 20f3bcb

Browse files
authored
ref(craft): Modernize Craft config (getsentry#3638)
1 parent 1e8fdd1 commit 20f3bcb

File tree

1 file changed

+22
-46
lines changed

1 file changed

+22
-46
lines changed

.craft.yml

Lines changed: 22 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
1-
minVersion: '0.14.0'
2-
github:
3-
owner: getsentry
4-
repo: sentry-javascript
1+
minVersion: '0.23.1'
52
changelogPolicy: simple
6-
statusProvider:
7-
name: github
8-
artifactProvider:
9-
name: github
103
preReleaseCommand: bash scripts/craft-pre-release.sh
114
targets:
125
- name: npm
@@ -20,44 +13,27 @@ targets:
2013
metadata:
2114
cacheControl: 'public, max-age=31536000'
2215
- name: registry
23-
type: sdk
24-
onlyIfPresent: /^sentry-browser-.*\.tgz$/
25-
includeNames: /\.js$/
26-
checksums:
27-
- algorithm: sha384
28-
format: base64
29-
config:
30-
canonical: 'npm:@sentry/browser'
31-
- name: registry
32-
type: sdk
33-
onlyIfPresent: /^sentry-node-.*\.tgz$/
34-
config:
35-
canonical: 'npm:@sentry/node'
36-
- name: registry
37-
type: sdk
38-
onlyIfPresent: /^sentry-react-.*\.tgz$/
39-
config:
40-
canonical: 'npm:@sentry/react'
41-
- name: registry
42-
type: sdk
43-
onlyIfPresent: /^sentry-vue-.*\.tgz$/
44-
config:
45-
canonical: 'npm:@sentry/vue'
46-
- name: registry
47-
type: sdk
48-
onlyIfPresent: /^sentry-gatsby-.*\.tgz$/
49-
config:
50-
canonical: 'npm:@sentry/gatsby'
51-
- name: registry
52-
type: sdk
53-
onlyIfPresent: /^sentry-angular-.*\.tgz$/
54-
config:
55-
canonical: 'npm:@sentry/angular'
56-
- name: registry
57-
type: sdk
58-
onlyIfPresent: /^sentry-wasm-.*\.tgz$/
59-
config:
60-
canonical: 'npm:@sentry/wasm'
16+
sdks:
17+
'npm:@sentry/browser':
18+
onlyIfPresent: /^sentry-browser-.*\.tgz$/
19+
includeNames: /\.js$/
20+
checksums:
21+
- algorithm: sha384
22+
format: base64
23+
'npm:@sentry/node':
24+
onlyIfPresent: /^sentry-node-.*\.tgz$/
25+
'npm:@sentry/react':
26+
onlyIfPresent: /^sentry-react-.*\.tgz$/
27+
'npm:@sentry/vue':
28+
onlyIfPresent: /^sentry-vue-.*\.tgz$/
29+
'npm:@sentry/gatsby':
30+
onlyIfPresent: /^sentry-gatsby-.*\.tgz$/
31+
'npm:@sentry/angular':
32+
onlyIfPresent: /^sentry-angular-.*\.tgz$/
33+
'npm:@sentry/wasm':
34+
onlyIfPresent: /^sentry-wasm-.*\.tgz$/
35+
'npm:@sentry/nextjs':
36+
onlyIfPresent: /^sentry-nextjs-.*\.tgz$/
6137
- name: aws-lambda-layer
6238
includeNames: /^sentry-node-serverless-\d+(\.\d+)*\.zip$/
6339
layerName: SentryNodeServerlessSDK

0 commit comments

Comments
 (0)