Skip to content

Commit 8db99db

Browse files
authored
1.3.0 (#22)
* setup pnpm workspace, migrate playground to nuxt * add check for requestAnimationFrame * add proper handling of initial render styles, add comments * move playground styles to stylesheet * add more examples to playground * trigger playground deploy * fix publish workflow typo, set netlify nitro preset in nuxt config * cleanup nuxt init files * cleanup old vite files * edit examples styles comment * bump 1.3.0 * edit playground package name
1 parent 60d2206 commit 8db99db

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+504
-266
lines changed

.github/workflows/chrome-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ jobs:
1919
version: 8
2020
run_install: true
2121
- name: Chrome tests
22-
run: pnpm run test:chrome
22+
run: pnpm test:chrome

.github/workflows/firefox-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ jobs:
1919
version: 8
2020
run_install: true
2121
- name: Firefox tests
22-
run: pnpm run test:firefox
22+
run: pnpm test:firefox

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- uses: actions/checkout@v3
2121
- uses: actions/setup-node@v3
2222
with:
23-
node-version: '19.x'
23+
node-version: '20.x'
2424
registry-url: 'https://registry.npmjs.org'
2525
- uses: pnpm/action-setup@v2
2626
name: Install pnpm
@@ -30,8 +30,8 @@ jobs:
3030
- name: Build
3131
run: pnpm build
3232
- name: Pack
33-
run: rm -rf *.tgz && npm pack
33+
run: cd packages/vue-collapsed && rm -rf *.tgz && npm pack
3434
- name: Publish
35-
run: npm publish *.tgz --provenance
35+
run: cd packages/vue-collapsed && npm publish *.tgz --provenance
3636
env:
3737
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
pnpm-lock.yaml
2-
yarn-error.log*
3-
yarn.lock
42
node_modules
53
.DS_Store
64
dist

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,24 @@ Dynamic CSS height transition from _any to auto_ and vice versa. Accordion ready
88

99
<br />
1010

11-
Check out my other packages for Vue 3:
11+
Check out my other packages for Vue and Nuxt:
1212

1313
> 🔔 **Notivue**
1414
> _Fully-featured notification system for Vue and Nuxt._
1515
> [Visit repo ➔ ](https://github.com/smastrom/notivue)
1616
17+
> 🌀 **Vue Global Loader**
18+
> _Global loaders made easy for Vue and Nuxt._
19+
> [Visit repo ➔ ](https://github.com/smastrom/vue-global-loader)
20+
1721
> 👌 **Vue Use Active Scroll**
1822
> _Accurate TOC/sidebar links without compromises._
1923
> [Visit repo ➔ ](https://github.com/smastrom/vue-use-active-scroll)
2024
25+
> 🔥 **Vue Use Fixed Header**
26+
> _Turn your boring fixed header into a smart one with three lines of code._
27+
> [Visit repo ➔ ](https://github.com/smastrom/vue-use-fixed-header)
28+
2129
<br />
2230

2331
## Installation

demo/fakeData.json

Lines changed: 0 additions & 26 deletions
This file was deleted.

demo/favicon.ico

-4.19 KB
Binary file not shown.

demo/main.ts

Lines changed: 0 additions & 5 deletions
This file was deleted.

index.html

Lines changed: 0 additions & 17 deletions
This file was deleted.

package.json

Lines changed: 17 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -1,71 +1,26 @@
11
{
2-
"name": "vue-collapsed",
3-
"version": "1.2.9",
4-
"private": false,
5-
"description": "Dynamic CSS height transition from any to auto and vice versa for Vue 3. Accordion ready.",
6-
"keywords": [
7-
"vue",
8-
"vue-3",
9-
"vue-collapse",
10-
"vue-accordion",
11-
"collapse",
12-
"accordion",
13-
"vue-component"
14-
],
15-
"homepage": "https://vue-collapsed.netlify.app/",
16-
"bugs": {
17-
"url": "https://github.com/smastrom/vue-collapsed/issues"
2+
"name": "vue-collapsed-monorepo",
3+
"private": true,
4+
"packageManager": "[email protected]",
5+
"engines": {
6+
"node": ">=20.0.0"
187
},
19-
"repository": {
20-
"type": "git",
21-
"url": "https://github.com/smastrom/vue-collapsed.git"
22-
},
23-
"license": "MIT",
24-
"author": {
25-
"name": "Simone Mastromattei",
26-
"email": "[email protected]"
27-
},
28-
"main": "dist/index.js",
29-
"module": "dist/index.mjs",
30-
"types": "dist/index.d.ts",
31-
"exports": {
32-
".": {
33-
"import": "./dist/index.mjs",
34-
"require": "./dist/index.js",
35-
"types": "./dist/index.d.ts"
36-
}
37-
},
38-
"files": [
39-
"dist/*"
40-
],
418
"scripts": {
42-
"build": "vite build",
43-
"postbuild": "pnpm pack",
44-
"build:app": "vite build && vite build --mode app",
45-
"dev": "concurrently \"vite\" \"vite build --watch\"",
46-
"preview": "vite build:app && vite preview",
47-
"prepare": "husky install",
48-
"test:chrome": "pnpm build && cypress run --component --browser chrome",
49-
"test:firefox": "pnpm build && cypress run --component --browser firefox",
50-
"test:gui": "concurrently \"vite build --watch\" \"cypress open --component\""
51-
},
52-
"lint-staged": {
53-
"*.{ts,vue,md}": "prettier --write"
9+
"dev": "pnpm build && concurrently \"pnpm -C packages/vue-collapsed run watch\" \"pnpm -C playground install && pnpm -C playground run dev --host\"",
10+
"build": "pnpm -C packages/vue-collapsed run build",
11+
"build:app": "pnpm build && pnpm install && pnpm -C playground run build",
12+
"test:chrome": "pnpm -C packages/vue-collapsed run test:chrome",
13+
"test:firefox": "pnpm -C packages/vue-collapsed run test:firefox",
14+
"test:gui": "pnpm -C packages/vue-collapsed run test:gui",
15+
"prepare": "husky install"
5416
},
5517
"devDependencies": {
56-
"@rollup/plugin-terser": "^0.4.4",
57-
"@types/node": "^20.8.7",
58-
"@vitejs/plugin-vue": "^4.4.0",
5918
"concurrently": "^8.2.2",
60-
"cypress": "^13.3.2",
61-
"cypress-wait-frames": "^0.9.4",
6219
"husky": "^8.0.3",
63-
"lint-staged": "^15.0.2",
64-
"prettier": "^3.0.3",
65-
"typescript": "^5.2.2",
66-
"vite": "^4.5.0",
67-
"vite-plugin-dts": "^3.6.0",
68-
"vue": "^3.3.4",
69-
"vue-tsc": "^1.8.19"
20+
"lint-staged": "^15.2.0",
21+
"prettier": "^3.1.0"
22+
},
23+
"lint-staged": {
24+
"*.{js,ts,vue,json,css,md}": "prettier --write"
7025
}
7126
}

0 commit comments

Comments
 (0)