@jakubmazanec/carson-templates 2.2.1 → 2.3.0-unstable.1e4eb94
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/package.json
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
to: '.eslintrc.cjs'
|
|
3
3
|
strategy: overwrite
|
|
4
4
|
---
|
|
5
|
+
<%
|
|
6
|
+
let lintIgnorePatterns = [
|
|
7
|
+
...LINT_IGNORE_PATTERNS,
|
|
8
|
+
'dbschema/edgeql-js/',
|
|
9
|
+
'dbschema/interfaces.*',
|
|
10
|
+
];
|
|
11
|
+
-%>
|
|
5
12
|
/**
|
|
6
13
|
* DO NOT EDIT!
|
|
7
14
|
* This file was autogenerated by Carson.
|
|
@@ -17,5 +24,5 @@ module.exports = {
|
|
|
17
24
|
'@jakubmazanec/eslint-config/nodejs',
|
|
18
25
|
'@jakubmazanec/eslint-config/prettier',
|
|
19
26
|
],
|
|
20
|
-
ignorePatterns: <%- JSON.stringify(
|
|
27
|
+
ignorePatterns: <%- JSON.stringify(lintIgnorePatterns, null, 2) %>,
|
|
21
28
|
};
|
|
@@ -46,6 +46,30 @@ jobs:
|
|
|
46
46
|
node-version: 20
|
|
47
47
|
registry-url: 'https://registry.npmjs.org'
|
|
48
48
|
|
|
49
|
+
<%
|
|
50
|
+
if (workspace.projects.some((project) => project.config.deployment?.dbInstance)) {
|
|
51
|
+
-%>
|
|
52
|
+
|
|
53
|
+
- uses: edgedb/setup-edgedb@v1
|
|
54
|
+
- with:
|
|
55
|
+
server-version: none
|
|
56
|
+
<%
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
for (let project of workspace.projects) {
|
|
60
|
+
if (project.config.deployment?.dbInstance) {
|
|
61
|
+
-%>
|
|
62
|
+
|
|
63
|
+
- name: Authenticate EdgeDB Cloud
|
|
64
|
+
env:
|
|
65
|
+
EDGEDB_SECRET_KEY: ${{ secrets.EDGEDB_TOKEN }}
|
|
66
|
+
run: |
|
|
67
|
+
edgedb project init --link <%- project.config.deployment?.dbInstance %>
|
|
68
|
+
<%
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
-%>
|
|
72
|
+
|
|
49
73
|
- name: Install packages
|
|
50
74
|
run: npm ci
|
|
51
75
|
|