Skip to content

Commit

Permalink
Final changes before first release.
Browse files Browse the repository at this point in the history
  • Loading branch information
KenEucker committed Jan 8, 2024
1 parent bf5c7ae commit 4c924e9
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 46 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ jobs:
run: npm run lint
- name: Build
run: npm run pub:build
- name: Expose build
run: npm run pub:expose
- name: Release
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
Expand Down
40 changes: 0 additions & 40 deletions .github/workflows/tests.yaml

This file was deleted.

15 changes: 10 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,16 @@
"name": "biketag-vue",
"version": "3.2.7",
"license": "AGPL-3.0-or-later",
"author": "Ken Eucker",
"bugs": {
"url": "https://github.com/keneucker/biketag-vue/issues"
},
"scripts": {
"lint": "npm run lint:js && npm run lint:style",
"lint:js": "eslint --ext .ts,.js,.vue src --fix",
"lint:style": "stylelint \"./src/**/*.vue\" \"./src/**/*.scss\" --fix",
"serve": "vite",
"pub:expose": "mv dist/publish.d.ts ./ publish.d.ts && mv dist/biketag-vue.umd.js ./biketag-vue.umd.js && mv dist/biketag-vue.mjs ./biketag-vue.mjs && mv dist/style.css ./style.css && mv dist/components ./components && mv dist/common ./common && mv dist/store ./store",
"pub:build": "vue-tsc && vite build --config publish.config.ts",
"build": "vite build",
"dev:rerun": "npm run dev:clear && npm run dev",
Expand Down Expand Up @@ -104,7 +109,7 @@
"workbox-window": "^7.0.0"
},
"engines": {
"node": ">=12.13.0"
"node": ">=18"
},
"lint-staged": {
"*.ts": [
Expand Down Expand Up @@ -134,12 +139,12 @@
"src/components/"
],
"types": "./dist/index.d.ts",
"main": "./dist/vue-tri-state-checkbox.umd.cjs",
"module": "./dist/vue-tri-state-checkbox.js",
"main": "./dist/biketag-vue.umd.cjs",
"module": "./dist/biketag-vue.js",
"exports": {
".": {
"import": "./dist/vue-tri-state-checkbox.js",
"require": "./dist/vue-tri-state-checkbox.umd.cjs"
"import": "./dist/biketag-vue.js",
"require": "./dist/biketag-vue.umd.cjs"
},
"./dist/style.css": {
"import": "./dist/style.css",
Expand Down
2 changes: 1 addition & 1 deletion publish.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default defineConfig({
lib: {
entry: path.resolve(__dirname, 'src/publish.ts'),
name: 'BikeTag',
fileName: 'biketag',
fileName: 'biketag-vue',
},
rollupOptions: {
external: ['vue'],
Expand Down

0 comments on commit 4c924e9

Please sign in to comment.