create-newt-app 0.27.0 → 0.30.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.
Files changed (25) hide show
  1. package/dist/index.d.ts +5 -1
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/index.js +332 -128
  4. package/dist/index.js.map +1 -1
  5. package/dist/static/anti-slop/static/LICENSE +21 -0
  6. package/dist/static/anti-slop/static/index.ts +41 -0
  7. package/dist/static/anti-slop/static/rules/no-chained-type-assertions.ts +77 -0
  8. package/dist/static/anti-slop/static/rules/no-conditional-empty-object-spread.ts +49 -0
  9. package/dist/static/anti-slop/static/rules/no-known-value-widening.ts +247 -0
  10. package/dist/static/anti-slop/static/rules/no-module-mocking.ts +91 -0
  11. package/dist/static/anti-slop/static/rules/no-object-parameters.ts +126 -0
  12. package/dist/static/anti-slop/static/rules/no-reflect-apply.ts +28 -0
  13. package/dist/static/anti-slop/static/rules/no-reflect-get.ts +28 -0
  14. package/dist/static/anti-slop/static/rules/no-runtime-typeof.ts +67 -0
  15. package/dist/static/anti-slop/static/rules/no-shape-in-symbol-names.ts +39 -0
  16. package/dist/static/anti-slop/static/rules/no-unknown-parameters.ts +83 -0
  17. package/dist/static/anti-slop/static/rules/no-unknown-returns.ts +115 -0
  18. package/dist/static/anti-slop/static/rules/no-unknown-type-aliases.ts +70 -0
  19. package/dist/static/anti-slop/static/rules/no-unsafe-dictionary-type.ts +134 -0
  20. package/dist/static/anti-slop/static/rules/no-widen-then-assert.ts +366 -0
  21. package/dist/static/anti-slop/static/rules/require-safety-comment-for-type-assertion.ts +62 -0
  22. package/dist/static/anti-slop/static/shared/dictionary-types.ts +502 -0
  23. package/dist/static/anti-slop/static/shared/lexical-type-parameters.ts +61 -0
  24. package/dist/static/anti-slop/static/shared/reflect-method.ts +35 -0
  25. package/package.json +2 -1
package/dist/index.d.ts CHANGED
@@ -1,3 +1,6 @@
1
+ //#region src/templates/types.d.ts
2
+ type Extra = "anti-slop";
3
+ //#endregion
1
4
  //#region src/index.d.ts
2
5
  declare const TESTING_CHOICES: readonly ["jest", "vitest"];
3
6
  declare const DATABASE_CHOICES: readonly ["sqlite", "postgres"];
@@ -18,7 +21,8 @@ type Options = {
18
21
  linter: Linter;
19
22
  deployment: Deployment;
20
23
  nestDiOnly: boolean;
21
- bare: boolean;
24
+ includeExample: boolean;
25
+ extras: readonly Extra[];
22
26
  };
23
27
  declare function doInit(options: Options): Promise<void>;
24
28
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../src/index.ts"],"mappings":";cAeM;cACA;cACA;cACA;KAED,kBAAkB;KAClB,mBAAmB;KACnB,iBAAiB;KACjB,qBAAqB;KAErB;EACH;EACA;EACA;EACA;EACA;EACA,SAAS;EACT,UAAU;EACV,QAAQ;EACR,YAAY;EACZ;EACA;;iBAWoB,OAAO,SAAS,UAAO"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../src/templates/types.ts","../src/index.ts"],"mappings":";KA+BY;;;cCfN;cACA;cACA;cACA;KAGD,kBAAkB;KAClB,mBAAmB;KACnB,iBAAiB;KACjB,qBAAqB;KAcrB;EACH;EACA;EACA;EACA;EACA;EACA,SAAS;EACT,UAAU;EACV,QAAQ;EACR,YAAY;EACZ;EACA;EACA,iBAAiB;;iBAWG,OAAO,SAAS,UAAO"}