Skip to content

Commit

Permalink
release tooling / changesets (#33)
Browse files Browse the repository at this point in the history
* changesets release tooling
* clean up package.json files
  • Loading branch information
theoephraim authored May 7, 2024
1 parent 6f9254c commit 5e2a07b
Show file tree
Hide file tree
Showing 40 changed files with 842 additions and 125 deletions.
8 changes: 8 additions & 0 deletions .changeset/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Changesets

Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
with multi-package repos, or single-package repos to help you version and publish your code. You can
find the full documentation for it [in our repository](https://github.com/changesets/changesets)

We have a quick list of common questions to get you started engaging with this project in
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
14 changes: 14 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"$schema": "https://unpkg.com/@changesets/config@3.0.0/schema.json",
"changelog": [ "@changesets/changelog-github", { "repo": "dmno-dev/core" } ],
"commit": false,
"fixed": [ ],
"linked": [ ],
"ignore": [ ],
"access": "public",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": {
"onlyUpdatePeerDependentsWhenOutOfRange": true
}
}
10 changes: 10 additions & 0 deletions .changeset/serious-meals-behave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
"@dmno/encrypted-vault-plugin": patch
"@dmno/nextjs-integration": patch
"@dmno/astro-integration": patch
"@dmno/vite-integration": patch
"@dmno/1password-plugin": patch
"dmno": patch
---

Initial publish of dmno and all 1st party plugins/integrations!
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ Then install deps via `pnpm`:

## Plugins

- `plugins/1password-plugin` - DMNO plugin for 1Password -
- `plugins/encrypted-vault-plugin` - DMNO plugin for encrypted values
- `plugins/1password` - DMNO plugin for 1Password -
- `plugins/encrypted-vault` - DMNO plugin for encrypted values

