uibee 2.3.6 → 2.3.9
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/src/index.d.ts +1 -0
- package/dist/src/index.js +1 -0
- package/dist/src/scripts/buildCss.js +1 -1
- package/dist/src/styles/index.d.ts +1 -0
- package/dist/src/styles/index.js +1 -0
- package/package.json +4 -5
- package/src/index.ts +1 -0
- package/src/scripts/buildCss.ts +1 -1
- package/src/styles/index.ts +1 -0
- package/tsconfig.json +4 -1
- /package/dist/{globals.css → src/globals.css} +0 -0
package/dist/src/index.d.ts
CHANGED
package/dist/src/index.js
CHANGED
|
@@ -6,7 +6,7 @@ export default async function buildCss() {
|
|
|
6
6
|
const tailwindConfig = tailwindModule.default ?? tailwindModule;
|
|
7
7
|
const tailwindPostcss = (await import('@tailwindcss/postcss')).default;
|
|
8
8
|
const inputPath = path.resolve('./src/globals.css');
|
|
9
|
-
const outputPath = path.resolve('./dist/globals.css');
|
|
9
|
+
const outputPath = path.resolve('./dist/src/globals.css');
|
|
10
10
|
const inputCss = readFileSync(inputPath, 'utf-8');
|
|
11
11
|
const result = await postcss([tailwindPostcss(tailwindConfig)]).process(inputCss, {
|
|
12
12
|
from: inputPath,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '../globals.css';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '../globals.css';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "uibee",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.9",
|
|
4
4
|
"description": "Shared components, functions and hooks for reuse across Login projects",
|
|
5
5
|
"homepage": "https://github.com/Login-Linjeforening-for-IT/uibee#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -13,15 +13,14 @@
|
|
|
13
13
|
"license": "ISC",
|
|
14
14
|
"author": "",
|
|
15
15
|
"type": "module",
|
|
16
|
-
"main": "dist/index.js",
|
|
17
|
-
"types": "dist/index.d.ts",
|
|
16
|
+
"main": "./dist/src/index.js",
|
|
17
|
+
"types": "./dist/src/index.d.ts",
|
|
18
18
|
"exports": {
|
|
19
|
-
".": "./dist/src/index.js",
|
|
20
19
|
"./hooks": "./dist/src/hooks/index.js",
|
|
21
20
|
"./components": "./dist/src/components/index.js",
|
|
22
21
|
"./scripts": "./dist/src/scripts/index.js",
|
|
23
22
|
"./utils": "./dist/src/utils/index.js",
|
|
24
|
-
"./styles": "./dist/
|
|
23
|
+
"./styles": "./dist/src/styles/index.js"
|
|
25
24
|
},
|
|
26
25
|
"scripts": {
|
|
27
26
|
"build:clean": "rm -rf dist",
|
package/src/index.ts
CHANGED
package/src/scripts/buildCss.ts
CHANGED
|
@@ -7,7 +7,7 @@ export default async function buildCss() {
|
|
|
7
7
|
const tailwindConfig = tailwindModule.default ?? tailwindModule
|
|
8
8
|
const tailwindPostcss = (await import('@tailwindcss/postcss')).default
|
|
9
9
|
const inputPath = path.resolve('./src/globals.css')
|
|
10
|
-
const outputPath = path.resolve('./dist/globals.css')
|
|
10
|
+
const outputPath = path.resolve('./dist/src/globals.css')
|
|
11
11
|
const inputCss = readFileSync(inputPath, 'utf-8')
|
|
12
12
|
const result = await postcss([tailwindPostcss(tailwindConfig)]).process(inputCss, {
|
|
13
13
|
from: inputPath,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '../globals.css'
|
package/tsconfig.json
CHANGED
|
File without changes
|