@formatjs/cli 5.0.8 → 5.0.9

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 (43) hide show
  1. package/bin/formatjs +162712 -0
  2. package/package.json +2 -2
  3. package/BUILD +0 -22
  4. package/CHANGELOG.md +0 -1098
  5. package/integration-tests/BUILD +0 -81
  6. package/integration-tests/compile/__snapshots__/integration.test.ts.snap +0 -1056
  7. package/integration-tests/compile/glob/en.json +0 -14
  8. package/integration-tests/compile/glob/en2.json +0 -14
  9. package/integration-tests/compile/glob-conflict/en.json +0 -14
  10. package/integration-tests/compile/glob-conflict/en2.json +0 -14
  11. package/integration-tests/compile/integration.test.ts +0 -213
  12. package/integration-tests/compile/lang/empty.json +0 -1
  13. package/integration-tests/compile/lang/en-crowdin.json +0 -14
  14. package/integration-tests/compile/lang/en-format.json +0 -14
  15. package/integration-tests/compile/lang/en-lokalise.json +0 -14
  16. package/integration-tests/compile/lang/en-simple.json +0 -5
  17. package/integration-tests/compile/lang/en-smartling.json +0 -24
  18. package/integration-tests/compile/lang/en-transifex.json +0 -14
  19. package/integration-tests/compile/lang/en.json +0 -22
  20. package/integration-tests/compile/lang/malformed-messages.json +0 -14
  21. package/integration-tests/compile_folder/__snapshots__/integration.test.ts.snap +0 -44
  22. package/integration-tests/compile_folder/integration.test.ts +0 -33
  23. package/integration-tests/compile_folder/lang/empty.json +0 -1
  24. package/integration-tests/compile_folder/lang/en.json +0 -14
  25. package/integration-tests/compile_folder/lang/en2.json +0 -14
  26. package/integration-tests/extract/__snapshots__/integration.test.ts.snap +0 -932
  27. package/integration-tests/extract/defineMessages/actual.ignore.js +0 -22
  28. package/integration-tests/extract/defineMessages/actual.js +0 -65
  29. package/integration-tests/extract/defineMessages/bad.json +0 -1
  30. package/integration-tests/extract/duplicated/file1.tsx +0 -10
  31. package/integration-tests/extract/duplicated/file2.tsx +0 -10
  32. package/integration-tests/extract/integration.test.ts +0 -240
  33. package/integration-tests/extract/nonDuplicated/file1.tsx +0 -14
  34. package/integration-tests/extract/nonDuplicated/file2.tsx +0 -14
  35. package/integration-tests/extract/typescript/actual.ignore.tsx +0 -21
  36. package/integration-tests/extract/typescript/actual.tsx +0 -104
  37. package/integration-tests/extract/typescript/err.tsx +0 -1
  38. package/integration-tests/extract/typescript/pragma.tsx +0 -77
  39. package/integration-tests/extract-vue/__snapshots__/integration.test.ts.snap +0 -17
  40. package/integration-tests/extract-vue/comp.vue +0 -22
  41. package/integration-tests/extract-vue/integration.test.ts +0 -14
  42. package/integration-tests/formatter.js +0 -18
  43. package/integration-tests/package.json +0 -5
@@ -1,81 +0,0 @@
1
- load("@npm//:defs.bzl", "npm_link_all_packages")
2
- load("//tools:jest.bzl", "jest_test")
3
-
4
- npm_link_all_packages(name = "node_modules")
5
-
6
- jest_test(
7
- name = "integration-compile-folder",
8
- size = "large",
9
- srcs = glob(
10
- [
11
- "compile_folder/**/*",
12
- ],
13
- ),
14
- flaky = True,
15
- deps = [
16
- ":node_modules/@formatjs/cli",
17
- "//:node_modules/@types/fs-extra",
18
- "//:node_modules/@types/rimraf",
19
- "//:node_modules/fast-glob",
20
- "//:node_modules/fs-extra",
21
- "//:node_modules/rimraf",
22
- ],
23
- )
24
-
25
- jest_test(
26
- name = "integration-extract",
27
- size = "large",
28
- srcs = [
29
- "formatter.js",
30
- ] + glob(
31
- [
32
- "extract/**/*",
33
- ],
34
- ),
35
- flaky = True,
36
- deps = [
37
- ":node_modules/@formatjs/cli",
38
- "//:node_modules/@types/fs-extra",
39
- "//:node_modules/@types/rimraf",
40
- "//:node_modules/fast-glob",
41
- "//:node_modules/fs-extra",
42
- "//:node_modules/rimraf",
43
- ],
44
- )
45
-
46
- jest_test(
47
- name = "integration-extract-vue",
48
- size = "large",
49
- srcs = glob(
50
- [
51
- "extract-vue/**/*",
52
- ],
53
- ),
54
- flaky = True,
55
- deps = [
56
- ":node_modules/@formatjs/cli",
57
- "//:node_modules/@babel/types",
58
- "//:node_modules/@types/node",
59
- "//:node_modules/@vue/compiler-core",
60
- "//:node_modules/@vue/compiler-sfc",
61
- "//:node_modules/fast-glob",
62
- ],
63
- )
64
-
65
- jest_test(
66
- name = "integration-compile",
67
- size = "large",
68
- srcs = [
69
- "formatter.js",
70
- ] + glob(
71
- [
72
- "compile/**/*",
73
- ],
74
- ),
75
- flaky = True,
76
- deps = [
77
- ":node_modules/@formatjs/cli",
78
- "//:node_modules/@types/rimraf",
79
- "//:node_modules/rimraf",
80
- ],
81
- )