@madgex/fert 1.3.0 → 1.4.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/.prettierrc.js CHANGED
@@ -4,5 +4,5 @@ module.exports = {
4
4
  singleQuote: true,
5
5
  printWidth: 80,
6
6
  trailingComma: 'es5',
7
- endOfLine: 'auto'
7
+ endOfLine: 'auto',
8
8
  };
package/bin/cli.js CHANGED
@@ -30,7 +30,7 @@ const run = () => {
30
30
  .action((...args) => require('./commands/build.js')(...args));
31
31
 
32
32
  cli
33
- .command('publish [root]', 'Publish project to S3')
33
+ .command('publish [root]', 'Publish the project')
34
34
  .option('--target <env>', 'Environment to publish to, "dev" or "prod"')
35
35
  .action((...args) => require('./commands/publish')(...args));
36
36
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@madgex/fert",
3
- "version": "1.3.0",
3
+ "version": "1.4.1",
4
4
  "description": "Tool to help build the V6 branding",
5
5
  "bin": {
6
6
  "fert": "./bin/cli.js"
@@ -1,4 +1,8 @@
1
1
  module.exports = {
2
2
  clientPropertyId: '{CPID}',
3
3
  entry: './src/index.js',
4
+ externalAssets: {
5
+ links: [],
6
+ scripts: [],
7
+ },
4
8
  };
@@ -8,6 +8,6 @@
8
8
  "build": "fert build"
9
9
  },
10
10
  "devDependencies": {
11
- "@madgex/frontend-rollout-tool": "*"
11
+ "@madgex/fert": "*"
12
12
  }
13
13
  }
@@ -8,6 +8,6 @@
8
8
  "build": "fert build"
9
9
  },
10
10
  "devDependencies": {
11
- "@madgex/frontend-rollout-tool": "*"
11
+ "@madgex/fert": "*"
12
12
  }
13
13
  }
@@ -33,6 +33,16 @@ module.exports = {
33
33
  input: options.entry,
34
34
  },
35
35
  },
36
+ css: {
37
+ preprocessorOptions: {
38
+ scss: {
39
+ additionalData: `
40
+ @import "../../public/tokens/scss/index.scss";
41
+ @import "@madgex/design-system/src/scss/import.scss";
42
+ `, // all scss processed files gets this injected at the top
43
+ },
44
+ },
45
+ },
36
46
  });
37
47
 
38
48
  await server.app.viteServer.listen();