1
0
mirror of https://github.com/nostalgic-css/NES.css.git synced 2025-01-17 13:48:13 +01:00

45 Commits

Author SHA1 Message Date
Alpha
b6f833253a docs: add LTS version for node engine 2019-10-14 16:33:46 +08:00
ダーシノ - B.C.Rikko
94e766e778
Merge branch 'develop' into refactor/convert-cursor-images-to-data-uris 2019-06-04 09:18:28 +09:00
BcRikko
e4b36ff4ef chore: security update 2019-05-31 10:39:05 +09:00
Trezy
8fe6d40e19 refactor: convert local images to data URIs
I’ve added a SCSS function that, when passed a file path, will inject the file as a data URI. This
is super helpful since it ensures that the cursor images will always be available for the CSS. This
issue currently prevents the npm version of the library from being usable at all.
2019-05-22 16:18:02 -05:00
BcRikko
f8c0f8d15f chore: security update
a vulnerability was found in node-tar before version 4.4.2.
2019-05-13 07:50:55 +09:00
Igor Guastalla de Lima
58a8a1bd0b chore(storybook): update storybook to version 5 2019-03-05 14:37:51 -03:00
BcRikko
6c05cf26cb docs(storybook): rename docs to story
i'd like to use docs as demo site directory
2019-02-20 19:46:19 +09:00
Sazzad Sazib
7370622967 fix: revert package.json and package-lock.json 2019-02-19 18:18:53 +06:00
Sazzad Sazib
88e2364967 feat: added instagram icon 2019-02-19 15:21:01 +06:00
BcRikko
d9681f1388 feat: fix index.html
remove p element from code and add highlight.js
2019-02-08 21:42:27 +09:00
BcRikko
b68e12f6c0 refactor: uninstall file-loader 2019-02-06 13:20:55 +09:00
Trezy
1b0db4ab1d refactor(cursors): Use data-uris for cursors
I've switched us from using `file-loader` to `url-loader`. This will automatically convert local URL
imports to data URIs, which means the framework no longer needs to load them from a remote URL.

