@atlassian/clientside-extensions-docs
Advanced tools
Comparing version
@@ -7,3 +7,3 @@ --- | ||
subcategory: how-to | ||
date: '2024-09-24' | ||
date: '2025-06-08' | ||
--- | ||
@@ -27,6 +27,6 @@ | ||
And make sure to also install its peer dependency: `atlassian-webresource-webpack-plugin` | ||
And make sure to also install its peer dependency: `@atlassian/webresource-webpack-plugin` | ||
``` | ||
npm install --save-dev atlassian-webresource-webpack-plugin | ||
npm install --save-dev @atlassian/webresource-webpack-plugin | ||
``` | ||
@@ -69,6 +69,6 @@ | ||
CSE webpack plugin makes use of [WRM webpack plugin](https://www.npmjs.com/package/atlassian-webresource-webpack-plugin) to generate the | ||
CSE webpack plugin makes use of [WRM webpack plugin](https://www.npmjs.com/package/@atlassian/webresource-webpack-plugin) to generate the | ||
resource definitions for your extensions, so you also need to configure it. | ||
In your webpack configuration, import `atlassian-webresource-webpack-plugin` and use as follows: | ||
In your webpack configuration, import `@atlassian/webresource-webpack-plugin` and use as follows: | ||
@@ -78,3 +78,3 @@ ```js | ||
const path = require('path'); | ||
const WrmPlugin = require('atlassian-webresource-webpack-plugin'); | ||
const WrmPlugin = require('@atlassian/webresource-webpack-plugin'); | ||
const CSEPlugin = require('@atlassian/clientside-extensions-webpack-plugin'); | ||
@@ -103,3 +103,3 @@ | ||
* More info about WRM Webpack Plugin: | ||
* https://bitbucket.org/atlassianlabs/atlassian-webresource-webpack-plugin | ||
* https://bitbucket.org/atlassianlabs/fe-server/src/master/packages/webresource-webpack-plugin | ||
*/ | ||
@@ -140,3 +140,3 @@ const wrmPlugin = new WrmPlugin({ | ||
const CSEPlugin = require('@atlassian/clientside-extensions-webpack-plugin'); | ||
const WrmPlugin = require('atlassian-webresource-webpack-plugin'); | ||
const WrmPlugin = require('@atlassian/webresource-webpack-plugin'); | ||
@@ -143,0 +143,0 @@ const targetDirectory = path.join(__dirname, 'target'); |
@@ -7,3 +7,3 @@ --- | ||
subcategory: webpack | ||
date: '2024-09-24' | ||
date: '2025-06-08' | ||
--- | ||
@@ -269,3 +269,3 @@ | ||
For more information about the condition's usage please refer to the [examples of Web items documentation](https://developer.atlassian.com/server/framework/atlassian-sdk/web-section-plugin-module/#condition-and-conditions-elements) and check the [documentation of `conditionMap` option from `atlassian-webresource-webpack-plugin`](https://www.npmjs.com/package/atlassian-webresource-webpack-plugin#conditionmap-optional). | ||
For more information about the condition's usage please refer to the [examples of Web items documentation](https://developer.atlassian.com/server/framework/atlassian-sdk/web-section-plugin-module/#condition-and-conditions-elements) and check the [documentation of `conditionMap` option from `@atlassian/webresource-webpack-plugin`](https://www.npmjs.com/package/@atlassian/webresource-webpack-plugin#conditionmap-optional). | ||
@@ -332,3 +332,3 @@ ```ts | ||
These `@condition` annotations will result in creating a condition map object that is matching the [shape of `conditionMap` option from `atlassian-webresource-webpack-plugin`](https://www.npmjs.com/package/atlassian-webresource-webpack-plugin#conditionmap-optional): | ||
These `@condition` annotations will result in creating a condition map object that is matching the [shape of `conditionMap` option from `@atlassian/webresource-webpack-plugin`](https://www.npmjs.com/package/@atlassian/webresource-webpack-plugin#conditionmap-optional): | ||
@@ -382,3 +382,3 @@ ```json | ||
These `@condition` annotations will result in creating a condition map object that is matching the [shape of `conditionMap` option from `atlassian-webresource-webpack-plugin`](https://www.npmjs.com/package/atlassian-webresource-webpack-plugin#conditionmap-optional): | ||
These `@condition` annotations will result in creating a condition map object that is matching the [shape of `conditionMap` option from `@atlassian/webresource-webpack-plugin`](https://www.npmjs.com/package/@atlassian/webresource-webpack-plugin#conditionmap-optional): | ||
@@ -385,0 +385,0 @@ ```json |
@@ -7,3 +7,3 @@ --- | ||
subcategory: webpack | ||
date: '2024-09-24' | ||
date: '2025-06-08' | ||
--- | ||
@@ -13,3 +13,3 @@ | ||
Client-side Extensions webpack plugin depends on [WRM webpack plugin](https://www.npmjs.com/package/atlassian-webresource-webpack-plugin). | ||
Client-side Extensions webpack plugin depends on [WRM webpack plugin](https://www.npmjs.com/package/@atlassian/webresource-webpack-plugin). | ||
@@ -58,3 +58,3 @@ Refer to the [setup guide](/server/framework/clientside-extensions/guides/how-to/setup-webpack-plugin/) to check how to install and configure the webpack plugin. | ||
const ClientsideExtensionsWebpackPlugin = require('@atlassian/clientside-extensions-webpack-plugin'); | ||
const WrmPlugin = require('atlassian-webresource-webpack-plugin'); | ||
const WrmPlugin = require('@atlassian/webresource-webpack-plugin'); | ||
@@ -61,0 +61,0 @@ const wrmPlugin = new WrmPlugin(/*...*/); |
{ | ||
"name": "@atlassian/clientside-extensions-docs", | ||
"version": "4.0.2", | ||
"version": "5.0.0-cf0bd8af-cf0bd8af-mdzvucs8", | ||
"description": "Holds the official documentation for Altassian Server client-side extensions API.", | ||
@@ -51,3 +51,3 @@ "license": "BSD-3-Clause", | ||
"access": "public", | ||
"@atlassian:registry": "https://registry.npmjs.org/" | ||
"@atlassian:registry": "https://packages.atlassian.com/api/npm/npm-public/" | ||
}, | ||
@@ -84,3 +84,3 @@ "docs": [ | ||
}, | ||
"gitHead": "2d552dc8d3b5d2c9583a19324d5b7459f5db6afa" | ||
"gitHead": "cf0bd8af8dd2c56ff1e9677e261cb0d9da6651fa" | ||
} |
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
2474310
01
Infinity%1
Infinity%