@soleil-se/build-app 2.1.6 → 2.2.0

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 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.0] - 2025-03-26
8
+
9
+ - Lägg till task för bundling av `headless.js`.
10
+
11
+ ## [2.1.7] - 2025-03-05
12
+
13
+ - Ta bort encoding av användarnamn på anrop.
14
+
7
15
  ## [2.1.6] - 2025-02-28
8
16
 
9
- - Ta bort encoding av inlodggningsuppgifter på anrop för signering.
17
+ - Ta bort encoding av inloggningsuppgifter på anrop för signering.
10
18
 
11
19
  ## [2.1.5] - 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.6",
4
+ "version": "2.2.0",
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.0",
26
- "@babel/preset-env": "7.26.0",
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.1",
29
+ "@rollup/plugin-commonjs": "28.0.3",
30
30
  "@rollup/plugin-json": "6.1.0",
31
- "@rollup/plugin-node-resolve": "15.3.0",
32
- "@rollup/plugin-replace": "6.0.1",
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.3.0",
35
+ "chalk": "5.4.1",
36
36
  "find-up": "7.0.0",
37
- "form-data": "4.0.1",
38
- "fs-extra": "11.2.0",
39
- "glob": "^11.0.0",
40
- "got": "14.4.5",
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.4.49",
45
- "postcss-preset-env": "^10.1.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.28.0",
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-utils": "1.8.2",
56
- "@soleil-se/build-config": "1.3.0"
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"
@@ -8,8 +8,8 @@ const [username, password] = Buffer.from(auth || '', 'base64').toString().split(
8
8
 
9
9
  const options = {
10
10
  prefixUrl: `${host}/rest-api/1/0/${encodeURIComponent(name)}/`,
11
- username: encodeURIComponent(username),
12
- password: encodeURIComponent(password),
11
+ username,
12
+ password: encodeURI(password),
13
13
  method: 'POST',
14
14
  responseType: 'json',
15
15
  resolveBodyOnly: true,