-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
mewton
committed
Sep 30, 2023
1 parent
3edce01
commit 583af90
Showing
38 changed files
with
975 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,3 @@ | ||
import baseConfig from '../../../tsconfig.json' | ||
|
||
export default defineNuxtConfig({ | ||
modules: ['../src/module'], | ||
srcDir: './src', | ||
css: ['~/assets/css/main.css'], | ||
|
||
typescript: { | ||
tsConfig: { | ||
compilerOptions: baseConfig.compilerOptions | ||
} | ||
} | ||
modules: ['../src/module'] | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
109 changes: 109 additions & 0 deletions
109
packages/enclosure-vue/vite.config.ts.timestamp-1696101532968-71ca697283907.mjs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,109 @@ | ||
// vite.config.ts | ||
import { defineConfig } from "file:///mnt/d/home/workspaces/passerelle-vue/node_modules/vite/dist/node/index.js"; | ||
import vue from "file:///mnt/d/home/workspaces/passerelle-vue/node_modules/@vitejs/plugin-vue/dist/index.mjs"; | ||
import dts from "file:///mnt/d/home/workspaces/passerelle-vue/node_modules/vite-plugin-dts/dist/index.mjs"; | ||
|
||
// package.json | ||
var package_default = { | ||
name: "@passerelle/enclosure-vue", | ||
version: "0.0.1", | ||
description: "passerelle enclosure module for vue2 or vue3", | ||
author: "mew-ton <[email protected]>", | ||
license: "MIT", | ||
repository: { | ||
type: "git", | ||
url: "[email protected]:hacomono-lib/passerelle.git", | ||
directory: "packages/enclosure-vue" | ||
}, | ||
type: "module", | ||
exports: { | ||
".": { | ||
types: "./dist/types.d.ts", | ||
import: "./dist/index.js", | ||
require: "./dist/index.cjs" | ||
}, | ||
"./*": "./*" | ||
}, | ||
main: "./dist/index.cjs", | ||
module: "./dist/index.js", | ||
types: "./dist/types.d.ts", | ||
files: [ | ||
"src", | ||
"dist" | ||
], | ||
scripts: { | ||
dev: "vite build --watch", | ||
build: "vite build", | ||
typecheck: "vue-tsc --noEmit -p tsconfig.json --composite false", | ||
clean: "rm -rf dist" | ||
}, | ||
dependencies: { | ||
"@intlify/vue-router-bridge": "^1.0.1", | ||
"@passerelle/enclosure": "^1.0.0", | ||
"type-assurer": "^0.1.1", | ||
"vue-demi": "^0.13.11" | ||
}, | ||
devDependencies: { | ||
"@types/node": "^18", | ||
"@vitejs/plugin-vue": "^4.2.3", | ||
"@vue/composition-api": "^1.7.2", | ||
"@vue/tsconfig": "^0.4.0", | ||
typescript: "^5.1.6", | ||
vite: "^4.3.9", | ||
"vite-plugin-dts": "^3.2.0", | ||
vitest: "^0.32.2", | ||
"vue-tsc": "^1.6.5" | ||
}, | ||
peerDependencies: { | ||
"@vue/composition-api": "^1.0.0", | ||
vue: "^2.6.0 || >=3.0.0", | ||
"vue-router": "^4.0.0 || ^3.0.0" | ||
}, | ||
peerDependenciesMeta: { | ||
"@vue/composition-api": { | ||
optional: true | ||
}, | ||
"vue-router": { | ||
optional: true | ||
} | ||
}, | ||
publishConfig: { | ||
access: "public" | ||
} | ||
}; | ||
|
||
// vite.config.ts | ||
var devMode = process.env["NODE_ENV"] === "development"; | ||
var vite_config_default = defineConfig({ | ||
plugins: [ | ||
vue(), | ||
dts({ | ||
rollupTypes: true | ||
}) | ||
], | ||
build: { | ||
emptyOutDir: true, | ||
minify: false, | ||
cssCodeSplit: false, | ||
sourcemap: true, | ||
lib: { | ||
entry: "src/index.ts", | ||
name: "PasserelleEnclosureVue", | ||
formats: ["es", "cjs"], | ||
fileName: "index" | ||
}, | ||
rollupOptions: { | ||
external: [...Object.keys(package_default.dependencies), ...Object.keys(package_default.peerDependencies)] | ||
} | ||
}, | ||
esbuild: { | ||
pure: devMode ? [] : ["console.log", "console.info", "console.debug"] | ||
}, | ||
optimizeDeps: { | ||
exclude: ["vue-demi", "@intlify/vue-router-bridge"] | ||
} | ||
}); | ||
export { | ||
vite_config_default as default | ||
}; | ||
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcudHMiLCAicGFja2FnZS5qc29uIl0sCiAgInNvdXJjZXNDb250ZW50IjogWyJjb25zdCBfX3ZpdGVfaW5qZWN0ZWRfb3JpZ2luYWxfZGlybmFtZSA9IFwiL21udC9kL2hvbWUvd29ya3NwYWNlcy9wYXNzZXJlbGxlLXZ1ZS9wYWNrYWdlcy9lbmNsb3N1cmUtdnVlXCI7Y29uc3QgX192aXRlX2luamVjdGVkX29yaWdpbmFsX2ZpbGVuYW1lID0gXCIvbW50L2QvaG9tZS93b3Jrc3BhY2VzL3Bhc3NlcmVsbGUtdnVlL3BhY2thZ2VzL2VuY2xvc3VyZS12dWUvdml0ZS5jb25maWcudHNcIjtjb25zdCBfX3ZpdGVfaW5qZWN0ZWRfb3JpZ2luYWxfaW1wb3J0X21ldGFfdXJsID0gXCJmaWxlOi8vL21udC9kL2hvbWUvd29ya3NwYWNlcy9wYXNzZXJlbGxlLXZ1ZS9wYWNrYWdlcy9lbmNsb3N1cmUtdnVlL3ZpdGUuY29uZmlnLnRzXCI7aW1wb3J0IHsgZGVmaW5lQ29uZmlnIH0gZnJvbSAndml0ZSdcbmltcG9ydCB2dWUgZnJvbSA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BQU07QUFBQSxNQUNOLFNBQVMsQ0FBQyxNQUFNLEtBQUs7QUFBQSxNQUNyQixVQUFVO0FBQUEsSUFDWjtBQUFBLElBQ0EsZUFBZTtBQUFBLE1BQ2IsVUFBVSxDQUFDLEdBQUcsT0FBTyxLQUFLLGdCQUFTLFlBQVksR0FBRyxHQUFHLE9BQU8sS0FBSyxnQkFBUyxnQkFBZ0IsQ0FBQztBQUFBLElBQzdGO0FBQUEsRUFDRjtBQUFBLEVBQ0EsU0FBUztBQUFBLElBQ1AsTUFBTSxVQUFVLENBQUMsSUFBSSxDQUFDLGVBQWUsZ0JBQWdCLGVBQWU7QUFBQSxFQUN0RTtBQUFBLEVBQ0EsY0FBYztBQUFBLElBQ1osU0FBUyxDQUFDLFlBQVksNEJBQTRCO0FBQUEsRUFDcEQ7QUFDRixDQUFDOyIsCiAgIm5hbWVzIjogW10KfQo= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,7 @@ | ||
import baseConfig from '../../../tsconfig.json' | ||
|
||
export default defineNuxtConfig({ | ||
modules: ['../src/module'], | ||
srcDir: './src', | ||
css: ['~/assets/css/main.css'], | ||
|
||
passerelle: { | ||
key: 'passerelle-playground' | ||
}, | ||
|
||
typescript: { | ||
tsConfig: { | ||
compilerOptions: baseConfig.compilerOptions | ||
} | ||
} | ||
}) |
Oops, something went wrong.