diff --git a/apps/rxjs.dev/package.json b/apps/rxjs.dev/package.json index bc9c241d8b..b3abb2cbfe 100644 --- a/apps/rxjs.dev/package.json +++ b/apps/rxjs.dev/package.json @@ -142,5 +142,10 @@ "xregexp": "^4.0.0", "yamljs": "^0.3.0", "yargs": "^13.2.4" + }, + "nx": { + "implicitDependencies": [ + "rxjs" + ] } } diff --git a/nx.json b/nx.json index 27f4cd9fd9..cbc6f97436 100644 --- a/nx.json +++ b/nx.json @@ -13,7 +13,7 @@ } }, "release": { - "projects": ["rxjs"], + "projects": ["packages/*"], "releaseTagPattern": "{version}", "changelog": { "workspaceChangelog": { diff --git a/package.json b/package.json index 33768bbe67..f0dd2ef768 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,8 @@ { - "name": "rxjs", "private": true, "workspaces": { "packages": [ - "packages/rxjs", + "packages/*", "apps/rxjs.dev" ], "nohoist": [ @@ -25,6 +24,29 @@ "dependencies": {}, "devDependencies": { "@nx/js": "17.3.0-beta.4", - "nx": "17.3.0-beta.4" + "nx": "17.3.0-beta.4", + "cz-conventional-changelog": "1.2.0", + "husky": "^4.2.5", + "lint-staged": "^10.2.11", + "validate-commit-msg": "2.14.0" + }, + "husky": { + "hooks": { + "pre-commit": "lint-staged", + "commit-msg": "validate-commit-msg" + } + }, + "config": { + "commitizen": { + "path": "cz-conventional-changelog" + } + }, + "lint-staged": { + "*.js": "eslint --cache --fix", + "(src|spec)/**/*.ts": [ + "eslint --fix", + "prettier --write" + ], + "*.{js,css,md}": "prettier --write" } } diff --git a/packages/observable/index.ts b/packages/observable/index.ts new file mode 100644 index 0000000000..b599c576ae --- /dev/null +++ b/packages/observable/index.ts @@ -0,0 +1 @@ +export class Observable {} diff --git a/packages/observable/package.json b/packages/observable/package.json new file mode 100644 index 0000000000..f2c5ceb899 --- /dev/null +++ b/packages/observable/package.json @@ -0,0 +1,28 @@ +{ + "name": "@rxjs/observable", + "version": "8.0.0-alpha.14", + "license": "Apache-2.0", + "bugs": { + "url": "https://github.com/ReactiveX/RxJS/issues" + }, + "homepage": "https://rxjs.dev", + "author": "Ben Lesh ", + "scripts": { + "test": "node index.js" + }, + "repository": { + "type": "git", + "url": "https://github.com/ReactiveX/rxjs.git", + "directory": "packages/observable" + }, + "keywords": [ + "Rx", + "RxJS", + "ReactiveX", + "ReactiveExtensions", + "Streams", + "Observables", + "Observable", + "Stream" + ] +} diff --git a/packages/rxjs/package.json b/packages/rxjs/package.json index e4ad0b49dd..60abd75f2c 100644 --- a/packages/rxjs/package.json +++ b/packages/rxjs/package.json @@ -58,21 +58,7 @@ }, "./package.json": "./package.json" }, - "config": { - "commitizen": { - "path": "cz-conventional-changelog" - } - }, - "lint-staged": { - "*.js": "eslint --cache --fix", - "(src|spec)/**/*.ts": [ - "eslint --fix", - "prettier --write" - ], - "*.{js,css,md}": "prettier --write" - }, "scripts": { - "changelog": "npx conventional-changelog-cli -p angular -i CHANGELOG.md -s", "lint": "eslint --ext=ts,js src spec spec-dtslint", "dtslint": "npm run lint && tsc -b ./src/tsconfig.types.json", "test": "yarn build && cross-env TS_NODE_PROJECT=tsconfig.mocha.json mocha --config spec/support/.mocharc.js \"spec/**/*-spec.ts\"", @@ -133,6 +119,9 @@ "url": "https://github.com/ReactiveX/RxJS/issues" }, "homepage": "https://rxjs.dev", + "dependencies": { + "@rxjs/observable": "8.0.0-alpha.14" + }, "devDependencies": { "@swc/core": "^1.2.128", "@swc/helpers": "^0.3.2", @@ -149,13 +138,10 @@ "color": "3.0.0", "colors": "1.1.2", "cross-env": "5.1.3", - "cz-conventional-changelog": "1.2.0", "dependency-cruiser": "^9.12.0", "eslint": "^8.52.0", "form-data": "^3.0.0", "fs-extra": "^8.1.0", - "husky": "^4.2.5", - "lint-staged": "^10.2.11", "lodash": "^4.17.21", "mocha": "^10.2.0", "nodemon": "^1.9.2", @@ -168,7 +154,6 @@ "source-map-support": "0.5.3", "ts-node": "^10.9.1", "typescript": "~4.9.4", - "validate-commit-msg": "2.14.0", "web-streams-polyfill": "^3.0.2" }, "files": [ @@ -187,11 +172,5 @@ "package.json", "README.md", "tsconfig.json" - ], - "husky": { - "hooks": { - "pre-commit": "lint-staged", - "commit-msg": "validate-commit-msg" - } - } + ] }