Skip to content

Commit

Permalink
chore: init
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesHenry authored and benlesh committed Feb 29, 2024
1 parent 8474351 commit fe4fab7
Show file tree
Hide file tree
Showing 6 changed files with 64 additions and 29 deletions.
5 changes: 5 additions & 0 deletions apps/rxjs.dev/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -142,5 +142,10 @@
"xregexp": "^4.0.0",
"yamljs": "^0.3.0",
"yargs": "^13.2.4"
},
"nx": {
"implicitDependencies": [
"rxjs"
]
}
}
2 changes: 1 addition & 1 deletion nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
}
},
"release": {
"projects": ["rxjs"],
"projects": ["packages/*"],
"releaseTagPattern": "{version}",
"changelog": {
"workspaceChangelog": {
Expand Down
28 changes: 25 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
{
"name": "rxjs",
"private": true,
"workspaces": {
"packages": [
"packages/rxjs",
"packages/*",
"apps/rxjs.dev"
],
"nohoist": [
Expand All @@ -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"
}
}
1 change: 1 addition & 0 deletions packages/observable/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export class Observable {}
28 changes: 28 additions & 0 deletions packages/observable/package.json
Original file line number Diff line number Diff line change
@@ -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 <ben@benlesh.com>",
"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"
]
}
29 changes: 4 additions & 25 deletions packages/rxjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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\"",
Expand Down Expand Up @@ -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",
Expand All @@ -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",
Expand All @@ -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": [
Expand All @@ -187,11 +172,5 @@
"package.json",
"README.md",
"tsconfig.json"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "validate-commit-msg"
}
}
]
}

0 comments on commit fe4fab7

Please sign in to comment.