From 0bb11f50047727bdb10759af21595c08d255f36f Mon Sep 17 00:00:00 2001 From: NullVoxPopuli <199018+NullVoxPopuli@users.noreply.github.com> Date: Thu, 21 Mar 2024 00:09:33 -0400 Subject: [PATCH] wip-along with https://github.com/universal-ember/ember-primitives/pull/257 --- docs-app/public/docs/usage/setup.md | 4 ++-- package.json | 5 +++-- pnpm-lock.yaml | 6 +++--- ui/package.json | 2 +- 4 files changed, 9 insertions(+), 8 deletions(-) diff --git a/docs-app/public/docs/usage/setup.md b/docs-app/public/docs/usage/setup.md index 014e30a3..f11a3607 100644 --- a/docs-app/public/docs/usage/setup.md +++ b/docs-app/public/docs/usage/setup.md @@ -87,7 +87,7 @@ If using `@ember/routing/router` or `@embroider/router` You'll want to also install `ember-primitives`, so that you can use the [`@properLinks`] decorator on the router, giveng you the ability to _just use anchor tags (``)_ (a requirement for in-browser linking in markdown). ```js -import { kolayRoutes } from "kolay"; +import { addRoutes } from "kolay"; import { properLinks } from "ember-primitives/proper-links"; @properLinks @@ -97,7 +97,7 @@ export default class Router extends EmberRouter { } Router.map(function () { - kolayRoutes(this); + addRoutes(this); }); ``` diff --git a/package.json b/package.json index a249898c..a3e5dc0e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "kolay", - "version": "0.0.3", + "version": "0.0.5", "description": "", "keywords": [ "documentation", @@ -87,6 +87,7 @@ "test:node": "vitest --run" }, "peerDependencies": { + "@universal-ember/kolay-ui": "workspace:^", "ember-source": "^5.7.0" }, "dependencies": { @@ -95,7 +96,6 @@ "@glimmer/component": "^1.1.2", "@glimmer/tracking": "^1.1.2", "@glint/template": "^1.3.0", - "@universal-ember/kolay-ui": "workspace:^", "ember-modifier": "^4.1.0", "ember-primitives": "^0.12.0", "ember-repl": "^4.1.1", @@ -112,6 +112,7 @@ }, "devDependencies": { "@arethetypeswrong/cli": "^0.15.0", + "@universal-ember/kolay-ui": "workspace:^", "@glint/core": "^1.3.0", "@nullvoxpopuli/eslint-configs": "^3.2.2", "@tsconfig/node20": "^20.1.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 220ab5ea..a014ec7b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -30,9 +30,6 @@ importers: '@tsconfig/ember': specifier: ^3.0.3 version: 3.0.6 - '@universal-ember/kolay-ui': - specifier: workspace:^ - version: link:ui '@zamiell/typedoc-plugin-not-exported': specifier: ^0.2.0 version: 0.2.0(typedoc@0.25.13) @@ -103,6 +100,9 @@ importers: '@typescript-eslint/parser': specifier: ^7.7.1 version: 7.7.1(eslint@8.57.0)(typescript@5.4.5) + '@universal-ember/kolay-ui': + specifier: workspace:^ + version: link:ui concurrently: specifier: ^8.2.2 version: 8.2.2 diff --git a/ui/package.json b/ui/package.json index 1bffead4..ea480aae 100644 --- a/ui/package.json +++ b/ui/package.json @@ -1,6 +1,6 @@ { "name": "@universal-ember/kolay-ui", - "version": "0.0.0", + "version": "0.0.2", "description": "The default blueprint for Embroider v2 addons.", "keywords": [ "ember-addon"