sonamu 0.5.2 → 0.5.4
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/dist/api/code-converters.js +1 -1
- package/dist/api/code-converters.js.map +1 -1
- package/dist/api/decorators.d.ts +6 -1
- package/dist/api/decorators.d.ts.map +1 -1
- package/dist/api/decorators.js +1 -1
- package/dist/api/decorators.js.map +1 -1
- package/dist/bin/cli-wrapper.js +1 -1
- package/dist/bin/cli-wrapper.js.map +1 -1
- package/dist/database/puri-wrapper.d.ts +8 -1
- package/dist/database/puri-wrapper.d.ts.map +1 -1
- package/dist/database/puri-wrapper.js +1 -1
- package/dist/database/puri-wrapper.js.map +1 -1
- package/dist/database/puri.d.ts +2 -0
- package/dist/database/puri.d.ts.map +1 -1
- package/dist/database/puri.js +1 -1
- package/dist/database/puri.js.map +1 -1
- package/dist/database/puri.types.d.ts +4 -8
- package/dist/database/puri.types.d.ts.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/migration/code-generation.js +1 -1
- package/dist/migration/code-generation.js.map +1 -1
- package/dist/migration/types.d.ts +2 -1
- package/dist/migration/types.d.ts.map +1 -1
- package/dist/syncer/syncer.d.ts +1 -0
- package/dist/syncer/syncer.d.ts.map +1 -1
- package/dist/templates/generated_http.template.d.ts.map +1 -1
- package/dist/templates/generated_http.template.js +1 -1
- package/dist/templates/generated_http.template.js.map +1 -1
- package/dist/templates/generated_sso.template.d.ts.map +1 -1
- package/dist/templates/generated_sso.template.js +1 -1
- package/dist/templates/generated_sso.template.js.map +1 -1
- package/dist/templates/service.template.d.ts.map +1 -1
- package/dist/templates/service.template.js +1 -1
- package/dist/templates/service.template.js.map +1 -1
- package/dist/testing/fixture-manager.d.ts.map +1 -1
- package/dist/testing/fixture-manager.js +1 -1
- package/dist/testing/fixture-manager.js.map +1 -1
- package/package.json +7 -2
- package/src/api/code-converters.ts +1 -1
- package/src/api/decorators.ts +23 -9
- package/src/bin/cli-wrapper.ts +1 -1
- package/src/database/puri-wrapper.ts +24 -4
- package/src/database/puri.ts +128 -25
- package/src/database/puri.types.ts +46 -41
- package/src/index.ts +2 -1
- package/src/migration/code-generation.ts +3 -3
- package/src/migration/types.ts +2 -1
- package/src/templates/generated_http.template.ts +42 -11
- package/src/templates/generated_sso.template.ts +3 -1
- package/src/templates/service.template.ts +20 -7
- package/src/testing/fixture-manager.ts +2 -0
- package/.swcrc +0 -15
- package/import-to-require.js +0 -27
- package/nodemon.json +0 -6
- package/tsconfig.json +0 -56
- package/tsup.config.js +0 -47
package/tsconfig.json
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
/* Basic Options */
|
|
4
|
-
"target": "ESNext",
|
|
5
|
-
"module": "ESNext",
|
|
6
|
-
"outDir": "dist",
|
|
7
|
-
"sourceMap": true,
|
|
8
|
-
"lib": ["esnext", "dom"],
|
|
9
|
-
|
|
10
|
-
// NOTE(Haze, 251106): SSE 관련 fastify 타입 이슈로 명시적으로 추가함.
|
|
11
|
-
"types": ["fastify-sse-v2"],
|
|
12
|
-
|
|
13
|
-
"declaration": true,
|
|
14
|
-
"declarationMap": true,
|
|
15
|
-
|
|
16
|
-
/* Strict Type-Checking Options */
|
|
17
|
-
"strict": true,
|
|
18
|
-
"noImplicitAny": true,
|
|
19
|
-
"strictNullChecks": true,
|
|
20
|
-
"strictFunctionTypes": true,
|
|
21
|
-
"strictBindCallApply": true,
|
|
22
|
-
"strictPropertyInitialization": true,
|
|
23
|
-
"noImplicitThis": true,
|
|
24
|
-
"alwaysStrict": true,
|
|
25
|
-
|
|
26
|
-
/* Additional Checks */
|
|
27
|
-
"noUnusedLocals": true,
|
|
28
|
-
"noUnusedParameters": true,
|
|
29
|
-
"noImplicitReturns": true,
|
|
30
|
-
"noFallthroughCasesInSwitch": true,
|
|
31
|
-
"skipLibCheck": true,
|
|
32
|
-
// "noUncheckedIndexedAccess": true, // FIXME
|
|
33
|
-
|
|
34
|
-
/* Module Resolution Options */
|
|
35
|
-
"moduleResolution": "node",
|
|
36
|
-
"esModuleInterop": true,
|
|
37
|
-
|
|
38
|
-
/* Experimental Options */
|
|
39
|
-
"experimentalDecorators": true,
|
|
40
|
-
"emitDecoratorMetadata": true,
|
|
41
|
-
|
|
42
|
-
/* Advanced Options */
|
|
43
|
-
"forceConsistentCasingInFileNames": true,
|
|
44
|
-
"noErrorTruncation": true
|
|
45
|
-
},
|
|
46
|
-
"exclude": [
|
|
47
|
-
"node_modules",
|
|
48
|
-
"dist",
|
|
49
|
-
"src/**/*.test.ts",
|
|
50
|
-
"src/**/*.test-hold.ts",
|
|
51
|
-
"src/**/*.ignore.ts",
|
|
52
|
-
"wasted_src/**",
|
|
53
|
-
"_templates/**",
|
|
54
|
-
"**/__mocks__/**"
|
|
55
|
-
]
|
|
56
|
-
}
|
package/tsup.config.js
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
// tsup.config.js
|
|
2
|
-
import { defineConfig } from "tsup";
|
|
3
|
-
import { ImportToRequirePlugin } from "./import-to-require";
|
|
4
|
-
|
|
5
|
-
export default defineConfig({
|
|
6
|
-
entry: [
|
|
7
|
-
"src/index.ts",
|
|
8
|
-
"src/bin/cli.ts",
|
|
9
|
-
"src/bin/cli-wrapper.ts",
|
|
10
|
-
"src/database/drivers/knex/base-model.ts",
|
|
11
|
-
"src/database/drivers/kysely/base-model.ts",
|
|
12
|
-
],
|
|
13
|
-
dts: true,
|
|
14
|
-
format: [
|
|
15
|
-
"cjs",
|
|
16
|
-
// "esm"
|
|
17
|
-
],
|
|
18
|
-
target: "esnext",
|
|
19
|
-
clean: true,
|
|
20
|
-
sourcemap: true,
|
|
21
|
-
shims: true,
|
|
22
|
-
platform: "node",
|
|
23
|
-
splitting: true,
|
|
24
|
-
esbuildPlugins: [ImportToRequirePlugin],
|
|
25
|
-
external: [
|
|
26
|
-
"chalk",
|
|
27
|
-
"dotenv",
|
|
28
|
-
"fast-deep-equal",
|
|
29
|
-
"fastify",
|
|
30
|
-
"glob",
|
|
31
|
-
"inflection",
|
|
32
|
-
"knex",
|
|
33
|
-
"lodash",
|
|
34
|
-
"luxon",
|
|
35
|
-
"mysql2",
|
|
36
|
-
"node-sql-parser",
|
|
37
|
-
"prompts",
|
|
38
|
-
"qs",
|
|
39
|
-
"tsicli",
|
|
40
|
-
"uuid",
|
|
41
|
-
"zod",
|
|
42
|
-
"prettier",
|
|
43
|
-
"source-map-support",
|
|
44
|
-
"tsup",
|
|
45
|
-
"typescript",
|
|
46
|
-
],
|
|
47
|
-
});
|