File tree Expand file tree Collapse file tree 31 files changed +147
-42
lines changed Expand file tree Collapse file tree 31 files changed +147
-42
lines changed Original file line number Diff line number Diff line change 95
95
- name : Build Packages
96
96
run : pnpm run build
97
97
98
- - name : Lint
98
+ - name : Lint source code
99
99
run : pnpm run lint:ci
100
100
101
+ - name : Lint publish code
102
+ run : pnpm run publint
103
+
101
104
test :
102
105
name : " Test: ${{ matrix.os }} (node@${{ matrix.NODE_VERSION }})"
103
106
runs-on : ${{ matrix.os }}
Original file line number Diff line number Diff line change 5
5
"private" : true ,
6
6
"repository" : {
7
7
"type" : " git" ,
8
- "url" : " https://github.com/withastro/astro.git"
8
+ "url" : " git+ https://github.com/withastro/astro.git"
9
9
},
10
10
"scripts" : {
11
11
"release" : " pnpm run build && changeset publish" ,
37
37
"lint" : " biome lint && eslint . --report-unused-disable-directives" ,
38
38
"lint:ci" : " biome ci --formatter-enabled=false --organize-imports-enabled=false --reporter=github && eslint . --report-unused-disable-directives" ,
39
39
"lint:fix" : " biome lint --write --unsafe" ,
40
+ "publint" : " pnpm -r --filter=astro --filter=create-astro --filter=\" @astrojs/*\" --no-bail exec publint" ,
40
41
"version" : " changeset version && node ./scripts/deps/update-example-versions.js && pnpm install --no-frozen-lockfile && pnpm run format" ,
41
42
"preinstall" : " npx only-allow pnpm"
42
43
},
65
66
"only-allow" : " ^1.2.1" ,
66
67
"prettier" : " ^3.3.3" ,
67
68
"prettier-plugin-astro" : " ^0.14.1" ,
69
+ "publint" : " ^0.2.12" ,
68
70
"turbo" : " ^2.2.3" ,
69
71
"typescript" : " ~5.6.3" ,
70
72
"typescript-eslint" : " ^8.13.0"
Original file line number Diff line number Diff line change 8
8
"bugs" : " https://github.com/withastro/astro/issues" ,
9
9
"repository" : {
10
10
"type" : " git" ,
11
- "url" : " https://github.com/withastro/astro.git" ,
11
+ "url" : " git+ https://github.com/withastro/astro.git" ,
12
12
"directory" : " packages/astro-prism"
13
13
},
14
14
"homepage" : " https://docs.astro.build/en/reference/api-reference/#prism-" ,
Original file line number Diff line number Diff line change 8
8
"license" : " MIT" ,
9
9
"repository" : {
10
10
"type" : " git" ,
11
- "url" : " https://github.com/withastro/astro.git" ,
11
+ "url" : " git+ https://github.com/withastro/astro.git" ,
12
12
"directory" : " packages/astro-rss"
13
13
},
14
14
"bugs" : " https://github.com/withastro/astro/issues" ,
Original file line number Diff line number Diff line change 7
7
"license" : " MIT" ,
8
8
"repository" : {
9
9
"type" : " git" ,
10
- "url" : " https://github.com/withastro/astro.git" ,
10
+ "url" : " git+ https://github.com/withastro/astro.git" ,
11
11
"directory" : " packages/astro"
12
12
},
13
13
"bugs" : " https://github.com/withastro/astro/issues" ,
Original file line number Diff line number Diff line change 6
6
"license" : " MIT" ,
7
7
"repository" : {
8
8
"type" : " git" ,
9
- "url" : " https://github.com/withastro/astro.git" ,
9
+ "url" : " git+ https://github.com/withastro/astro.git" ,
10
10
"directory" : " packages/create-astro"
11
11
},
12
12
"bugs" : " https://github.com/withastro/astro/issues" ,
Original file line number Diff line number Diff line change 5
5
"license" : " MIT" ,
6
6
"repository" : {
7
7
"type" : " git" ,
8
- "url" : " https://github.com/withastro/astro.git" ,
8
+ "url" : " git+ https://github.com/withastro/astro.git" ,
9
9
"directory" : " packages/db"
10
10
},
11
11
"bugs" : " https://github.com/withastro/astro/issues" ,
Original file line number Diff line number Diff line change 8
8
"license" : " MIT" ,
9
9
"repository" : {
10
10
"type" : " git" ,
11
- "url" : " https://github.com/withastro/astro.git" ,
11
+ "url" : " git+ https://github.com/withastro/astro.git" ,
12
12
"directory" : " packages/integrations/alpinejs"
13
13
},
14
14
"keywords" : [
Original file line number Diff line number Diff line change 2
2
"name" : " @astrojs/cloudflare" ,
3
3
"version" : " 0.0.0" ,
4
4
"private" : true ,
5
+ "type" : " module" ,
5
6
"keywords" : [],
6
7
"dont_remove" : " This is a placeholder for the sake of the docs smoke test"
7
8
}
Original file line number Diff line number Diff line change 8
8
"license" : " MIT" ,
9
9
"repository" : {
10
10
"type" : " git" ,
11
- "url" : " https://github.com/withastro/astro.git" ,
11
+ "url" : " git+ https://github.com/withastro/astro.git" ,
12
12
"directory" : " packages/integrations/lit"
13
13
},
14
14
"keywords" : [
21
21
"homepage" : " https://docs.astro.build/en/guides/integrations-guide/lit/" ,
22
22
"exports" : {
23
23
"." : " ./dist/index.js" ,
24
- "./server.js" : {
25
- "default" : " ./server.js" ,
26
- "types" : " ./server.d.ts"
27
- },
24
+ "./server.js" : " ./server.js" ,
28
25
"./client-shim.js" : " ./client-shim.js" ,
29
26
"./dist/client.js" : " ./dist/client.js" ,
30
27
"./hydration-support.js" : " ./hydration-support.js" ,
Original file line number Diff line number Diff line change 8
8
"license" : " MIT" ,
9
9
"repository" : {
10
10
"type" : " git" ,
11
- "url" : " https://github.com/withastro/astro.git" ,
11
+ "url" : " git+ https://github.com/withastro/astro.git" ,
12
12
"directory" : " packages/integrations/markdoc"
13
13
},
14
14
"keywords" : [
Original file line number Diff line number Diff line change 8
8
"license" : " MIT" ,
9
9
"repository" : {
10
10
"type" : " git" ,
11
- "url" : " https://github.com/withastro/astro.git" ,
11
+ "url" : " git+ https://github.com/withastro/astro.git" ,
12
12
"directory" : " packages/integrations/mdx"
13
13
},
14
14
"keywords" : [
Original file line number Diff line number Diff line change 2
2
"name" : " @astrojs/netlify" ,
3
3
"version" : " 0.0.0" ,
4
4
"private" : true ,
5
+ "type" : " module" ,
5
6
"keywords" : [],
6
7
"dont_remove" : " This is a placeholder for the sake of the docs smoke test"
7
8
}
Original file line number Diff line number Diff line change 2
2
"name" : " @astrojs/node" ,
3
3
"version" : " 0.0.0" ,
4
4
"private" : true ,
5
+ "type" : " module" ,
5
6
"keywords" : [],
6
7
"dont_remove" : " This is a placeholder for the sake of the docs smoke test"
7
8
}
Original file line number Diff line number Diff line change 8
8
"license" : " MIT" ,
9
9
"repository" : {
10
10
"type" : " git" ,
11
- "url" : " https://github.com/withastro/astro.git" ,
11
+ "url" : " git+ https://github.com/withastro/astro.git" ,
12
12
"directory" : " packages/integrations/partytown"
13
13
},
14
14
"keywords" : [
Original file line number Diff line number Diff line change 8
8
"license" : " MIT" ,
9
9
"repository" : {
10
10
"type" : " git" ,
11
- "url" : " https://github.com/withastro/astro.git" ,
11
+ "url" : " git+ https://github.com/withastro/astro.git" ,
12
12
"directory" : " packages/integrations/preact"
13
13
},
14
14
"keywords" : [
Original file line number Diff line number Diff line change 8
8
"license" : " MIT" ,
9
9
"repository" : {
10
10
"type" : " git" ,
11
- "url" : " https://github.com/withastro/astro.git" ,
11
+ "url" : " git+ https://github.com/withastro/astro.git" ,
12
12
"directory" : " packages/integrations/react"
13
13
},
14
14
"keywords" : [
24
24
"./actions" : " ./dist/actions.js" ,
25
25
"./client.js" : " ./client.js" ,
26
26
"./client-v17.js" : " ./client-v17.js" ,
27
- "./server.js" : {
28
- "default" : " ./server.js" ,
29
- "types" : " ./server.d.ts"
30
- },
31
- "./server-v17.js" : {
32
- "default" : " ./server-v17.js" ,
33
- "types" : " ./server-v17.d.ts"
34
- },
27
+ "./server.js" : " ./server.js" ,
28
+ "./server-v17.js" : " ./server-v17.js" ,
35
29
"./package.json" : " ./package.json" ,
36
30
"./jsx-runtime" : " ./jsx-runtime.js"
37
31
},
Original file line number Diff line number Diff line change 8
8
"license" : " MIT" ,
9
9
"repository" : {
10
10
"type" : " git" ,
11
- "url" : " https://github.com/withastro/astro.git" ,
11
+ "url" : " git+ https://github.com/withastro/astro.git" ,
12
12
"directory" : " packages/integrations/sitemap"
13
13
},
14
14
"keywords" : [
Original file line number Diff line number Diff line change 8
8
"license" : " MIT" ,
9
9
"repository" : {
10
10
"type" : " git" ,
11
- "url" : " https://github.com/withastro/astro.git" ,
11
+ "url" : " git+ https://github.com/withastro/astro.git" ,
12
12
"directory" : " packages/integrations/solid"
13
13
},
14
14
"keywords" : [
Original file line number Diff line number Diff line change 8
8
"license" : " MIT" ,
9
9
"repository" : {
10
10
"type" : " git" ,
11
- "url" : " https://github.com/withastro/astro.git" ,
11
+ "url" : " git+ https://github.com/withastro/astro.git" ,
12
12
"directory" : " packages/integrations/svelte"
13
13
},
14
14
"keywords" : [
Original file line number Diff line number Diff line change 8
8
"license" : " MIT" ,
9
9
"repository" : {
10
10
"type" : " git" ,
11
- "url" : " https://github.com/withastro/astro.git" ,
11
+ "url" : " git+ https://github.com/withastro/astro.git" ,
12
12
"directory" : " packages/integrations/tailwind"
13
13
},
14
14
"keywords" : [
Original file line number Diff line number Diff line change 2
2
"name" : " @astrojs/vercel" ,
3
3
"version" : " 0.0.0" ,
4
4
"private" : true ,
5
+ "type" : " module" ,
5
6
"keywords" : [],
6
7
"dont_remove" : " This is a placeholder for the sake of the docs smoke test"
7
8
}
Original file line number Diff line number Diff line change 8
8
"license" : " MIT" ,
9
9
"repository" : {
10
10
"type" : " git" ,
11
- "url" : " https://github.com/withastro/astro.git" ,
11
+ "url" : " git+ https://github.com/withastro/astro.git" ,
12
12
"directory" : " packages/integrations/vue"
13
13
},
14
14
"keywords" : [
24
24
"./editor" : " ./dist/editor.cjs" ,
25
25
"./*" : " ./*" ,
26
26
"./client.js" : " ./client.js" ,
27
- "./server.js" : {
28
- "default" : " ./server.js" ,
29
- "types" : " ./server.d.ts"
30
- },
27
+ "./server.js" : " ./server.js" ,
31
28
"./package.json" : " ./package.json"
32
29
},
33
30
"files" : [
Original file line number Diff line number Diff line change 7
7
"license" : " MIT" ,
8
8
"repository" : {
9
9
"type" : " git" ,
10
- "url" : " https://github.com/withastro/astro.git" ,
10
+ "url" : " git+ https://github.com/withastro/astro.git" ,
11
11
"directory" : " packages/integrations/web-vitals"
12
12
},
13
13
"keywords" : [
Original file line number Diff line number Diff line change 7
7
"license" : " MIT" ,
8
8
"repository" : {
9
9
"type" : " git" ,
10
- "url" : " https://github.com/withastro/astro.git" ,
10
+ "url" : " git+ https://github.com/withastro/astro.git" ,
11
11
"directory" : " packages/internal-helpers"
12
12
},
13
13
"bugs" : " https://github.com/withastro/astro/issues" ,
Original file line number Diff line number Diff line change 6
6
"license" : " MIT" ,
7
7
"repository" : {
8
8
"type" : " git" ,
9
- "url" : " https://github.com/withastro/astro.git" ,
9
+ "url" : " git+ https://github.com/withastro/astro.git" ,
10
10
"directory" : " packages/markdown/remark"
11
11
},
12
12
"bugs" : " https://github.com/withastro/astro/issues" ,
Original file line number Diff line number Diff line change 5
5
"license" : " MIT" ,
6
6
"repository" : {
7
7
"type" : " git" ,
8
- "url" : " https://github.com/withastro/astro.git" ,
8
+ "url" : " git+ https://github.com/withastro/astro.git" ,
9
9
"directory" : " packages/studio"
10
10
},
11
11
"bugs" : " https://github.com/withastro/astro/issues" ,
Original file line number Diff line number Diff line change 7
7
"license" : " MIT" ,
8
8
"repository" : {
9
9
"type" : " git" ,
10
- "url" : " https://github.com/withastro/astro.git" ,
10
+ "url" : " git+ https://github.com/withastro/astro.git" ,
11
11
"directory" : " packages/telemetry"
12
12
},
13
13
"bugs" : " https://github.com/withastro/astro/issues" ,
Original file line number Diff line number Diff line change 7
7
"license" : " MIT" ,
8
8
"repository" : {
9
9
"type" : " git" ,
10
- "url" : " https://github.com/withastro/astro.git" ,
10
+ "url" : " git+ https://github.com/withastro/astro.git" ,
11
11
"directory" : " packages/underscore-redirects"
12
12
},
13
13
"bugs" : " https://github.com/withastro/astro/issues" ,
Original file line number Diff line number Diff line change 6
6
"license" : " MIT" ,
7
7
"repository" : {
8
8
"type" : " git" ,
9
- "url" : " https://github.com/withastro/astro.git" ,
9
+ "url" : " git+ https://github.com/withastro/astro.git" ,
10
10
"directory" : " packages/upgrade"
11
11
},
12
12
"bugs" : " https://github.com/withastro/astro/issues" ,
You can’t perform that action at this time.
0 commit comments