#207
2019-01-30 13:31:30 -06:00
ダーシノ
3eacba9c99 Add components dir and split css file (#224)
* refactor: add components directory

ref #166

* build: split nes.scss into nes.css and nes-core.css

and change npm scripts for build

ref #166

* docs(readme.md): add nes-core.css link

* docs: add components directory path

and minor modification of the document
2018-12-29 01:00:31 +02:00
Trezy
3ab3cd5d9b Add Storybook backgrounds (#231)
* feat(storybook): Add backgrounds Storybook

I've added the Storybook backgrounds addon which allows users viewing the storybook to change the
background behind components, which will make it easier to see how the main NES.css theme looks in
various contexts.

* feat(storybook): Add backgrounds Storybook

I've added the Storybook backgrounds addon which allows users viewing the storybook to change the
background behind components, which will make it easier to see how the main NES.css theme looks in
various contexts.
2018-12-27 11:04:30 +02:00
Trezy
bd7025f0ff perf: Speed up pre-commit hooks
We no longer need to build the entire framework to lint it, so I've removed the build step from the
pre-commit hook and replaced it with just stylelint.
2018-12-18 13:09:06 -06:00
Trezy
aca8d631d8 fix: Fix the script that's run by semantic-release
I did a dumb. I changed the name of he script that updates the package headers before a release, but
I didn't tell `semantic-release-exec` that I'd changed it. 😬
2018-12-18 09:36:09 -06:00
Trezy
a7899d838d ci(semantic-release): Add package header updating to CI
I've add a script to handle automatically updating bot the CSS and SCSS headers with the relevant
information before publishing. This update is handled as part of `semantic-release`'s preparation
step.
2018-12-16 22:55:15 -06:00
Trezy
69fb58eccb refactor: Move SCSS functions and abstract build data retrieval
I've moved the SCSS functions file into the `scripts` directory where I think it makes a bit more
sense. I've also abstracted most of the functionality from it so I can also use it in
`semantic-release`'s preparation step.
2018-12-16 22:48:53 -06:00
Trezy
81914e66c7 chore: Remove version from package.json
The `version` field in the `package.json` file doesn't serve any real purpose for us since
`semantic-release will handle adding and updating it automatically.
2018-12-16 22:42:43 -06:00
Trezy
a34cac4aca build: Make build versions dynamic
Hehehehe, this is really cool. I've removed the hardcoded version number from `nes.scss` and
replaced it with a custom function. This function does all sorts of cool stuff.

1. **Injects the framework version from `package.json`
  This prevents us from having to inject the version number manually.
2. **Adds build info…**
  The branch that the CSS was built from, when it was built, what version of Node was used… All of the useful information that we could possibly provide. If it’s built on CircleCI, it even includes the build number.
3. **…but not too much build info**
  If the build is running against the `master` branch, we only inject the framework version. No need to bloat production builds with all the other junk. 😁
2018-12-16 21:15:59 -06:00
Trezy
e73c775bea build(storybook): Add style loaders 2018-12-11 07:13:21 -06:00
Trezy
abbd67ce13 build(storybook): Add hot reloading to storybook
I've added hot reloading to Storybook. This means that during development, all we have to do is run
Storybook. As we make changes to the SCSS files, the changes will automatically be reflected in
Storybook. 😁
2018-12-11 00:07:39 -06:00
Trezy
658d16096f
Merge branch 'develop' into 93/soften-commitlint-rules 2018-12-10 12:09:16 -06:00
Trezy
e5ab23884e build(commitlint): Remove semantic-commitlint
This removes `semantic-commitlint` from both the local build pipeline and the CI build pipeline. The
original value of `semantic-commitlint` was that it would handle linting only the relevant commits,
i.e. the commit range under review for a PR. However, the library doesn't seem to respect our
altered `commitlint` rules, so we'll be switching to an alternate strategy to handle linting of
specific ranges.

#13
2018-12-10 11:57:30 -06:00
Trezy
f742bf48c8 build(commitlint): Soften commitlint rules (#144)
Commit subjects can now start with capital letters and end with periods.
2018-12-09 21:37:09 +02:00
Trezy
1089154b35 build(commitlint): Soften commitlint rules
Commit subjects can now start with capital letters and end with periods.

closes #93
2018-12-09 10:54:43 -06:00
Abdallah Samman
cc8649c003 fix: remove 'git add ./css' from precommit stage 2018-12-07 19:25:28 +02:00
Trezy
1889c2ba8d ci: point ci to the correct repo 2018-12-06 08:15:54 -06:00
BcRikko
75436bcad4 build: fix config files 2018-12-05 19:35:16 +09:00
Trezy
3ec9ab1976 ci: add commitlint
Add `commitlint` to enforce proper formatting for all commit messages

#13
2018-12-05 17:57:40 +09:00
Trezy
879a805ffe ci: Add semantic-release
Add `semantic-release` to the repo and the build pipeline. This will handle automatically publishing
to npm based on commit messages.

#13
2018-12-05 17:55:13 +09:00
Trezy
8412aa2bc4 build: Add Commitizen
Forcing contributors to use Commitizen to format their commit messages will make our lives much
simpler, especially once we've added `semantic-release`.
2018-12-05 17:53:20 +09:00
Abdallah Samman
11c79da740 Improve Story knobs usability; put eslint config in package.json; 2018-12-05 08:41:46 +02:00
Abdallah Samman
c5749a531f Add Storybook Knobs 2018-12-04 19:34:57 +02:00
Abdallah Samman
81d6c43900 Add pre-commit hook to eslint javascript code; import nes.min.css globaly in stories; 2018-12-04 17:13:03 +02:00
Abdallah Samman
abf0b3597f Add storybook as docs; add eslint as javascript styleguide with AirBnb Style. 2018-12-04 13:55:52 +02:00
BcRikko
ac150b25fc 🆙 prettier-stylelint -> stylelint-prettierに移行 2018-11-26 21:59:11 +09:00
BcRikko
658c51436e 🎉 各種アイコンを追加 2018-11-26 17:16:07 +09:00
BcRikko
1a34fe4bff 🎉 radiosを追加 2018-11-26 09:01:32 +09:00
BcRikko
434abd0bad 👍 reboot.cssを導入 2018-11-25 18:11:18 +09:00
BcRikko
a72b99dda3 🆙 関係ライブラリのアップデート 2018-09-26 11:35:56 +09:00
BcRikko
e325db19d3 🙈 不要なファイルまでコミットしないように修正 2018-09-25 20:09:07 +09:00
BcRikko
54427112f4 👕 precommitフックでscssビルド+コミットをするように修正 2018-09-25 19:46:28 +09:00
BcRikko
288c844adb ♻️ stylelintのルールを追加 2018-09-24 20:30:07 +09:00
BcRikko
9a6c626821 ⚙️ 開発環境の構築 2018-09-24 13:35:33 +09:00