fansunited-frontend-components 0.0.1-RC2 → 0.0.1-RC4

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/package.json CHANGED
@@ -1,32 +1,8 @@
1
1
  {
2
2
  "name": "fansunited-frontend-components",
3
- "version": "0.0.1-RC2",
3
+ "version": "0.0.1-RC4",
4
4
  "description": "Various user centric components for Fans United features",
5
- "type": "module",
6
- "main": "./dist/esm/components.js",
7
- "module": "./dist/esm/components.js",
8
- "exports": {
9
- ".": {
10
- "import": "./dist/esm/components.js",
11
- "require": "./dist/esm/components.js"
12
- }
13
- },
14
- "files": [
15
- "dist"
16
- ],
17
- "scripts": {
18
- "build": "npm run build:esm",
19
- "build:esm": "tsc -b && vite build --config vite.config.ts",
20
- "build:umd": "tsc -b && vite build --config vite.config.umd.ts"
21
- },
22
- "devDependencies": {
23
- "vite": "^5.0.0",
24
- "vite-plugin-dts": "^3.0.0",
25
- "@vitejs/plugin-react": "^4.0.0",
26
- "typescript": "^5.0.0"
27
- },
28
- "peerDependencies": {
29
- "react": ">=16.8.0",
30
- "react-dom": ">=16.8.0"
31
- }
5
+ "main": "components.js",
6
+ "author": "Fans United",
7
+ "homepage": "https://fansunitedmedia.com/"
32
8
  }
@@ -1 +1 @@
1
- {"version":3,"file":"vite.config.d.ts","sourceRoot":"","sources":["../../vite.config.ts"],"names":[],"mappings":";AAKA,wBAyCG"}
1
+ {"version":3,"file":"vite.config.d.ts","sourceRoot":"","sources":["../../vite.config.ts"],"names":[],"mappings":";AAKA,wBAoCG"}
@@ -1,3 +0,0 @@
1
- import ClassicQuizPlay from "@fansunited/classic-quiz-play";
2
- export { ClassicQuizPlay };
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,eAAe,MAAM,+BAA+B,CAAC;AAE5D,OAAO,EAAE,eAAe,EAAE,CAAC"}
package/dist/src/index.js DELETED
@@ -1,2 +0,0 @@
1
- import ClassicQuizPlay from "@fansunited/classic-quiz-play";
2
- export { ClassicQuizPlay };
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=indexUmd.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"indexUmd.d.ts","sourceRoot":"","sources":["../../src/indexUmd.ts"],"names":[],"mappings":""}
@@ -1,4 +0,0 @@
1
- import ClassicQuizPlay from "@fansunited/classic-quiz-play";
2
- if (typeof window !== "undefined") {
3
- window.ClassicQuizPlay = ClassicQuizPlay;
4
- }
@@ -1 +0,0 @@
1
- {"root":["../src/index.ts","../src/indexumd.ts","../vite.config.ts","../vite.config.umd.ts"],"version":"5.6.3"}
@@ -1,3 +0,0 @@
1
- declare const _default: import("vite").UserConfig;
2
- export default _default;
3
- //# sourceMappingURL=vite.config.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"vite.config.d.ts","sourceRoot":"","sources":["../vite.config.ts"],"names":[],"mappings":";AAKA,wBAyCG"}
@@ -1,43 +0,0 @@
1
- import { defineConfig } from "vite";
2
- import { resolve } from "path";
3
- import react from "@vitejs/plugin-react";
4
- import dts from "vite-plugin-dts";
5
- export default defineConfig({
6
- plugins: [
7
- react(),
8
- dts({
9
- insertTypesEntry: true,
10
- }),
11
- ],
12
- resolve: {
13
- alias: {
14
- // "@": resolve(__dirname, "./src"),
15
- "@fansunited/common": resolve(__dirname, "../common/src"),
16
- "@fansunited/classic-quiz-play": resolve(__dirname, "../classic-quiz-play/src"),
17
- // "@fansunited/classic-quiz-awareness": resolve(
18
- // __dirname,
19
- // "../classic-quiz-awareness/src"
20
- // ),
21
- },
22
- },
23
- build: {
24
- outDir: "dist/esm",
25
- lib: {
26
- entry: resolve(__dirname, "src/index.ts"),
27
- name: "FansUnitedFrontendComponents",
28
- formats: ["es"],
29
- fileName(_, __) {
30
- return `components.js`;
31
- },
32
- },
33
- rollupOptions: {
34
- external: ["react", "react-dom"],
35
- output: {
36
- globals: {
37
- react: "React",
38
- "react-dom": "ReactDOM",
39
- },
40
- },
41
- },
42
- },
43
- });
@@ -1,3 +0,0 @@
1
- declare const _default: import("vite").UserConfig;
2
- export default _default;
3
- //# sourceMappingURL=vite.config.umd.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"vite.config.umd.d.ts","sourceRoot":"","sources":["../vite.config.umd.ts"],"names":[],"mappings":";AAKA,wBAiCG"}
@@ -1,35 +0,0 @@
1
- import { defineConfig } from "vite";
2
- import { resolve } from "path";
3
- import react from "@vitejs/plugin-react";
4
- import dts from "vite-plugin-dts";
5
- export default defineConfig({
6
- plugins: [
7
- react(),
8
- dts({
9
- insertTypesEntry: true,
10
- }),
11
- ],
12
- resolve: {
13
- alias: {
14
- // "@": resolve(__dirname, "./src"),
15
- "@fansunited/common": resolve(__dirname, "../common/src"),
16
- "@fansunited/classic-quiz-play": resolve(__dirname, "../classic-quiz-play/src"),
17
- },
18
- },
19
- build: {
20
- outDir: "dist/umd",
21
- lib: {
22
- entry: resolve(__dirname, "src/indexUmd.ts"),
23
- fileName(_, __) {
24
- return `components.js`;
25
- },
26
- name: "FansUnitedFrontendComponents",
27
- formats: ["umd"],
28
- },
29
- rollupOptions: {
30
- output: {
31
- globals: {},
32
- },
33
- },
34
- },
35
- });
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes