@grantbii/design-system 1.0.1 → 1.0.3

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/app/layout.tsx CHANGED
@@ -1,4 +1,4 @@
1
- import { GlobalStyle, StyledComponentsRegistry } from "@/core";
1
+ import { GlobalStyle, StyledComponentsRegistry } from "@/index";
2
2
  import type { Metadata } from "next";
3
3
  import { PropsWithChildren } from "react";
4
4
 
package/app/page.tsx CHANGED
@@ -1,3 +1,3 @@
1
- const HomePage = () => <main>Hello world</main>;
1
+ const HomePage = () => <main>Hello Grantbii</main>;
2
2
 
3
3
  export default HomePage;
package/next.config.ts CHANGED
@@ -1,10 +1,19 @@
1
1
  import type { NextConfig } from "next";
2
+ import path from "path";
2
3
 
3
4
  const nextConfig: NextConfig = {
4
- compiler: {
5
- styledComponents: true,
6
- },
7
5
  devIndicators: false,
6
+ compiler: { styledComponents: true },
7
+ transpilePackages: ["@grantbii/design-system"],
8
+ webpack(config) {
9
+ // preserve any existing aliases...
10
+ config.resolve.alias = {
11
+ ...(config.resolve.alias ?? {}),
12
+ // map '@' → the design-system source folder
13
+ "@": path.resolve(__dirname, "node_modules/@grantbii/design-system/src"),
14
+ };
15
+ return config;
16
+ },
8
17
  };
9
18
 
10
19
  export default nextConfig;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grantbii/design-system",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "Grantbii's Design System",
5
5
  "homepage": "https://github.com/grantbii/design-system",
6
6
  "license": "UNLICENSED",
File without changes