@atlassian/webresource-webpack-plugin 7.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/UPGRADE_700.md ADDED
@@ -0,0 +1,15 @@
1
+ # For everyone
2
+
3
+ ## Removed API
4
+
5
+ Default transformation map no longer provides `less-transformer`. Ideally, when using Webpack, `.less` files are compiled to CSS using https://www.npmjs.com/package/less-loader.
6
+
7
+ To preserve existing behaviour, one can extend default providers with `less-transformer` explicitly.
8
+
9
+ ```js
10
+ new WrmPlugin({
11
+ transformationMap: WrmPlugin.extendTransformations({
12
+ less: ['less-transformer'],
13
+ }),
14
+ });
15
+ ```
package/jest.config.js ADDED
@@ -0,0 +1,8 @@
1
+ const pkg = require('./package.json');
2
+ const baseConfig = require('../../jest.config.js');
3
+
4
+ module.exports = {
5
+ ...baseConfig,
6
+ projects: ['.'],
7
+ displayName: pkg.name,
8
+ };
package/package.json ADDED
@@ -0,0 +1,120 @@
1
+ {
2
+ "name": "@atlassian/webresource-webpack-plugin",
3
+ "version": "7.0.2",
4
+ "description": "Auto-generates web-resource definitions from your webpacked code, for usage in an Atlassian product or plugin.",
5
+ "main": "dist/WrmPlugin.js",
6
+ "types": "dist/WrmPlugin.d.ts",
7
+ "license": "Apache-2.0",
8
+ "contributors": [
9
+ {
10
+ "name": "Tim Sebastian",
11
+ "email": "tsebastian@atlassian.com"
12
+ },
13
+ {
14
+ "name": "Felipe Reis",
15
+ "email": "freis@atlassian.com"
16
+ },
17
+ {
18
+ "name": "Scott Harwood",
19
+ "email": "sharwood@atlassian.com"
20
+ },
21
+ {
22
+ "name": "Christopher Darroch",
23
+ "email": "cdarroch@atlassian.com"
24
+ },
25
+ {
26
+ "name": "Maciej Adamczak",
27
+ "email": "madamczak@atlassian.com"
28
+ },
29
+ {
30
+ "name": "Felipe Reis",
31
+ "email": "freis@atlassian.com"
32
+ },
33
+ {
34
+ "name": "Dariusz Luksza",
35
+ "email": "dluksza@adaptavist.com"
36
+ },
37
+ {
38
+ "name": "Dick Wiggers",
39
+ "email": "hwiggers@atlassian.com"
40
+ },
41
+ {
42
+ "name": "Matthieu Di Berardino",
43
+ "email": "mdiberardino@atlassian.com"
44
+ },
45
+ {
46
+ "name": "Pietro Pereira",
47
+ "email": "ppereira@atlassian.com"
48
+ }
49
+ ],
50
+ "homepage": "https://bitbucket.org/atlassianlabs/fe-server",
51
+ "bugs": "https://ecosystem.atlassian.net/jira/software/c/projects/SPFE/issues/",
52
+ "repository": {
53
+ "type": "git",
54
+ "url": "git+ssh://git@bitbucket.org/atlassianlabs/fe-server.git",
55
+ "directory": "packages/webresource-webpack-plugin"
56
+ },
57
+ "publishConfig": {
58
+ "registry": "https://packages.atlassian.com/api/npm/npm-public/"
59
+ },
60
+ "dependencies": {
61
+ "lodash": "4.17.21",
62
+ "pretty-data": "0.40.0",
63
+ "tapable": "2.2.1",
64
+ "url-join": "4.0.1",
65
+ "uuid": "8.3.2"
66
+ },
67
+ "peerDependencies": {
68
+ "webpack": "^5",
69
+ "webpack-sources": "^1 || ^2"
70
+ },
71
+ "devDependencies": {
72
+ "@types/glob": "7.2.0",
73
+ "@types/lodash": "4.14.177",
74
+ "@types/node": "16.11.11",
75
+ "@types/pretty-data": "0.40.3",
76
+ "@types/url-join": "4.0.1",
77
+ "@types/uuid": "8.3.3",
78
+ "@types/webpack-sources": "3.2.0",
79
+ "@types/xml-parser": "1.2.30",
80
+ "css-loader": "5.2.7",
81
+ "del": "6.0.0",
82
+ "esbuild": "0.14.1",
83
+ "esbuild-register": "3.2.0",
84
+ "file-loader": "6.2.0",
85
+ "glob": "7.2.0",
86
+ "jest": "27.4.3",
87
+ "jquery": "3.6.0",
88
+ "mini-css-extract-plugin": "2.8.1",
89
+ "style-loader": "2.0.0",
90
+ "ts-node": "10.4.0",
91
+ "typescript": "4.5.2",
92
+ "underscore": "1.13.1",
93
+ "webpack": "5.90.3",
94
+ "webpack-cli": "4.9.1",
95
+ "webpack-sources": "2.3.1",
96
+ "xml-parser": "1.2.1"
97
+ },
98
+ "engines": {
99
+ "node": ">=12",
100
+ "npm": ">=6.9"
101
+ },
102
+ "keywords": [
103
+ "atlassian",
104
+ "webpack",
105
+ "wrm",
106
+ "server",
107
+ "web",
108
+ "webresource",
109
+ "resource",
110
+ "manager"
111
+ ],
112
+ "scripts": {
113
+ "prepublishOnly": "npm run build",
114
+ "build": "tsc -p tsconfig.json",
115
+ "verify": "tsc -p tsconfig.json --noEmit",
116
+ "test": "jest",
117
+ "test:watch": "jest --watch"
118
+ },
119
+ "gitHead": "622a7f318cc99f3760df5c1c90a5598b202526fd"
120
+ }