8.5.0 • Published 3 months ago

@gb-nx/browser v8.5.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

@gb-nx/browser

This library was generated with Nx.

CI npm version

Nx Plugin adding first class support for Manifest V3 Browser Extension applications in your Nx workspace

Features

Here is a list of some of the coolest features of the plugin:

  • ✅ Generation of browser extensions applications
  • ✅ Building, testing, etc your extension projects
  • ✅ Packaging your extension projects for web stores

Prerequisite

If you have not already, create an Nx workspace with the following:

# npm
npx create-nx-workspace@latest

# yarn
yarn create nx-workspace@latest

Getting Started

Then you need to install the plugin in order to generate browser applications later on.

Installing Plugin

npx nx add @gb-nx/browser

Generating Project

Simply run the extension generator with the following command:

nx generate @gb-nx/browser:extension --name=my-extension --directory=apps/my-extension --projectNameAndRootFormat=as-provided

Working with your Project

nx run my-extension:build

Load (or reload) the unpacked extension from dist/apps/my-extension with Manage Extensions in your browser.

Refresh a browser page

Observe changes

Make changes to my-extension\src

Repeat

Packaging your Project for Store Distribution

Run the zip target to create a versioned archive of your extension.

nx run my-extension:build:production nx zip my-extension --tagGit false

Migrations

This plugin supports Nx migrations and provides necessary version and code updates. So instead of bumping plugin version manually in package.json it's recommended to run nx migrate @gb-nx/browser command, that includes bumping the version of the @gb-nx/browser plugin, related dependencies and running code migrations.

@gb-nx/browser & Nx Compatibility Chart

@gb-nx/browser versionNx version
^8.0.0>=17.0.0
^6.0.0^17.0.0
^5.0.0^16.0.0
<5.0.0^15.0.0

Useful resources

License

MIT

8.5.0-alpha.0

3 months ago

8.5.0-alpha.1

3 months ago

8.2.0-alpha.2

3 months ago

8.2.0-alpha.1

3 months ago

8.5.0

3 months ago

8.2.0-alpha.4

3 months ago

8.2.0-alpha.3

3 months ago

8.2.0-alpha.6

3 months ago

8.2.0-alpha.5

3 months ago

8.2.0-alpha.8

3 months ago

8.2.0-alpha.7

3 months ago

8.2.0-alpha.9

3 months ago

8.2.0

3 months ago

8.2.0-alpha.0

3 months ago

8.1.0-alpha.1

3 months ago

8.1.0-alpha.0

3 months ago

8.0.0-alpha.1

3 months ago

8.0.0-alpha.2

3 months ago

0.0.0-e.0

3 months ago

8.0.0-alpha.0

4 months ago

7.4.0

4 months ago

7.4.0-alpha.1

4 months ago

7.4.0-alpha.2

4 months ago

7.4.0-alpha.3

4 months ago

7.3.0-alpha.1

4 months ago

7.3.0-alpha.0

4 months ago

7.3.1

4 months ago

7.3.0

4 months ago

7.3.3

4 months ago

7.3.2

4 months ago

7.4.0-alpha.0

4 months ago

7.1.0

4 months ago

7.1.0-alpha.1

4 months ago

7.1.0-alpha.2

4 months ago

7.1.0-alpha.3

4 months ago

7.0.0-alpha.1

4 months ago

7.0.0-alpha.0

4 months ago

7.0.0

4 months ago

7.0.0-alpha.7

4 months ago

7.0.0-alpha.6

4 months ago

7.0.0-alpha.8

4 months ago

7.0.0-alpha.3

4 months ago

7.0.0-alpha.2

4 months ago

7.0.0-alpha.5

4 months ago

7.0.0-alpha.4

4 months ago

6.0.0

5 months ago

5.2.0

8 months ago

5.2.0-alpha.0

8 months ago

5.1.1

9 months ago

5.2.0-alpha.1

8 months ago

5.1.0

9 months ago

5.2.0-alpha.2

8 months ago

5.2.0-alpha.3

8 months ago

5.3.0-alpha.0

8 months ago

5.0.0-0

1 year ago

5.0.0

1 year ago

4.2.0

1 year ago

4.1.0

1 year ago

4.1.0-alpha.0

1 year ago

3.0.0-alpha.7

2 years ago

3.0.0-alpha.6

2 years ago

3.0.0

2 years ago

2.1.2

2 years ago

2.1.1

2 years ago

3.0.0-alpha.1

2 years ago

3.0.0-alpha.0

2 years ago

2.1.3

2 years ago

3.0.0-alpha.3

2 years ago

3.0.0-alpha.2

2 years ago

3.0.0-alpha.5

2 years ago

2.1.0-alpha.4

2 years ago

2.1.0-alpha.3

2 years ago

2.1.0-alpha.2

2 years ago

2.1.0-alpha.1

2 years ago

4.0.0-alpha.0

1 year ago

2.1.0

2 years ago

2.0.2

2 years ago

2.0.0

2 years ago

1.1.0

2 years ago