@tailor-platform/create-sdk 1.47.0 → 1.48.0
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/CHANGELOG.md +4 -0
- package/package.json +10 -11
- package/templates/executor/.oxlintrc.json +1 -120
- package/templates/executor/__dot__gitignore +0 -1
- package/templates/executor/package.json +4 -8
- package/templates/generators/.oxlintrc.json +1 -120
- package/templates/generators/__dot__gitignore +0 -1
- package/templates/generators/package.json +4 -8
- package/templates/hello-world/.oxlintrc.json +1 -120
- package/templates/hello-world/__dot__gitignore +0 -1
- package/templates/hello-world/package.json +5 -9
- package/templates/inventory-management/.oxlintrc.json +1 -119
- package/templates/inventory-management/__dot__gitignore +0 -1
- package/templates/inventory-management/package.json +5 -9
- package/templates/multi-application/.oxlintrc.json +1 -120
- package/templates/multi-application/__dot__gitignore +0 -1
- package/templates/multi-application/package.json +5 -9
- package/templates/resolver/.oxlintrc.json +1 -120
- package/templates/resolver/__dot__gitignore +0 -1
- package/templates/resolver/package.json +4 -8
- package/templates/static-web-site/.oxlintrc.json +1 -120
- package/templates/static-web-site/__dot__gitignore +0 -1
- package/templates/static-web-site/package.json +5 -9
- package/templates/tailordb/.oxlintrc.json +1 -120
- package/templates/tailordb/__dot__gitignore +0 -1
- package/templates/tailordb/package.json +4 -8
- package/templates/workflow/.oxlintrc.json +1 -120
- package/templates/workflow/__dot__gitignore +0 -1
- package/templates/workflow/package.json +4 -8
- package/templates/executor/eslint.config.js +0 -24
- package/templates/generators/eslint.config.js +0 -24
- package/templates/hello-world/eslint.config.js +0 -29
- package/templates/inventory-management/eslint.config.js +0 -35
- package/templates/multi-application/eslint.config.js +0 -29
- package/templates/resolver/eslint.config.js +0 -24
- package/templates/static-web-site/eslint.config.js +0 -24
- package/templates/tailordb/eslint.config.js +0 -24
- package/templates/workflow/eslint.config.js +0 -24
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import eslint from "@eslint/js";
|
|
2
|
-
import tseslint from "typescript-eslint";
|
|
3
|
-
import { defineConfig, globalIgnores } from "eslint/config";
|
|
4
|
-
import oxlint from "eslint-plugin-oxlint";
|
|
5
|
-
|
|
6
|
-
export default defineConfig([
|
|
7
|
-
// Ignore sdk's output directory.
|
|
8
|
-
globalIgnores([".tailor-sdk/", "tailor.d.ts"]),
|
|
9
|
-
// Use recommended rules.
|
|
10
|
-
// https://typescript-eslint.io/users/configs#projects-with-type-checking
|
|
11
|
-
eslint.configs.recommended,
|
|
12
|
-
tseslint.configs.recommendedTypeChecked,
|
|
13
|
-
tseslint.configs.stylisticTypeChecked,
|
|
14
|
-
{
|
|
15
|
-
languageOptions: {
|
|
16
|
-
parserOptions: {
|
|
17
|
-
projectService: true,
|
|
18
|
-
tsconfigRootDir: import.meta.dirname,
|
|
19
|
-
},
|
|
20
|
-
},
|
|
21
|
-
},
|
|
22
|
-
// Disable type-checked linting for root config files.
|
|
23
|
-
// https://typescript-eslint.io/troubleshooting/typed-linting/#how-do-i-disable-type-checked-linting-for-a-file
|
|
24
|
-
{
|
|
25
|
-
files: ["eslint.config.js"],
|
|
26
|
-
extends: [tseslint.configs.disableTypeChecked],
|
|
27
|
-
},
|
|
28
|
-
...oxlint.buildFromOxlintConfigFile("./.oxlintrc.json"),
|
|
29
|
-
]);
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import eslint from "@eslint/js";
|
|
2
|
-
import tseslint from "typescript-eslint";
|
|
3
|
-
import { defineConfig, globalIgnores } from "eslint/config";
|
|
4
|
-
import oxlint from "eslint-plugin-oxlint";
|
|
5
|
-
|
|
6
|
-
export default defineConfig([
|
|
7
|
-
// Ignore sdk's output directory.
|
|
8
|
-
globalIgnores([".tailor-sdk/", "src/generated/", "tailor.d.ts"]),
|
|
9
|
-
// Use recommended rules.
|
|
10
|
-
// https://typescript-eslint.io/users/configs#projects-with-type-checking
|
|
11
|
-
eslint.configs.recommended,
|
|
12
|
-
tseslint.configs.recommendedTypeChecked,
|
|
13
|
-
tseslint.configs.stylisticTypeChecked,
|
|
14
|
-
{
|
|
15
|
-
languageOptions: {
|
|
16
|
-
parserOptions: {
|
|
17
|
-
projectService: true,
|
|
18
|
-
tsconfigRootDir: import.meta.dirname,
|
|
19
|
-
},
|
|
20
|
-
},
|
|
21
|
-
rules: {
|
|
22
|
-
"@typescript-eslint/no-unused-vars": [
|
|
23
|
-
"error",
|
|
24
|
-
{ argsIgnorePattern: "^_", varsIgnorePattern: "^_" },
|
|
25
|
-
],
|
|
26
|
-
},
|
|
27
|
-
},
|
|
28
|
-
// Disable type-checked linting for root config files.
|
|
29
|
-
// https://typescript-eslint.io/troubleshooting/typed-linting/#how-do-i-disable-type-checked-linting-for-a-file
|
|
30
|
-
{
|
|
31
|
-
files: ["eslint.config.js"],
|
|
32
|
-
extends: [tseslint.configs.disableTypeChecked],
|
|
33
|
-
},
|
|
34
|
-
...oxlint.buildFromOxlintConfigFile("./.oxlintrc.json"),
|
|
35
|
-
]);
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import eslint from "@eslint/js";
|
|
2
|
-
import tseslint from "typescript-eslint";
|
|
3
|
-
import { defineConfig, globalIgnores } from "eslint/config";
|
|
4
|
-
import oxlint from "eslint-plugin-oxlint";
|
|
5
|
-
|
|
6
|
-
export default defineConfig([
|
|
7
|
-
// Ignore sdk's output directory.
|
|
8
|
-
globalIgnores([".tailor-sdk/", "tailor.d.ts"]),
|
|
9
|
-
// Use recommended rules.
|
|
10
|
-
// https://typescript-eslint.io/users/configs#projects-with-type-checking
|
|
11
|
-
eslint.configs.recommended,
|
|
12
|
-
tseslint.configs.recommendedTypeChecked,
|
|
13
|
-
tseslint.configs.stylisticTypeChecked,
|
|
14
|
-
{
|
|
15
|
-
languageOptions: {
|
|
16
|
-
parserOptions: {
|
|
17
|
-
projectService: true,
|
|
18
|
-
tsconfigRootDir: import.meta.dirname,
|
|
19
|
-
},
|
|
20
|
-
},
|
|
21
|
-
},
|
|
22
|
-
// Disable type-checked linting for root config files.
|
|
23
|
-
// https://typescript-eslint.io/troubleshooting/typed-linting/#how-do-i-disable-type-checked-linting-for-a-file
|
|
24
|
-
{
|
|
25
|
-
files: ["eslint.config.js"],
|
|
26
|
-
extends: [tseslint.configs.disableTypeChecked],
|
|
27
|
-
},
|
|
28
|
-
...oxlint.buildFromOxlintConfigFile("./.oxlintrc.json"),
|
|
29
|
-
]);
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import eslint from "@eslint/js";
|
|
2
|
-
import tseslint from "typescript-eslint";
|
|
3
|
-
import { defineConfig, globalIgnores } from "eslint/config";
|
|
4
|
-
import oxlint from "eslint-plugin-oxlint";
|
|
5
|
-
|
|
6
|
-
export default defineConfig([
|
|
7
|
-
globalIgnores([".tailor-sdk/", "src/generated/", "tailor.d.ts"]),
|
|
8
|
-
eslint.configs.recommended,
|
|
9
|
-
tseslint.configs.recommendedTypeChecked,
|
|
10
|
-
tseslint.configs.stylisticTypeChecked,
|
|
11
|
-
{
|
|
12
|
-
languageOptions: {
|
|
13
|
-
parserOptions: {
|
|
14
|
-
projectService: true,
|
|
15
|
-
tsconfigRootDir: import.meta.dirname,
|
|
16
|
-
},
|
|
17
|
-
},
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
files: ["eslint.config.js"],
|
|
21
|
-
extends: [tseslint.configs.disableTypeChecked],
|
|
22
|
-
},
|
|
23
|
-
...oxlint.buildFromOxlintConfigFile("./.oxlintrc.json"),
|
|
24
|
-
]);
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import eslint from "@eslint/js";
|
|
2
|
-
import tseslint from "typescript-eslint";
|
|
3
|
-
import { defineConfig, globalIgnores } from "eslint/config";
|
|
4
|
-
import oxlint from "eslint-plugin-oxlint";
|
|
5
|
-
|
|
6
|
-
export default defineConfig([
|
|
7
|
-
globalIgnores([".tailor-sdk/", "src/generated/", "tailor.d.ts"]),
|
|
8
|
-
eslint.configs.recommended,
|
|
9
|
-
tseslint.configs.recommendedTypeChecked,
|
|
10
|
-
tseslint.configs.stylisticTypeChecked,
|
|
11
|
-
{
|
|
12
|
-
languageOptions: {
|
|
13
|
-
parserOptions: {
|
|
14
|
-
projectService: true,
|
|
15
|
-
tsconfigRootDir: import.meta.dirname,
|
|
16
|
-
},
|
|
17
|
-
},
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
files: ["eslint.config.js"],
|
|
21
|
-
extends: [tseslint.configs.disableTypeChecked],
|
|
22
|
-
},
|
|
23
|
-
...oxlint.buildFromOxlintConfigFile("./.oxlintrc.json"),
|
|
24
|
-
]);
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import eslint from "@eslint/js";
|
|
2
|
-
import tseslint from "typescript-eslint";
|
|
3
|
-
import { defineConfig, globalIgnores } from "eslint/config";
|
|
4
|
-
import oxlint from "eslint-plugin-oxlint";
|
|
5
|
-
|
|
6
|
-
export default defineConfig([
|
|
7
|
-
globalIgnores([".tailor-sdk/", "src/generated/", "tailor.d.ts"]),
|
|
8
|
-
eslint.configs.recommended,
|
|
9
|
-
tseslint.configs.recommendedTypeChecked,
|
|
10
|
-
tseslint.configs.stylisticTypeChecked,
|
|
11
|
-
{
|
|
12
|
-
languageOptions: {
|
|
13
|
-
parserOptions: {
|
|
14
|
-
projectService: true,
|
|
15
|
-
tsconfigRootDir: import.meta.dirname,
|
|
16
|
-
},
|
|
17
|
-
},
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
files: ["eslint.config.js"],
|
|
21
|
-
extends: [tseslint.configs.disableTypeChecked],
|
|
22
|
-
},
|
|
23
|
-
...oxlint.buildFromOxlintConfigFile("./.oxlintrc.json"),
|
|
24
|
-
]);
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import eslint from "@eslint/js";
|
|
2
|
-
import tseslint from "typescript-eslint";
|
|
3
|
-
import { defineConfig, globalIgnores } from "eslint/config";
|
|
4
|
-
import oxlint from "eslint-plugin-oxlint";
|
|
5
|
-
|
|
6
|
-
export default defineConfig([
|
|
7
|
-
globalIgnores([".tailor-sdk/", "src/generated/", "tailor.d.ts"]),
|
|
8
|
-
eslint.configs.recommended,
|
|
9
|
-
tseslint.configs.recommendedTypeChecked,
|
|
10
|
-
tseslint.configs.stylisticTypeChecked,
|
|
11
|
-
{
|
|
12
|
-
languageOptions: {
|
|
13
|
-
parserOptions: {
|
|
14
|
-
projectService: true,
|
|
15
|
-
tsconfigRootDir: import.meta.dirname,
|
|
16
|
-
},
|
|
17
|
-
},
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
files: ["eslint.config.js"],
|
|
21
|
-
extends: [tseslint.configs.disableTypeChecked],
|
|
22
|
-
},
|
|
23
|
-
...oxlint.buildFromOxlintConfigFile("./.oxlintrc.json"),
|
|
24
|
-
]);
|