@soleil-se/build-app 2.1.7 → 2.2.1
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/CHANGELOG.md +9 -1
- package/index.js +7 -0
- package/package.json +16 -16
- package/requests/api/addonRequest.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,9 +4,17 @@ title: Changelog
|
|
|
4
4
|
|
|
5
5
|
Baseras på [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) och använder [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
6
6
|
|
|
7
|
+
## [2.2.1] - 2025-04-09
|
|
8
|
+
|
|
9
|
+
- Ta bort encoding av lösenord vid anrop.
|
|
10
|
+
|
|
11
|
+
## [2.2.0] - 2025-03-26
|
|
12
|
+
|
|
13
|
+
- Lägg till task för bundling av `headless.js`.
|
|
14
|
+
|
|
7
15
|
## [2.1.7] - 2025-03-05
|
|
8
16
|
|
|
9
|
-
- Ta bort encoding av användarnamn
|
|
17
|
+
- Ta bort encoding av användarnamn vid anrop.
|
|
10
18
|
|
|
11
19
|
## [2.1.6] - 2025-02-28
|
|
12
20
|
|
package/index.js
CHANGED
|
@@ -48,6 +48,13 @@ async function main() {
|
|
|
48
48
|
cache: args.cache,
|
|
49
49
|
extractCss: true,
|
|
50
50
|
}), () => fse.existsSync('./src/main.js')),
|
|
51
|
+
task('headless', server({
|
|
52
|
+
input: './src/headless.js',
|
|
53
|
+
output: './dist/src/headless.js',
|
|
54
|
+
debug: args.debug,
|
|
55
|
+
cache: args.cache,
|
|
56
|
+
extractCss: true,
|
|
57
|
+
}), () => fse.existsSync('./src/headless.js')),
|
|
51
58
|
task('hooks', server({
|
|
52
59
|
input: './src/hooks.js',
|
|
53
60
|
output: './dist/src/hooks.js',
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@soleil-se/build-app",
|
|
3
3
|
"description": "Script for building WebApps, RESTApps and Widgets with Svelte in Sitevision.",
|
|
4
|
-
"version": "2.1
|
|
4
|
+
"version": "2.2.1",
|
|
5
5
|
"bin": {
|
|
6
6
|
"build-app": "./bin/index.js",
|
|
7
7
|
"sv-app-build": "./bin/index.js"
|
|
@@ -22,38 +22,38 @@
|
|
|
22
22
|
},
|
|
23
23
|
"homepage": "https://docs.soleil.se/build/app",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@babel/core": "7.26.
|
|
26
|
-
"@babel/preset-env": "7.26.
|
|
25
|
+
"@babel/core": "7.26.10",
|
|
26
|
+
"@babel/preset-env": "7.26.9",
|
|
27
27
|
"@rollup/plugin-alias": "5.1.1",
|
|
28
28
|
"@rollup/plugin-babel": "6.0.4",
|
|
29
|
-
"@rollup/plugin-commonjs": "28.0.
|
|
29
|
+
"@rollup/plugin-commonjs": "28.0.3",
|
|
30
30
|
"@rollup/plugin-json": "6.1.0",
|
|
31
|
-
"@rollup/plugin-node-resolve": "
|
|
32
|
-
"@rollup/plugin-replace": "6.0.
|
|
31
|
+
"@rollup/plugin-node-resolve": "16.0.1",
|
|
32
|
+
"@rollup/plugin-replace": "6.0.2",
|
|
33
33
|
"@rollup/plugin-terser": "0.4.4",
|
|
34
34
|
"archiver": "7.0.1",
|
|
35
|
-
"chalk": "5.
|
|
35
|
+
"chalk": "5.4.1",
|
|
36
36
|
"find-up": "7.0.0",
|
|
37
|
-
"form-data": "4.0.
|
|
38
|
-
"fs-extra": "11.
|
|
39
|
-
"glob": "^11.0.
|
|
40
|
-
"got": "14.4.
|
|
37
|
+
"form-data": "4.0.2",
|
|
38
|
+
"fs-extra": "11.3.0",
|
|
39
|
+
"glob": "^11.0.1",
|
|
40
|
+
"got": "14.4.6",
|
|
41
41
|
"gzip-size": "7.0.0",
|
|
42
42
|
"lodash-es": "4.17.21",
|
|
43
43
|
"minimist": "^1.2.8",
|
|
44
|
-
"postcss": "8.
|
|
45
|
-
"postcss-preset-env": "^10.1.
|
|
44
|
+
"postcss": "8.5.3",
|
|
45
|
+
"postcss-preset-env": "^10.1.5",
|
|
46
46
|
"postcss-pxtorem": "6.1.0",
|
|
47
47
|
"pretty-bytes": "6.1.1",
|
|
48
48
|
"prompts": "2.4.2",
|
|
49
|
-
"rollup": "4.
|
|
49
|
+
"rollup": "4.37.0",
|
|
50
50
|
"rollup-plugin-postcss": "4.0.2",
|
|
51
51
|
"rollup-plugin-string": "3.0.0",
|
|
52
52
|
"rollup-plugin-svelte": "7.2.2",
|
|
53
53
|
"slash": "5.1.0",
|
|
54
54
|
"svelte-preprocess": "6.0.3",
|
|
55
|
-
"@soleil-se/build-config": "1.3.0",
|
|
56
|
-
"@soleil-se/build-utils": "1.8.2"
|
|
55
|
+
"@soleil-se/build-config": "^1.3.0",
|
|
56
|
+
"@soleil-se/build-utils": "^1.8.2"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"svelte": "^5.6.2"
|
|
@@ -9,7 +9,7 @@ const [username, password] = Buffer.from(auth || '', 'base64').toString().split(
|
|
|
9
9
|
const options = {
|
|
10
10
|
prefixUrl: `${host}/rest-api/1/0/${encodeURIComponent(name)}/`,
|
|
11
11
|
username,
|
|
12
|
-
password
|
|
12
|
+
password,
|
|
13
13
|
method: 'POST',
|
|
14
14
|
responseType: 'json',
|
|
15
15
|
resolveBodyOnly: true,
|