@neutron.co.id/operasional-interfaces 1.0.1-beta.2

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.
@@ -0,0 +1,4 @@
1
+ import { Plugin } from 'vue';
2
+ export declare const OperasionalInterfacesPlugin: Plugin;
3
+ export * from './components';
4
+ export * from './types';
@@ -0,0 +1,4 @@
1
+ export * as Schema from '../gql/graphql';
2
+ export * from './type.utils';
3
+ export interface PluginOptions {
4
+ }
@@ -0,0 +1,7 @@
1
+ import { PropType } from 'vue';
2
+ export type Maybe<TValue> = TValue | null;
3
+ export type MaybeProp<TValue> = PropType<TValue | null>;
4
+ export type ExtractMaybe<TMaybe> = TMaybe extends Maybe<infer TReturn> ? TReturn extends null | undefined ? never : TReturn : never;
5
+ export type ExtractMaybes<TSchema extends Record<string, unknown>, TKeys extends keyof TSchema> = {
6
+ [TKey in keyof TSchema]: TKey extends TKeys ? ExtractMaybe<TSchema[TKey]> : TSchema[TKey];
7
+ };
package/package.json ADDED
@@ -0,0 +1,134 @@
1
+ {
2
+ "name": "@neutron.co.id/operasional-interfaces",
3
+ "version": "1.0.1-beta.2",
4
+ "description": "Interface library of Neutron.",
5
+ "sideEffects": [
6
+ "*.css"
7
+ ],
8
+ "exports": {
9
+ ".": {
10
+ "types": "./build/types/index.d.ts",
11
+ "import": "./build/index.mjs",
12
+ "require": "./build/index.cjs"
13
+ },
14
+ "./style.css": {
15
+ "import": "./build/style.css",
16
+ "require": "./build/style.css"
17
+ },
18
+ "./nuxt": {
19
+ "types": "./build/types.d.ts",
20
+ "import": "./build/nuxt.mjs",
21
+ "require": "./build/nuxt.cjs"
22
+ }
23
+ },
24
+ "main": "./build/index.cjs",
25
+ "module": "build/index.mjs",
26
+ "types": "./build/types/index.d.ts",
27
+ "files": [
28
+ "build"
29
+ ],
30
+ "scripts": {
31
+ "build": "yarn clean && yarn warm && yarn build:package && yarn build:types ",
32
+ "build:docs": "NITRO_PRESET=vercel nuxt build",
33
+ "build:docs:edge": "NITRO_PRESET=vercel-edge nuxt build",
34
+ "build:docs:preview": "nuxt build",
35
+ "build:docs:static": "nuxt generate",
36
+ "build:module": "neon-module-build",
37
+ "build:package": "tsx scripts/build.ts",
38
+ "build:story": "yarn warm && storybook build",
39
+ "build:types": "vue-tsc --project tsconfig.package.json",
40
+ "clean": "rm -rf dist build",
41
+ "deploy:docs": "yarn build:docs && vercel deploy --prebuilt",
42
+ "deploy:docs:edge": "yarn build:docs:edge && vercel deploy --prebuilt",
43
+ "deploy:pages": "yarn dlx wrangler pages project create vrt-operasional-interfaces --production-branch=main || true && yarn build:story && yarn dlx wrangler pages publish storybook-static --project-name=vrt-operasional-interfaces --branch=main --commit-dirty=true",
44
+ "deploy:story": "yarn warm && chromatic --project-token=26bead87a74d --build-script-name=build:story --exit-once-uploaded --auto-accept-changes --exit-zero-on-changes",
45
+ "generate:gql": "graphql-codegen --config codegen.ts",
46
+ "lint:script": "eslint --ext .ts,vue --ignore-path .gitignore .",
47
+ "lint:style": "stylelint src/**/*.{css,scss,vue}",
48
+ "play": "nuxt dev --port 3333",
49
+ "play:secure": "nuxt dev --port 3333 --https --ssl-cert ./localhost.crt --ssl-key ./localhost.key",
50
+ "play:story": "storybook dev -p 6006",
51
+ "preview": "nuxt preview --port 3333",
52
+ "preview:node": "node .output/server/index.mjs --port 3333",
53
+ "reset": "rm -rf dist build .nuxt .output && yarn warm",
54
+ "warm": "nuxt prepare"
55
+ },
56
+ "dependencies": {
57
+ "@neon.id/context": "0.15.0",
58
+ "@neon.id/interfaces": "0.150.0",
59
+ "@neon.id/office": "0.8.1",
60
+ "@neon.id/utils": "0.33.4",
61
+ "@neutron.co.id/personalia-models": "1.1.0",
62
+ "@nuxt/kit": "3.0.0",
63
+ "vue": "3.2.45"
64
+ },
65
+ "devDependencies": {
66
+ "@faker-js/faker": "7.6.0",
67
+ "@graphql-codegen/cli": "2.16.4",
68
+ "@graphql-codegen/client-preset": "1.2.6",
69
+ "@neon.id/module-builder": "0.12.4",
70
+ "@neon.id/styles": "0.14.2",
71
+ "@neon.id/types": "1.36.1",
72
+ "@nuxtjs/eslint-config-typescript": "12.0.0",
73
+ "@nuxtjs/eslint-module": "3.1.0",
74
+ "@nuxtjs/tailwindcss": "6.2.0",
75
+ "@pinia/nuxt": "0.4.6",
76
+ "@storybook/addon-docs": "7.0.0-beta.29",
77
+ "@storybook/addon-essentials": "7.0.0-beta.29",
78
+ "@storybook/addon-interactions": "7.0.0-beta.29",
79
+ "@storybook/addon-links": "7.0.0-beta.29",
80
+ "@storybook/testing-library": "0.0.14-next.1",
81
+ "@storybook/vue3": "7.0.0-beta.29",
82
+ "@storybook/vue3-vite": "7.0.0-beta.29",
83
+ "@types/react": "18.0.26",
84
+ "@types/react-dom": "18.0.10",
85
+ "@typescript-eslint/eslint-plugin": "5.48.2",
86
+ "@typescript-eslint/parser": "5.48.2",
87
+ "@vitejs/plugin-vue": "4.0.0",
88
+ "@vue-macros/nuxt": "0.2.15",
89
+ "@vue-macros/volar": "0.5.14",
90
+ "@vue/eslint-config-prettier": "7.0.0",
91
+ "@vue/eslint-config-typescript": "11.0.2",
92
+ "@vueuse/core": "9.11.0",
93
+ "@vueuse/head": "1.0.22",
94
+ "@vueuse/nuxt": "9.11.0",
95
+ "autoprefixer": "10.4.13",
96
+ "buffer": "6.0.3",
97
+ "chromatic": "6.14.0",
98
+ "defu": "6.1.1",
99
+ "eslint": "8.32.0",
100
+ "eslint-plugin-nuxt": "4.0.0",
101
+ "eslint-plugin-prettier": "4.2.1",
102
+ "eslint-plugin-storybook": "0.6.10",
103
+ "eslint-plugin-vue": "9.9.0",
104
+ "nuxt": "3.0.0",
105
+ "pinia": "2.0.29",
106
+ "postcss": "8.4.21",
107
+ "postcss-custom-properties": "12.1.11",
108
+ "prettier": "2.8.3",
109
+ "react": "18.2.0",
110
+ "react-dom": "18.2.0",
111
+ "rollup-plugin-visualizer": "5.9.0",
112
+ "storybook": "7.0.0-beta.29",
113
+ "tsx": "3.12.2",
114
+ "typescript": "4.9.4",
115
+ "unplugin-vue-macros": "1.4.1",
116
+ "vite": "4.0.4",
117
+ "vitest": "0.27.2",
118
+ "vue-router": "4.1.6",
119
+ "vue-tsc": "1.0.24"
120
+ },
121
+ "peerDependencies": {
122
+ "@neon.id/context": "^0.15.0",
123
+ "@neon.id/interfaces": "^0.150.0",
124
+ "@neon.id/office": "^0.8.1",
125
+ "@neon.id/utils": "^0.33.4",
126
+ "@neutron.co.id/personalia-models": "^1.1.0",
127
+ "@nuxt/kit": "^3.0.0",
128
+ "vue": "^3.2.45"
129
+ },
130
+ "publishConfig": {
131
+ "access": "public"
132
+ },
133
+ "build": 48
134
+ }