diff --git a/packages/di-react/gulpfile.js b/packages/di-react/gulpfile.js new file mode 100644 index 00000000..7019b161 --- /dev/null +++ b/packages/di-react/gulpfile.js @@ -0,0 +1 @@ +import "@wroud/ci/gulp"; diff --git a/packages/di-react/package.json b/packages/di-react/package.json index badd233a..4876522e 100644 --- a/packages/di-react/package.json +++ b/packages/di-react/package.json @@ -23,9 +23,10 @@ "./src/*": "./src/*" }, "files": [ - "LICENSE", "package.json", + "LICENSE", "README.md", + "CHANGELOG.md", "lib", "!lib/**/*.test.js", "!lib/**/*.test.d.ts", @@ -35,12 +36,20 @@ "!.tsbuildinfo" ], "scripts": { - "build": "tsc -b", - "clear": "rimraf ./lib", + "ci:prepublish": "yarn gulp ci:prepublish", "test": "tests-runner", + "test:ci": "CI=true yarn run test", + "build": "tsc -b", "watch:tsc": "tsc -b -w", "dev": "concurrently \"npm:watch:*\"", - "ci:prepublish": "" + "clear": "rimraf ./lib" + }, + "dependencies": { + "@wroud/di": "workspace:^0" + }, + "peerDependencies": { + "react": ">=18.0.0", + "react-dom": ">=18.0.0" }, "devDependencies": { "@testing-library/dom": "^10", @@ -51,6 +60,7 @@ "@types/react": "^18", "@types/react-dom": "^18", "@vitest/coverage-v8": "^2", + "@wroud/ci": "workspace:*", "@wroud/tests-runner": "workspace:*", "@wroud/tsconfig": "workspace:*", "concurrently": "^8", @@ -66,12 +76,5 @@ "dependency-injection", "di", "react" - ], - "dependencies": { - "@wroud/di": "workspace:^0" - }, - "peerDependencies": { - "react": ">=18.0.0", - "react-dom": ">=18.0.0" - } + ] } diff --git a/packages/di-tools-analyzer/gulpfile.js b/packages/di-tools-analyzer/gulpfile.js new file mode 100644 index 00000000..7019b161 --- /dev/null +++ b/packages/di-tools-analyzer/gulpfile.js @@ -0,0 +1 @@ +import "@wroud/ci/gulp"; diff --git a/packages/di-tools-analyzer/package.json b/packages/di-tools-analyzer/package.json index d8306caa..98530e3b 100644 --- a/packages/di-tools-analyzer/package.json +++ b/packages/di-tools-analyzer/package.json @@ -23,9 +23,10 @@ "./src/*": "./src/*" }, "files": [ - "LICENSE", "package.json", + "LICENSE", "README.md", + "CHANGELOG.md", "lib", "!lib/**/*.test.js", "!lib/**/*.test.d.ts", @@ -35,18 +36,25 @@ "!.tsbuildinfo" ], "scripts": { - "build": "tsc -b", - "clear": "rimraf ./lib", + "ci:prepublish": "yarn gulp ci:prepublish", "test": "tests-runner", + "test:ci": "CI=true yarn run test", + "build": "tsc -b", "watch:tsc": "tsc -b -w", "dev": "concurrently \"npm:watch:*\"", - "ci:prepublish": "" + "clear": "rimraf ./lib" + }, + "dependencies": { + "@wroud/di": "workspace:^0", + "d3": "^7", + "uuid": "^10" }, "devDependencies": { "@types/d3": "^7", "@types/node": "^20", "@types/uuid": "^10", "@vitest/coverage-v8": "^2", + "@wroud/ci": "workspace:*", "@wroud/tests-runner": "workspace:*", "@wroud/tsconfig": "workspace:*", "concurrently": "^8", @@ -62,10 +70,5 @@ "analyzer", "tools", "report" - ], - "dependencies": { - "@wroud/di": "workspace:^0", - "d3": "^7", - "uuid": "^10" - } + ] } diff --git a/packages/di/package.json b/packages/di/package.json index 60c26f68..c7361126 100644 --- a/packages/di/package.json +++ b/packages/di/package.json @@ -30,8 +30,8 @@ "./src/*": "./src/*" }, "files": [ - "LICENSE", "package.json", + "LICENSE", "README.md", "CHANGELOG.md", "lib", diff --git a/yarn.lock b/yarn.lock index e404ddf9..27a4d74a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3329,6 +3329,7 @@ __metadata: "@types/react": "npm:^18" "@types/react-dom": "npm:^18" "@vitest/coverage-v8": "npm:^2" + "@wroud/ci": "workspace:*" "@wroud/di": "workspace:^0" "@wroud/tests-runner": "workspace:*" "@wroud/tsconfig": "workspace:*" @@ -3354,6 +3355,7 @@ __metadata: "@types/node": "npm:^20" "@types/uuid": "npm:^10" "@vitest/coverage-v8": "npm:^2" + "@wroud/ci": "workspace:*" "@wroud/di": "workspace:^0" "@wroud/tests-runner": "workspace:*" "@wroud/tsconfig": "workspace:*"