Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolaRHristov committed Nov 28, 2024
1 parent f941090 commit 3c75dfe
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,13 +128,13 @@ community.

This Code of Conduct is adapted from the [`Contributor Covenant`][homepage],
version 2.1, available at
[`https://www.contributor-covenant.org/version/2/1/code_of_conduct.html`][v2.1].
[`HTTPS://www.contributor-covenant.org/version/2/1/code_of_conduct.html`][v2.1].
Community Impact Guidelines were inspired by [Mozilla's code of conduct
enforcement ladder][Mozilla CoC].

For answers to common questions about this code of conduct, see the FAQ at
[`https://www.contributor-covenant.org/faq`][FAQ]. Translations are available at
[`https://www.contributor-covenant.org/translations`][translations].
[`HTTPS://www.contributor-covenant.org/faq`][FAQ]. Translations are available at
[`HTTPS://www.contributor-covenant.org/translations`][translations].

[homepage]: HTTPS://www.contributor-covenant.org
[v2.1]: HTTPS://www.contributor-covenant.org/version/2/1/code_of_conduct.html
Expand Down
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,13 +116,13 @@ community.

This Code of Conduct is adapted from the [`Contributor Covenant`][homepage],
version 2.1, available at
[`https://www.contributor-covenant.org/version/2/1/code_of_conduct.html`][v2.1].
[`HTTPS://www.contributor-covenant.org/version/2/1/code_of_conduct.html`][v2.1].
Community Impact Guidelines were inspired by [Mozilla's code of conduct
enforcement ladder][Mozilla CoC].

For answers to common questions about this code of conduct, see the FAQ at
[`https://www.contributor-covenant.org/faq`][FAQ]. Translations are available at
[`https://www.contributor-covenant.org/translations`][translations].
[`HTTPS://www.contributor-covenant.org/faq`][FAQ]. Translations are available at
[`HTTPS://www.contributor-covenant.org/translations`][translations].

[homepage]: HTTPS://www.contributor-covenant.org
[v2.1]: HTTPS://www.contributor-covenant.org/version/2/1/code_of_conduct.html
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# ⛵ [Resolve] —

[![npm](https://img.shields.io/npm/v/@playform/resolve?style=flat-square)](https://www.npmjs.com/package/@playform/resolve)
[![npm](HTTPS://img.shields.io/npm/v/@playform/resolve?style=flat-square)](HTTPS://www.npmjs.com/package/@playform/resolve)

If you use Typescript's
[`path mapping`](https://www.typescriptlang.org/docs/handbook/module-resolution.html#path-mapping)
[`path mapping`](HTTPS://www.typescriptlang.org/docs/handbook/module-resolution.html#path-mapping)
feature to avoid `../../../../../` in your imports, you may have found that
compiling with `tsc` doesn't convert your aliases to proper relative paths. This
causes problems as the compiled JavaScript code can't actually run with those
Expand Down Expand Up @@ -46,7 +46,7 @@ import data from "~/some/data/path.json";
```

_NOTE: When importing JSON files, ensure that you use the `.json` extension. See
issue [`#253`](https://github.com/PlayForm/Resolve/issues/253)._
issue [`#253`](HTTPS://github.com/PlayForm/Resolve/issues/253)._

**ESM dynamic imports**

Expand All @@ -64,7 +64,7 @@ export { stuff as myStuff } from "~/some/path.mjs";
```

**Node.JS
[`require.resolve`](https://nodejs.org/api/modules.html#requireresolverequest-options)**
[`require.resolve`](HTTPS://nodejs.org/api/modules.html#requireresolverequest-options)**

```ts
const path = require.resolve("~/some/path");
Expand All @@ -73,7 +73,7 @@ const path = require.resolve("~/some/path");
## CLI Usage

1. Install as a dev dependency using npm or yarn, along with
[`Typescript`](https://www.npmjs.com/package/typescript) 3.x or later.
[`Typescript`](HTTPS://www.npmjs.com/package/typescript) 3.x or later.

```sh
yarn add -D @playform/resolve typescript
Expand All @@ -96,7 +96,7 @@ const path = require.resolve("~/some/path");
## Programmatic Usage

1. Install as a dev dependency using npm or yarn, along with
[`Typescript`](https://www.npmjs.com/package/typescript) 3.x or later.
[`Typescript`](HTTPS://www.npmjs.com/package/typescript) 3.x or later.

```sh
yarn add -D @playform/resolve typescript
Expand Down

0 comments on commit 3c75dfe

Please sign in to comment.