Skip to content

Commit 0dc1b00

Browse files
committed
upd watch command
1 parent 7395753 commit 0dc1b00

11 files changed

Lines changed: 23 additions & 17 deletions

File tree

easydata.js/packs/core/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
"module": "./dist/easydata.core.es.js",
88
"scripts": {
99
"clear": "shx rm -rf dist/* docs/*",
10-
"build": "npm run clear && rollup --config",
11-
"watch": "npm run clear && rollup --config -w",
10+
"build": "npm run clear && rollup -c",
11+
"watch": "rollup -c -w",
1212
"docs": "typedoc src/public_api.ts --out ./docs",
1313
"test": "vitest run"
1414
},

easydata.js/packs/core/rollup.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export default [
2626
{
2727
input: './src/public_api.ts',
2828
watch: {
29-
include: 'src/**/*.ts',
29+
include: 'src/**',
3030
clearScreen: false
3131
},
3232
plugins: [

easydata.js/packs/crud/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
"scripts": {
99
"test": "vitest run",
1010
"clear": "shx rm -rf dist/* docs/* lib/*",
11-
"build": "npm run clear && rollup --config",
12-
"watch": "npm run clear && rollup --config -w",
11+
"build": "npm run clear && rollup -c",
12+
"watch": "rollup -c -w",
1313
"docs": "typedoc src/public_api.ts --out ./docs"
1414
},
1515
"author": "Korzh.com",

easydata.js/packs/crud/rollup.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export default [
2929
{
3030
input: './src/public_api.ts',
3131
watch: {
32-
include: 'src/**/*.ts',
32+
include: 'src/**',
3333
clearScreen: false
3434
},
3535
plugins: [

easydata.js/packs/ui/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
"scripts": {
99
"test": "vitest run",
1010
"clear": "shx rm -rf dist/* docs/*",
11-
"build": "npm run clear && rollup --config",
12-
"watch": "npm run clear && rollup --config -w",
11+
"build": "npm run clear && rollup -c",
12+
"watch": "rollup -c -w",
1313
"docs": "typedoc src/public_api.ts --out ./docs"
1414
},
1515
"author": "Korzh.com",

easydata.js/packs/ui/rollup.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export default [
2929
{
3030
input: './src/public_api.ts',
3131
watch: {
32-
include: 'src/**/*.ts',
32+
include: 'src/**',
3333
clearScreen: false
3434
},
3535
plugins: [

lerna.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
{
22
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
3-
"version": "0.1.0",
3+
"version": "independent",
44
"packages": [
5-
"easydata.js/packs/*", "playground/*"
5+
"easydata.js/packs/*",
6+
"playground/*"
67
],
78
"command": {
89
"run": {

nx.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@
1616
"dependsOn": [
1717
"^build"
1818
]
19+
},
20+
"watch": {
21+
"dependsOn": [
22+
"^build"
23+
]
1924
}
2025
}
2126
}

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
2-
"name": "easydata.js",
2+
"name": "@easydata/root",
33
"private": true,
44
"workspaces": [
5-
"easydata.js/packs/*", "playground/*"
5+
"easydata.js/packs/*",
6+
"playground/*"
67
],
78
"scripts": {
89
"clean": "lerna clean",
910
"test": "lerna run test",
10-
"watch": "lerna run watch --parallel --scope=@easydata/*",
11-
"watch:all": "lerna run watch --parallel",
11+
"watch": "lerna run build --scope=@easydata/* && lerna watch --scope=@easydata/* -- lerna run build --since --include-dependents",
1212
"watch:core": "lerna run watch --scope=@easydata/core",
1313
"watch:crud": "lerna run watch --scope=@easydata/crud",
1414
"watch:ui": "lerna run watch --scope=@easydata/ui",

playground/EasyDataAspNetCoreTest01/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"license": "ISC",
77
"scripts": {
88
"build": "rollup --config",
9-
"watch": "rollup --config -w"
9+
"watch1": "rollup --config -w"
1010
},
1111
"dependencies": {
1212
"@easydata/ui": "*",

0 commit comments

Comments
 (0)