Skip to content

Commit

Permalink
Use the changelog from the monorepo root in each package (#147)
Browse files Browse the repository at this point in the history
* Use the changelog from the monorepo root in each package

* lockfile

* fix

* Revert local config / package changes

* Test with starbeamjs/dev-compile#1

* Upgrade starbeam-dev/compile
  • Loading branch information
NullVoxPopuli authored Jan 6, 2024
1 parent 2739f1d commit d342d90
Show file tree
Hide file tree
Showing 53 changed files with 274 additions and 3,521 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ pack
.eslintcache
.ignore
.turbo
html
html
**/CHANGELOG.md
186 changes: 93 additions & 93 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,88 @@
{
"private": true,
"name": "@starbeam-workspace/root",
"type": "module",
"version": "1.0.0",
"private": true,
"repository": {
"type": "git",
"url": "[email protected]:starbeamjs/starbeam.git"
},
"license": "MIT",
"type": "module",
"main": "src/index.ts",
"types": "src/index.ts",
"exports": {
"./package.json": "./package.json"
},
"main": "src/index.ts",
"types": "src/index.ts",
"publishConfig": {
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"default": "./dist/index.cjs"
}
},
"main": "dist/index.cjs",
"types": "dist/index.d.ts"
},
"starbeam": {
"type": "root",
"used": [
{
"packages": [
"eslint-config-airbnb"
],
"reason": "vscode eslint pulled in depcheck's .eslintrc.yml"
},
{
"packages": [
"@types/eslint"
],
"reason": "eslint"
},
{
"packages": [
"@babel/plugin-proposal-decorators",
"@babel/plugin-syntax-dynamic-import",
"@babel/plugin-transform-runtime",
"@babel/preset-env",
"@babel/preset-typescript",
"@babel/preset-react"
],
"reason": "babel"
},
{
"packages": [
"vitest",
"@vitest/ui",
"happy-dom",
"jsdom"
],
"reason": "vitest and dependencies it uses directly are in the root package so that vitest can identify its own test suites when the entire suite is run at once"
},
{
"packages": [
"@changesets/cli"
],
"reason": ".changeset/config.json"
},
{
"packages": [
"esno"
],
"reason": "package.json scripts"
},
{
"packages": [
"typescript",
"tslib",
"@babel/runtime"
],
"reason": "build packages"
},
{
"packages": [
"vite"
],
"reason": "tsconfig.shared.json"
}
]
},
"scripts": {
"build": "turbo build",
"check:unused": "esyes ./workspace/scripts/index.ts unused",
Expand All @@ -31,22 +101,14 @@
"test:workspace:types": "tsc -b",
"vitest": "vitest --pool forks"
},
"nodemonConfig": {
"watch": [
"package.json",
"pnpm-workspace.yaml",
"scripts"
]
},
"prettier": {},
"dependencies": {
"@starbeam/core-utils": "workspace:^"
},
"devDependencies": {
"@edge-runtime/vm": "^3.1.7",
"@esbuild-kit/esm-loader": "^2.6.5",
"@nrr/pnpm-duplicate-cli": "^0.0.1",
"@starbeam-dev/compile": "^1.0.2",
"@starbeam-dev/compile": "^1.1.0",
"@starbeam-dev/core": "^1.0.2",
"@starbeam-dev/eslint-plugin": "^1.0.4",
"@types/eslint": "^8.56.0",
Expand Down Expand Up @@ -78,20 +140,12 @@
"vite": "^5.0.10",
"vitest": "^1.1.0"
},
"volta": {
"node": "20.8.0",
"pnpm": "8.10.5"
},
"publishConfig": {
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"default": "./dist/index.cjs"
}
},
"main": "dist/index.cjs",
"types": "dist/index.d.ts"
"nodemonConfig": {
"watch": [
"package.json",
"pnpm-workspace.yaml",
"scripts"
]
},
"pnpm": {
"notes": {
Expand Down Expand Up @@ -122,67 +176,13 @@
}
}
},
"starbeam": {
"type": "root",
"used": [
{
"packages": [
"eslint-config-airbnb"
],
"reason": "vscode eslint pulled in depcheck's .eslintrc.yml"
},
{
"packages": [
"@types/eslint"
],
"reason": "eslint"
},
{
"packages": [
"@babel/plugin-proposal-decorators",
"@babel/plugin-syntax-dynamic-import",
"@babel/plugin-transform-runtime",
"@babel/preset-env",
"@babel/preset-typescript",
"@babel/preset-react"
],
"reason": "babel"
},
{
"packages": [
"vitest",
"@vitest/ui",
"happy-dom",
"jsdom"
],
"reason": "vitest and dependencies it uses directly are in the root package so that vitest can identify its own test suites when the entire suite is run at once"
},
{
"packages": [
"@changesets/cli"
],
"reason": ".changeset/config.json"
},
{
"packages": [
"esno"
],
"reason": "package.json scripts"
},
{
"packages": [
"typescript",
"tslib",
"@babel/runtime"
],
"reason": "build packages"
},
{
"packages": [
"vite"
],
"reason": "tsconfig.shared.json"
}
]
"prettier": {},
"repository": {
"type": "git",
"url": "[email protected]:starbeamjs/starbeam.git"
},
"volta": {
"node": "20.8.0",
"pnpm": "8.10.5"
}
}
2 changes: 1 addition & 1 deletion packages/preact/preact-testing-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"htm": "^3.1.1"
},
"devDependencies": {
"@starbeam-dev/compile": "^1.0.2",
"@starbeam-dev/compile": "^1.1.0",
"@starbeam-dev/eslint-plugin": "^1.0.4",
"preact-render-to-string": "^6.2.1",
"rollup": "^4.0.2"
Expand Down
68 changes: 0 additions & 68 deletions packages/preact/preact-utils/CHANGELOG.md

This file was deleted.

2 changes: 1 addition & 1 deletion packages/preact/preact-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"@starbeam/core-utils": "workspace:^"
},
"devDependencies": {
"@starbeam-dev/compile": "^1.0.2",
"@starbeam-dev/compile": "^1.1.0",
"@starbeam-dev/eslint-plugin": "^1.0.4",
"rollup": "^4.0.2"
},
Expand Down
Loading

0 comments on commit d342d90

Please sign in to comment.