Comments (14)
.gitmodules
is a good choice given that we keep it in sync with the upstream, PR welcome
from blns.
I made PR for this issue, please check it just to be sure.
from blns.
@96AA48 Thanks the submodule
part looks fine, but we need to find a way to keep it in sync always readme
must be changed and the package.json
's file
section as well.
from blns.
Sorry for my sloppy coding, I changed the code around so that @chentsulin implementation of require('path/to/blns/json')
is in place as well. Will change readme and package.json in a bit.
from blns.
Changed the README and package.json as well, should be ready to merge.
from blns.
I think it can be simplified to something like below:
Module:
'use strict';
module.exports = require('./resources/blns.json');
And test :
'use strict';
var assert = require('assert');
var blns = require('./');
assert(Array.isArray(blns));
Any ideas here?
from blns.
Yeah, that seems to do it as well. Should I make the changes and push them @chentsulin ?
from blns.
Looks fine, but how do we keep it in sync always, maybe using a githook?
git submodule foreach 'git fetch origin --tags; git checkout master; git pull' && git pull && git submodule update --init --recursive
from blns.
I have no experience with things like that, I wish you the best of luck!
from blns.
@96AA48 you can feel free to use any ideas I mention above.
from blns.
Fixed in v2.0.0 thanks
from blns.
Won't this easily fall out of date (it looks like it's 2 years behind already)?
from blns.
What do you suggest?
from blns.
There are a couple options.
- Implement some sort of automated publish script that always grabs master blns and publishes a new version to npm periodically. Maybe even watch for changes to
minimaxir/big-list-of-naughty-strings
repo which could trigger the publish. - Change it back to how it used to work and perform an HTTP request each run. This will never be out of date. I might suggest using cdn.jsdelivr.net instead of raw.githubusercontent.com but either should work.
from blns.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blns.