@abcnews/aunty 17.0.0-next.5 → 17.0.0-next.6

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 (41) hide show
  1. package/CONTRIBUTING.md +17 -4
  2. package/README.md +14 -0
  3. package/dist/bin/aunty.js +1782 -0
  4. package/dist/bin/commander.js +1638 -0
  5. package/dist/lib/vite.js +133 -0
  6. package/dist/scripts/postinstall.d.ts +6 -0
  7. package/dist/src/bin/aunty.d.ts +9 -0
  8. package/dist/src/bin/commander.d.ts +5 -0
  9. package/dist/src/commands/build/index.d.ts +4 -0
  10. package/dist/src/commands/create/index.d.ts +4 -0
  11. package/dist/src/commands/create/types.d.ts +7 -0
  12. package/dist/src/commands/deploy/fs.d.ts +11 -0
  13. package/dist/src/commands/deploy/index.d.ts +12 -0
  14. package/dist/src/commands/migrate/index.d.ts +14 -0
  15. package/dist/src/commands/release/index.d.ts +8 -0
  16. package/dist/src/commands/release-check/git.d.ts +25 -0
  17. package/dist/src/commands/release-check/index.d.ts +9 -0
  18. package/dist/src/commands/serve/index.d.ts +4 -0
  19. package/dist/src/lib/constants.d.ts +3 -0
  20. package/dist/src/lib/ftp.d.ts +45 -0
  21. package/dist/src/lib/git.d.ts +29 -0
  22. package/dist/src/lib/initHelpers.d.ts +78 -0
  23. package/dist/src/lib/semver.d.ts +12 -0
  24. package/dist/src/lib/terminal.d.ts +14 -0
  25. package/dist/src/lib/util.d.ts +31 -0
  26. package/dist/src/lib/vite.d.ts +26 -0
  27. package/dist/src/types.d.ts +14 -0
  28. package/dist/templates/index.d.ts +8 -0
  29. package/dist/templates/svelte/base/init.d.ts +2 -0
  30. package/dist/templates/svelte/index.d.ts +2 -0
  31. package/dist/templates/svelte/patch-builder/init.d.ts +5 -0
  32. package/dist/templates/svelte/patch-js/init.d.ts +5 -0
  33. package/dist/templates/svelte/patch-odyssey/init.d.ts +2 -0
  34. package/dist/templates/svelte/patch-scrollyteller/init.d.ts +2 -0
  35. package/dist/templates/vanilla/base/init.d.ts +2 -0
  36. package/dist/templates/vanilla/index.d.ts +2 -0
  37. package/dist/templates/vanilla/patch-js/init.d.ts +5 -0
  38. package/package.json +9 -8
  39. package/src/bin/aunty.ts +47 -0
  40. package/src/lib/ftp.ts +4 -1
  41. package/tsconfig.json +2 -1
package/CONTRIBUTING.md CHANGED
@@ -9,18 +9,31 @@ git clone git@github.com:abcnews/aunty.git
9
9
  ...then, from the project directory, run:
10
10
 
11
11
  ```bash
12
+ npm run build
12
13
  npm link
13
14
  ```
14
15
 
15
- This will link the globally-available `aunty` command to your clone.
16
+ This will link the globally-available `aunty` command to your clone. While developing, run:
16
17
 
17
- To revert to your original global install, run:
18
+ ```bash
19
+ npm run watch
20
+ ```
21
+
22
+ to compile changes to the `dist/` directory automatically.
23
+
24
+ To revert and uninstall the locally linked version, run:
25
+
26
+ ```bash
27
+ npm uninstall -g @abcnews/aunty
28
+ ```
29
+
30
+ To reinstall the latest published registry version:
18
31
 
19
32
  ```bash
20
- npm unlink
33
+ npm install -g @abcnews/aunty
21
34
  ```
22
35
 
23
- For ease of use, you can use the Aunty version directly with `node <path to aunty repo> -h`.
36
+ For ease of use, you can use the Aunty version directly with `node <path to aunty repo>/dist/bin/aunty.js -h`.
24
37
 
25
38
  ## Releasing new versions of `@abcnews/aunty`
26
39
 
package/README.md CHANGED
@@ -21,6 +21,20 @@ Aunty uses the pattern of "helpers" to abstract complex logic out and hopefully
21
21
 
22
22
  The main CLI logic is in [src/bin/commander.ts](./src/bin/commander.ts).
23
23
 
24
+ # Developing
25
+
26
+ To develop on Aunty, run the watch command to compile your changes in real-time:
27
+
28
+ ```bash
29
+ npm run watch
30
+ ```
31
+
32
+ Or build the project manually:
33
+
34
+ ```bash
35
+ npm run build
36
+ ```
37
+
24
38
  See [CONTRIBUTING.md](./CONTRIBUTING.md) for specifics.
25
39
 
26
40
  # Templates