Skip to content

Commit

Permalink
Fixed build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
jsimck committed Mar 19, 2024
1 parent ea3af61 commit 8f5d01a
Show file tree
Hide file tree
Showing 7 changed files with 94 additions and 9 deletions.
28 changes: 28 additions & 0 deletions .changeset/dirty-beds-brake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
"@ima/plugin-useragent": patch
"@ima/plugin-self-xss": patch
"@ima/plugin-atoms": patch
"@ima/cli-plugin-analyze": patch
"@ima/cli-plugin-legacy-css": patch
"@ima/cli-plugin-less-constants": patch
"@ima/cli-plugin-scramble-css": patch
"@ima/plugin-analytic": patch
"@ima/plugin-analytic-fb-pixel": patch
"@ima/plugin-analytic-google": patch
"@ima/plugin-halson-rest-client": patch
"@ima/plugin-http-client": patch
"@ima/plugin-local-storage": patch
"@ima/plugin-logger": patch
"@ima/plugin-managed-component": patch
"@ima/plugin-merkur": patch
"@ima/plugin-resource-loader": patch
"@ima/plugin-rest-client": patch
"@ima/plugin-script-loader": patch
"@ima/plugin-select": patch
"@ima/plugin-shared-cache": patch
"@ima/plugin-style-loader": patch
"@ima/plugin-testing-integration": patch
"@ima/plugin-websocket": patch
---

Fixed build issues with client server config
19 changes: 19 additions & 0 deletions packages/plugin-atoms/ima-plugin.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
const {
clientServerConfig,
typescriptDeclarationsPlugin,
} = require('@ima/plugin-cli');

/**
* @type import('@ima/plugin-cli').ImaPluginConfig[]
*/
module.exports = [
{
...clientServerConfig,
plugins: [
typescriptDeclarationsPlugin({
allowFailure: false,
additionalArgs: ['--skipLibCheck'],
}),
],
},
];
6 changes: 3 additions & 3 deletions packages/plugin-atoms/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
"types": "./dist/esm/client/main.d.ts",
"scripts": {
"test": "../../node_modules/.bin/jest --config=jest.config.js",
"build": "ima-plugin build --clientServerConfig",
"dev": "ima-plugin dev --clientServerConfig",
"link": "ima-plugin link --clientServerConfig",
"build": "ima-plugin build",
"dev": "ima-plugin dev",
"link": "ima-plugin link",
"lint": "eslint './**/*.{js,jsx,ts,tsx,mjs}'"
},
"keywords": [
Expand Down
19 changes: 19 additions & 0 deletions packages/plugin-self-xss/ima-plugin.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
const {
clientServerConfig,
typescriptDeclarationsPlugin,
} = require('@ima/plugin-cli');

/**
* @type import('@ima/plugin-cli').ImaPluginConfig[]
*/
module.exports = [
{
...clientServerConfig,
plugins: [
typescriptDeclarationsPlugin({
allowFailure: false,
additionalArgs: ['--skipLibCheck'],
}),
],
},
];
6 changes: 3 additions & 3 deletions packages/plugin-self-xss/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
"types": "./dist/esm/client/main.d.ts",
"scripts": {
"test": "../../node_modules/.bin/jest --coverage --no-watchman --config=jest.config.js",
"build": "ima-plugin build --clientServerConfig",
"dev": "ima-plugin dev --clientServerConfig",
"link": "ima-plugin link --clientServerConfig",
"build": "ima-plugin build",
"dev": "ima-plugin dev",
"link": "ima-plugin link",
"lint": "eslint './**/*.{js,jsx,ts,tsx,mjs}'"
},
"keywords": [
Expand Down
19 changes: 19 additions & 0 deletions packages/plugin-useragent/ima-plugin.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
const {
clientServerConfig,
typescriptDeclarationsPlugin,
} = require('@ima/plugin-cli');

/**
* @type import('@ima/plugin-cli').ImaPluginConfig[]
*/
module.exports = [
{
...clientServerConfig,
plugins: [
typescriptDeclarationsPlugin({
allowFailure: false,
additionalArgs: ['--skipLibCheck'],
}),
],
},
];
6 changes: 3 additions & 3 deletions packages/plugin-useragent/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
"types": "./dist/esm/client/main.d.ts",
"scripts": {
"test": "../../node_modules/.bin/jest --config=jest.config.js",
"build": "ima-plugin build --clientServerConfig",
"dev": "ima-plugin dev --clientServerConfig",
"link": "ima-plugin link --clientServerConfig",
"build": "ima-plugin build",
"dev": "ima-plugin dev",
"link": "ima-plugin link",
"lint": "eslint './**/*.{js,jsx,ts,tsx,mjs}'"
},
"keywords": [
Expand Down

0 comments on commit 8f5d01a

Please sign in to comment.