## Integrations
- `integrations/astro` - DMNO integration for Astro
Expand Down
4 changes: 2 additions & 2 deletions example-repo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"dmno:dev": "dmno dev"
},
"devDependencies": {
"@dmno/1password-plugin": "link:../packages/plugins/1password-plugin",
"@dmno/1password-plugin": "link:../packages/plugins/1password",
"dmno": "link:../packages/core",
"@dmno/encrypted-vault-plugin": "link:../packages/plugins/encrypted-vault-plugin"
"@dmno/encrypted-vault-plugin": "link:../packages/plugins/encrypted-vault"
}
}
2 changes: 1 addition & 1 deletion example-repo/packages/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"migrate": "dmno run -- prisma migrate"
},
"dependencies": {
"@dmno/1password-plugin": "link:../../../packages/plugins/1password-plugin",
"@dmno/1password-plugin": "link:../../../packages/plugins/1password",
"@koa/cors": "^4.0.0",
"@koa/router": "^12.0.0",
"axios": "^0.27.2",
Expand Down
12 changes: 6 additions & 6 deletions example-repo/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 16 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,33 @@
{
"name": "@dmno/monorepo-root",
"name": "root",
"version": "0.0.0",
"private": true,
"description": "",
"repository": {
"type": "git",
"url": "https://github.com/dmno-dev/core.git"
},
"scripts": {
"build": "turbo build",
"build:libs": "turbo build --filter=\"!@dmno/docs-site\" --filter=\"!@dmno/#-api\"",
"preinstall": "npx only-allow pnpm",
"prepare": "pnpm run build:libs",
"dev": "turbo run dev --concurrency=40 --parallel --filter=\"!@dmno/docs-site\"",
"lint": "turbo lint",
"prepare": "pnpm run build:libs"
"changeset:add": "changeset add",
"changeset:version": "changeset version",
"changeset:publish": "changeset publish"
},
"author": "",
"license": "MIT",
"devDependencies": {
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.1",
"dmno": "link:./packages/core",
"only-allow": "^1.2.1",
"turbo": "^1.13.3",
"typescript": "^5.4.5"
},
"engines": {
"node": "^18.0.0 || >=20.0.0"
"node": "^18.17.1 || ^20.3.0 || >=21.0.0",
"pnpm": ">=8.15.5"
},
"packageManager": "pnpm@8.15.5+sha256.4b4efa12490e5055d59b9b9fc9438b7d581a6b7af3b5675eb5c5f447cee1a589"
"packageManager": "pnpm@8.15.5"
}
31 changes: 19 additions & 12 deletions packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,26 @@
{
"name": "dmno",
"version": "0.0.0",
"description": "",
"description": "dmno is the best way to manage config / env vars in your entire stack",
"author": "dmno-dev",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/dmno-dev/dmno.git",
"directory": "packages/core"
},
"bugs": "https://github.com/dmno-dev/dmno/issues",
"homepage": "https://dmno.dev",
"keywords": [
"dmno",
"config",
"dmno.dev",
"env vars",
"environment",
"process.env",
"configuration",
"secrets"
],
"scripts": {
"clean": "rm -rf dist",
"build": "tsup",
Expand Down Expand Up @@ -42,17 +60,6 @@
"bin": {
"dmno": "./dist/cli/commander-cli.mjs"
},
"keywords": [
"dmno",
"config",
"dmno.dev",
"env vars",
"environment",
"process.env",
"configuration",
"secrets"
],
"author": "",
"devDependencies": {
"@dmno/eslint-config": "workspace:*",
"@dmno/tsconfig": "workspace:*",
Expand Down
29 changes: 15 additions & 14 deletions packages/integrations/astro/package.json
Original file line number Diff line number Diff line change
@@ -1,26 +1,27 @@
{
"name": "@dmno/astro-integration",
"version": "1.0.0",
"license": "MIT",
"version": "0.0.0",
"description": "tools for integrating dmno into astro",
"author": "dmno-dev",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/dmno-dev/dmno.git",
"directory": "packages/integrations/astro"
},
"bugs": "https://github.com/dmno-dev/dmno/issues",
"homepage": "https://dmno.dev/docs/integrations/astro",
"keywords": [
"dmno",
"astro-integration",
"astro",
"config",
"env vars",
"environment variables",
"secrets",
"astro",
"integration"
"integration",
"astro-integration",
"dmno-integration"
],
"repository": {
"type": "git",
"url": "git+https://github.com/dmno-dev/dmno.git",
"directory": "packages/integrations/astro"
},
"bugs": {
"url": "https://github.com/dmno-dev/dmno/issues"
},
"homepage": "https://dmno.dev",
"exports": {
".": {
"default": "./dist/index.mjs"
Expand Down
28 changes: 14 additions & 14 deletions packages/integrations/nextjs/package.json
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
{
"name": "@dmno/nextjs-integration",
"version": "1.0.0",
"license": "MIT",
"version": "0.0.0",
"description": "tools for integrating dmno into nextjs",
"author": "dmno-dev",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/dmno-dev/dmno.git",
"directory": "packages/integrations/nextjs"
},
"bugs": "https://github.com/dmno-dev/dmno/issues",
"homepage": "https://dmno.dev/docs/integrations/nextjs",
"keywords": [
"dmno",
"nextjs",
"next",
"next.js",
"plugin",
"config",
"env vars",
"environment variables",
"secrets"
"secrets",
"integration",
"dmno-integration"
],
"repository": {
"type": "git",
"url": "git+https://github.com/dmno-dev/dmno.git",
"directory": "packages/integrations/nextjs"
},
"bugs": {
"url": "https://github.com/dmno-dev/dmno/issues"
},
"homepage": "https://dmno.dev",
"exports": {
".": {
"default": "./dist/index.mjs"
Expand Down
29 changes: 15 additions & 14 deletions packages/integrations/vite/package.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,27 @@
{
"name": "@dmno/vite-integration",
"version": "1.0.0",
"license": "MIT",
"version": "0.0.0",
"description": "tools for integrating dmno into vite",
"author": "dmno-dev",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/dmno-dev/dmno.git",
"directory": "packages/integrations/vite"
},
"bugs": "https://github.com/dmno-dev/dmno/issues",
"homepage": "https://dmno.dev/docs/integrations/vite",
"keywords": [
"dmno",
"vite",
"plugin",
"config",
"env vars",
"environment variables",
"secrets"
"secrets",
"integration",
"vite plugin",
"dmno-integration"
],
"repository": {
"type": "git",
"url": "git+https://github.com/dmno-dev/dmno.git",
"directory": "packages/integrations/vite"
},
"bugs": {
"url": "https://github.com/dmno-dev/dmno/issues"
},
"homepage": "https://dmno.dev",
"exports": {
".": {
"default": "./dist/index.mjs"
Expand Down Expand Up @@ -57,6 +59,5 @@
"vite": "^5.0"
},
"dependencies": {
"kleur": "^4.1.5"
}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,26 +1,25 @@
{
"name": "@dmno/1password-plugin",
"version": "1.0.0",
"version": "0.0.0",
"description": "dmno plugin to pull secrets from 1password",
"author": "dmno-dev",
"license": "MIT",
"description": "adds ability to sync secrets with 1password to the DMNO config engine",
"repository": {
"type": "git",
"url": "git+https://github.com/dmno-dev/dmno.git",
"directory": "packages/plugins/1password"
},
"bugs": "https://github.com/dmno-dev/dmno/issues",
"homepage": "https://dmno.dev/docs/plugins/1password",
"keywords": [
"dmno",
"1password",
"1pass",
"config",
"env vars",
"environment variables",
"secrets",
"dmno plugin"
"dmno-plugin"
],
"repository": {
"type": "git",
"url": "git+https://github.com/dmno-dev/dmno.git",
"directory": "packages/plugins/1password-plugin"
},
"bugs": {
"url": "https://github.com/dmno-dev/dmno/issues"
},
"homepage": "https://dmno.dev",
"exports": {
".": {
"default": "./dist/index.mjs"
Expand All @@ -41,7 +40,7 @@
"build": "tsup",
"build:ifnodist": "[ -d \"./dist\" ] && echo 'dist exists' || pnpm build",
"dev": "pnpm run build --watch",
"lint": "eslint src --ext .ts,.cjs",
"lint": "eslint src --ext .ts,.cjs,.mjs",
"lint:fix": "pnpm run lint --fix",
"postinstall": "node scripts/install-cli.mjs"
},
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"src/**/*.ts",
"src/**/*.d.ts",
"scripts/*.mjs",
"scripts/*.js",
"./.dmno/.typegen/extension-types.d.ts"
]
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 5e2a07b

Please # to comment.