Skip to content

Commit 7f4ddd5

Browse files
committed
chore: move to lerna-lite
1 parent b86a2ed commit 7f4ddd5

File tree

15 files changed

+6851
-44840
lines changed

15 files changed

+6851
-44840
lines changed

package.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
{
22
"private": true,
33
"license": "MIT",
4+
"workspaces": [
5+
"packages/*"
6+
],
47
"scripts": {
5-
"postinstall": "lerna bootstrap",
68
"test": "lerna run test",
79
"release:note": "node scripts/gen-release-notes.js run",
810
"release:build": "lerna run build",
@@ -11,9 +13,10 @@
1113
"release": "lerna publish"
1214
},
1315
"devDependencies": {
16+
"@lerna-lite/cli": "^1.9.0",
17+
"@lerna-lite/run": "^1.9.0",
1418
"@vue/conventional-changelog": "^0.1.1",
1519
"conventional-changelog": "^2.0.3",
16-
"execa": "^1.0.0",
17-
"lerna": "^3.5.1"
20+
"execa": "^1.0.0"
1821
}
1922
}

packages/babel-helper-vue-jsx-merge-props/yarn.lock

Lines changed: 0 additions & 4974 deletions
This file was deleted.

packages/babel-plugin-transform-vue-jsx/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"@babel/cli": "^7.2.0",
2626
"@babel/core": "^7.2.0",
2727
"@babel/preset-env": "^7.2.0",
28-
"@vue/test-utils": "^1.0.0-beta.26",
28+
"@vue/test-utils": "1.0.0-beta.26",
2929
"ava": "^0.25.0",
3030
"jsdom": "^13.0.0",
3131
"jsdom-global": "^3.0.2",

packages/babel-plugin-transform-vue-jsx/yarn.lock

Lines changed: 0 additions & 5787 deletions
This file was deleted.

packages/babel-preset-jsx/yarn.lock

Lines changed: 0 additions & 503 deletions
This file was deleted.

packages/babel-sugar-composition-api-inject-h/yarn.lock

Lines changed: 0 additions & 4899 deletions
This file was deleted.

packages/babel-sugar-composition-api-render-instance/yarn.lock

Lines changed: 0 additions & 4899 deletions
This file was deleted.

packages/babel-sugar-functional-vue/yarn.lock

Lines changed: 0 additions & 5092 deletions
This file was deleted.

packages/babel-sugar-inject-h/yarn.lock

Lines changed: 0 additions & 4899 deletions
This file was deleted.

packages/babel-sugar-v-model/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
"scripts": {
1515
"pretest:snapshot": "yarn build:test",
1616
"test:snapshot": "nyc --reporter=html --reporter=text-summary ava -v test/snapshot.js",
17-
"pretest:functional": "yarn build:test && nyc --reporter=html --reporter=text-summary babel test/functional.js --plugins ./dist/plugin.testing.js,./node_modules/@vue/babel-plugin-transform-vue-jsx/dist/plugin.js,@babel/plugin-transform-arrow-functions --out-file test/functional-compiled.js",
17+
"build:plugin": "cd ../babel-plugin-transform-vue-jsx && yarn build",
18+
"pretest:functional": "yarn build:plugin && yarn build:test && nyc --reporter=html --reporter=text-summary babel test/functional.js --plugins ./dist/plugin.testing.js,../babel-plugin-transform-vue-jsx/dist/plugin.js,@babel/plugin-transform-arrow-functions --out-file test/functional-compiled.js",
1819
"test:functional": "ava -v test/functional-compiled.js",
1920
"build": "rollup -c",
2021
"build:test": "rollup -c rollup.config.testing.js",
@@ -26,7 +27,7 @@
2627
"@babel/core": "^7.2.0",
2728
"@babel/plugin-transform-arrow-functions": "^7.12.1",
2829
"@babel/preset-env": "^7.2.0",
29-
"@vue/test-utils": "^1.0.0-beta.26",
30+
"@vue/test-utils": "1.0.0-beta.26",
3031
"ava": "^0.25.0",
3132
"jsdom": "^13.0.0",
3233
"jsdom-global": "^3.0.2",

packages/babel-sugar-v-model/test/snapshot.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ test('div[vModel] throws an error', t =>
335335
resolve()
336336
})
337337
.catch(e => {
338-
t.is(e.message, 'vModel: div[type=] is not supported')
338+
t.true(e.message.includes('vModel: div[type=] is not supported'))
339339
resolve()
340340
})
341341
}))
@@ -348,7 +348,7 @@ test('static vModel throws an error', t =>
348348
resolve()
349349
})
350350
.catch(e => {
351-
t.is(e.message, 'You have to use JSX Expression inside your v-model')
351+
t.true(e.message.includes( 'You have to use JSX Expression inside your v-model'))
352352
resolve()
353353
})
354354
}))

packages/babel-sugar-v-model/yarn.lock

Lines changed: 0 additions & 5561 deletions
This file was deleted.

packages/babel-sugar-v-on/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
"scripts": {
1515
"pretest:snapshot": "yarn build:test",
1616
"test:snapshot": "nyc --reporter=html --reporter=text-summary ava -v test/snapshot.js",
17-
"pretest:functional": "yarn build:test && nyc --reporter=html --reporter=text-summary babel test/functional.js --plugins ./dist/plugin.testing.js,./node_modules/@vue/babel-plugin-transform-vue-jsx/dist/plugin.js,@babel/plugin-transform-arrow-functions --out-file test/functional-compiled.js",
17+
"build:plugin": "cd ../babel-plugin-transform-vue-jsx && yarn build",
18+
"pretest:functional": "yarn build:plugin && yarn build:test && nyc --reporter=html --reporter=text-summary babel test/functional.js --plugins ./dist/plugin.testing.js,../babel-plugin-transform-vue-jsx/dist/plugin.js,@babel/plugin-transform-arrow-functions --out-file test/functional-compiled.js",
1819
"test:functional": "ava -v test/functional-compiled.js",
1920
"build": "rollup -c",
2021
"build:test": "rollup -c rollup.config.testing.js",
@@ -26,7 +27,7 @@
2627
"@babel/core": "^7.2.0",
2728
"@babel/plugin-transform-arrow-functions": "^7.12.1",
2829
"@babel/preset-env": "^7.2.0",
29-
"@vue/test-utils": "^1.0.0-beta.26",
30+
"@vue/test-utils": "1.0.0-beta.26",
3031
"ava": "^0.25.0",
3132
"jsdom": "^13.0.0",
3233
"jsdom-global": "^3.0.2",

0 commit comments

Comments
 (0)