@histoire/vendors 0.8.0

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/entries.js ADDED
@@ -0,0 +1,10 @@
1
+ export const entries = [
2
+ 'src/client/floating-vue.ts',
3
+ 'src/client/iconify.ts',
4
+ 'src/client/pinia.ts',
5
+ 'src/client/scroll.ts',
6
+ 'src/client/shiki.ts',
7
+ 'src/client/vue-router.ts',
8
+ 'src/client/vue-use.ts',
9
+ 'src/client/vue.ts',
10
+ ]
package/package.json ADDED
@@ -0,0 +1,43 @@
1
+ {
2
+ "name": "@histoire/vendors",
3
+ "version": "0.8.0",
4
+ "description": "Bundled vendors for histoire",
5
+ "license": "MIT",
6
+ "author": {
7
+ "name": "Guillaume Chau"
8
+ },
9
+ "repository": {
10
+ "url": "https://github.com/Akryum/histoire.git",
11
+ "type": "git",
12
+ "directory": "packages/histoire-vendors"
13
+ },
14
+ "publishConfig": {
15
+ "access": "public"
16
+ },
17
+ "type": "module",
18
+ "exports": {
19
+ "./client/*": "./dist/client/*.js",
20
+ "./*": "./*"
21
+ },
22
+ "sideEffects": false,
23
+ "devDependencies": {
24
+ "@iconify/vue": "^3.2.1",
25
+ "@rollup/plugin-commonjs": "^22.0.1",
26
+ "@rollup/plugin-node-resolve": "^13.3.0",
27
+ "@types/node": "^18.0.3",
28
+ "@vueuse/core": "^8.2.5",
29
+ "floating-vue": "^2.0.0-beta.16",
30
+ "pinia": "^2.0.13",
31
+ "rollup": "^2.75.7",
32
+ "rollup-plugin-typescript2": "^0.32.1",
33
+ "scroll-into-view-if-needed": "^2.2.29",
34
+ "shiki": "^0.10.1",
35
+ "typescript": "^4.7.4",
36
+ "vue-router": "^4.0.14",
37
+ "vue": "^3.2.31"
38
+ },
39
+ "scripts": {
40
+ "build": "rimraf dist && rollup -c rollup.config.js",
41
+ "watch": "rollup -c rollup.config.js"
42
+ }
43
+ }
@@ -0,0 +1,37 @@
1
+ import { defineConfig } from 'rollup'
2
+ import ts from 'rollup-plugin-typescript2'
3
+ import resolve from '@rollup/plugin-node-resolve'
4
+ import commonjs from '@rollup/plugin-commonjs'
5
+ import { entries } from './entries.js'
6
+
7
+ export default defineConfig({
8
+ input: entries,
9
+
10
+ plugins: [
11
+ resolve({ preferBuiltins: true }),
12
+ commonjs(),
13
+ ts({
14
+ check: false,
15
+ tsconfigOverride: {
16
+ compilerOptions: {
17
+ rootDir: 'src/client',
18
+ },
19
+ },
20
+ }),
21
+ ],
22
+
23
+ output: {
24
+ format: 'es',
25
+ exports: 'auto',
26
+ entryFileNames: '[name].js',
27
+ chunkFileNames: '[name].js',
28
+ assetFileNames: '[name][extname]',
29
+ hoistTransitiveImports: false,
30
+ dir: 'dist/client',
31
+ },
32
+
33
+ external: [],
34
+
35
+ treeshake: false,
36
+ preserveEntrySignatures: 'strict',
37
+ })
@@ -0,0 +1,2 @@
1
+ export * from '../../node_modules/floating-vue'
2
+ export { default as FloatingVue } from '../../node_modules/floating-vue'
@@ -0,0 +1 @@
1
+ export * from '../../node_modules/@iconify/vue'
@@ -0,0 +1 @@
1
+ export * from '../../node_modules/pinia'
@@ -0,0 +1 @@
1
+ export { default as scrollIntoView } from '../../node_modules/scroll-into-view-if-needed'
@@ -0,0 +1 @@
1
+ export * from '../../node_modules/shiki'
@@ -0,0 +1 @@
1
+ export * from '../../node_modules/vue-router'
@@ -0,0 +1 @@
1
+ export * from '../../node_modules/@vueuse/core'
@@ -0,0 +1 @@
1
+ export * from '../../node_modules/vue'
package/tsconfig.json ADDED
@@ -0,0 +1,36 @@
1
+ {
2
+ "compilerOptions": {
3
+ "target": "ESNext",
4
+ "module": "ESNext",
5
+ "moduleResolution": "node",
6
+ "outDir": "dist",
7
+ "allowSyntheticDefaultImports": true,
8
+ "esModuleInterop": true,
9
+ "removeComments": false,
10
+ "resolveJsonModule": true,
11
+ "skipLibCheck": true,
12
+ "declaration": true,
13
+ "types": [
14
+ "node",
15
+ "@peeky/test"
16
+ ],
17
+ "lib": [
18
+ "ESNext",
19
+ "DOM"
20
+ ],
21
+ "sourceMap": false,
22
+ "preserveWatchOutput": true,
23
+ "preserveSymlinks": true,
24
+ // Strict
25
+ "noImplicitAny": false,
26
+ "noImplicitThis": true,
27
+ "alwaysStrict": true,
28
+ "strictBindCallApply": true,
29
+ "strictFunctionTypes": true,
30
+ // Volar
31
+ "jsx": "preserve",
32
+ },
33
+ "include": [
34
+ "src"
35
+ ]
36
+ }