Skip to content

Commit f350103

Browse files
authored
drop Legacy API (#2110)
* remove legacy source * fix test * update config * fix e2e * fix e2e * fix exports * fix others * remove mode * fix others * fix others * fix others * fix others * fix jsdoc * fix jsdoc * remove legacy examples * fix others * fix others * rollup test cases
1 parent d078097 commit f350103

File tree

139 files changed

+369
-6302
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

139 files changed

+369
-6302
lines changed

benchmark/complex-jit-aot.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ const ctx = createCoreContext({
4545
})
4646

4747
const i18n = createI18n({
48-
legacy: false,
4948
locale: 'en',
5049
modifiers: {
5150
caml: val => val

benchmark/complex-jit.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ const ctx = createCoreContext({
3434
})
3535

3636
const i18n = createI18n({
37-
legacy: false,
3837
locale: 'en',
3938
modifiers: {
4039
caml: val => val

benchmark/complex.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ const ctx = createCoreContext({
2828
})
2929

3030
const i18n = createI18n({
31-
legacy: false,
3231
locale: 'en',
3332
modifiers: {
3433
caml: val => val

benchmark/simple-jit-aot.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ const ctx = createCoreContext({
4040
})
4141

4242
const i18n = createI18n({
43-
legacy: false,
4443
locale: 'en',
4544
messages: {
4645
en: precompiledResources

benchmark/simple-jit.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ const ctx = createCoreContext({
2929
})
3030

3131
const i18n = createI18n({
32-
legacy: false,
3332
locale: 'en',
3433
messages: {
3534
en: resources

benchmark/simple.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ const ctx = createCoreContext({
2323
})
2424

2525
const i18n = createI18n({
26-
legacy: false,
2726
locale: 'en',
2827
messages: {
2928
en: resources

e2e/components/datetime-format.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { getText, url } from '../helper'
2-
;['composition', 'legacy'].forEach(pattern => {
2+
;['composition'].forEach(pattern => {
33
describe(`${pattern}`, () => {
44
beforeAll(async () => {
55
await page.goto(

e2e/components/number-format.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { getText, url } from '../helper'
2-
;['composition', 'legacy'].forEach(pattern => {
2+
;['composition'].forEach(pattern => {
33
describe(`${pattern}`, () => {
44
beforeAll(async () => {
55
await page.goto(url(`/examples/${pattern}/components/number-format.html`))

e2e/components/translation.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { getText, url } from '../helper'
2-
;['composition', 'legacy'].forEach(pattern => {
2+
;['composition'].forEach(pattern => {
33
describe(`${pattern}`, () => {
44
beforeAll(async () => {
55
await page.goto(url(`/examples/${pattern}/components/translation.html`))

e2e/datetime.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { getText, url } from './helper'
2-
;['composition', 'legacy'].forEach(pattern => {
2+
;['composition'].forEach(pattern => {
33
describe(`${pattern}`, () => {
44
beforeAll(async () => {
55
await page.goto(url(`/examples/${pattern}/datetime.html`))

0 commit comments

Comments
 (0)