Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Name change & version & deps update #6

Merged
merged 1 commit into from
Sep 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright © 2021 Exact Realty Limited.
/* Copyright © 2021 Apeleg Limited.
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
Expand Down
2 changes: 1 addition & 1 deletion .prettierrc.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright © 2021 Exact Realty Limited.
/* Copyright © 2021 Apeleg Limited.
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,28 +5,28 @@
[![Bugs](https://sonarcloud.io/api/project_badges/measure?project=Exact-Realty_esbuild-plugin-closure-compiler&metric=bugs)](https://sonarcloud.io/summary/new_code?id=Exact-Realty_esbuild-plugin-closure-compiler)
[![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=Exact-Realty_esbuild-plugin-closure-compiler&metric=security_rating)](https://sonarcloud.io/summary/new_code?id=Exact-Realty_esbuild-plugin-closure-compiler)
[![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=Exact-Realty_esbuild-plugin-closure-compiler&metric=sqale_rating)](https://sonarcloud.io/summary/new_code?id=Exact-Realty_esbuild-plugin-closure-compiler)
![NPM Downloads](https://img.shields.io/npm/dw/@exact-realty/esbuild-plugin-closure-compiler?style=flat-square)
![NPM Downloads](https://img.shields.io/npm/dw/@apeleghq/esbuild-plugin-closure-compiler?style=flat-square)

## How to use

### Installing

```sh
npm i -D @exact-realty/esbuild-plugin-closure-compiler
npm i -D @apeleghq/esbuild-plugin-closure-compiler
```

### Configuring esbuild

In the file you have your configuration, first import this plugin

```js
const cc = require('@exact-realty/esbuild-plugin-closure-compiler');
const cc = require('@apeleghq/esbuild-plugin-closure-compiler');
```

Or using ES module syntax:

```js
import cc from '@exact-realty/esbuild-plugin-closure-compiler';
import cc from '@apeleghq/esbuild-plugin-closure-compiler';
```

Then, in your esbuild configuration, add `cc()` to the `plugins` list. `cc`
Expand All @@ -35,7 +35,7 @@ reference, refer to the documentation for Google Closure Compiler). Minimal exam

```js
const esbuild = require('esbuild');
const cc = require('@exact-realty/esbuild-plugin-closure-compiler');
const cc = require('@apeleghq/esbuild-plugin-closure-compiler');

await esbuild
.build({
Expand Down
2 changes: 1 addition & 1 deletion SECURITY
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ vulnerabilities that you may discover.

If you believe you have found a security vulnerability in our software, please
let us know immediately. You may find our contact information at
<https://exact.realty/.well-known/security.txt>. Please include the following
<https://apeleg.com/.well-known/security.txt>. Please include the following
information in your report:

* A brief description of the vulnerability
Expand Down
2 changes: 1 addition & 1 deletion esbuild.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env node

/* Copyright © 2023 Exact Realty Limited. All rights reserved.
/* Copyright © 2023 Apeleg Limited. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License") with LLVM
* exceptions; you may not use this file except in compliance with the
Expand Down
Loading
Loading