Skip to content

Commit

Permalink
2.0.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
nolimits4web committed Jun 27, 2023
1 parent f9ccc98 commit abb1ba9
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 14 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ build
node_modules
package
postinstall.js
scripts/release.js
6 changes: 0 additions & 6 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
const rules = {
'no-param-reassign': 'off',
// 'no-underscore-dangle': 'off',
// 'prefer-object-spread': 'off',
// 'prefer-destructuring': 'off',
'import/prefer-default-export': 'off',
// 'no-shadow': 'off',
// 'guard-for-in': 'off',
// 'no-restricted-syntax': 'off',
'import/extensions': 'off',
'import/no-extraneous-dependencies': 'off',
'no-console': 'off',
Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

# [2.0.0](https://github.com/nolimits4web/atropos/compare/v1.0.2...v2.0.0) (2023-06-27)

### Features

- add Atropos web component ([cef009b](https://github.com/nolimits4web/atropos/commit/cef009b8816012efbaa9ba08de3267fa5da1ee6d))
- add element types + refactor package structure ([57108fa](https://github.com/nolimits4web/atropos/commit/57108faf8a2fe5febc247244a4857a40ef076322))
- remove Vue and Svelte components ([#40](https://github.com/nolimits4web/atropos/issues/40)) ([9850bf7](https://github.com/nolimits4web/atropos/commit/9850bf7ee3b99f4b25be6fbefe55554d12342bd9))

# [1.0.2](https://github.com/nolimits4web/atropos/compare/v1.0.1...v1.0.2) (2022-02-17)

### Bug Fixes
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "atropos-src",
"version": "1.0.2",
"version": "2.0.0",
"description": "Touch-friendly 3D parallax hover effects",
"scripts": {
"/*============ Build ============*/": "============",
Expand Down
4 changes: 2 additions & 2 deletions package/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "atropos",
"version": "1.0.2",
"version": "2.0.0",
"description": "Touch-friendly 3D parallax hover effects",
"types": "atropos.d.ts",
"type": "module",
Expand Down Expand Up @@ -60,5 +60,5 @@
"engines": {
"node": ">= 12.0.0"
},
"releaseDate": "February 17, 2022"
"releaseDate": "June 27, 2023"
}
1 change: 0 additions & 1 deletion scripts/build-react.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ const bannerReact = require('./banner')('React');
module.exports = async () => {
const env = process.env.NODE_ENV || 'development';
const outputDir = env === 'development' ? 'build' : 'package';

await exec(
`cross-env MODULES=esm npx babel --config-file ./babel.config.react.js src/react/atropos-react.js --out-file ${outputDir}/atropos-react.mjs`,
);
Expand Down
5 changes: 3 additions & 2 deletions scripts/release.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
/* eslint-disable no-await-in-loop */
/* eslint-disable */
const exec = require('exec-sh');
const inquirer = require('inquirer');
const fs = require('fs');
const path = require('path');
const pkg = require('../package.json');
const childPkg = require('../package/package.json');

async function release() {
// eslint-disable-next-line
const { default: inquirer } = await import('inquirer');
const date = new Date();
const formatter = new Intl.DateTimeFormat('en', {
day: 'numeric',
Expand Down

0 comments on commit abb1ba9

Please sign in to comment.