forked from ecamp/ecamp3
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
frontend/pdf/print: set type to module in package.json
And switch to esm syntax for the matchingTranslationKeys eslint plugin. Because there cannot be dashes in an identifier, the rule is now called 'matchingTranslationKeys'. jest-serializer-vue-tjw loads the vue config with require, and seems to expect a commonjs module. We switched to a esm module, and now the structure is not pluginOptions.jestSerializer, but default.pluginOptions.jestSerializer -> with the added export we can support vue itself and jest-serializer-vue-tjw. This might enable us to update vite-plugin-comlink - ecamp#6220 And might help with - ecamp#6038 Fix checked in dist files in pdf/dist/
- Loading branch information
Showing
21 changed files
with
66 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
module.exports = { | ||
presets: ['@vue/app'], | ||
env: { | ||
test: { | ||
plugins: ['require-context-hook'], | ||
}, | ||
// noinspection JSUnusedGlobalSymbols | ||
export const presets = ['@vue/app'] | ||
export const env = { | ||
test: { | ||
plugins: ['require-context-hook'], | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
const path = require('path') | ||
const fs = require('fs') | ||
const utils = require('eslint-plugin-vue/lib/utils/index.js') | ||
const matchingTranslationKeys = require('../src/common/eslint-local-rules/matchingTranslationKeys.js') | ||
import utils from 'eslint-plugin-vue/lib/utils/index.js' | ||
// noinspection ES6UnusedImports | ||
import createMatchingTranslationKeys from '../../common/eslint-local-rules/matchingTranslationKeys.js' | ||
|
||
module.exports = { | ||
'matching-translation-keys': matchingTranslationKeys(path, utils, fs), | ||
} | ||
// noinspection JSUnusedGlobalSymbols | ||
export const matchingTranslationKeys = createMatchingTranslationKeys(utils) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,8 @@ lerna-debug.log* | |
|
||
node_modules | ||
.DS_Store | ||
dist | ||
/dist/* | ||
!/dist/*.dist | ||
dist-ssr | ||
coverage | ||
*.local | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
module.exports = { | ||
presets: ['@vue/app'], | ||
env: { | ||
test: { | ||
plugins: ['require-context-hook'], | ||
}, | ||
// noinspection JSUnusedGlobalSymbols | ||
export const presets = ['@vue/app'] | ||
export const env = { | ||
test: { | ||
plugins: ['require-context-hook'], | ||
}, | ||
} |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
const path = require('path') | ||
const fs = require('fs') | ||
const utils = require('eslint-plugin-vue/lib/utils/index.js') | ||
const matchingTranslationKeys = require('../common/eslint-local-rules/matchingTranslationKeys.js') | ||
import utils from 'eslint-plugin-vue/lib/utils/index.js' | ||
// noinspection ES6UnusedImports | ||
import createMatchingTranslationKeys from '../../common/eslint-local-rules/matchingTranslationKeys.js' | ||
|
||
module.exports = { | ||
'matching-translation-keys': matchingTranslationKeys(path, utils, fs), | ||
} | ||
// noinspection JSUnusedGlobalSymbols | ||
export const matchingTranslationKeys = createMatchingTranslationKeys(utils) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
const path = require('path') | ||
const fs = require('fs') | ||
const utils = require('eslint-plugin-vue/lib/utils/index.js') | ||
const matchingTranslationKeys = require('../../common/eslint-local-rules/matchingTranslationKeys.js') | ||
import utils from 'eslint-plugin-vue/lib/utils/index.js' | ||
// noinspection ES6UnusedImports | ||
import createMatchingTranslationKeys from '../../common/eslint-local-rules/matchingTranslationKeys.js' | ||
|
||
module.exports = { | ||
'matching-translation-keys': matchingTranslationKeys(path, utils, fs), | ||
} | ||
// noinspection JSUnusedGlobalSymbols | ||
export const matchingTranslationKeys = createMatchingTranslationKeys(utils) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters