diff options
-rw-r--r-- | lerna.json | 2 | ||||
-rw-r--r-- | packages/types/.npmignore (renamed from packages/typescript-types/.npmignore) | 0 | ||||
-rw-r--r-- | packages/types/LICENSE.md (renamed from packages/typescript-types/LICENSE.md) | 0 | ||||
-rw-r--r-- | packages/types/README.md (renamed from packages/typescript-types/README.md) | 8 | ||||
-rw-r--r-- | packages/types/build_npm.ts (renamed from packages/typescript-types/build_npm.ts) | 7 | ||||
-rw-r--r-- | packages/types/deno.jsonc (renamed from packages/typescript-types/deno.jsonc) | 0 | ||||
-rw-r--r-- | packages/types/deno.lock (renamed from packages/typescript-types/deno.lock) | 0 | ||||
-rw-r--r-- | packages/types/extract-dom-types.ts (renamed from packages/typescript-types/extract-dom-types.ts) | 2 | ||||
-rw-r--r-- | packages/types/package.json (renamed from packages/typescript-types/package.json) | 4 | ||||
-rw-r--r-- | packages/types/src/dom.ts (renamed from packages/typescript-types/src/dom.ts) | 0 | ||||
-rw-r--r-- | packages/types/src/index.ts (renamed from packages/typescript-types/src/index.ts) | 2 | ||||
-rw-r--r-- | pnpm-workspace.yaml | 2 |
12 files changed, 13 insertions, 14 deletions
@@ -13,7 +13,7 @@ "packages": [ "packages/browser", "packages/server", - "packages/typescript-types" + "packages/types" ], "$schema": "node_modules/lerna/schemas/lerna-schema.json" } diff --git a/packages/typescript-types/.npmignore b/packages/types/.npmignore index d2360e9..d2360e9 100644 --- a/packages/typescript-types/.npmignore +++ b/packages/types/.npmignore diff --git a/packages/typescript-types/LICENSE.md b/packages/types/LICENSE.md index adb1965..adb1965 100644 --- a/packages/typescript-types/LICENSE.md +++ b/packages/types/LICENSE.md diff --git a/packages/typescript-types/README.md b/packages/types/README.md index 2220d02..bb536e2 100644 --- a/packages/typescript-types/README.md +++ b/packages/types/README.md @@ -1,7 +1,7 @@ -# @simplewebauthn/typescript-types <!-- omit in toc --> +# @simplewebauthn/types <!-- omit in toc -->  -[](https://www.npmjs.com/package/@simplewebauthn/typescript-types) +[](https://www.npmjs.com/package/@simplewebauthn/types) TypeScript typings for **@simplewebauthn/server** and **@simplewebauthn/browser** @@ -16,7 +16,7 @@ TypeScript typings for **@simplewebauthn/server** and **@simplewebauthn/browser* This package is available on **npm**: ```sh -npm install @simplewebauthn/typescript-types +npm install @simplewebauthn/types ``` ### Deno v1.33.x or higher @@ -24,5 +24,5 @@ npm install @simplewebauthn/typescript-types It is also available for import into Deno projects from **deno.land/x**: ```ts -import {...} from 'https://deno.land/x/simplewebauthn/deno/typescript-types.ts'; +import {...} from 'https://deno.land/x/simplewebauthn/deno/types.ts'; ``` diff --git a/packages/typescript-types/build_npm.ts b/packages/types/build_npm.ts index 23a970c..3085264 100644 --- a/packages/typescript-types/build_npm.ts +++ b/packages/types/build_npm.ts @@ -18,7 +18,7 @@ await build({ test: false, // package.json values package: { - name: '@simplewebauthn/typescript-types', + name: '@simplewebauthn/types', version: lernaPackageJSON.version, description: 'TypeScript types used by the @simplewebauthn series of libraries', license: 'MIT', @@ -26,10 +26,9 @@ await build({ repository: { type: 'git', url: 'git+https://github.com/MasterKale/SimpleWebAuthn.git', - directory: 'packages/typescript-types', + directory: 'packages/types', }, - homepage: - 'https://github.com/MasterKale/SimpleWebAuthn/tree/master/packages/typescript-types#readme', + homepage: 'https://github.com/MasterKale/SimpleWebAuthn/tree/master/packages/types#readme', publishConfig: { access: 'public', }, diff --git a/packages/typescript-types/deno.jsonc b/packages/types/deno.jsonc index df74b36..df74b36 100644 --- a/packages/typescript-types/deno.jsonc +++ b/packages/types/deno.jsonc diff --git a/packages/typescript-types/deno.lock b/packages/types/deno.lock index 2a20d27..2a20d27 100644 --- a/packages/typescript-types/deno.lock +++ b/packages/types/deno.lock diff --git a/packages/typescript-types/extract-dom-types.ts b/packages/types/extract-dom-types.ts index 2422fe5..d6ec8e0 100644 --- a/packages/typescript-types/extract-dom-types.ts +++ b/packages/types/extract-dom-types.ts @@ -90,7 +90,7 @@ outputSourceFile.addStatements([ `/**`, ` * Generated from typescript@${version} ${domSourcePath}`, ` * To regenerate, run the following command from the project root:`, - ` * npx lerna --scope=@simplewebauthn/typescript-types exec -- npm run extract-dom-types`, + ` * npx lerna --scope=@simplewebauthn/types exec -- npm run extract-dom-types`, ` */`, `// BEGIN CODEGEN`, ]); diff --git a/packages/typescript-types/package.json b/packages/types/package.json index 0d2a28d..983fd42 100644 --- a/packages/typescript-types/package.json +++ b/packages/types/package.json @@ -1,7 +1,7 @@ { - "name": "@simplewebauthn/typescript-types", + "name": "@simplewebauthn/types", "version": "8.3.4", - "description": "Lerna/npm wrapper around Deno for @simplewebauthn/typescript-types", + "description": "Lerna/npm wrapper around Deno for @simplewebauthn/types", "scripts": { "build": "deno task build", "extract-dom-types": "ts-node extract-dom-types.ts" diff --git a/packages/typescript-types/src/dom.ts b/packages/types/src/dom.ts index 6e6111c..6e6111c 100644 --- a/packages/typescript-types/src/dom.ts +++ b/packages/types/src/dom.ts diff --git a/packages/typescript-types/src/index.ts b/packages/types/src/index.ts index f06b26d..0b9c664 100644 --- a/packages/typescript-types/src/index.ts +++ b/packages/types/src/index.ts @@ -1,6 +1,6 @@ /** * @packageDocumentation - * @module @simplewebauthn/typescript-types + * @module @simplewebauthn/types */ import type { diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index a3bda4a..2f80b56 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -1,4 +1,4 @@ packages: - "packages/browser" - "packages/server/npm" - - "packages/typescript-types/npm" + - "packages/types/npm" |