@studiocubics/next 0.0.2 → 0.0.4
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/dist/index.css +1 -32
- package/package.json +4 -6
- package/rollup.config.js +0 -37
package/dist/index.css
CHANGED
|
@@ -1,32 +1 @@
|
|
|
1
|
-
.NextErrorPage-module_root__sQ4Rl {
|
|
2
|
-
width: 100%;
|
|
3
|
-
height: 100%;
|
|
4
|
-
display: flex;
|
|
5
|
-
flex-direction: column;
|
|
6
|
-
align-items: center;
|
|
7
|
-
justify-content: center;
|
|
8
|
-
gap: var(--spacing-gap-3);
|
|
9
|
-
color: var(--color-error);
|
|
10
|
-
& > h1 {
|
|
11
|
-
font-size: 5rem;
|
|
12
|
-
font-weight: bold;
|
|
13
|
-
color: var(--color-background);
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
.NextErrorPage-module_message__Z8x-N {
|
|
17
|
-
max-width: 100%;
|
|
18
|
-
font-weight: bold;
|
|
19
|
-
text-align: center;
|
|
20
|
-
}
|
|
21
|
-
.NextErrorPage-module_tip__ev8E7 {
|
|
22
|
-
max-width: 100%;
|
|
23
|
-
font-size: var(--fs-body2);
|
|
24
|
-
color: var(--color-on-background-faint);
|
|
25
|
-
}
|
|
26
|
-
@media (min-width: 600px) {
|
|
27
|
-
.NextErrorPage-module_root__sQ4Rl {
|
|
28
|
-
& > h1 {
|
|
29
|
-
font-size: 10vw;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
1
|
+
.NextErrorPage-module_root__sQ4Rl{align-items:center;color:var(--color-error);display:flex;flex-direction:column;gap:var(--spacing-gap-3);height:100%;justify-content:center;width:100%;&>h1{color:var(--color-background);font-size:5rem;font-weight:700}}.NextErrorPage-module_message__Z8x-N{font-weight:700;max-width:100%;text-align:center}.NextErrorPage-module_tip__ev8E7{color:var(--color-on-background-faint);font-size:var(--fs-body2);max-width:100%}@media (min-width:600px){.NextErrorPage-module_root__sQ4Rl{&>h1{font-size:10vw}}}
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
7
|
"private": false,
|
|
8
|
-
"version": "0.0.
|
|
8
|
+
"version": "0.0.4",
|
|
9
9
|
"keywords": [
|
|
10
10
|
"@studiocubics",
|
|
11
11
|
"cubics",
|
|
@@ -22,20 +22,17 @@
|
|
|
22
22
|
"type": "module",
|
|
23
23
|
"exports": {
|
|
24
24
|
".": {
|
|
25
|
-
"types": "./
|
|
26
|
-
"development": "./src/index.ts",
|
|
27
|
-
"production": "./dist/index.js",
|
|
25
|
+
"types": "./dist/index.d.ts",
|
|
28
26
|
"default": "./dist/index.js"
|
|
29
27
|
},
|
|
30
28
|
"./styles.css": "./dist/index.css"
|
|
31
29
|
},
|
|
32
30
|
"dependencies": {
|
|
33
31
|
"next-themes": "^0.4.6",
|
|
34
|
-
"@studiocubics/components": "^0.0.
|
|
32
|
+
"@studiocubics/components": "^0.0.4"
|
|
35
33
|
},
|
|
36
34
|
"devDependencies": {
|
|
37
35
|
"@eslint/js": "^9.39.1",
|
|
38
|
-
"@rollup/plugin-terser": "^0.4.4",
|
|
39
36
|
"@rollup/plugin-typescript": "^12.3.0",
|
|
40
37
|
"@types/node": "^24.10.1",
|
|
41
38
|
"@types/react": "^19",
|
|
@@ -48,6 +45,7 @@
|
|
|
48
45
|
"rollup": "^4.53.3",
|
|
49
46
|
"rollup-plugin-postcss": "^4.0.2",
|
|
50
47
|
"rollup-preserve-directives": "^1.1.3",
|
|
48
|
+
"rollup-plugin-bundle-stats": "^4.21.9",
|
|
51
49
|
"typescript-eslint": "^8.46.4",
|
|
52
50
|
"babel-plugin-react-compiler": "1.0.0",
|
|
53
51
|
"next": "16.1.6",
|
package/rollup.config.js
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { defineConfig } from "rollup";
|
|
2
|
-
import typescript from "@rollup/plugin-typescript";
|
|
3
|
-
import postcss from "rollup-plugin-postcss";
|
|
4
|
-
import terser from "@rollup/plugin-terser";
|
|
5
|
-
import preserveDirectives from "rollup-preserve-directives";
|
|
6
|
-
|
|
7
|
-
export default defineConfig({
|
|
8
|
-
input: "src/index.ts",
|
|
9
|
-
output: {
|
|
10
|
-
preserveModules: true,
|
|
11
|
-
preserveModulesRoot: "src",
|
|
12
|
-
dir: "dist",
|
|
13
|
-
format: "esm",
|
|
14
|
-
sourcemap: true,
|
|
15
|
-
},
|
|
16
|
-
plugins: [
|
|
17
|
-
preserveDirectives(),
|
|
18
|
-
postcss({
|
|
19
|
-
include: "**/*.module.css",
|
|
20
|
-
modules: true,
|
|
21
|
-
extract: true,
|
|
22
|
-
// minimize: true,
|
|
23
|
-
}),
|
|
24
|
-
typescript({ tsconfig: "./tsconfig.json" }),
|
|
25
|
-
// terser({ compress: { directives: false } }),
|
|
26
|
-
],
|
|
27
|
-
external: [
|
|
28
|
-
"react/jsx-runtime",
|
|
29
|
-
"react",
|
|
30
|
-
"react-dom",
|
|
31
|
-
"@studiocubics/components",
|
|
32
|
-
"next",
|
|
33
|
-
"next-themes",
|
|
34
|
-
"@monaco-editor/react",
|
|
35
|
-
"next/navigation",
|
|
36
|
-
],
|
|
37
|
-
});
|