@mastra/deployer-netlify 0.1.6-alpha.0 → 0.1.6-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +5 -5
- package/CHANGELOG.md +14 -0
- package/dist/index.js +3 -3
- package/eslint.config.js +6 -0
- package/package.json +8 -5
- package/src/helpers.ts +1 -1
- package/src/index.ts +3 -2
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
|
|
2
|
-
> @mastra/deployer-netlify@0.1.6-alpha.
|
|
2
|
+
> @mastra/deployer-netlify@0.1.6-alpha.1 build /home/runner/work/mastra/mastra/deployers/netlify
|
|
3
3
|
> tsup src/index.ts --format esm --experimental-dts --clean --treeshake
|
|
4
4
|
|
|
5
5
|
[34mCLI[39m Building entry: src/index.ts
|
|
6
6
|
[34mCLI[39m Using tsconfig: tsconfig.json
|
|
7
7
|
[34mCLI[39m tsup v8.3.6
|
|
8
8
|
[34mTSC[39m Build start
|
|
9
|
-
[32mTSC[39m ⚡️ Build success in
|
|
9
|
+
[32mTSC[39m ⚡️ Build success in 7575ms
|
|
10
10
|
[34mDTS[39m Build start
|
|
11
11
|
[34mCLI[39m Target: es2022
|
|
12
12
|
Analysis will use the bundled TypeScript version 5.7.3
|
|
13
13
|
[36mWriting package typings: /home/runner/work/mastra/mastra/deployers/netlify/dist/_tsup-dts-rollup.d.ts[39m
|
|
14
|
-
[32mDTS[39m ⚡️ Build success in
|
|
14
|
+
[32mDTS[39m ⚡️ Build success in 5691ms
|
|
15
15
|
[34mCLI[39m Cleaning output folder
|
|
16
16
|
[34mESM[39m Build start
|
|
17
|
-
[32mESM[39m [1mdist/index.js [22m[32m3.
|
|
18
|
-
[32mESM[39m ⚡️ Build success in
|
|
17
|
+
[32mESM[39m [1mdist/index.js [22m[32m3.46 KB[39m
|
|
18
|
+
[32mESM[39m ⚡️ Build success in 310ms
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @mastra/deployer-netlify
|
|
2
2
|
|
|
3
|
+
## 0.1.6-alpha.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [0d185b1]
|
|
8
|
+
- Updated dependencies [ed55f1d]
|
|
9
|
+
- Updated dependencies [80cdd76]
|
|
10
|
+
- Updated dependencies [8d13b14]
|
|
11
|
+
- Updated dependencies [3ee4831]
|
|
12
|
+
- Updated dependencies [108793c]
|
|
13
|
+
- Updated dependencies [5f28f44]
|
|
14
|
+
- @mastra/core@0.4.3-alpha.1
|
|
15
|
+
- @mastra/deployer@0.1.6-alpha.1
|
|
16
|
+
|
|
3
17
|
## 0.1.6-alpha.0
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Deployer } from '@mastra/deployer';
|
|
2
|
-
import { execa } from 'execa';
|
|
3
1
|
import { existsSync, mkdirSync, writeFileSync } from 'fs';
|
|
4
2
|
import { join } from 'path';
|
|
3
|
+
import { Deployer } from '@mastra/deployer';
|
|
4
|
+
import { execa } from 'execa';
|
|
5
5
|
|
|
6
6
|
// src/index.ts
|
|
7
7
|
|
|
@@ -50,7 +50,7 @@ async function getOrCreateSite({ token, name, scope }) {
|
|
|
50
50
|
let existingSite;
|
|
51
51
|
try {
|
|
52
52
|
existingSite = await findNetlifySite({ token, name, scope });
|
|
53
|
-
} catch
|
|
53
|
+
} catch {
|
|
54
54
|
}
|
|
55
55
|
if (existingSite) {
|
|
56
56
|
return existingSite;
|
package/eslint.config.js
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/deployer-netlify",
|
|
3
|
-
"version": "0.1.6-alpha.
|
|
3
|
+
"version": "0.1.6-alpha.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -21,19 +21,22 @@
|
|
|
21
21
|
"execa": "^9.3.1",
|
|
22
22
|
"netlify-cli": "^18.0.1",
|
|
23
23
|
"zod": "^3.24.1",
|
|
24
|
-
"@mastra/core": "^0.4.3-alpha.
|
|
25
|
-
"@mastra/deployer": "^0.1.6-alpha.
|
|
24
|
+
"@mastra/core": "^0.4.3-alpha.1",
|
|
25
|
+
"@mastra/deployer": "^0.1.6-alpha.1"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
+
"eslint": "^9.20.1",
|
|
28
29
|
"@microsoft/api-extractor": "^7.49.2",
|
|
29
30
|
"@types/node": "^22.13.1",
|
|
30
31
|
"tsup": "^8.0.1",
|
|
31
32
|
"typescript": "^5.7.3",
|
|
32
|
-
"vitest": "^3.0.4"
|
|
33
|
+
"vitest": "^3.0.4",
|
|
34
|
+
"@internal/lint": "0.0.0"
|
|
33
35
|
},
|
|
34
36
|
"scripts": {
|
|
35
37
|
"build": "tsup src/index.ts --format esm --experimental-dts --clean --treeshake",
|
|
36
38
|
"build:watch": "pnpm build --watch",
|
|
37
|
-
"test": "vitest run"
|
|
39
|
+
"test": "vitest run",
|
|
40
|
+
"lint": "eslint ."
|
|
38
41
|
}
|
|
39
42
|
}
|
package/src/helpers.ts
CHANGED
package/src/index.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { Deployer } from '@mastra/deployer';
|
|
2
|
-
import { execa } from 'execa';
|
|
3
1
|
import { existsSync, mkdirSync, writeFileSync } from 'fs';
|
|
4
2
|
import { join } from 'path';
|
|
5
3
|
|
|
4
|
+
import { Deployer } from '@mastra/deployer';
|
|
5
|
+
import { execa } from 'execa';
|
|
6
|
+
|
|
6
7
|
import { getOrCreateSite } from './helpers.js';
|
|
7
8
|
|
|
8
9
|
export class NetlifyDeployer extends Deployer {
|