@yahoo/uds 0.1.14 → 0.1.16

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. package/cli/README.md +57 -5
  2. package/cli/commands/expo/_setup.ts +59 -15
  3. package/cli/commands/expo/build.ts +2 -1
  4. package/cli/commands/expo/dev.ts +17 -8
  5. package/cli/commands/expo/expo.ts +6 -6
  6. package/cli/commands/expo/launch.ts +1 -0
  7. package/cli/commands/expo/update.ts +1 -0
  8. package/cli/commands/purge.ts +16 -0
  9. package/cli/commands/{config/sync.ts → sync.ts} +3 -2
  10. package/cli/commands/uds.ts +1 -0
  11. package/cli/env.d.ts +3 -0
  12. package/cli/utils/configWorker.ts +23 -1
  13. package/cli/utils/getCommandHelp.ts +3 -4
  14. package/cli/utils/purgeCSS.ts +138 -0
  15. package/cli/utils/setupConfigWorker.ts +15 -18
  16. package/dist/{chunk-P7GR6E3K.js → chunk-AHFH5E5L.js} +1 -1
  17. package/dist/{chunk-MBOOJIH7.js → chunk-FLBMVDKG.js} +1 -1
  18. package/dist/{chunk-AWTLI4D3.js → chunk-U3UPAQ7V.js} +1 -1
  19. package/dist/fixtures/index.cjs +1 -1
  20. package/dist/fixtures/index.d.cts +1 -3
  21. package/dist/fixtures/index.d.ts +1 -3
  22. package/dist/fixtures/index.js +1 -1
  23. package/dist/index.cjs +1 -1
  24. package/dist/index.d.cts +103 -32
  25. package/dist/index.d.ts +103 -32
  26. package/dist/index.js +1 -1
  27. package/dist/{index.native-9kYJrUPa.d.ts → index.native-fciGC1AQ.d.cts} +2 -2
  28. package/dist/{index.native-3ww4C4UV.d.cts → index.native-hIYZ_ma-.d.ts} +2 -2
  29. package/dist/index.native.cjs +1 -1
  30. package/dist/index.native.d.cts +10 -24
  31. package/dist/index.native.d.ts +10 -24
  32. package/dist/index.native.js +1 -1
  33. package/dist/tailwindPlugin.cjs +1 -1
  34. package/dist/tailwindPlugin.d.cts +1 -1
  35. package/dist/tailwindPlugin.d.ts +1 -1
  36. package/dist/tailwindPlugin.js +1 -1
  37. package/dist/tailwindPurge.cjs +4 -0
  38. package/dist/tailwindPurge.d.cts +16 -0
  39. package/dist/tailwindPurge.d.ts +16 -0
  40. package/dist/tailwindPurge.js +4 -0
  41. package/dist/tokens/index.cjs +1 -1
  42. package/dist/tokens/index.d.cts +3 -3
  43. package/dist/tokens/index.d.ts +3 -3
  44. package/dist/tokens/index.js +1 -1
  45. package/dist/tokens/index.native.cjs +1 -1
  46. package/dist/tokens/index.native.d.cts +2 -2
  47. package/dist/tokens/index.native.d.ts +2 -2
  48. package/dist/tokens/index.native.js +1 -1
  49. package/dist/tokens/parseTokens.cjs +1 -1
  50. package/dist/tokens/parseTokens.d.cts +12 -12
  51. package/dist/tokens/parseTokens.d.ts +12 -12
  52. package/dist/tokens/parseTokens.js +1 -1
  53. package/dist/tokens/parseTokens.native.d.cts +2 -2
  54. package/dist/tokens/parseTokens.native.d.ts +2 -2
  55. package/dist/{types-J4DLS6Xj.d.cts → types-3GXulqnG.d.cts} +1 -1
  56. package/dist/{types-J4DLS6Xj.d.ts → types-3GXulqnG.d.ts} +1 -1
  57. package/dist/{types-hirL9Qk5.d.cts → types-_E6o7OhU.d.cts} +47 -54
  58. package/dist/{types-hirL9Qk5.d.ts → types-_E6o7OhU.d.ts} +47 -54
  59. package/package.json +20 -4
  60. package/cli/commands/config/config.ts +0 -10
  61. package/cli/commands/nextjs/dev.ts +0 -17
  62. package/cli/commands/nextjs/nextjs.ts +0 -10
  63. package/cli/eslint.config.mjs +0 -8
@@ -1,10 +0,0 @@
1
- import { type Props } from 'bluebun';
2
- import { getCommandHelp } from '../../utils/getCommandHelp';
3
-
4
- export default {
5
- name: 'config',
6
- description: '',
7
- run: async (props: Props) => {
8
- await getCommandHelp(props);
9
- },
10
- };
@@ -1,17 +0,0 @@
1
- import { setupConfigWorker } from '../../utils/setupConfigWorker';
2
- import { Props } from 'bluebun';
3
- import { SyncOptions } from '../../utils/types';
4
- import { $ } from 'bun';
5
-
6
- interface DevProps extends Props {
7
- options: SyncOptions;
8
- }
9
-
10
- export default {
11
- name: 'dev',
12
- description: '🚧 Dev',
13
- run: async ({ options }: DevProps) => {
14
- await setupConfigWorker(options);
15
- await $`next dev`;
16
- },
17
- };
@@ -1,10 +0,0 @@
1
- import { type Props } from 'bluebun';
2
- import { getCommandHelp } from '../../utils/getCommandHelp';
3
-
4
- export default {
5
- name: 'nextjs',
6
- description: '',
7
- run: async (props: Props) => {
8
- await getCommandHelp(props);
9
- },
10
- };
@@ -1,8 +0,0 @@
1
- import { defineFlatConfig, nodeConfig } from 'eslint-config-custom';
2
-
3
- export default defineFlatConfig(
4
- nodeConfig.map((config) => ({
5
- ...config,
6
- files: ['**/*.{ts,tsx}'],
7
- })),
8
- );