@dbos-inc/create 1.14.4-preview → 1.14.7-preview

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dbos-inc/create",
3
- "version": "1.14.4-preview",
3
+ "version": "1.14.7-preview",
4
4
  "description": "Tool for performing project initialization from template",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -0,0 +1,26 @@
1
+ const { FlatCompat } = require("@eslint/eslintrc");
2
+ const dbosIncEslintPlugin = require("@dbos-inc/eslint-plugin");
3
+ const typescriptEslint = require("typescript-eslint");
4
+ const typescriptEslintParser = require("@typescript-eslint/parser");
5
+ const globals = require("globals");
6
+ const js = require("@eslint/js");
7
+
8
+ const compat = new FlatCompat({
9
+ baseDirectory: __dirname,
10
+ recommendedConfig: js.configs.recommended
11
+ });
12
+
13
+ module.exports = typescriptEslint.config({
14
+ extends: compat.extends("plugin:@dbos-inc/dbosRecommendedConfig"),
15
+ plugins: { "@dbos-inc": dbosIncEslintPlugin },
16
+
17
+ languageOptions: {
18
+ parser: typescriptEslintParser,
19
+ parserOptions: { project: "./tsconfig.json" },
20
+ globals: { ...globals.node, ...globals.es6 }
21
+ },
22
+
23
+ rules: {},
24
+
25
+ ignores: ["**/*.test.ts"]
26
+ });
@@ -13,12 +13,13 @@
13
13
  "@dbos-inc/eslint-plugin": "^0.0.6",
14
14
  "@types/jest": "^29.5.12",
15
15
  "@types/supertest": "^2.0.16",
16
- "eslint": "^8.57.0",
16
+ "eslint": "^9.4.0",
17
17
  "jest": "^29.7.0",
18
18
  "nodemon": "^3.1.0",
19
19
  "supertest": "^7.0.0",
20
20
  "ts-jest": "^29.1.2",
21
- "typescript": "^5.4.5"
21
+ "typescript": "^5.4.5",
22
+ "typescript-eslint": "^8.0.0-alpha.30"
22
23
  },
23
24
  "dependencies": {
24
25
  "@dbos-inc/dbos-sdk": "file:../../../..",
@@ -0,0 +1,26 @@
1
+ const { FlatCompat } = require("@eslint/eslintrc");
2
+ const dbosIncEslintPlugin = require("@dbos-inc/eslint-plugin");
3
+ const typescriptEslint = require("typescript-eslint");
4
+ const typescriptEslintParser = require("@typescript-eslint/parser");
5
+ const globals = require("globals");
6
+ const js = require("@eslint/js");
7
+
8
+ const compat = new FlatCompat({
9
+ baseDirectory: __dirname,
10
+ recommendedConfig: js.configs.recommended
11
+ });
12
+
13
+ module.exports = typescriptEslint.config({
14
+ extends: compat.extends("plugin:@dbos-inc/dbosRecommendedConfig"),
15
+ plugins: { "@dbos-inc": dbosIncEslintPlugin },
16
+
17
+ languageOptions: {
18
+ parser: typescriptEslintParser,
19
+ parserOptions: { project: "./tsconfig.json" },
20
+ globals: { ...globals.node, ...globals.es6 }
21
+ },
22
+
23
+ rules: {},
24
+
25
+ ignores: ["**/*.test.ts"]
26
+ });
@@ -15,13 +15,14 @@
15
15
  "@dbos-inc/eslint-plugin": "^0.0.6",
16
16
  "@types/jest": "^29.5.12",
17
17
  "@types/supertest": "^6.0.2",
18
- "eslint": "^8.57.0",
18
+ "eslint": "^9.4.0",
19
19
  "jest": "^29.7.0",
20
20
  "nodemon": "^3.1.0",
21
21
  "prisma": "^5.15.0",
22
22
  "supertest": "^7.0.0",
23
23
  "ts-jest": "^29.1.2",
24
- "typescript": "^5.4.5"
24
+ "typescript": "^5.4.5",
25
+ "typescript-eslint": "^8.0.0-alpha.30"
25
26
  },
26
27
  "dependencies": {
27
28
  "@dbos-inc/dbos-sdk": "file:../../../..",
@@ -15,7 +15,7 @@
15
15
  "strict": true, /* Enable all strict type-checking options. */
16
16
  "skipLibCheck": true /* Skip type checking all .d.ts files. */
17
17
  },
18
- "include": [ /* Specifies an array of filenames or patterns to include in the program. */
18
+ "include": [ /* Specifies an array of filenames or patterns to include in the program. */
19
19
  "src",
20
20
  ],
21
21
  "exclude": [
@@ -0,0 +1,26 @@
1
+ const { FlatCompat } = require("@eslint/eslintrc");
2
+ const dbosIncEslintPlugin = require("@dbos-inc/eslint-plugin");
3
+ const typescriptEslint = require("typescript-eslint");
4
+ const typescriptEslintParser = require("@typescript-eslint/parser");
5
+ const globals = require("globals");
6
+ const js = require("@eslint/js");
7
+
8
+ const compat = new FlatCompat({
9
+ baseDirectory: __dirname,
10
+ recommendedConfig: js.configs.recommended
11
+ });
12
+
13
+ module.exports = typescriptEslint.config({
14
+ extends: compat.extends("plugin:@dbos-inc/dbosRecommendedConfig"),
15
+ plugins: { "@dbos-inc": dbosIncEslintPlugin },
16
+
17
+ languageOptions: {
18
+ parser: typescriptEslintParser,
19
+ parserOptions: { project: "./tsconfig.json" },
20
+ globals: { ...globals.node, ...globals.es6 }
21
+ },
22
+
23
+ rules: {},
24
+
25
+ ignores: ["**/*.test.ts"]
26
+ });
@@ -15,12 +15,13 @@
15
15
  "@dbos-inc/eslint-plugin": "^0.0.6",
16
16
  "@types/jest": "^29.5.12",
17
17
  "@types/supertest": "^6.0.2",
18
- "eslint": "^8.57.0",
18
+ "eslint": "^9.4.0",
19
19
  "jest": "^29.7.0",
20
20
  "nodemon": "^3.1.0",
21
21
  "supertest": "^7.0.0",
22
22
  "ts-jest": "^29.1.2",
23
- "typescript": "^5.4.5"
23
+ "typescript": "^5.4.5",
24
+ "typescript-eslint": "^8.0.0-alpha.30"
24
25
  },
25
26
  "dependencies": {
26
27
  "@dbos-inc/dbos-sdk": "file:../../../..",
@@ -16,7 +16,7 @@
16
16
  "skipLibCheck": true /* Skip type checking all .d.ts files. */
17
17
  },
18
18
  "include": [ /* Specifies an array of filenames or patterns to include in the program. */
19
- "datasource.ts",
19
+ "datasource.ts",
20
20
  "src",
21
21
  "entities",
22
22
  "migrations",
@@ -1,4 +0,0 @@
1
- dist
2
- *.test.ts
3
- jest.config.js
4
-
@@ -1,19 +0,0 @@
1
- {
2
- "root": true,
3
- "extends": [
4
- "plugin:@dbos-inc/dbosRecommendedConfig"
5
- ],
6
- "plugins": [
7
- "@dbos-inc"
8
- ],
9
- "env": {
10
- "node": true,
11
- "es6": true
12
- },
13
- "rules": {
14
- },
15
- "parser": "@typescript-eslint/parser",
16
- "parserOptions": {
17
- "project": "./tsconfig.json"
18
- }
19
- }