@open-xchange/vite-plugin-ox-manifests 0.6.3 → 0.7.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,6 +4,13 @@ All notable changes to this project will be documented in this file.
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ## [0.6.4] - 2024-03-01
8
+
9
+ ### Changed
10
+
11
+ - Update @open-xchange/vite-plugin-ox-externals [`20e2b03`](https://gitlab.open-xchange.com/frontend/vite-plugin-ox-manifests/commit/20e2b0303466075df077b1ae8e60c365b86f1369)
12
+
13
+
7
14
  ## [0.6.3] - 2023-12-05
8
15
 
9
16
  ### Changed
@@ -53,7 +60,8 @@ All notable changes to this project will be documented in this file.
53
60
 
54
61
  - Start Changelog
55
62
 
56
- [unreleased]: https://gitlab.open-xchange.com/frontend/vite-plugin-ox-manifests/compare/0.6.3...main
63
+ [unreleased]: https://gitlab.open-xchange.com/frontend/vite-plugin-ox-manifests/compare/0.6.4...main
64
+ [0.6.4]: https://gitlab.open-xchange.com/frontend/vite-plugin-ox-manifests/compare/0.6.3...0.6.4
57
65
  [0.6.3]: https://gitlab.open-xchange.com/frontend/vite-plugin-ox-manifests/compare/0.6.2...0.6.3
58
66
  [0.6.2]: https://gitlab.open-xchange.com/frontend/vite-plugin-ox-manifests/compare/0.6.1...0.6.2
59
67
  [0.6.1]: https://gitlab.open-xchange.com/frontend/vite-plugin-ox-manifests/compare/0.6.0...0.6.1
package/README.md CHANGED
@@ -5,8 +5,7 @@ A vite plugin that generates a manifest.json for code loading inside an App Suit
5
5
  ## Install
6
6
 
7
7
  ```sh
8
- npm install "@open-xchange/vite-plugin-ox-manifests"
9
- yarn add "@open-xchange/vite-plugin-ox-manifests"
8
+ pnpm i "@open-xchange/vite-plugin-ox-manifests"
10
9
  ```
11
10
 
12
11
  ## How to use
@@ -48,7 +47,7 @@ export const settings = new Settings('test', () => {})
48
47
  ## How to test
49
48
 
50
49
  ```sh
51
- yarn test
50
+ pnpm test
52
51
  ```
53
52
 
54
53
  ## Migration guide
@@ -0,0 +1,36 @@
1
+ import config from '@open-xchange/lint'
2
+ import jestPlugin from 'eslint-plugin-jest'
3
+ import tseslint from 'typescript-eslint'
4
+
5
+ export default tseslint.config(
6
+ {
7
+ // config with just ignores is the replacement for `.eslintignore`
8
+ ignores: ['**/dist/**']
9
+ },
10
+ ...config,
11
+ ...tseslint.configs.recommendedTypeChecked,
12
+ {
13
+ plugins: {
14
+ '@typescript-eslint': tseslint.plugin
15
+ },
16
+ languageOptions: {
17
+ parserOptions: {
18
+ project: true,
19
+ tsconfigRootDir: import.meta.dirname
20
+ }
21
+ }
22
+ },
23
+ {
24
+ // disable type-aware linting on JS files
25
+ files: ['**/*.js', '**/*.mjs', 'test/**/*.ts'],
26
+ ...tseslint.configs.disableTypeChecked
27
+ },
28
+ {
29
+ files: ['spec/**/*_test.js'],
30
+ ...jestPlugin.configs['flat/recommended'],
31
+ rules: {
32
+ ...jestPlugin.configs['flat/recommended'].rules,
33
+ 'jest/prefer-expect-assertions': 'off'
34
+ }
35
+ }
36
+ )
package/package.json CHANGED
@@ -1,49 +1,48 @@
1
1
  {
2
2
  "name": "@open-xchange/vite-plugin-ox-manifests",
3
- "version": "0.6.3",
3
+ "version": "0.7.0",
4
4
  "description": "A vite plugin to concat and serve ox manifests",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "type": "module",
8
- "repository": "git@gitlab.open-xchange.com:frontend/vite-plugin-ox-manifests.git",
9
- "author": "Richard Petersen",
8
+ "repository": "https://gitlab.open-xchange.com/appsuite/web-foundation/tools/-/tree/main/packages/vite-plugin-ox-manifests",
9
+ "author": "App Suite Web Foundation <app-suite-web-foundation@open-xchange.com>",
10
+ "contributors": [
11
+ "Andree Klattenhoff <andree.klattenhoff@open-xchange.com>",
12
+ "Daniel Dickhaus <daniel.dickhaus@open-xchange.com>",
13
+ "Daniel Rentz <daniel.rentz@open-xchange.com>",
14
+ "David Bauer <david.bauer@open-xchange.com>",
15
+ "Julian Bäume <julian.baeume@open-xchange.com>",
16
+ "Maik Schäfer <maik.schaefer@open-xchange.com>",
17
+ "Richard Petersen"
18
+ ],
10
19
  "license": "MIT",
11
- "scripts": {
12
- "prepare": "husky install",
13
- "lint": "tsc --noEmit && eslint . --ext .js,.cjs,.mjs,.ts",
14
- "build": "npx --yes rimraf dist && tsc",
15
- "test": "yarn build && cross-env NODE_OPTIONS=\"--experimental-vm-modules --max_old_space_size=1792\" jest --runInBand"
16
- },
17
20
  "dependencies": {
18
- "@open-xchange/rollup-plugin-po2json": "^0.8.0",
19
- "@open-xchange/vite-plugin-ox-externals": "^0.6.0",
20
- "chokidar": "^3.5.1",
21
- "fast-glob": "^3.2.12",
22
- "magic-string": "^0.30.0",
23
- "parseurl": "^1.3.3"
21
+ "chokidar": "^3.6.0",
22
+ "fast-glob": "^3.3.2",
23
+ "magic-string": "^0.30.10",
24
+ "parseurl": "^1.3.3",
25
+ "@open-xchange/rollup-plugin-po2json": "0.9.0",
26
+ "@open-xchange/vite-plugin-ox-externals": "0.7.0"
24
27
  },
25
28
  "devDependencies": {
26
- "@open-xchange/lint": "^0.0.3",
27
- "@types/node": "^20.1.5",
28
- "@types/parseurl": "^1.3.1",
29
- "@typescript-eslint/eslint-plugin": "^5.59.0",
30
- "@typescript-eslint/parser": "^5.59.0",
29
+ "@types/node": "^20.14.5",
30
+ "@types/parseurl": "^1.3.3",
31
31
  "cross-env": "^7.0.3",
32
- "eslint-plugin-jest": "^27.2.1",
33
- "express": "^4.18.2",
34
- "jest": "^29.5.0",
32
+ "eslint-plugin-jest": "^28.6.0",
33
+ "express": "^4.19.2",
34
+ "jest": "^29.7.0",
35
35
  "jest-junit": "^16.0.0",
36
- "less": "^4.1.3",
37
- "ts-jest": "^29.1.0",
38
- "typescript": "^5.0.4",
39
- "vite": "^5.0.3"
36
+ "less": "^4.2.0",
37
+ "ts-jest": "^29.1.5",
38
+ "typescript": "^5.4.5",
39
+ "typescript-eslint": "^7.13.1",
40
+ "vite": "^5.3.1",
41
+ "@open-xchange/lint": "0.1.0"
40
42
  },
41
- "lint-staged": {
42
- "*.{js,cjs,mjs,ts}": "eslint --cache --fix"
43
- },
44
- "resolutions": {
45
- "semver": "^7.5.2",
46
- "debug": "^4.3.4",
47
- "json5": "^2.2.2"
43
+ "scripts": {
44
+ "lint": "eslint .",
45
+ "build": "tsc",
46
+ "test": "pnpm build && cross-env NODE_OPTIONS=\"--experimental-vm-modules --max_old_space_size=1792\" jest --runInBand test"
48
47
  }
49
- }
48
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "extends": "./tsconfig.json",
3
+ "compilerOptions": {
4
+ "noEmit": true,
5
+ },
6
+ "include": [
7
+ "src"
8
+ ]
9
+ }